projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44edf4e
)
'*PK*' will allow a 'locked' account to login in certain situations, remove it for...
author
troup
<>
Mon, 9 Apr 2007 19:54:29 +0000
(19:54 +0000)
committer
troup
<>
Mon, 9 Apr 2007 19:54:29 +0000
(19:54 +0000)
ud-generate
patch
|
blob
|
history
diff --git
a/ud-generate
b/ud-generate
index
03a5186
..
f7c929e
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-180,8
+180,7
@@
def GenSSHShadow(l,File):
# If the account is locked, do not write it.
# This is a partial stop-gap. The ssh also needs to change this
# to ignore ~/.ssh/authorized* files.
# If the account is locked, do not write it.
# This is a partial stop-gap. The ssh also needs to change this
# to ignore ~/.ssh/authorized* files.
- if (string.find(GetAttr(x,"userPassword"),"*LK*") != -1) \
- or (string.find(GetAttr(x,"userPassword"),"*PK*") != -1):
+ if (string.find(GetAttr(x,"userPassword"),"*LK*") != -1):
continue;
if x[1].has_key("uidNumber") == 0 or \
continue;
if x[1].has_key("uidNumber") == 0 or \