1# consumer slapd config -- for testing of SYNC replication with intermediate proxy 2# $OpenLDAP$ 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2021 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.3.pid 23argsfile @TESTDIR@/slapd.3.args 24 25#mod#modulepath ../servers/slapd/back-@BACKEND@/ 26#mod#moduleload back_@BACKEND@.la 27#syncprovmod#modulepath ../servers/slapd/overlays/ 28#syncprovmod#moduleload syncprov.la 29#ldapmod#modulepath ../servers/slapd/back-ldap/ 30#ldapmod#moduleload back_ldap.la 31 32# We don't need any access to this DSA 33restrict all 34 35####################################################################### 36# consumer proxy database definitions 37####################################################################### 38 39database ldap 40suffix "dc=example,dc=com" 41rootdn "cn=Whoever" 42uri @URI2@ 43 44# ITS#4632: syncprov now wants this on (ITS#4613); however, since checks 45# are in place to prevent lastmod operational attrs to be added twice, 46# this should cause no harm 47lastmod on 48 49# HACK: use the RootDN of the monitor database as UpdateDN so ACLs apply 50# without the need to write the UpdateDN before starting replication 51acl-bind bindmethod=simple 52 binddn="cn=Monitor" 53 credentials=monitor 54 55# Don't change syncrepl spec yet 56 57# HACK: use the RootDN of the monitor database as UpdateDN so ACLs apply 58# without the need to write the UpdateDN before starting replication 59syncrepl 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 attrs="*,structuralObjectClass,entryUUID,entryCSN,creatorsName,createTimestamp,modifiersName,modifyTimestamp" 67 schemachecking=off 68 scope=sub 69 type=refreshAndPersist 70 retry="3 10 5 +" 71 72overlay syncprov 73 74database monitor 75