]> git.sur5r.net Git - openldap/blob - tests/data/slapd-meta.conf
81a4b262981b12fa7849b2441bf09621490fedcd
[openldap] / tests / data / slapd-meta.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-2017 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 #ldapmod#modulepath ../servers/slapd/back-ldap/
26 #ldapmod#moduleload back_ldap.la
27 #metamod#modulepath ../servers/slapd/back-meta/
28 #metamod#moduleload back_meta.la
29 #monitormod#modulepath ../servers/slapd/back-monitor/
30 #monitormod#moduleload back_monitor.la
31
32 # seems to improve behavior under very heavy load
33 # (i.e. it alleviates load on target systems)
34 threads         8
35
36 #######################################################################
37 # database definitions
38 #######################################################################
39
40 database        meta
41 suffix          "o=Example,c=US"
42 rootdn          "cn=Manager,o=Example,c=US"
43 rootpw          secret
44 chase-referrals no
45 #nretries       forever
46 nretries        100
47 # 1 sec timeout for binds
48 bind-timeout    1000000
49 #norefs         true
50
51 # local
52 uri             "@URI2@ou=Meta,o=Example,c=US"
53 subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US"
54 suffixmassage   "ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
55 ###pseudorootdn "cn=manager,ou=meta,dc=example,dc=com"
56 ###pseudorootpw secret
57 idassert-bind   bindmethod=simple
58                 binddn="cn=manager,ou=meta,dc=example,dc=com"
59                 credentials="secret"
60                 mode=self
61                 flags=non-prescriptive
62 idassert-authzFrom      "dn.exact:cn=Manager,o=Local"
63
64 # remote
65 uri             "@URI1@o=Example,c=US"
66 subtree-include "dn.subtree:o=Example,c=US"
67 suffixmassage   "o=Example,c=US" "dc=example,dc=com"
68 ###pseudorootdn "cn=manager,dc=example,dc=com"
69 ###pseudorootpw secret
70 idassert-bind   bindmethod=simple
71                 binddn="cn=manager,dc=example,dc=com"
72                 credentials="secret"
73                 mode=self
74                 flags=non-prescriptive
75 idassert-authzFrom      "dn.exact:cn=Manager,o=Local"
76
77 limits          dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8
78
79 # This is only for binding as the rootdn
80 database        meta
81 suffix          "o=Local"
82 rootdn          "cn=Manager,o=Local"
83 rootpw          secret
84 uri             "@URI6@o=Local"
85
86 #monitor#database       monitor