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

dynamic module load failure


Finally I'm back working on OpenLDAP again. I tried a build of OpenLDAP from
the CVS HEAD today (2000/4/19) with dynamic backend modules on a RedHat 6.1
i386 Linux system, as per:
./configure --prefix=/home/bastiaan/openldap -enable-dynamic
--enable-modules --disable-slurpd --enable-passwd
--with-passwd-module=dynamic --enable-shell --with-shell-module=dynamic
--enable-ldbm --with-ldbm-module=dynamic

OpenLDAP builds OK, but slapd fails to load any dynamic modules:

line 32 (modulepath /home/bastiaan/openldap/libexec/openldap)
line 33 (moduleload back_passwd.so)
loaded module back_passwd.so
module back_passwd.so: init_module() failed
./slapd.conf: line 33: failed to load or initialize module back_passwd.so

slapd.conf contains the standard prologue followed by:

modulepath /home/bastiaan/openldap/libexec/openldap
moduleload back_passwd.so

database        passwd
suffix          "dc=oven, dc=lifeline, dc=office"

The same configuration with a slapd with static backend modules runs without
problems. Am I doing something wrong or does the current CVS revision not
work with dynamic backend modules? 


Bastiaan Bakker
LifeLine Networks BV