From: Pierangelo Masarati Date: Wed, 10 Mar 2004 19:04:18 +0000 (+0000) Subject: rewrite entry DN-valued attrs X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~318 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=823fa1705e71d8d5ae89867d2ae3ec5aa5b7c98e;p=openldap rewrite entry DN-valued attrs --- diff --git a/servers/slapd/back-meta/data/slapd-meta-rewrite.conf b/servers/slapd/back-meta/data/slapd-meta-rewrite.conf index 9d9509007d..0f557f52f6 100644 --- a/servers/slapd/back-meta/data/slapd-meta-rewrite.conf +++ b/servers/slapd/back-meta/data/slapd-meta-rewrite.conf @@ -61,6 +61,7 @@ rewriteContext default rewriteRule "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com" rewriteContext searchResult rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US" +rewriteContext searchAttrDN alias searchResult rewriteContext searchFilter rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3" @@ -72,6 +73,7 @@ rewriteContext default rewriteRule "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com" rewriteContext searchResult rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US" +rewriteContext searchAttrDN alias searchResult rewriteContext searchFilter rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3" default-target @@ -83,6 +85,7 @@ rewriteContext default rewriteRule "(.*)o=Foo Bar,[ ]?c=US" "%1dc=example,dc=com" rewriteContext searchResult rewriteRule "(.*)dc=example,[ ]?dc=com" "%1o=Foo Bar,c=US" +rewriteContext searchAttrDN alias searchResult rewriteContext searchFilter rewriteRule "(.*)member=([^)]+),o=Foo Bar,[ ]?c=US(.*)" "%1member=%2,dc=example,dc=com%3"