|
NAMEslapo-unique - Attribute Uniqueness overlay to slapdSYNOPSIS/usr/local/etc/openldap/slapd.confDESCRIPTIONThe Attribute Uniqueness overlay can be used with a backend database such as slapd-mdb(5) to enforce the uniqueness of some or all attributes within a scope. This subtree defaults to all objects within the subtree of the database for which the Uniqueness overlay is configured.Uniqueness is enforced by searching the subtree to ensure that the values of all attributes presented with an add, modify or modrdn operation are unique within the scope. For example, if uniqueness were enforced for the uid attribute, the subtree would be searched for any other records which also have a uid attribute containing the same value. If any are found, the request is rejected. The search is performed using the rootdn of the database, to avoid issues with ACLs preventing the overlay from seeing all of the relevant data. As such, the database must have a rootdn configured. CONFIGURATIONThese slapd.conf options apply to the Attribute Uniqueness overlay. They should appear after the overlay directive.
It is not possible to set both URIs and legacy slapo-unique configuration parameters simultaneously. In general, the legacy configuration options control pieces of a single unfiltered subtree domain.
CAVEATSunique_uri cannot be used with the old-style of configuration, and vice versa. unique_uri can implement everything the older system can do, however.Typical attributes for the ignore ldap:///... URIs are intentionally not hardcoded into the overlay to allow for maximum flexibility in meeting site-specific requirements. Replication and operations with the relax control are allowed to bypass this enforcement. It is therefore important that all servers accepting writes have this overlay configured in order to maintain uniqueness in a replicated DIT. FILES
SEE ALSOslapd.conf(5), slapd-config(5).
Visit the GSP FreeBSD Man Page Interface. |