X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=ud-userimport;h=4e044c79a71d3f18cd320d97ef139f6115d3a41d;hb=bb945fb1a5ba9ddeee3fc90a477cfc49e9b53ce5;hp=f2e0ba1f937ed8a9a3312aa2d967c4c129d9617b;hpb=5aa344463ac8ad92dc9109e2a17cc7ce894f0ba4;p=mirror%2Fuserdir-ldap.git diff --git a/ud-userimport b/ud-userimport index f2e0ba1..4e044c7 100755 --- a/ud-userimport +++ b/ud-userimport @@ -145,7 +145,7 @@ def DoShadow(l,Shadow): 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]), @@ -186,7 +186,7 @@ def DoGroup(l,Group): # 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