aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictshell
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-07 15:09:04 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-07 15:09:04 +0000
commite1a857ec89b887d27e54fd52018b74b03b5cbaa0 (patch)
treeefd54b12a2ca85fa2405fa386942f1d24bcff8dc /modules/restrictshell
parent3b2cd8a2b67e91aaeb3d203b0bbdf2dbf77862e7 (diff)
downloadpuppet-e1a857ec89b887d27e54fd52018b74b03b5cbaa0.tar
puppet-e1a857ec89b887d27e54fd52018b74b03b5cbaa0.tar.gz
puppet-e1a857ec89b887d27e54fd52018b74b03b5cbaa0.tar.bz2
puppet-e1a857ec89b887d27e54fd52018b74b03b5cbaa0.tar.xz
puppet-e1a857ec89b887d27e54fd52018b74b03b5cbaa0.zip
correct syntax error
Diffstat (limited to 'modules/restrictshell')
-rwxr-xr-xmodules/restrictshell/templates/ldap-sshkey2file.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/restrictshell/templates/ldap-sshkey2file.py b/modules/restrictshell/templates/ldap-sshkey2file.py
index ec5afc8e..bd369266 100755
--- a/modules/restrictshell/templates/ldap-sshkey2file.py
+++ b/modules/restrictshell/templates/ldap-sshkey2file.py
@@ -16,7 +16,7 @@ uris=['ldap://ldap.<%= domain %>']
random.shuffle(uris)
uri = " ".join(uris)
timeout=5
-binddn="cn=<%= fqdn %>,ou=Hosts," % basedn
+binddn="cn=<%= fqdn %>,ou=Hosts,%s" % basedn
pwfile="<%= ldap_pwfile %>"
# filter out disabled accounts also
# too bad uidNumber doesn't support >= filters