Commit 51aec2dd authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue

[ldap_crans] Pool d'uid plus large.

parent 851176a2
......@@ -2598,7 +2598,7 @@ class Adherent(BaseProprietaire):
if self.exist('(uidNumber=%s)' % uidNumber):
raise ValueError(u'uidNumber pris')
else:
pool_uid = range(1001, 9999)
pool_uid = range(1001, 11000)
random.shuffle(pool_uid)
while len(pool_uid) > 0:
uidNumber = pool_uid.pop() # On choisit une IP
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment