On Tue, 28 Nov 2000, Corisen wrote:

> hi, i'll be designing a ldap database to store user attributes. one of them
> will be uidnumber. pls advise on the recommeded method to search ldap for
> the next available uidnumber to assign to a new user. thanks.

Unfortunately, LDAP provides no mechanism for retrieving max or min
values. Your only choice is to retrieve all the values and find the
highest one for yourself, then increment by one.

Beware, though, that there is nothing stopping two independent processes
(or threads) from adding the same uidnumber simultaneously.

thornton



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to