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

Re: how to check uniqueness of uidNumber ?

WONG_Jeffrey@seac.pf writes:
> So how can I check uniqueness of uidNumber ?

LDAP doesn't support such constraints in the way some databases do.

Either search a new entry's uidNumber before adding it to check that it
does not already exist, or use uidNumber as RDN (in which case you'll
have to search for uid to verify that that is unique, instead.)