]> git.sur5r.net Git - openldap/blob - tests/data/slapd-deltasync-slave.conf
Add delta syncrepl test
[openldap] / tests / data / slapd-deltasync-slave.conf
1 # slave slapd config -- for testing of Delta SYNC replication
2 # $OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-slave-persist1.conf,v 1.4.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 #ldapmod#modulepath ../servers/slapd/back-ldap/
33 #ldapmod#moduleload back_ldap.la
34
35 #ldapyes#overlay                chain
36 #ldapyes#chain-uri              @URI1@
37 #ldapyes#chain-idassert-bind    bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
38 #ldapmod#overlay                chain
39 #ldapmod#chain-uri              @URI1@
40 #ldapmod#chain-idassert-bind    bindmethod=simple binddn="cn=Manager,dc=example,dc=com" credentials=secret mode=self
41
42 #######################################################################
43 # consumer database definitions
44 #######################################################################
45
46 database        @BACKEND@
47 suffix          "dc=example,dc=com"
48 directory       @TESTDIR@/db.2.a
49 rootdn          "cn=Replica,dc=example,dc=com"
50 rootpw          secret
51 #bdb#index              objectClass     eq
52 #bdb#index              cn,sn,uid       pres,eq,sub
53 #hdb#index              objectClass     eq
54 #hdb#index              cn,sn,uid       pres,eq,sub
55 #ldbm#index             objectClass     eq
56 #ldbm#index             cn,sn,uid       pres,eq,sub
57
58 # Don't change syncrepl spec yet
59 syncrepl        rid=1
60                 provider=@URI1@
61                 binddn="cn=Manager,dc=example,dc=com"
62                 bindmethod=simple
63                 credentials=secret
64                 searchbase="dc=example,dc=com"
65                 filter="(objectClass=*)"
66                 logbase="cn=log"
67                 logfilter="(&(objectClass=auditWriteObject)(reqResult=0))"
68                 syncdata=accesslog
69                 attrs="*,+"
70                 schemachecking=off
71                 scope=sub
72                 type=refreshAndPersist
73 updateref       @URI1@
74
75 overlay         syncprov
76
77 #monitor#database       monitor