projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Let disabled-users generation use Account class
[mirror/userdir-ldap.git]
/
UDLdap.py
diff --git
a/UDLdap.py
b/UDLdap.py
index
74313b2
..
9e2d2ee
100644
(file)
--- a/
UDLdap.py
+++ b/
UDLdap.py
@@
-54,6
+54,8
@@
class Account:
def pw_active(self):
if self['userPassword'] == '{crypt}*LK*':
return False
+ if self['userPassword'].startswith("!"):
+ return False
return True
# not expired