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.1.pid 22argsfile @TESTDIR@/slapd.1.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 1,dc=example,dc=com" 36#~null~#directory @TESTDIR@/db.1.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_1 42#ndb#include @DATADIR@/ndb.conf 43 44overlay syncprov 45 46database @BACKEND@ 47suffix "ou=Groups,dc=example,dc=com" 48subordinate 49rootdn "cn=Manager 1,dc=example,dc=com" 50#~null~#directory @TESTDIR@/db.1.b 51#indexdb#index objectclass eq 52#indexdb#index uid pres,eq,sub 53#indexdb#index cn,sn pres,eq,sub,subany 54#indexdb#index entryUUID,entryCSN pres 55#ndb#dbname db_2 56#ndb#include @DATADIR@/ndb.conf 57 58syncrepl rid=1 59 provider=@URI2@ 60 binddn="cn=Manager 2,dc=example,dc=com" 61 bindmethod=simple 62 credentials=secret 63 searchbase="ou=Groups,dc=example,dc=com" 64 filter="(objectClass=*)" 65 attrs="*,+" 66 schemachecking=off 67 scope=sub 68 type=refreshAndPersist 69 retry="3 10 300 5" 70updateref @URI2@ 71#overlay syncprov 72 73 74database @BACKEND@ 75suffix "dc=example,dc=com" 76rootdn "cn=Manager 1,dc=example,dc=com" 77rootpw secret 78#~null~#directory @TESTDIR@/db.1.c 79#indexdb#index objectclass eq 80#indexdb#index uid pres,eq,sub 81#indexdb#index cn,sn pres,eq,sub,subany 82#ndb#dbname db_3 83#ndb#include @DATADIR@/ndb.conf 84 85#overlay syncprov 86 87database monitor 88