]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-syncrepl1.conf
ITS#5810 support back-null
[openldap] / tests / data / slapd-glue-syncrepl1.conf
1 # stand-alone slapd config -- for backglue testing (with indexing)
2 # $OpenLDAP$
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
4 ##
5 ## Copyright 1998-2009 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 pidfile         @TESTDIR@/slapd.1.pid
22 argsfile        @TESTDIR@/slapd.1.args
23
24 #mod#modulepath ../servers/slapd/back-@BACKEND@/
25 #mod#moduleload back_@BACKEND@.la
26 #monitormod#modulepath ../servers/slapd/back-monitor/
27 #monitormod#moduleload back_monitor.la
28 #syncprovmod#moduleload ../servers/slapd/overlays/syncprov.la
29
30 #######################################################################
31 # database definitions
32 #######################################################################
33
34 database        @BACKEND@
35 suffix          "ou=Information Technology Division,ou=People,dc=example,dc=com"
36 subordinate
37 rootdn          "cn=Manager 1,dc=example,dc=com"
38 #~null~#directory       @TESTDIR@/db.1.a
39 #bdb#index              objectclass     eq
40 #bdb#index              uid     pres,eq,sub
41 #bdb#index              cn,sn   pres,eq,sub,subany
42 #bdb#index              entryUUID,entryCSN      pres
43 #hdb#index              objectclass     eq
44 #hdb#index              uid     pres,eq,sub
45 #hdb#index              cn,sn   pres,eq,sub,subany
46 #hdb#index              entryUUID,entryCSN      pres
47 #ndb#dbname db_1
48 #ndb#include @DATADIR@/ndb.conf
49
50 overlay         syncprov
51
52 database        @BACKEND@
53 suffix          "ou=Groups,dc=example,dc=com"
54 subordinate
55 rootdn          "cn=Manager 1,dc=example,dc=com"
56 #~null~#directory       @TESTDIR@/db.1.b
57 #bdb#index              objectclass     eq
58 #bdb#index              uid     pres,eq,sub
59 #bdb#index              cn,sn   pres,eq,sub,subany
60 #bdb#index              entryUUID,entryCSN      pres
61 #hdb#index              objectclass     eq
62 #hdb#index              uid     pres,eq,sub
63 #hdb#index              cn,sn   pres,eq,sub,subany
64 #hdb#index              entryUUID,entryCSN      pres
65 #ndb#dbname db_2
66 #ndb#include @DATADIR@/ndb.conf
67
68 syncrepl        rid=1
69                 provider=@URI2@
70                 binddn="cn=Manager 2,dc=example,dc=com"
71                 bindmethod=simple
72                 credentials=secret
73                 searchbase="ou=Groups,dc=example,dc=com"
74                 filter="(objectClass=*)"
75                 attrs="*,+"
76                 schemachecking=off
77                 scope=sub
78                 type=refreshAndPersist
79                 retry="3 10 300 5"
80 updateref       @URI2@
81 #overlay                syncprov
82
83
84 database        @BACKEND@
85 suffix          "dc=example,dc=com"
86 rootdn          "cn=Manager 1,dc=example,dc=com"
87 rootpw          secret
88 #~null~#directory       @TESTDIR@/db.1.c
89 #bdb#index              objectclass     eq
90 #bdb#index              uid     pres,eq,sub
91 #bdb#index              cn,sn   pres,eq,sub,subany
92 #hdb#index              objectclass     eq
93 #hdb#index              uid     pres,eq,sub
94 #hdb#index              cn,sn   pres,eq,sub,subany
95 #ndb#dbname db_3
96 #ndb#include @DATADIR@/ndb.conf
97
98 #overlay                syncprov
99
100 #monitor#database       monitor