📄 slapo-unique.5
字号:
.TH SLAPO-UNIQUE 5 "RELEASEDATE" "OpenLDAP LDVERSION".\" Copyright 2004-2007 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..\" $OpenLDAP: pkg/ldap/doc/man/man5/slapo-unique.5,v 1.2.2.6 2007/01/02 21:43:45 kurt Exp $.SH NAMEslapo-unique \- Attribute Uniqueness overlay.SH SYNOPSISETCDIR/slapd.conf.SH DESCRIPTIONThe Attribute Uniqueness overlay can be used with a backend database such as.BR slapd-bdb (5)to enforce the uniqueness of some or all attributes within a subtree. Thissubtree defaults to the base DN of the database for which the Uniquenessoverlay is configured..LPUniqueness is enforced by searching the subtree to ensure that the values ofall attributes presented with an.BR add ,.B modifyor.B modrdnoperation are unique within the subtree.For example, if uniqueness were enforced for the.B uidattribute, the subtree would be searched for any other records which alsohave a.B uidattribute containing the same value. If any are found, the request isrejected..SH CONFIGURATIONThese.B slapd.confoptions apply to the Attribute Uniqueness overlay.They should appear after the.B overlaydirective..TP.B unique_base <basedn>Configure the subtree against which uniqueness searches will be invoked.The.B basedndefaults to the base DN of the database for which uniqueness is configured..TP.B unique_ignore <attribute...>Configure one or more attributes for which uniqueness will not be enforced.If not configured, all non-operational (eg, system) attributes must beunique. Note that the.B unique_ignorelist should generally contain the.BR objectClass ,.BR dc ,.B ouand.B oattributes, as these will generally not be unique, nor are they operationalattributes..TP.B unique_attributes <attribute...>Specify one or more attributes for which uniqueness will be enforced.If not specified, all attributes which are not operational (eg, systemattributes such as.B entryUUID )or specified via the.B unique_ignoredirective above must be unique within the subtree..TP.B unique_strictBy default, uniqueness is not enforced for null values. Enabling.B unique_strictmode extends the concept of uniqueness to include null values, such thatonly one attribute within a subtree will be allowed to have a null value..SH CAVEATS.LPThe search key is generated with attributes that are non-operational, noton the.B unique_ignorelist, and included in the.B unique_attributeslist, in that order. This makes it possible to create interesting andunusable configurations. Usually only one of.B unique_ignoreor.B unique_attributesshould be configured; use.B unique_ignoreif the majority of attributes should be unique, and use.B unique_attributesif only a small set of attributes should be unique..LPTypical attributes for the.B unique_ignoredirective are intentionally not hardcoded into the overlay to allow formaximum flexibility in meeting site-specific requirements..SH FILES.TPETCDIR/slapd.confdefault slapd configuration file.SH SEE ALSO.BR slapd.conf (5).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -