[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Unknown db in slapd.conf



Hi,

<snipp/>
moduleload     back_mdb.la
moduleload     back_ldap.la
moduleload     back_hdb.la

on my centos system your config started once I changed above to

	moduleload     back_mdb


<snipp/>
# MDB database definitions
#######################################################################

database        mdb
suffix          "dc=oreillyauto,dc=com"
security        ssf=0
rootdn          "uid=admin,dc=oreillyauto,dc=com"
rootpw          <password>
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory       /var/lib/ldap
# Indices to maintain
index
objectClass,uid,position,employeeNumber,counterNumber,oreillyGroup,locationEntry,uniqueMember,ou,cn,businessCategory,locationNumber,functionListing,manager
pres,eq
index           title,givenName,sn,nickName pres,eq,sub

lastmod         on

checkpoint      512 30

and after I added a sensible maxsize parameter to above database section.

You need to define the maximum size of your mdb database. I regulary use 1G even for small installations unless the database is larger.

	maxsize   1073741824

#overlay accesslog
logdb           cn=log
logops          all
logold          (objectclass=oreillyOrgPerson)
logpurge        7+00:00 2+00:00
logsuccess      TRUE

Also comment out or delete all of the logdb options if you are not using the. or put back the overlay line.

backend         mdb

ps: And congratulations on doing yourself a favor with a current openldap build.

Greetings
Christian

--
Christian Kratzer                      CK Software GmbH
Email:   ck@cksoft.de                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer