All,

Is there an easy way to change the "get_next_number" function to get the
max uid?

Where it would grab the largest uid, then add one to it.



I have not heard good things about uidPool, so I'd rather not use that
if possible.



Only thing I found was the following from
"http://sourceforge.net/tracker/?func=detail&atid=498546&aid=1522401&group_id=61828";...

But he didn't specify what code he commented out.


---------------------------------------------------
Date: 2007-02-28 18:23
Sender: svatek 



I have set up my custom sollution - I don't need UIDs or GIDs to be
reused
from deleted user/group with a new user/grop...
So I have commented out the code about finding the free UID and now use:

$maxNumber = max($autonum) + 1;
return $maxNumber;

V.
-----------------------------------------------




Many thanks.
-Josh

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to