| 1 |
# provider slapd config -- for testing |
| 2 |
# $OpenLDAP$ |
| 3 |
## This work is part of OpenLDAP Software <http://www.openldap.org/>. |
| 4 |
## |
| 5 |
## Copyright 1998-2024 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 |
|
| 16 |
include @SCHEMADIR@/core.schema |
| 17 |
include @SCHEMADIR@/cosine.schema |
| 18 |
include @SCHEMADIR@/inetorgperson.schema |
| 19 |
include @SCHEMADIR@/openldap.schema |
| 20 |
include @SCHEMADIR@/nis.schema |
| 21 |
pidfile @TESTDIR@/slapd.m.pid |
| 22 |
argsfile @TESTDIR@/slapd.m.args |
| 23 |
|
| 24 |
#mod#modulepath ../servers/slapd/back-@BACKEND@/ |
| 25 |
#mod#moduleload back_@[email protected] |
| 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 |
|
| 35 |
# seems to improve behavior under very heavy load |
| 36 |
# (i.e. it alleviates load on target systems) |
| 37 |
threads 8 |
| 38 |
|
| 39 |
####################################################################### |
| 40 |
# database definitions |
| 41 |
####################################################################### |
| 42 |
|
| 43 |
database meta |
| 44 |
suffix "o=Example,c=US" |
| 45 |
rootdn "cn=Manager,o=Example,c=US" |
| 46 |
rootpw secret |
| 47 |
nretries 100 |
| 48 |
chase-referrals yes |
| 49 |
|
| 50 |
uri "@URI1@o=Example,c=US" |
| 51 |
suffixmassage "o=Example,c=US" "dc=example,dc=com" |
| 52 |
idassert-bind bindmethod=simple |
| 53 |
binddn="cn=manager,dc=example,dc=com" |
| 54 |
credentials=secret |
| 55 |
mode=none |
| 56 |
idassert-authzFrom "*" |
| 57 |
|
| 58 |
database monitor |