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#ldapmod#modulepath ../servers/slapd/back-ldap/ 25#ldapmod#moduleload back_ldap.la 26#asyncmetamod#modulepath ../servers/slapd/back-asyncmeta/ 27#asyncmetamod#moduleload back_asyncmeta.la 28 29# seems to improve behavior under very heavy load 30# (i.e. it alleviates load on target systems) 31threads 8 32 33####################################################################### 34# database definitions 35####################################################################### 36 37database asyncmeta 38suffix "o=Example,c=US" 39rootdn "cn=Manager,o=Example,c=US" 40rootpw secret 41chase-referrals no 42#nretries forever 43nretries 100 44#norefs true 45network-timeout 500 46#max-timeout-ops 50 47#max-pending-ops 128 48#max-target-conns 16 49 50# local 51uri "@URI2@ou=Meta,o=Example,c=US" 52subtree-exclude "ou=Excluded,ou=Meta,o=Example,c=US" 53suffixmassage "ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com" 54###pseudorootdn "cn=manager,ou=meta,dc=example,dc=com" 55###pseudorootpw secret 56idassert-bind bindmethod=simple 57 binddn="cn=manager,ou=meta,dc=example,dc=com" 58 credentials="secret" 59 mode=self 60 flags=non-prescriptive 61idassert-authzFrom "dn.exact:cn=Manager,o=Local" 62 63# remote 64uri "@URI1@o=Example,c=US" 65subtree-include "dn.subtree:o=Example,c=US" 66suffixmassage "o=Example,c=US" "dc=example,dc=com" 67###pseudorootdn "cn=manager,dc=example,dc=com" 68###pseudorootpw secret 69idassert-bind bindmethod=simple 70 binddn="cn=manager,dc=example,dc=com" 71 credentials="secret" 72 mode=self 73 flags=non-prescriptive 74idassert-authzFrom "dn.exact:cn=Manager,o=Local" 75 76limits dn.exact="cn=Bjorn Jensen,ou=Information Technology Division,ou=People,o=Example,c=US" time=1 size=8 77 78# This is only for binding as the rootdn 79database asyncmeta 80suffix "o=Local" 81rootdn "cn=Manager,o=Local" 82rootpw secret 83uri "@URI6@o=Local" 84 85database monitor 86