]> git.sur5r.net Git - openldap/blob - tests/data/slapd-syncrepl-slave-refresh1.conf
works with "restrict all": in principle, this slapd should be started without any...
[openldap] / tests / data / slapd-syncrepl-slave-refresh1.conf
1 # slave slapd config -- for testing of SYNC replication
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-slave-refresh1.conf,v 1.5.2.4 
3  2003/12/15 22:05:29 kurt Exp $
4 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ##
6 ## Copyright 1998-2005 The OpenLDAP Foundation.
7 ## All rights reserved.
8 ##
9 ## Redistribution and use in source and binary forms, with or without
10 ## modification, are permitted only as authorized by the OpenLDAP
11 ## Public License.
12 ##
13 ## A copy of this license is available in the file LICENSE in the
14 ## top-level directory of the distribution or, alternatively, at
15 ## <http://www.OpenLDAP.org/license.html>.
16
17 include         @SCHEMADIR@/core.schema
18 include         @SCHEMADIR@/cosine.schema
19 include         @SCHEMADIR@/inetorgperson.schema
20 include         @SCHEMADIR@/openldap.schema
21 include         @SCHEMADIR@/nis.schema
22 #
23 pidfile         @TESTDIR@/slapd.2.pid
24 argsfile        @TESTDIR@/slapd.2.args
25
26 #mod#modulepath ../servers/slapd/back-@BACKEND@/
27 #mod#moduleload back_@BACKEND@.la
28 #monitormod#modulepath ../servers/slapd/back-monitor/
29 #monitormod#moduleload back_monitor.la
30 #syncprovmod#modulepath ../servers/slapd/overlays/
31 #syncprovmod#moduleload syncprov.la
32
33 #######################################################################
34 # consumer database definitions
35 #######################################################################
36
37 database        @BACKEND@
38 suffix          "dc=example,dc=com"
39 directory       @TESTDIR@/db.2.a
40 rootdn          "cn=Replica,dc=example,dc=com"
41 rootpw          secret
42 #bdb#index              objectClass     eq
43 #bdb#index              cn,sn,uid       pres,eq,sub
44 #bdb#index              entryUUID,entryCSN      eq
45 #hdb#index              objectClass     eq
46 #hdb#index              cn,sn,uid       pres,eq,sub
47 #hdb#index              entryUUID,entryCSN      eq
48 #ldbm#index             objectClass     eq
49 #ldbm#index             cn,sn,uid       pres,eq,sub
50 #ldbm#index             entryUUID       eq
51
52 # Don't change syncrepl spec yet
53 syncrepl        rid=1
54                 provider=@URI1@
55                 binddn="cn=Manager,dc=example,dc=com"
56                 bindmethod=simple
57                 credentials=secret
58                 searchbase="dc=example,dc=com"
59                 filter="(objectClass=*)"
60                 attrs="*"
61                 schemachecking=off
62                 scope=sub
63                 type=refreshOnly
64                 interval=00:00:00:10
65 updateref       @URI1@
66
67 overlay         syncprov
68 syncprov-sessionlog 100
69
70 #monitor#database       monitor