diff options
Diffstat (limited to 'modules/restrictshell/templates')
-rwxr-xr-x | modules/restrictshell/templates/ldap-sshkey2file.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/restrictshell/templates/ldap-sshkey2file.py b/modules/restrictshell/templates/ldap-sshkey2file.py index 9668973d..ec5afc8e 100755 --- a/modules/restrictshell/templates/ldap-sshkey2file.py +++ b/modules/restrictshell/templates/ldap-sshkey2file.py @@ -9,9 +9,7 @@ try: except ImportError, e: print "Please install python-ldap before running this program" sys.exit(1) -<% -dc_suffix = 'dc=' + domain.gsub('.',',dc=') -%> + basedn="<%= dc_suffix %>" peopledn="ou=people,%s" % basedn uris=['ldap://ldap.<%= domain %>'] |