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

Re: Trying to switch from bdb to mdb



Am Sat, 1 Nov 2014 14:29:10 -0400
schrieb Jerry <jerry@seibercom.net>:

> I am running OpenLDAP on a FreeBSD-10 amd 64 machine. It is installed
> via the FreeBSD ports system and I compile it on my machine.
> 
> I recently wanted to switch from BDB since versions greater than 6
> are not acceptable to OpenLDAP. I wanted to use "mdb", but I just
> cannot seem to get it configured correctly.
> 
> I changed the "database bdb" to "database mdb" but when I try to start
> openLDAP, I get this error:
> 
> Starting slapd
> Unrecognized database type (mdb)
> Warning: failed to start slapd
> 
> I removed the existing database, so it should be starting up with a
> clean environment, but the problem continues.
> 
> This is probably a problem specific to FreeBSD. If any user of
> FreeBSD has this working, I would love to see how they configured it.
> Feel free to contact me off list if it is more convenient.

Probably OpenLDAP has not been built with static back-mdb but with
back-mdb module. You may check with ./slapd -VVV, this will show all
built-in modules.

-Dieter

-- 
Dieter Klünter | Systemberatung
https://sys4.de
GPG Key ID:E9ED159B
53°37'09,95"N
10°08'02,42"E