]> git.sur5r.net Git - openldap/blob - tests/data/slapd-relay.conf
ready for chaining writes
[openldap] / tests / data / slapd-relay.conf
1 # master slapd config -- for testing
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2005 The OpenLDAP Foundation.
6 ## All rights reserved.
7 ##
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
10 ## Public License.
11 ##
12 ## A copy of this license is available in the file LICENSE in the
13 ## top-level directory of the distribution or, alternatively, at
14 ## <http://www.OpenLDAP.org/license.html>.
15
16 include ./schema/core.schema
17 include ./schema/cosine.schema
18 include ./schema/inetorgperson.schema
19 include ./schema/openldap.schema
20 include ./schema/nis.schema
21 include ./schema/ppolicy.schema
22 pidfile     ./test-db/slapd.pid
23 argsfile    ./test-db/slapd.args
24
25 #mod#modulepath ../servers/slapd/back-@BACKEND@/
26 #mod#moduleload back_@BACKEND@.la
27 #relaymod#modulepath ../servers/slapd/back-relay/
28 #relaymod#moduleload back_relay.la
29 #ldapmod#modulepath ../servers/slapd/back-ldap/
30 #ldapmod#moduleload back_ldap.la
31 #metamod#modulepath ../servers/slapd/back-meta/
32 #metamod#moduleload back_meta.la
33 #monitormod#modulepath ../servers/slapd/back-monitor/
34 #monitormod#moduleload back_monitor.la
35 #rwmmod#modulepath ../servers/slapd/overlays/
36 #rwmmod#moduleload rwm.la
37
38 #######################################################################
39 # database definitions
40 #######################################################################
41
42 database        @BACKEND@
43 suffix          "dc=example,dc=com"
44 directory       ./testrun/db.1.a
45 rootdn          "cn=Manager,dc=example,dc=com"
46 rootpw          secret
47 index           objectClass eq
48
49 database        @RELAY@
50 suffix          "o=Example,c=US"
51 ### back-relay can automatically instantiate the rwm overlay
52 #relay#relay            "dc=example,dc=com" massage
53 ### back-ldap needs explicit instantiation of the rwm overlay
54 #ldap#uri               "@URI1@"
55 #ldap#overlay           rwm
56 #ldap#rwm-suffixmassage "dc=example,dc=com"
57 #meta#uri               "@URI1@o=Example,c=US"
58 #meta#suffixmassage     "o=Example,c=US" "dc=example,dc=com"
59
60 database        @RELAY@
61 suffix          "o=Esempio,c=IT"
62 ### use this alternate form of back-relay, without the "relay" directive,
63 ### which causes the target database to be selected after DN massaging
64 #relay#overlay          rwm
65 #relay#rwm-suffixmassage        "dc=example,dc=com"
66 ### back-ldap needs URI
67 #ldap#uri               "@URI1@"
68 #ldap#overlay           rwm
69 #ldap#rwm-suffixmassage "dc=example,dc=com"
70 #meta#uri               "@URI1@o=Esempio,c=IT"
71 #meta#suffixmassage     "o=Esempio,c=IT" "dc=example,dc=com"
72
73 database        @RELAY@
74 suffix          "o=Beispiel,c=DE"
75 ### back-relay can automatically instantiate the rwm overlay
76 #relay#relay            "dc=example,dc=com" massage
77 ### back-ldap needs explicit instantiation of the rwm overlay
78 #ldap#uri               "@URI1@"
79 #ldap#overlay           rwm
80 #ldap#rwm-suffixmassage "dc=example,dc=com"
81 #meta#uri               "@URI1@o=Beispiel,c=DE"
82 #meta#suffixmassage     "o=Beispiel,c=DE" "dc=example,dc=com"
83
84 #monitor#database monitor