1# stand-alone slapd config -- for testing (with indexing) 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 16# 17include @SCHEMADIR@/core.schema 18include @SCHEMADIR@/cosine.schema 19# 20include @SCHEMADIR@/corba.schema 21include @SCHEMADIR@/java.schema 22include @SCHEMADIR@/inetorgperson.schema 23include @SCHEMADIR@/misc.schema 24include @SCHEMADIR@/nis.schema 25include @SCHEMADIR@/openldap.schema 26# 27include @SCHEMADIR@/duaconf.schema 28include @SCHEMADIR@/dyngroup.schema 29 30# 31pidfile @TESTDIR@/slapd.1.pid 32argsfile @TESTDIR@/slapd.1.args 33 34# SSL configuration 35TLSCACertificateFile @TESTDIR@/tls/ca/certs/testsuiteCA.crt 36TLSCertificateKeyFile @TESTDIR@/tls/private/localhost.key 37TLSCertificateFile @TESTDIR@/tls/certs/localhost.crt 38TLSVerifyClient hard 39 40# 41rootdse @DATADIR@/rootdse.ldif 42 43#mod#modulepath ../servers/slapd/back-@BACKEND@/ 44#mod#moduleload back_@BACKEND@.la 45 46authz-regexp "email=([^,]*),cn=[^,]*,ou=OpenLDAP,o=OpenLDAP Foundation,st=CA,c=US" ldap:///ou=People,dc=example,dc=com??sub?(mail=$1) 47 48####################################################################### 49# database definitions 50####################################################################### 51 52database @BACKEND@ 53suffix "dc=example,dc=com" 54rootdn "cn=Manager,dc=example,dc=com" 55rootpw secret 56#~null~#directory @TESTDIR@/db.1.a 57#indexdb#index objectClass eq 58#indexdb#index mail eq 59#ndb#dbname db_1_a 60#ndb#include @DATADIR@/ndb.conf 61 62database monitor 63