1# slave slapd config -- for testing of SYNC replication with intermediate proxy 2# OpenLDAP: pkg/ldap/tests/data/slapd-syncrepl-multiproxy.conf,v 1.2.2.9 2010/04/19 19:14:29 quanah Exp 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2010 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 16include @SCHEMADIR@/core.schema 17include @SCHEMADIR@/cosine.schema 18include @SCHEMADIR@/inetorgperson.schema 19include @SCHEMADIR@/openldap.schema 20include @SCHEMADIR@/nis.schema 21# 22pidfile @TESTDIR@/slapd.1.pid 23argsfile @TESTDIR@/slapd.1.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#syncprovmod#modulepath ../servers/slapd/overlays/ 30#syncprovmod#moduleload syncprov.la 31#ldapmod#modulepath ../servers/slapd/back-ldap/ 32#ldapmod#moduleload back_ldap.la 33 34####################################################################### 35# master database definitions 36####################################################################### 37 38database @BACKEND@ 39suffix "dc=example,dc=com" 40rootdn "cn=Manager,dc=example,dc=com" 41rootpw secret 42#~null~#directory @TESTDIR@/db.1.a 43#bdb#index objectClass eq 44#bdb#index cn,sn,uid pres,eq,sub 45#bdb#index entryUUID,entryCSN eq 46#hdb#index objectClass eq 47#hdb#index cn,sn,uid pres,eq,sub 48#hdb#index entryUUID,entryCSN eq 49#ndb#dbname db_1 50#ndb#include @DATADIR@/ndb.conf 51 52overlay syncprov 53syncprov-sessionlog 100 54 55####################################################################### 56# consumer proxy database definitions 57####################################################################### 58 59database ldap 60hidden on 61suffix "dc=example,dc=com" 62rootdn "cn=Whoever" 63uri @URI2@ 64 65acl-bind bindmethod=simple 66 binddn="cn=Monitor" 67 credentials=monitor 68 69# Don't change syncrepl spec yet 70 71syncrepl rid=1 72 provider=@URI1@ 73 binddn="cn=Manager,dc=example,dc=com" 74 bindmethod=simple 75 credentials=secret 76 searchbase="dc=example,dc=com" 77 filter="(objectClass=*)" 78 schemachecking=off 79 scope=sub 80 type=refreshAndPersist 81 retry="3 5 300 5" 82 83database ldap 84hidden on 85suffix "dc=example,dc=com" 86rootdn "cn=Whoever" 87uri @URI3@ 88 89acl-bind bindmethod=simple 90 binddn="cn=Monitor" 91 credentials=monitor 92 93# Don't change syncrepl spec yet 94 95syncrepl rid=2 96 provider=@URI1@ 97 binddn="cn=Manager,dc=example,dc=com" 98 bindmethod=simple 99 credentials=secret 100 searchbase="dc=example,dc=com" 101 filter="(objectClass=*)" 102 schemachecking=off 103 scope=sub 104 type=refreshOnly 105 interval=00:00:00:03 106 retry="3 5 300 5" 107 108#monitor#database monitor 109