When looking for a vacant UID, exactly the same message is repeated for each UID tried, even though we are testing different UIDs. E.g.: Searching for free number using filter (&(objectclass=posixAccount)(uidNumber=1331)) Searching for free number using filter (&(objectclass=posixAccount)(uidNumber=1331)) Searching for free number using filter (&(objectclass=posixAccount)(uidNumber=1331)) Searching for free number using filter (&(objectclass=posixAccount)(uidNumber=1331)) ... This is confusing, since the uidNumber value should be increasing.
Created attachment 389 [details] Patch to fix the bug
r25291.
Code reviewed, looks good.