Robert Klopotoski, Jr. writes:
How do I configure slapd(8) to prevent two objects in the database from having the same value in a particular attribute?
database <whatever> ... overlay unique unique_attributes <attribute...>
See the slapo-unique(5) manpage.