[Slackbuilds-users] [Slackbuild-users] Segfault with nss_ldap

Willy Sudiarto Raharjo willysr at slackbuilds.org
Wed Dec 18 23:57:02 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu 19 Dec 2013 06:49:36 AM WIT, Chris wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> While compiling nss_ldap on a slackware64-14.1 VM, I encountered these warnings :
>
>
> ldap-nss.c:580:3: warning: implicit declaration of function '__libc_lock_lock' [-Wimplicit-function-declaration]
>    NSS_LDAP_LOCK (__lock);
>    ^
>
> I thought they were harmless but a simple "id" command for a ldap user ends in a segfault.
>
> Gentoo for example had to patch nss_ldap : https://bugs.gentoo.org/show_bug.cgi?id=438692
> Debian too : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=727177
>
> Here is the patch : https://438692.bugs.gentoo.org/attachment.cgi?id=326768
>
> I patched, compiled nss_ldap again and tested : it solves the issue.

CC'ing to the maintainer
Christopher, can you verify the patch and submit an update for this one?

Thanks


- --
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKyNk4ACgkQiHuDdNczM4HFKgCgo5cP2RLzA+hecy0oFUqCUpiu
/fwAn2voILeKEMzKw3agDEphEbXkhw0r
=GOMB
-----END PGP SIGNATURE-----



More information about the SlackBuilds-users mailing list