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