mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
need to turn it into a man page, when it freezes
This commit is contained in:
parent
737f3d8636
commit
32573b3418
24
servers/slapd/back-relay/README
Normal file
24
servers/slapd/back-relay/README
Normal file
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user