Dear list members,
i am trying to convert slapd.conf to a directory. I am having problems trying to get it working. Here you have the output and slapd.conf i am working on:
sioux@etosha$ slaptest -f slapd.conf -F /tmp/x; cat slapd.conf WARNING: No dynamic config support for database ldbm.
WARNING: The converted cn=config directory is incomplete and may not work.
ldbm_back_db_open: alock package is unstable; database may be inconsistent! config file testing succeeded include /etc/openldap/schema/corba.schema include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/dyngroup.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/java.schema include /etc/openldap/schema/misc.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/openldap.schema include /etc/openldap/schema/ppolicy.schema
pidfile /asd/var/run/slapd.pid argsfile /asd/var/run/slapd.args
idletimeout 1024 loglevel -1 # referral sizelimit 1024 timelimit 1024
backend ldbm
database ldbm readonly off #replica #replogfile suffix "dc=cpd,dc=ufv,dc=br" rootdn "cn=Manager,dc=cpd,dc=ufv,dc=br" rootpw {SSHA}L+RsBLcsc846Bv/tTiEnBONIx3oTSPG5 #syncrepl #updatedn #updateref cachesize 1024 dbcachesize 1048576 #dbnolocking #dbnosync #dbsync <frequency> <maxdelays> <delayinterval> directory /asd/var/ldap index objectClass eq mode 0600
John Nietzsche writes:
WARNING: No dynamic config support for database ldbm. WARNING: The converted cn=config directory is incomplete and may not work.
Therefore, before switching from slapd.conf to a slapd.d directory, you must switch from database ldbm to database bdb or hdb.
ldbm is obsolete anyway and has been removed from OpenLDAP 2.4.
Read the relevant sections about tuning cache size etc. in the OpenLDAP Admin Guide Berkeley DB reference first though. Which it looks like you should have done in any case, with no indexes except for objectClass you are not going to have stellar performance.
--On October 27, 2008 9:23:05 AM -0200 John Nietzsche john.nietzsche@gmail.com wrote:
Dear list members, backend ldbm
database ldbm
Here's your #1 problem. LDBM is dead and removed from OpenLDAP 2.4 because of the myriad of problems it had. Use a supported backend such as back-bdb or back-hdb.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-software@openldap.org