From: Pierangelo Masarati Date: Wed, 17 Mar 2004 09:26:50 +0000 (+0000) Subject: need to turn it into a man page, when it freezes X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~252 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=32573b3418a24cb4bfafe42d21f9ad8a7ac8960c;p=openldap need to turn it into a man page, when it freezes --- diff --git a/servers/slapd/back-relay/README b/servers/slapd/back-relay/README new file mode 100644 index 0000000000..ce781d303d --- /dev/null +++ b/servers/slapd/back-relay/README @@ -0,0 +1,24 @@ +Relay backend automatically sets up a rewrite-remap overlay that maps +the virtual naming context to a real naming context that is available +in the same server + +# automatically massage from virtual to real naming context +database relay +suffix "dc=virtual,dc=naming,dc=context" +relay "dc=real,dc=naming,dc=context" + +# explicitly massage +database relay +suffix "dc=virtual,dc=naming,dc=context" +overlay rewrite-remap +suffixmassage "dc=virtual,dc=naming,dc=context" "dc=real,dc=naming,dc=context" + +# old fashioned suffixalias... +database relay +suffix "dc=virtual,dc=naming,dc=context" +overlay rewrite-remap +rewriteEngine on +rewriteContext default +rewriteRule "(.*)dc=virtual,dc=naming,dc=context$" \ + "\1dc=real,dc=naming,dc=context" +