OpenLDAP and libnss conflict

Alain Spineux aspineux at
Wed May 21 18:29:17 CEST 2008

On Wed, May 21, 2008 at 4:01 PM, Neil Joseph Schelly
<neil.schelly at> wrote:
> I'm working on an installation of Kolab on Debian Etch (Stable).  I'm using
> the OpenPKG method for installation to install the latest version of things
> under /kolab.
> The installation works fine so long as I don't enable LDAP system logins.  I
> use LDAP for system logins by way of PAM and NSS ldap modules.  The slapd
> process segfaults as soon as the first ldap function is called.  I suspect

Which slapd segfault ? The openpkg or the debian one ? Are you trying
to run both at the same time ?

> this is because the process has already loaded the system libldap_r symbols
> to begin the process, creating a confusion of symbols between the system
> libldap_r and the /kolab version of libldap_r.

the openpkg slapd should run smoothly using it own library.

When you make some ldap queries, the client should load the libraries
it want (probably the debian one)
and not disturb the openpkg sldapd process

I thing the problem is somewhere else than in a library problem.
Except if you have installed installed or upgraded some debian package
after kolab install ?

> Everything works fine when I disable LDAP in /etc/nsswitch.conf.
> Has anyone else accomplished using the OpenPKG installation method with
> NSS/LDAP?  Has anyone tried using external libraries for the OpenLDAP part of
> things, or even better, having the OpenPKG installation just use an external
> LDAP server?
> --
> Regards,
> Neil Schelly
> Senior Systems Administrator
> W: 978-667-5115 x213
> M: 508-410-4776
> "Advancing open standards for the information society"
> _______________________________________________
> Kolab-users mailing list
> Kolab-users at

Alain Spineux
aspineux gmail com
May the sources be with you

More information about the users mailing list