]> git.sur5r.net Git - openldap/blob - tests/data/slapd-syncrepl-slave-refresh2.conf
9e5ce2ce854b50665520659b63b00610c55eeec7
[openldap] / tests / data / slapd-syncrepl-slave-refresh2.conf
1 # slave slapd config -- for testing of SYNC replication
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 #
22 pidfile         @TESTDIR@/slapd.3.pid
23 argsfile        @TESTDIR@/slapd.3.args
24
25 #mod#modulepath ../servers/slapd/back-@BACKEND@/
26 #mod#moduleload back_@BACKEND@.la
27 #monitormod#modulepath ../servers/slapd/back-monitor/
28 #monitormod#moduleload back_monitor.la
29
30 #######################################################################
31 # consumer database definitions
32 #######################################################################
33
34 database        @BACKEND@
35 suffix          "dc=example,dc=com"
36 rootdn          "cn=Replica,dc=example,dc=com"
37 rootpw          secret
38 #~null~#directory       @TESTDIR@/db.3.a
39 #indexdb#index          objectClass     eq
40 #indexdb#index          cn,sn,uid       pres,eq,sub
41 #indexdb#index          entryUUID,entryCSN      eq
42 #ndb#dbname db_3
43 #ndb#include @DATADIR@/ndb.conf
44
45 # Don't change syncrepl spec yet
46 syncrepl        rid=1
47                 provider=@URI2@
48                 binddn="cn=Replica,dc=example,dc=com"
49                 bindmethod=simple
50                 credentials=secret
51                 searchbase="dc=example,dc=com"
52                 filter="(objectClass=*)"
53                 attrs="*"
54                 schemachecking=off
55                 scope=sub
56                 type=refreshOnly
57                 interval=00:00:00:03
58
59 #monitor#database       monitor