]> git.sur5r.net Git - openldap/blob - tests/data/slapd-syncrepl-slave-refresh1.conf
84fe5c23445087c044c9080a33d79ceb36619e91
[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 ./schema/core.schema
18 include ./schema/cosine.schema
19 include ./schema/inetorgperson.schema
20 include ./schema/openldap.schema
21 include ./schema/nis.schema
22 #
23 pidfile     ./testrun/slapd.2.pid
24 argsfile    ./testrun/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-method  "simple"
38 #ldapyes#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
39 #ldapyes#chain-idassert-passwd  secret
40 #ldapyes#chain-idassert-mode    self
41 #ldapmod#overlay                chain
42 #ldapmod#chain-uri              @URI1@
43 #ldapmod#chain-idassert-method  "simple"
44 #ldapmod#chain-idassert-authcDN "cn=Manager,dc=example,dc=com"
45 #ldapmod#chain-idassert-passwd  secret
46 #ldapmod#chain-idassert-mode    self
47
48 #######################################################################
49 # consumer database definitions
50 #######################################################################
51
52 database        @BACKEND@
53 suffix          "dc=example,dc=com"
54 directory       ./testrun/db.2.a
55 rootdn          "cn=Replica,dc=example,dc=com"
56 rootpw          secret
57 #ldbm#index             objectClass     eq
58 #ldbm#index             cn,sn,uid       pres,eq,sub
59 #ldbm#index             entryUUID       eq
60 #bdb#index              objectClass     eq
61 #bdb#index              cn,sn,uid       pres,eq,sub
62 #bdb#index              entryUUID,entryCSN      eq
63
64 # Don't change syncrepl spec yet
65 syncrepl rid=1
66                  provider=@URI1@
67                  binddn="cn=Manager,dc=example,dc=com"
68                  bindmethod=simple
69                  credentials=secret
70                  searchbase="dc=example,dc=com"
71                  filter="(objectClass=*)"
72                  attrs="*"
73                  schemachecking=off
74                  scope=sub
75                  type=refreshOnly
76                  interval=00:00:00:10
77 updateref       @URI1@
78
79 overlay syncprov
80 syncprov-sessionlog 100
81
82
83
84 #monitor#database       monitor