]> git.sur5r.net Git - openldap/commitdiff
backport fix
authorPierangelo Masarati <ando@openldap.org>
Wed, 28 Sep 2005 14:40:08 +0000 (14:40 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 28 Sep 2005 14:40:08 +0000 (14:40 +0000)
doc/man/man5/slapd.access.5

index b8d2a6f6dc591f6aa1ecc67704b6f92b238b38ea..c74d0bf9fa7268e1e581c8bb2328a44b5f8df50a 100644 (file)
@@ -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