]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-syncrepl2.conf
1d08a62bd7c1780c7b8667e1329cd13b2a7f6b3b
[openldap] / tests / data / slapd-glue-syncrepl2.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-2011 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.2.pid
22 argsfile        @TESTDIR@/slapd.2.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 2,dc=example,dc=com"
38 #~null~#directory       @TESTDIR@/db.2.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_4
48 #ndb#include @DATADIR@/ndb.conf
49
50
51 syncrepl        rid=2
52                 provider=@URI1@
53                 binddn="cn=Manager 1,dc=example,dc=com"
54                 bindmethod=simple
55                 credentials=secret
56                 searchbase="ou=Information Technology Division,ou=People,dc=example,dc=com"
57                 filter="(objectClass=*)"
58                 attrs="*,+"
59                 schemachecking=off
60                 scope=sub
61                 type=refreshAndPersist
62                 retry="3 10 300 5"
63 updateref       @URI1@
64 #overlay                syncprov
65
66 database        @BACKEND@
67 suffix          "ou=Groups,dc=example,dc=com"
68 subordinate
69 rootdn          "cn=Manager 2,dc=example,dc=com"
70 #~null~#directory       @TESTDIR@/db.2.b
71 #bdb#index              objectclass     eq
72 #bdb#index              uid     pres,eq,sub
73 #bdb#index              cn,sn   pres,eq,sub,subany
74 #bdb#index              entryUUID,entryCSN      pres
75 #hdb#index              objectclass     eq
76 #hdb#index              uid     pres,eq,sub
77 #hdb#index              cn,sn   pres,eq,sub,subany
78 #hdb#index              entryUUID,entryCSN      pres
79 #ndb#dbname db_5
80 #ndb#include @DATADIR@/ndb.conf
81
82
83 overlay         syncprov
84
85
86 database        @BACKEND@
87 suffix          "dc=example,dc=com"
88 rootdn          "cn=Manager 2,dc=example,dc=com"
89 rootpw          secret
90 #~null~#directory       @TESTDIR@/db.2.c
91 #bdb#index              objectclass     eq
92 #bdb#index              uid     pres,eq,sub
93 #bdb#index              cn,sn   pres,eq,sub,subany
94 #hdb#index              objectclass     eq
95 #hdb#index              uid     pres,eq,sub
96 #hdb#index              cn,sn   pres,eq,sub,subany
97 #ndb#dbname db_6
98 #ndb#include @DATADIR@/ndb.conf
99
100
101 #overlay                syncprov
102
103 #monitor#database       monitor