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 (parent:
054eabe
)
Fixs
author
jgg
<>
Sun, 26 Mar 2000 20:32:22 +0000
(20:32 +0000)
committer
jgg
<>
Sun, 26 Mar 2000 20:32:22 +0000
(20:32 +0000)
ud-useradd
patch
|
blob
|
history
diff --git
a/ud-useradd
b/ud-useradd
index
d1c6b79
..
4d929e3
100755
(executable)
--- a/
ud-useradd
+++ b/
ud-useradd
@@
-12,7
+12,8
@@
from userdir_gpg import *;
# so we can only cut the search down slightly
def GetFreeID(l):
HighestUID = 1400;
# so we can only cut the search down slightly
def GetFreeID(l):
HighestUID = 1400;
- Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,"uidnumber>="+str(HighestUID),["uidnumber"]);
+ Attrs = l.search_s(BaseDn,ldap.SCOPE_ONELEVEL,\
+ "uidnumber>="+str(HighestUID),["uidnumber"]);
HighestUID = 0;
for I in Attrs:
ID = int(GetAttr(I,"uidnumber","0"));
HighestUID = 0;
for I in Attrs:
ID = int(GetAttr(I,"uidnumber","0"));