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