[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Uid Numbers

Celine Murphy wrote:
> Does anyone know anyway of enforcing uniqueness in 
> ldap? Or of generation uid numbers??

Don't know of one.  Normally, this is the responsibility of
the account creation script.  Often done by storing the 
next available uid in an object and incrementing it after 
creating a new account.  

The other possibility is to search the dircetory for 
an available uid each time.

Cheers, jerry
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com/  VA Linux Systems   gcarter@valinux.com
       http://www.samba.org/       SAMBA Team          jerry@samba.org
       http://www.plainjoe.org/                     jerry@plainjoe.org

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )