From: Pierangelo Masarati Date: Wed, 28 Sep 2005 14:40:08 +0000 (+0000) Subject: backport fix X-Git-Tag: OPENLDAP_REL_ENG_2_2_29~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=437701d1405569bfa23c8c347bae7bc217306623;p=thirdparty%2Fopenldap.git backport fix --- diff --git a/doc/man/man5/slapd.access.5 b/doc/man/man5/slapd.access.5 index b8d2a6f6dc..c74d0bf9fa 100644 --- a/doc/man/man5/slapd.access.5 +++ b/doc/man/man5/slapd.access.5 @@ -738,7 +738,7 @@ clause, one could use .LP .nf access to dn.regex="^(.+,)?uid=([^,]+),dc=example,dc=com$" - by dn.regex="^uid=$1,dc=example,dc=com$$" write + by dn.regex="^uid=$2,dc=example,dc=com$$" write by ... .fi .LP @@ -748,7 +748,7 @@ clause is substring expansion, a more efficient solution is .LP .nf access to dn.regex="^(.+,)?uid=([^,]+),dc=example,dc=com$" - by dn.exact,expand="uid=$1,dc=example,dc=com" write + by dn.exact,expand="uid=$2,dc=example,dc=com" write by ... .fi .LP