projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Document how to use unique overlay for uid and keyFingerPrint
[mirror/userdir-ldap.git]
/
ud-userimport
diff --git
a/ud-userimport
b/ud-userimport
index
f2e0ba1
..
4e044c7
100755
(executable)
--- a/
ud-userimport
+++ b/
ud-userimport
@@
-145,7
+145,7
@@
def DoShadow(l,Shadow):
continue;
for x in range(2,8):
continue;
for x in range(2,8):
-
Split[x] =
int(Split[x])
+ int(Split[x])
Rec = [(ldap.MOD_REPLACE,"shadowLastChange",Split[2]),
(ldap.MOD_REPLACE,"shadowMin",Split[3]),
Rec = [(ldap.MOD_REPLACE,"shadowLastChange",Split[2]),
(ldap.MOD_REPLACE,"shadowMin",Split[3]),
@@
-186,7
+186,7
@@
def DoGroup(l,Group):
# Split up the group information
Split = re.split("[:\n]",Line);
Members = re.split("[, ]*",Split[3]);
# Split up the group information
Split = re.split("[:\n]",Line);
Members = re.split("[, ]*",Split[3]);
-
Split[2] =
int(Split[2])
+ int(Split[2])
# Iterate over the membership list and add the membership information
# To the directory
# Iterate over the membership list and add the membership information
# To the directory