1# provider slapd config -- for testing 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.m.pid 22argsfile @TESTDIR@/slapd.m.args 23 24#mod#modulepath ../servers/slapd/back-@BACKEND@/ 25#mod#moduleload back_@BACKEND@.la 26#relaymod#modulepath ../servers/slapd/back-relay/ 27#relaymod#moduleload back_relay.la 28#ldapmod#modulepath ../servers/slapd/back-ldap/ 29#ldapmod#moduleload back_ldap.la 30#metamod#modulepath ../servers/slapd/back-meta/ 31#metamod#moduleload back_meta.la 32#rwmmod#modulepath ../servers/slapd/overlays/ 33#rwmmod#moduleload rwm.la 34 35overlay rwm 36rwm-suffixmassage "o=Example,c=US" "dc=example,dc=com" 37 38####################################################################### 39# database definitions 40####################################################################### 41 42# remote 43database ldap 44suffix "ou=Meta,dc=example,dc=com" 45subordinate 46uri "@URI2@" 47rootdn "cn=Manager,dc=example,dc=com" 48chase-referrals no 49idassert-bind bindmethod=simple 50 binddn="cn=Manager,ou=Meta,dc=example,dc=com" 51 credentials="secret" 52 mode=self 53 flags=non-prescriptive 54idassert-authzfrom "dn.exact:cn=Manager,o=Local" 55 56# local 57database ldap 58suffix "dc=example,dc=com" 59uri "@URI1@" 60rootdn "cn=Manager,dc=example,dc=com" 61rootpw secret 62chase-referrals no 63idassert-bind bindmethod=simple 64 binddn="cn=Manager,dc=example,dc=com" 65 credentials="secret" 66 mode=self 67 flags=non-prescriptive 68idassert-authzfrom "dn.exact:cn=Manager,o=Local" 69 70limits dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,dc=example,dc=com" time=1 size=8 71 72# This is only for binding as the rootdn 73database ldap 74suffix "o=Local" 75rootdn "cn=Manager,o=Local" 76rootpw secret 77uri "@URI6@" 78 79database monitor 80