aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-01-07 15:09:52 +0000
committerNicolas Vigier <boklm@mageia.org>2011-01-07 15:09:52 +0000
commit061012dd2a193206fc4e78621595da7f0eec5cad (patch)
treedb29abdb8c29310224801bcbdd31563f68f34332 /modules
parente1a857ec89b887d27e54fd52018b74b03b5cbaa0 (diff)
downloadpuppet-061012dd2a193206fc4e78621595da7f0eec5cad.tar
puppet-061012dd2a193206fc4e78621595da7f0eec5cad.tar.gz
puppet-061012dd2a193206fc4e78621595da7f0eec5cad.tar.bz2
puppet-061012dd2a193206fc4e78621595da7f0eec5cad.tar.xz
puppet-061012dd2a193206fc4e78621595da7f0eec5cad.zip
remove shadowExpire from filter
Diffstat (limited to 'modules')
-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 bd369266..af29a203 100755
--- a/modules/restrictshell/templates/ldap-sshkey2file.py
+++ b/modules/restrictshell/templates/ldap-sshkey2file.py
@@ -20,7 +20,7 @@ binddn="cn=<%= fqdn %>,ou=Hosts,%s" % basedn
pwfile="<%= ldap_pwfile %>"
# filter out disabled accounts also
# too bad uidNumber doesn't support >= filters
-filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*)(!(shadowExpire=*)))"
+filter="(&(objectClass=inetOrgPerson)(objectClass=ldapPublicKey)(objectClass=posixAccount)(sshPublicKey=*))"
keypathprefix="<%= pubkeys_directory %>"
def usage():