1 # stand-alone slapd config -- for testing (with indexing)
3 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 ## Copyright 1998-2017 The OpenLDAP Foundation.
6 ## All rights reserved.
8 ## Redistribution and use in source and binary forms, with or without
9 ## modification, are permitted only as authorized by the OpenLDAP
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>.
17 include @SCHEMADIR@/core.schema
18 include @SCHEMADIR@/cosine.schema
20 include @SCHEMADIR@/corba.schema
21 include @SCHEMADIR@/java.schema
22 include @SCHEMADIR@/inetorgperson.schema
23 include @SCHEMADIR@/misc.schema
24 include @SCHEMADIR@/nis.schema
25 include @SCHEMADIR@/openldap.schema
27 include @SCHEMADIR@/duaconf.schema
28 include @SCHEMADIR@/dyngroup.schema
29 include @SCHEMADIR@/ppolicy.schema
32 pidfile @TESTDIR@/slapd.1.pid
33 argsfile @TESTDIR@/slapd.1.args
36 TLSCACertificateFile @TESTDIR@/tls/ca/certs/testsuiteCA.crt
37 TLSCertificateKeyFile @TESTDIR@/tls/private/localhost.key
38 TLSCertificateFile @TESTDIR@/tls/certs/localhost.crt
42 rootdse @DATADIR@/rootdse.ldif
44 #mod#modulepath ../servers/slapd/back-@BACKEND@/
45 #mod#moduleload back_@BACKEND@.la
46 #monitormod#modulepath ../servers/slapd/back-monitor/
47 #monitormod#moduleload back_monitor.la
49 authz-regexp "email=([^,]*),cn=[^,]*,ou=OpenLDAP,o=OpenLDAP Foundation,st=CA,c=US" ldap:///ou=People,dc=example,dc=com??sub?(mail=$1)
51 #######################################################################
52 # database definitions
53 #######################################################################
56 suffix "dc=example,dc=com"
57 rootdn "cn=Manager,dc=example,dc=com"
59 #~null~#directory @TESTDIR@/db.1.a
60 #indexdb#index objectClass eq
61 #indexdb#index mail eq
63 #ndb#include @DATADIR@/ndb.conf
65 #monitor#database monitor