| 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 |
####################################################################### |
| 25 |
# database definitions |
| 26 |
####################################################################### |
| 27 |
|
| 28 |
#mod#modulepath ../servers/slapd/back-@BACKEND@/:../servers/slapd/overlays |
| 29 |
#mod#moduleload back_@[email protected] |
| 30 |
#ldapmod#modulepath ../servers/slapd/back-ldap/ |
| 31 |
#ldapmod#moduleload back_ldap.la |
| 32 |
#rwmmod#modulepath ../servers/slapd/overlays/ |
| 33 |
#rwmmod#moduleload rwm.la |
| 34 |
#monitormod#modulepath ../servers/slapd/back-monitor/ |
| 35 |
#monitormod#moduleload back_monitor.la |
| 36 |
|
| 37 |
database @BACKEND@ |
| 38 |
suffix "dc=local,dc=com" |
| 39 |
rootdn "cn=Manager,dc=local,dc=com" |
| 40 |
rootpw "secret" |
| 41 |
#~null~#directory @TESTDIR@/db.2.a |
| 42 |
|
| 43 |
# proxy with default settings, used for test where remote server will disconnect the proxy connection |
| 44 |
database ldap |
| 45 |
uri "@URI1@" |
| 46 |
suffix "dc=no-rebind,dc=no-timeout,dc=example,dc=com" |
| 47 |
monitoring yes |
| 48 |
rebind-as-user no |
| 49 |
overlay rwm |
| 50 |
rwm-suffixmassage "dc=no-rebind,dc=no-timeout,dc=example,dc=com" "ou=Information Technology Division,ou=People,dc=example,dc=com" |
| 51 |
|
| 52 |
# proxy with rebind-as-user set, used for test where remote server will disconnect the proxy connection |
| 53 |
database ldap |
| 54 |
uri "@URI1@" |
| 55 |
suffix "dc=rebind,dc=no-timeout,dc=example,dc=com" |
| 56 |
monitoring yes |
| 57 |
rebind-as-user yes |
| 58 |
overlay rwm |
| 59 |
rwm-suffixmassage "dc=rebind,dc=no-timeout,dc=example,dc=com" "ou=Information Technology Division,ou=People,dc=example,dc=com" |
| 60 |
|
| 61 |
# proxy with idle-timeout, used for test where proxy will disconnect the remote server connection |
| 62 |
database ldap |
| 63 |
uri "@URI1@" |
| 64 |
suffix "dc=no-rebind,dc=timeout,dc=example,dc=com" |
| 65 |
monitoring yes |
| 66 |
rebind-as-user no |
| 67 |
idle-timeout 1 |
| 68 |
overlay rwm |
| 69 |
rwm-suffixmassage "dc=no-rebind,dc=timeout,dc=example,dc=com" "ou=Information Technology Division,ou=People,dc=example,dc=com" |
| 70 |
|
| 71 |
# proxy with rebind-as-user and idle-timeout, used for test where proxy will disconnect the remote server connection |
| 72 |
database ldap |
| 73 |
uri "@URI1@" |
| 74 |
suffix "dc=rebind,dc=timeout,dc=example,dc=com" |
| 75 |
monitoring yes |
| 76 |
rebind-as-user yes |
| 77 |
idle-timeout 1 |
| 78 |
overlay rwm |
| 79 |
rwm-suffixmassage "dc=rebind,dc=timeout,dc=example,dc=com" "ou=Information Technology Division,ou=People,dc=example,dc=com" |
| 80 |
|
| 81 |
database monitor |