From 437701d1405569bfa23c8c347bae7bc217306623 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 28 Sep 2005 14:40:08 +0000 Subject: [PATCH] backport fix --- doc/man/man5/slapd.access.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5