From 6e92049f48028fd598abeab752c3a6dc913ad8a0 Mon Sep 17 00:00:00 2001 From: Gavin Henry Date: Mon, 19 Jan 2009 20:39:45 +0000 Subject: [PATCH] (ITS#5895) Example in constraint manual and documentation --- doc/guide/admin/overlays.sdf | 4 ++-- doc/man/man5/slapo-constraint.5 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guide/admin/overlays.sdf b/doc/guide/admin/overlays.sdf index cc1773c1e4..e3c55936b2 100644 --- a/doc/guide/admin/overlays.sdf +++ b/doc/guide/admin/overlays.sdf @@ -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) diff --git a/doc/man/man5/slapo-constraint.5 b/doc/man/man5/slapo-constraint.5 index af832ac4ce..30413be9b8 100644 --- a/doc/man/man5/slapo-constraint.5 +++ b/doc/man/man5/slapo-constraint.5 @@ -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 -- 2.39.5