]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-ldap.conf
allow the glue overlay to be a module
[openldap] / tests / data / slapd-glue-ldap.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.m.pid
23 argsfile    ./test-db/slapd.m.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 #gluemod#modulepath ../servers/slapd/overlays/
36 #gluemod#moduleload glue.la
37 #rwmmod#modulepath ../servers/slapd/overlays/
38 #rwmmod#moduleload rwm.la
39
40 overlay         rwm
41 rwm-suffixmassage       "o=Example,c=US" "dc=example,dc=com"
42
43 #######################################################################
44 # database definitions
45 #######################################################################
46
47 # remote
48 database        ldap
49 suffix          "ou=Meta,dc=example,dc=com"
50 uri             "@URI2@"
51 rootdn          "cn=Manager,dc=example,dc=com"
52 chase-referrals no
53 idassert-bind   bindmethod=simple
54                 binddn="cn=Manager,ou=Meta,dc=example,dc=com"
55                 credentials="secret"
56                 mode=none
57                 flags=non-prescriptive
58 idassert-authzfrom      "dn.exact:cn=Manager,dc=example,dc=com"
59
60 # local
61 database        ldap
62 suffix          "dc=example,dc=com"
63 uri             "@URI1@"
64 rootdn          "cn=Manager,dc=example,dc=com"
65 rootpw          secret
66 chase-referrals no
67 idassert-bind   bindmethod=simple
68                 binddn="cn=Manager,dc=example,dc=com"
69                 credentials="secret"
70                 mode=none
71                 flags=non-prescriptive
72 idassert-authzfrom      "dn.exact:cn=Manager,dc=example,dc=com"
73
74
75 overlay         glue
76 glue-sub        "ou=Meta,dc=example,dc=com"
77
78 #monitor#database       monitor