Add unique overlay
This commit is contained in:
parent
7630631c67
commit
243276702f
1 changed files with 18 additions and 0 deletions
|
@ -92,6 +92,14 @@ cn: module{3}
|
|||
olcModulePath: /usr/lib/ldap
|
||||
olcModuleLoad: ppolicy.la
|
||||
|
||||
# Load unique module
|
||||
dn: cn=module{4},cn=config
|
||||
objectClass: olcModuleList
|
||||
objectClass: top
|
||||
cn: module{4}
|
||||
olcModulePath: /usr/lib/ldap
|
||||
olcModuleLoad: unique.la
|
||||
|
||||
# Set defaults for the backend
|
||||
dn: olcBackend=mdb,cn=config
|
||||
objectClass: olcBackendConfig
|
||||
|
@ -183,3 +191,13 @@ objectClass: olcPPolicyConfig
|
|||
objectClass: top
|
||||
olcOverlay: {2}ppolicy
|
||||
olcPPolicyDefault: cn=Default,ou=Policies,@SUFFIX@
|
||||
|
||||
# unique enforces attribute uniqueness
|
||||
dn: olcOverlay={3}unique,olcDatabase={1}mdb,cn=config
|
||||
objectClass: olcConfig
|
||||
objectClass: olcOverlayConfig
|
||||
objectClass: olcUniqueConfig
|
||||
objectClass: top
|
||||
olcOverlay: {3}unique
|
||||
olcUniqueUri: ldap:///ou=People,@SUFFIX@?uid?sub
|
||||
olcUniqueUri: ldap:///ou=People,@SUFFIX@?uidNumber?sub
|
||||
|
|
Loading…
Reference in a new issue