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

Re: unique index



Kari Mattsson wrote:
overlay unique
unique_base "ou=data,dc=SUFFIX"
unique_attributes employeeNumber
#unique_ignore objectClass ou o dc

...and...

man slapo-unique

The last line
unique_ignore objectClass ou o dc
is not mandatory, but I've seen a line along those lines in many examples on the net.
Leave it out if you don't understand its meaning...

Do *you* understand its meaning? Did you notice that your "unique_ignore" line is only a comment, and serves no purpose at all?


As the manpage states, you generally only need one of "unique_attributes" or "unique_ignore". In this case, just leave out the unique_ignore.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/