]> git.sur5r.net Git - openldap/commitdiff
rewrite entry DN-valued attrs
authorPierangelo Masarati <ando@openldap.org>
Wed, 10 Mar 2004 19:04:18 +0000 (19:04 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 10 Mar 2004 19:04:18 +0000 (19:04 +0000)
servers/slapd/back-meta/data/slapd-meta-rewrite.conf

index 9d9509007db976243d5638c234cc55b42995fd2f..0f557f52f64a0422a051f214400f3bef84979cdd 100644 (file)
@@ -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"