.TH SLAPO-UNIQUE 5 "RELEASEDATE" "OpenLDAP LDVERSION"
-.\" Copyright 2004 The OpenLDAP Foundation All Rights Reserved.
+.\" Copyright 2004-2006 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
.\" $OpenLDAP$
.SH NAME
.LP
Uniqueness is enforced by searching the subtree to ensure that the values of
all attributes presented with an
-.B add ,
+.BR add ,
.B modify
or
.B modrdn
operation are unique within the subtree.
-For example, if uniquness were enforced for the
+For example, if uniqueness were enforced for the
.B uid
attribute, the subtree would be searched for any other records which also
have a
unique. Note that the
.B unique_ignore
list should generally contain the
-.B objectClass ,
-.B dc ,
+.BR objectClass ,
+.BR dc ,
.B ou
and
.B o
attributes.
.TP
.B unique_attributes <attribute...>
-Specify one or more attributes which for which uniqueness will be enforced.
+Specify one or more attributes for which uniqueness will be enforced.
If not specified, all attributes which are not operational (eg, system
attributes such as
.B entryUUID )
list, and included in the
.B unique_attributes
list, in that order. This makes it possible to create interesting and
-unusable configurations.
+unusable configurations. Usually only one of
+.B unique_ignore
+or
+.B unique_attributes
+should be configured; use
+.B unique_ignore
+if the majority of attributes should be unique, and use
+.B unique_attributes
+if only a small set of attributes should be unique.
.LP
Typical attributes for the
.B unique_ignore