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

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sat Dec 21 16:15:59 UTC 2013


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

> 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.

OK, i took this patch as the maintainer didn't replied in 2x24 hours
commit 1c3a9856af16bb1d3ced384f1dbe840b683bb0dd
Author: Chris <chris at teria.org>
Date:   Sat Dec 21 23:13:28 2013 +0700

    system/nss_ldap: Rebuilt to fix segfaults.

    Signed-off-by: Willy Sudiarto Raharjo <willysr at slackbuilds.org>

can you confirm this fixed the problem?

http://slackbuilds.org/cgit/slackbuilds/commit/?h=willysr&id=1c3a9856af16bb1d3ced384f1dbe840b683bb0dd

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

iEYEARECAAYFAlK1vr8ACgkQiHuDdNczM4FgxwCfXov1KohQPfnYNkjQD5M96E9m
5ZoAn3TbjaHPPdYGn0ZV8cNQDRKOEN7z
=Gfzr
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list