If this helps here is the slapd and slapd.conf files
slapd
# Default location of the slapd.conf file. If empty, use the compiled-in
# default (/etc/ldap/slapd.conf). If using the cn=config backend to store
# configuration in LDIF, set this variable to the directory containing the
# cn=config data.
SLAPD_CONF=
# System account to run the slapd server under. If empty the server
# will run as root.
SLAPD_USER="openldap"
# System group to run the slapd server under. If empty the server will
# run in the primary group of its user.
SLAPD_GROUP="openldap"
# Path to the pid file of the slapd server. If not set the init.d script
# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.conf by
# default)
SLAPD_PIDFILE=
# slapd normally serves ldap only on all TCP-ports 389. slapd can also
# service requests on TCP-port 636 (ldaps) and requests via unix
# sockets.
# Example usage:
# SLAPD_SERVICES="ldap://0.0.0.0:389/ ldaps:/// ldapi:///"
SLAPD_SERVICES="ldap://0.0.0.0:389/ ldapi://%2fvar%2frun%2fslapd%2fldapi/????x-mod=0777"
# If SLAPD_NO_START is set, the init script will not start or restart
# slapd (but stop will still work). Uncomment this if you are
# starting slapd via some other means or if you don't want slapd normally
# started at boot.
#SLAPD_NO_START=1
# If SLAPD_SENTINEL_FILE is set to path to a file and that file exists,
# the init script will not start or restart slapd (but stop will still
# work). Use this for temporarily disabling startup of slapd (when doing
# maintenance, for example, or through a configuration management system)
# when you don't want to edit a configuration file.
SLAPD_SENTINEL_FILE=/etc/ldap/noslapd
# For Kerberos authentication (via SASL), slapd by default uses the system
# keytab file (/etc/krb5.keytab). To use a different keytab file,
# uncomment this line and change the path.
#export KRB5_KTNAME=/etc/krb5.keytab
# Additional options to pass to slapd
SLAPD_OPTIONS=""
slapd.conf
# Default schema and objectClass definitions
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
# Schemas added by ebox
include /etc/ldap/schema/asterisk.schema
include /etc/ldap/schema/ebox-egw-account.schema
include /etc/ldap/schema/jabber.schema
include /etc/ldap/schema/authldap.schema
include /etc/ldap/schema/eboxmail.schema
include /etc/ldap/schema/amavis.schema
include /etc/ldap/schema/eboxfilter.schema
include /etc/ldap/schema/samba.schema
include /etc/ldap/schema/ebox.schema
include /etc/ldap/schema/passwords.schema
# Where the pid file is put. The init.d script
# will not stop the server if you change this.
pidfile /var/run/slapd/slapd.pid
# List of arguments that were passed to the server
argsfile /var/run/slapd/slapd.args
# Read slapd.conf(5) for possible values
loglevel none
# Where the dynamically loaded modules are stored
modulepath /usr/lib/ldap
moduleload back_hdb
password-hash {CLEARTEXT}
# The maximum number of entries that is returned for a search operation
sizelimit 500
# The tool-threads parameter sets the actual amount of cpu's that is used
# for indexing.
tool-threads 1
allow bind_v2
#######################################################################
# Specific Backend Directives for hdb:
# Backend specific directives apply to this backend until another
# 'backend' directive occurs
backend hdb
#######################################################################
# Specific Backend Directives for 'other':
# Backend specific directives apply to this backend until another
# 'backend' directive occurs
#backend <other>
#######################################################################
# Specific Directives for database #1, of type hdb:
# Database specific directives apply to this databasse until another
# 'database' directive occurs
database hdb
# The base of your directory in database #1
suffix "dc=ebox"
checkpoint 512 30
directory "/var/lib/ldap"
dbconfig set_cachesize 0 2097152 0
# Sven Hartge reported that he had to set this value incredibly high
# to get slapd running at all. See http://bugs.debian.org/303057 for more
# information.
# Number of objects that can be locked at the same time.
dbconfig set_lk_max_objects 1500
# Number of locks (both requested and granted)
dbconfig set_lk_max_locks 1500
# Number of lockers
dbconfig set_lk_max_lockers 1500
index objectClass eq
lastmod on
rootdn "cn=admin,dc=ebox"
rootpw -qa8rt6WzKMJZ54QqVhbZuGQK5af7GsXPAyfK2gv3_#zvrdHguk4AOqA0-Xrz1bzdfhMRKLCbeOO5_06yxvnvIXrQHzzijM1I5D%3GmVHsK5IyZx4lhP#|QI7mGbS2xe
access to attrs=userPassword,shadowLastChange
by dn.regex="cn=admin,dc=ebox" write
by anonymous auth
by self write
by * none
access to dn.base="" by * read
# ACLs needed by ebox modules
#
access to attrs=AstAccountVMPassword,AstAccountVMMail,AstAccountVMAttach,AstAccountVMDelete
by dn.regex="cn=admin,dc=ebox" write
by self write
by * none
access to attrs=sambaNTPassword,sambaLMPassword
by dn.regex="cn=admin,dc=ebox" write
by self write
by * none
access to attrs=eboxSha1Password,eboxMd5Password,eboxLmPassword,eboxNtPassword,eboxDigestPassword,eboxRealmPassword
by dn.regex="cn=admin,dc=ebox" write
by self write
by * none
access to *
by dn="cn=admin,dc=ebox" write
by * read