]> git.sur5r.net Git - openldap/blob - tests/data/slapd-glue-syncrepl1.conf
55cbc3551480df6c0f5648ca014e8bea52cdefdc
[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-2008 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 directory       @TESTDIR@/db.1.a
38 rootdn          "cn=Manager 1,dc=example,dc=com"
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
48 overlay         syncprov
49
50 database        @BACKEND@
51 suffix          "ou=Groups,dc=example,dc=com"
52 subordinate
53 directory       @TESTDIR@/db.1.b
54 rootdn          "cn=Manager 1,dc=example,dc=com"
55 #bdb#index              objectclass     eq
56 #bdb#index              uid     pres,eq,sub
57 #bdb#index              cn,sn   pres,eq,sub,subany
58 #bdb#index              entryUUID,entryCSN      pres
59 #hdb#index              objectclass     eq
60 #hdb#index              uid     pres,eq,sub
61 #hdb#index              cn,sn   pres,eq,sub,subany
62 #hdb#index              entryUUID,entryCSN      pres
63
64 syncrepl        rid=1
65                 provider=@URI2@
66                 binddn="cn=Manager 2,dc=example,dc=com"
67                 bindmethod=simple
68                 credentials=secret
69                 searchbase="ou=Groups,dc=example,dc=com"
70                 filter="(objectClass=*)"
71                 attrs="*,+"
72                 schemachecking=off
73                 scope=sub
74                 type=refreshAndPersist
75                 retry="3 3 300 5"
76 updateref       @URI2@
77 #overlay                syncprov
78
79
80 database        @BACKEND@
81 suffix          "dc=example,dc=com"
82 directory       @TESTDIR@/db.1.c
83 rootdn          "cn=Manager 1,dc=example,dc=com"
84 rootpw          secret
85 #bdb#index              objectclass     eq
86 #bdb#index              uid     pres,eq,sub
87 #bdb#index              cn,sn   pres,eq,sub,subany
88 #hdb#index              objectclass     eq
89 #hdb#index              uid     pres,eq,sub
90 #hdb#index              cn,sn   pres,eq,sub,subany
91
92 #overlay                syncprov
93
94 #monitor#database       monitor