Replacing the commas with spaces appears to have fixed the problem. And
yes, I didn't have to specify both unique_attributes and unique_ignore.
Thanks for all your help.
-sud
Quanah Gibson-Mount wrote:
--On Tuesday, November 15, 2005 2:02 PM -0600 Sudhakar
<[EMAIL PROTECTED]> 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