]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-ldap.conf
8d03b9dcdc837aef15c989820e72af80c8b62821
[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-2015 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         @SCHEMADIR@/core.schema
17 include         @SCHEMADIR@/cosine.schema
18 include         @SCHEMADIR@/inetorgperson.schema
19 include         @SCHEMADIR@/openldap.schema
20 include         @SCHEMADIR@/nis.schema
21 include         @SCHEMADIR@/ppolicy.schema
22 pidfile         @TESTDIR@/slapd.m.pid
23 argsfile        @TESTDIR@/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 #rwmmod#modulepath ../servers/slapd/overlays/
36 #rwmmod#moduleload rwm.la
37
38 overlay         rwm
39 rwm-suffixmassage       "o=Example,c=US" "dc=example,dc=com"
40
41 #######################################################################
42 # database definitions
43 #######################################################################
44
45 # remote
46 database        ldap
47 suffix          "ou=Meta,dc=example,dc=com"
48 subordinate
49 uri             "@URI2@"
50 rootdn          "cn=Manager,dc=example,dc=com"
51 chase-referrals no
52 idassert-bind   bindmethod=simple
53                 binddn="cn=Manager,ou=Meta,dc=example,dc=com"
54                 credentials="secret"
55                 mode=self
56                 flags=non-prescriptive
57 idassert-authzfrom      "dn.exact:cn=Manager,o=Local"
58
59 # local
60 database        ldap
61 suffix          "dc=example,dc=com"
62 uri             "@URI1@"
63 rootdn          "cn=Manager,dc=example,dc=com"
64 rootpw          secret
65 chase-referrals no
66 idassert-bind   bindmethod=simple
67                 binddn="cn=Manager,dc=example,dc=com"
68                 credentials="secret"
69                 mode=self
70                 flags=non-prescriptive
71 idassert-authzfrom      "dn.exact:cn=Manager,o=Local"
72
73 limits          dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" time=1 size=8
74
75 # This is only for binding as the rootdn
76 database        ldap
77 suffix          "o=Local"
78 rootdn          "cn=Manager,o=Local"
79 rootpw          secret
80 uri             "@URI6@"
81
82 #monitor#database       monitor