OpenLDAP: How to set up

Hello all,

in the past, I had an old OpenLDAP from OpenCSW. Now, I'm trying to install the recent release (2.4.32) on a Solaris 10 Sparc zone (sparse zone). But things have changed and I have troubles. First, when I did:

pkgutil -i openldap
openldap is started but failed due to this error:
Starting openldap-slapd:                                    Unrecognized database type (bdb)
[FAILED]

Looking at package, I notice that there is a separated CSWopenldap-back-bdb. Installing it doesn't solve the above problem. In the file /etc/opt/csw/openldap/slapd.conf, the lines:

# modulepath    /opt/csw/libexec/sparcv9/openldap
# moduleload    back_bdb.la

remains commented. Shouldn't it be commented out when installing CSWopenldap-back-bdb ?

Thanks in advance for help!

asked: 2013-05-13 by: gerard


Dagobert answers:

Yes, you need to uncomment these two lines and install CSWopenldap-back-bdb. Alternatively you can enable the new mdb backend.