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

Re: unique overlay not working correctly





--On Tuesday, November 15, 2005 2:02 PM -0600 Sudhakar <sudhakar@co.brazos.tx.us> wrote:

I have the following lines in my slapd.conf

*overlay unique
unique_base "ou=People,dc=mycompany,dc=us"
unique_attributes uid,mail,employeeNumber
unique_ignore
objectClass,dc,ou,o,employeeType,displayName,cn,sn,telephoneNumber
*
The uniqueness constraint is enforced correctly for those attributes
listed for unique_attributes. But When I try to enter two objects with
the same employeeType attribute value, I get the following error even
though I've explicitly listed under unique_ignore. This happens for
displayName,cn,sn and telephoneNumber.

*conn=0 op=13 RESULT tag=103 err=19 text=some attributes not unique

which version of OpenLDAP?

It works fine for me with just:

overlay unique
unique_base cn=people,dc=stanford,dc=edu
unique_attributes suunivid suproxycardnumber sucardnumber suuniqueidentifier


--Quanah



--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html