From: Pierangelo Masarati Date: Thu, 17 Jun 2004 22:45:08 +0000 (+0000) Subject: clean up examples X-Git-Tag: OPENLDAP_REL_ENG_2_2_14~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9f311e2b9328e538b9240191028163cb1409bff4;p=openldap clean up examples --- diff --git a/doc/man/man5/slapd.access.5 b/doc/man/man5/slapd.access.5 index ac34684912..d1d819f17f 100644 --- a/doc/man/man5/slapd.access.5 +++ b/doc/man/man5/slapd.access.5 @@ -717,7 +717,7 @@ To match the desired subtree, the rule would be more precisely written: .LP .nf - access to dn.regex="^(.+,)?dc=example,dc=com$$" + access to dn.regex="^(.+,)?dc=example,dc=com$" by ... .fi .LP @@ -737,7 +737,7 @@ that matches the clause, one could use .LP .nf - access to dn.regex="^(.+,)?uid=([^,]+),dc=example,dc=com$$" + access to dn.regex="^(.+,)?uid=([^,]+),dc=example,dc=com$" by dn.regex="^uid=$1,dc=example,dc=com$$" write by ... .fi @@ -747,7 +747,7 @@ However, since all that is required in the clause is substring expansion, a more efficient solution is .LP .nf - access to dn.regex="^(.+,)?uid=([^,]+),dc=example,dc=com$$" + access to dn.regex="^(.+,)?uid=([^,]+),dc=example,dc=com$" by dn.exact,expand="uid=$1,dc=example,dc=com" write by ... .fi