1# stand-alone slapd config -- for backglue testing (with indexing) 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 21pidfile @TESTDIR@/slapd.2.pid 22argsfile @TESTDIR@/slapd.2.args 23 24#mod#modulepath ../servers/slapd/back-@BACKEND@/ 25#mod#moduleload back_@BACKEND@.la 26#syncprovmod#moduleload ../servers/slapd/overlays/syncprov.la 27 28####################################################################### 29# database definitions 30####################################################################### 31 32database @BACKEND@ 33suffix "ou=Information Technology Division,ou=People,dc=example,dc=com" 34subordinate 35rootdn "cn=Manager 2,dc=example,dc=com" 36#~null~#directory @TESTDIR@/db.2.a 37#indexdb#index objectclass eq 38#indexdb#index uid pres,eq,sub 39#indexdb#index cn,sn pres,eq,sub,subany 40#indexdb#index entryUUID,entryCSN pres 41#ndb#dbname db_4 42#ndb#include @DATADIR@/ndb.conf 43 44 45syncrepl rid=2 46 provider=@URI1@ 47 binddn="cn=Manager 1,dc=example,dc=com" 48 bindmethod=simple 49 credentials=secret 50 searchbase="ou=Information Technology Division,ou=People,dc=example,dc=com" 51 filter="(objectClass=*)" 52 attrs="*,+" 53 schemachecking=off 54 scope=sub 55 type=refreshAndPersist 56 retry="3 10 300 5" 57updateref @URI1@ 58#overlay syncprov 59 60database @BACKEND@ 61suffix "ou=Groups,dc=example,dc=com" 62subordinate 63rootdn "cn=Manager 2,dc=example,dc=com" 64#~null~#directory @TESTDIR@/db.2.b 65#indexdb#index objectclass eq 66#indexdb#index uid pres,eq,sub 67#indexdb#index cn,sn pres,eq,sub,subany 68#indexdb#index entryUUID,entryCSN pres 69#ndb#dbname db_5 70#ndb#include @DATADIR@/ndb.conf 71 72 73overlay syncprov 74 75 76database @BACKEND@ 77suffix "dc=example,dc=com" 78rootdn "cn=Manager 2,dc=example,dc=com" 79rootpw secret 80#~null~#directory @TESTDIR@/db.2.c 81#indexdb#index objectclass eq 82#indexdb#index uid pres,eq,sub 83#indexdb#index cn,sn pres,eq,sub,subany 84#ndb#dbname db_6 85#ndb#include @DATADIR@/ndb.conf 86 87 88#overlay syncprov 89 90database monitor 91