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:
079b4a1
)
ahem. Use the right attribute
author
Stephen Gran
<steve@lobefin.net>
Sun, 20 Sep 2009 16:07:14 +0000
(17:07 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 20 Sep 2009 16:07:14 +0000
(17:07 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
ud-generate
patch
|
blob
|
history
diff --git
a/ud-generate
b/ud-generate
index
386dce6
..
f5279e0
100755
(executable)
--- a/
ud-generate
+++ b/
ud-generate
@@
-1046,7
+1046,7
@@
Attrs = l.search_s(BaseDn, ldap.SCOPE_ONELEVEL, "gid=*",\
# Generate the SubGroupMap and GroupIDMap
for x in Attrs:
- if x[1].has_key("
status") and x[1]['s
tatus'] == "disabled":
+ if x[1].has_key("
accountStatus") and x[1]['accountS
tatus'] == "disabled":
continue
if x[1].has_key("gidNumber") == 0:
continue