modulepath /usr/lib/ldap
moduleload back_bdb.la

# example config file - global configuration section
include /etc/ldap/schema/core.schema
referral ldap://root.openldap.org
access to * by * read

TLSCACertificateFile  /ldisk/hans_otp/otp/lib/eldap/test/eldap_basic_SUITE_data/certs/server/cacerts.pem
TLSCertificateFile    /ldisk/hans_otp/otp/lib/eldap/test/eldap_basic_SUITE_data/certs/server/cert.pem
TLSCertificateKeyFile /ldisk/hans_otp/otp/lib/eldap/test/eldap_basic_SUITE_data/certs/server/keycert.pem


database	bdb
suffix		"dc=ericsson,dc=se"
rootdn		"cn=Manager,dc=ericsson,dc=se"
rootpw		hejsan

# The database must exist before running slapd
directory	/tmp/slapd/openldap-data-ericsson.se

# Indices to maintain
index	objectClass	eq
access to attrs=userPassword
    by self write
    by anonymous auth
    by dn.base="cn=Manager,dc=ericsson,dc=se" write
    by * none
access to *
    by self write
    by dn.base="cn=Manager,dc=ericsson,dc=se" write
    by * read