diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-27 22:41:40 +0200 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-10-27 22:44:14 +0200 |
commit | 2441baf2870a296ccd77b5e903ffa450a0418b9b (patch) | |
tree | 8824dc069009bae3484d70652031c2525c363169 /roles/space_server/files/radius/mods-available | |
parent | 060a041a7bf07960877099081554065bba155b4e (diff) | |
download | labitat-ansible-2441baf2870a296ccd77b5e903ffa450a0418b9b.tar.gz labitat-ansible-2441baf2870a296ccd77b5e903ffa450a0418b9b.tar.xz labitat-ansible-2441baf2870a296ccd77b5e903ffa450a0418b9b.zip |
space_server: radius: use python for ASSHA auth
..rather than our own patched radiusd
Diffstat (limited to 'roles/space_server/files/radius/mods-available')
-rw-r--r-- | roles/space_server/files/radius/mods-available/python-assha | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/roles/space_server/files/radius/mods-available/python-assha b/roles/space_server/files/radius/mods-available/python-assha new file mode 100644 index 0000000..fa48e01 --- /dev/null +++ b/roles/space_server/files/radius/mods-available/python-assha @@ -0,0 +1,17 @@ +python { + python_path="/usr/lib/python27.zip:/usr/lib64/python2.7:/usr/lib64/python2.7/plat-linux2:/usr/lib64/python2.7/lib-tk:/usr/lib64/python2.7/lib-old:/usr/lib64/python2.7/lib-dynload:/usr/lib64/python2.7/site-packages:/usr/lib/python2.7/site-packages:/etc/raddb/mods-config/python/" + + module = assha + + #mod_instantiate = ${.module} + #func_instantiate = instantiate + + #mod_detach = ${.module} + #func_detach = instantiate + + mod_authorize = ${.module} + func_authorize = authorize + + mod_authenticate = ${.module} + func_authenticate = authenticate +} |