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

Re: Unique ID help


On Tuesday 25 March 2003 04:26, David Shirley wrote:
> Hi All,
> I want to create a unique identifier in my schema.
> Now i would like to make uidNumber a unique identify, so
> that if another record with the same uidNumber is entered it
> returns and error?

This is currently not possible with OpenLDAP and
I doubt if that is possible with other LDAP servers.

OpenLDAP 2.1.x has an attribute that is unique for each entry.
It is called entryUUID

If you want to make another attribute unique, you need 
additional software that does these checks before adding
the new objects to the directory.


Peter Marschall
eMail: peter@adpm.de