Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2014 18:07:26 -0400
From:      Jerry <jerry@seibercom.net>
To:        User questions <freebsd-questions@freebsd.org>
Subject:   Unable to start openldap with mdb backend
Message-ID:  <20141027180726.1daefeed@scorpio>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Mon, 27 Oct 2014 17:59:31 -0400

I am trying to update openldap to use mdb instead of bdb. I installed the
lmdb-0.9.13 port and thought I had openldap configured correctly; however,
openldap fails to start. It issues this error message:

/usr/local/etc/rc.d # service slapd start
Starting slapd.
Unrecognized database type (mdb)
/usr/local/etc/rc.d/slapd: WARNING: failed to start slapd

This is the configuration of the port:

     ACCESSLOG=off: With In-Directory Access Logging overlay
     ACI=off: Per-object ACI (experimental)
     AUDITLOG=off: With Audit Logging overlay
     BDB=off: With BerkeleyDB backend (DEPRECATED)
     COLLECT=off: With Collect overy Services overlay
     CONSTRAINT=off: With Attribute Constraint overlay
     DDS=off: With Dynamic Directory Services overlay
     DEREF=off: With Dereference overlay
     DNSSRV=off: With Dnssrv backend
     DYNACL=off: Run-time loadable ACL (experimental)
     DYNAMIC_BACKENDS=on: Build dynamic backends
     DYNGROUP=off: With Dynamic Group overlay
     DYNLIST=off: With Dynamic List overlay
     FETCH=off: Enable fetch(3) support
     GSSAPI=off: With GSSAPI support (implies SASL support)
     MDB=on: With Memory-Mapped DB backend
     MEMBEROF=off: With Reverse Group Membership overlay
     ODBC=off: With SQL backend
     PASSWD=off: With Passwd backend
     PERL=off: With Perl backend
     PPOLICY=off: With Password Policy overlay
     PROXYCACHE=off: With Proxy Cache overlay
     REFINT=off: With Referential Integrity overlay
     RELAY=off: With Relay backend
     RETCODE=off: With Return Code testing overlay
     RLOOKUPS=off: With reverse lookups of client hostnames
     RWM=off: With Rewrite/Remap overlay
     SASL=off: With (Cyrus) SASL2 support
     SEQMOD=off: With Sequential Modify overlay
     SHA2=off: With SHA2 Password hashes overlay
     SHELL=off: With Shell backend (disables threading)
     SLAPI=off: With Netscape SLAPI plugin API (experimental)
     SLP=off: With SLPv2 (RFC 2608) support
     SMBPWD=off: With Samba Password hashes overlay
     SOCK=off: With Sock backend
     SSSVLV=off: With ServerSideSort/VLV overlay
     SYNCPROV=on: With Syncrepl Provider overlay
     TCP_WRAPPERS=off: With tcp wrapper support
     TRANSLUCENT=off: With Translucent Proxy overlay
     UNIQUE=off: With attribute Uniqueness overlay
     VALSORT=off: With Value Sorting overlay


I changed the database = bdb in slapd.conf to database = mdb. Are there any
other changes that I should also make?

-- 
Jerry

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBAgAGBQJUTsIqAAoJEElTsHIJnX8e3qgIAI73R/fDNy+l8tjjE/ZGxfz6
V/efAWyaMLxJrc5WHmlZwGaWjKrdarB3MllNCEdxoiLNF6xmAcJl6wLdD1rT0xii
jxbwlXZFE/xuTIFge0w7Zagr4tXO+GiTxTkCKPO3b5OpkVdVfXBswViTgrbSWUM7
uecXtXJFJK+AsjKg4/GcagRJHLR/45KFzq/RK+YgWUWEWecF5StYUYTk4O0tkrcC
e+yKRx0HIuepdqvgQpEZHu/oKuxwlpTdhX/CrJ7xITL4ycH/TfpJwe3FtqMYru4w
Iso1tVei97Gp256vdDosgDS543odQtyVo/dqIFsesGtvnDcDi58/VO362CWNhYg=
=9c3T
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141027180726.1daefeed>