]> git.sur5r.net Git - openldap/blob - tests/data/slapd-relay.conf
5014f6812d3d1faba79bd1813e688b7da77b769c
[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-2004 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 #monitormod#modulepath ../servers/slapd/back-monitor/
32 #monitormod#moduleload back_monitor.la
33 #rwmmod#modulepath ../servers/slapd/overlays/
34 #rwmmod#moduleload rwm.la
35
36 #######################################################################
37 # database definitions
38 #######################################################################
39
40 database        @BACKEND@
41 suffix          "dc=example,dc=com"
42 directory       ./testrun/db.1.a
43 rootdn          "cn=Manager,dc=example,dc=com"
44 rootpw          secret
45 index           objectClass eq
46
47 database        @RELAY@
48 suffix          "o=Example,c=US"
49 ### back-relay can automatically instantiate the rwm overlay
50 #relay#relay            "dc=example,dc=com" massage
51 ### back-ldap needs explicit instantiation of the rwm overlay
52 #ldap#uri               "@URI1@"
53 #ldap#overlay           rwm
54 #ldap#rwm-suffixmassage "dc=example,dc=com"
55
56 database        @RELAY@
57 suffix          "o=Esempio,c=IT"
58 ### back-ldap needs URI
59 #ldap#uri               "@URI1@"
60 ### use this alternate form of back-relay, without the "relay" directive,
61 ### which causes the target database to be selected after DN massaging
62 overlay         rwm
63 rwm-suffixmassage       "dc=example,dc=com"
64
65 database        @RELAY@
66 suffix          "o=Beispiel,c=DE"
67 ### back-relay can automatically instantiate the rwm overlay
68 #relay#relay            "dc=example,dc=com" massage
69 ### back-ldap needs explicit instantiation of the rwm overlay
70 #ldap#uri               "@URI1@"
71 #ldap#overlay           rwm
72 #ldap#rwm-suffixmassage "dc=example,dc=com"
73
74 #monitor#database monitor