mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
(ITS#5895) Example in constraint manual and documentation
This commit is contained in:
parent
606393aa80
commit
6e92049f48
2 changed files with 3 additions and 3 deletions
|
|
@ -357,7 +357,7 @@ H3: Constraint Configuration
|
|||
Configuration via {{slapd.conf}}(5) would look like:
|
||||
|
||||
> overlay constraint
|
||||
> constraint_attribute mail regex ^[:alnum:]+@mydomain.com$
|
||||
> constraint_attribute mail regex ^[[:alnum:]]+@mydomain.com$
|
||||
> constraint_attribute title uri
|
||||
> ldap:///dc=catalog,dc=example,dc=com?title?sub?(objectClass=titleCatalog)
|
||||
|
||||
|
|
@ -374,7 +374,7 @@ An example for use with {{cn=config}}:
|
|||
> objectClass: olcOverlayConfig
|
||||
> objectClass: olcConstraintConfig
|
||||
> olcOverlay: constraint
|
||||
> olcConstraintAttribute: mail regex ^[:alnum:]+@mydomain.com$
|
||||
> olcConstraintAttribute: mail regex ^[[:alnum:]]+@mydomain.com$
|
||||
> olcConstraintAttribute: title uri ldap:///dc=catalog,dc=example,dc=com?title?sub?(objectClass=titleCatalog)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ LDAP_CONSTRAINT_VIOLATION error.
|
|||
overlay constraint
|
||||
constraint_attribute jpegPhoto size 131072
|
||||
constraint_attribute userPassword count 3
|
||||
constraint_attribute mail regex ^[:alnum:]+@mydomain.com$
|
||||
constraint_attribute mail regex ^[[:alnum:]]+@mydomain.com$
|
||||
constraint_attribute title uri
|
||||
ldap:///dc=catalog,dc=example,dc=com?title?sub?(objectClass=titleCatalog)
|
||||
constraint_attribute cn,sn,givenName set
|
||||
|
|
|
|||
Loading…
Reference in a new issue