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 (from parent 1:
6b038cc
)
Do not forget that passwords start with {crypt}
author
Peter Palfrader
<peter@palfrader.org>
Mon, 2 Aug 2010 21:37:50 +0000
(21:37 +0000)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 2 Aug 2010 21:37:50 +0000
(21:37 +0000)
UDLdap.py
patch
|
blob
|
history
diff --git
a/UDLdap.py
b/UDLdap.py
index
096f117
..
ffdb6b0
100644
(file)
--- a/
UDLdap.py
+++ b/
UDLdap.py
@@
-55,7
+55,7
@@
class Account:
def pw_active(self):
if self['userPassword'] == '{crypt}*LK*':
return False
def pw_active(self):
if self['userPassword'] == '{crypt}*LK*':
return False
- if self['userPassword'].startswith("!"):
+ if self['userPassword'].startswith("
{crypt}
!"):
return False
return True
return False
return True