From 823fa1705e71d8d5ae89867d2ae3ec5aa5b7c98e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 10 Mar 2004 19:04:18 +0000 Subject: [PATCH] rewrite entry DN-valued attrs --- servers/slapd/back-meta/data/slapd-meta-rewrite.conf | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.39.5