From 32573b3418a24cb4bfafe42d21f9ad8a7ac8960c Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 17 Mar 2004 09:26:50 +0000 Subject: [PATCH] need to turn it into a man page, when it freezes --- servers/slapd/back-relay/README | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 servers/slapd/back-relay/README 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" +