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

unique overlay not working correctly



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
*
From what I've read I don't have to state the unique_ignore parameter. But even listing this explicitly in the slapd.conf like above doesn't seem to solve my problem.


Any help I can get with this will be greatly appreciated.

Thanks
-sudhakar