]> git.sur5r.net Git - openldap/blob - tests/data/slapd-relay.conf
3948c10966a50ae101e4c6ed6be9f6014c176e31
[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#relay              "dc=example,dc=com" massage
53 #relay-relay#rwm-map            objectClass groupOfNames groupOfUniqueNames
54 #relay-relay#rwm-map            objectClass uidObject dcObject
55 #relay-relay#rwm-map            attribute member uniqueMember
56 #relay-relay#rwm-map            attribute uid dc
57 ### back-ldap needs explicit instantiation of the rwm overlay
58 #relay-ldap#uri         "@URI1@"
59 #relay-ldap#overlay             rwm
60 #relay-ldap#rwm-suffixmassage   "dc=example,dc=com"
61 #relay-ldap#rwm-map             objectClass groupOfNames groupOfUniqueNames
62 #relay-ldap#rwm-map             objectClass uidObject dcObject
63 #relay-ldap#rwm-map             attribute member uniqueMember
64 #relay-ldap#rwm-map             attribute uid dc
65 #relay-meta#uri         "@URI1@o=Example,c=US"
66 #relay-meta#suffixmassage       "o=Example,c=US" "dc=example,dc=com"
67 #relay-meta#map         objectClass groupOfNames groupOfUniqueNames
68 #relay-meta#map         objectClass uidObject dcObject
69 #relay-meta#map         attribute member uniqueMember
70 #relay-meta#map         attribute uid dc
71
72 database        @RELAY@
73 suffix          "o=Esempio,c=IT"
74 ### use this alternate form of back-relay, without the "relay" directive,
75 ### which causes the target database to be selected after DN massaging
76 #relay-relay#overlay            rwm
77 #relay-relay#rwm-suffixmassage  "dc=example,dc=com"
78 ### back-ldap needs URI
79 #relay-ldap#uri         "@URI1@"
80 #relay-ldap#overlay             rwm
81 #relay-ldap#rwm-suffixmassage   "dc=example,dc=com"
82 #relay-meta#uri         "@URI1@o=Esempio,c=IT"
83 #relay-meta#suffixmassage       "o=Esempio,c=IT" "dc=example,dc=com"
84
85 database        @RELAY@
86 suffix          "o=Beispiel,c=DE"
87 ### back-relay can automatically instantiate the rwm overlay
88 #relay-relay#relay              "dc=example,dc=com" massage
89 ### back-ldap needs explicit instantiation of the rwm overlay
90 #relay-ldap#uri         "@URI1@"
91 #relay-ldap#overlay             rwm
92 #relay-ldap#rwm-suffixmassage   "dc=example,dc=com"
93 #relay-meta#uri         "@URI1@o=Beispiel,c=DE"
94 #relay-meta#suffixmassage       "o=Beispiel,c=DE" "dc=example,dc=com"
95
96 #monitor#database monitor