1 # consumer slapd config -- for testing of SYNC replication 2 # $OpenLDAP$ 3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4 ## 5 ## Copyright 1998-2024 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 16 include @SCHEMADIR@/core.schema 17 include @SCHEMADIR@/cosine.schema 18 include @SCHEMADIR@/inetorgperson.schema 19 include @SCHEMADIR@/openldap.schema 20 include @SCHEMADIR@/nis.schema 21 include @SCHEMADIR@/dsee.schema 22 # 23 pidfile @TESTDIR@/slapd.4.pid 24 argsfile @TESTDIR@/slapd.4.args 25 26 #mod#modulepath ../servers/slapd/back-@BACKEND@/ 27 #mod#moduleload back_@BACKEND@.la 28 29 ####################################################################### 30 # consumer database definitions 31 ####################################################################### 32 33 database @BACKEND@ 34 suffix "dc=example,dc=com" 35 rootdn "cn=Replica,dc=example,dc=com" 36 rootpw secret 37 #null#bind on 38 #~null~#directory @TESTDIR@/db.4.a 39 #indexdb#index objectClass eq 40 #indexdb#index cn,sn,uid pres,eq,sub 41 #indexdb#index entryUUID,entryCSN eq 42 43 # Don't change syncrepl spec yet 44 syncrepl rid=1 45 provider=@URI1@ 46 binddn="cn=Directory Manager" 47 bindmethod=simple 48 credentials=secret21 49 searchbase="dc=example,dc=com" 50 filter="(objectClass=*)" 51 schemachecking=off 52 scope=sub 53 type=refreshAndPersist 54 logbase="cn=changelog" 55 syncdata=changelog 56 retry="3 5 300 5" 57 updateref @URI1@ 58 59 database monitor 60