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
--Sig_/06JmuYuE9+L1NAYh8lMDRXT
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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


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

--=20
Jerry

--Sig_/06JmuYuE9+L1NAYh8lMDRXT
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----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-----

--Sig_/06JmuYuE9+L1NAYh8lMDRXT--



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