Package: libnss-ldap
Version: 250-1
Followup-For: Bug #309983

I've tried to built a newest package with upstream source (nss-ldap-250)
from http://www.padl.com/download/ but it still fails with the following

$ wml -o 1.html 1.wml
perl: ldap-nss.c:1343: do_init: Assertion 
`cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
Aborted (core dumped)

$ gdb /usr/bin/perl -c core
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".


warning: core file may not match specified executable file.
Core was generated by `/usr/bin/perl /usr/bin/wml -o 1.html 1.wml'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib/libperl.so.5.8...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libperl.so.5.8
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libcrypt.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/perl/5.8.8/auto/Cwd/Cwd.so...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/perl/5.8/auto/Cwd/Cwd.so
Reading symbols from /usr/lib/perl/5.8.8/auto/Fcntl/Fcntl.so...(no debugging 
symbols found)...done.
Loaded symbols for /usr/lib/perl/5.8/auto/Fcntl/Fcntl.so
Reading symbols from /usr/lib/perl/5.8.8/auto/IO/IO.so...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/perl/5.8/auto/IO/IO.so
Reading symbols from /usr/lib/perl5/auto/Term/ReadKey/ReadKey.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/perl5/auto/Term/ReadKey/ReadKey.so
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_ldap.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /lib/libnss_ldap.so.2
Reading symbols from /usr/lib/libldap_r.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libldap_r.so.2
Reading symbols from /usr/lib/liblber.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/liblber.so.2
Reading symbols from /usr/lib/libgssapi_krb5.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /lib/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libsasl2.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libgnutls.so.12...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libgnutls.so.12
Reading symbols from /usr/lib/libkrb5.so.3...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /usr/lib/libkrb5support.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libkrb5support.so.0
Reading symbols from /usr/lib/libtasn1.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libtasn1.so.2
Reading symbols from /usr/lib/libz.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgcrypt.so.11...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
#0  0x00002aaaab1cbde0 in raise () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaab1cbde0 in raise () from /lib/libc.so.6
#1  0x00002aaaab1cd290 in abort () from /lib/libc.so.6
#2  0x00002aaaab1c4ffb in __assert_fail () from /lib/libc.so.6
#3  0x00002aaaaba3ffc7 in ?? () from /lib/libnss_ldap.so.2
#4  0x00000000009b53a0 in ?? ()
#5  0x00007fffffef4e60 in ?? ()
#6  0x00000049ab209cfb in ?? ()
#7  0x00007fffffef5020 in ?? ()
#8  0x0000000000000049 in ?? ()
#9  0x00007fffffef51f0 in ?? ()
#10 0x0000000000000053 in ?? ()
#11 0x0000000000000000 in ?? ()
(gdb)



..but when I followed Andre Tomt's advice (remove ldap from the shadow
line in nsswitch.conf) it worked !!!

thanks a lot Andre, I've been pretty annoyed by this issue (running a 2
years old version of a program must have it's share of bugs)



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libnss-ldap depends on:
ii  debconf                       1.5.0      Debian configuration management sy
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libkrb53                      1.4.3-7    MIT Kerberos runtime libraries
ii  libldap2                      2.1.30-13  OpenLDAP libraries

Versions of packages libnss-ldap recommends:
ii  libpam-ldap                  178-1sarge1 Pluggable Authentication Module al
ii  nscd                         2.3.6-7     GNU C Library: Name Service Cache 

-- debconf information:
* libnss-ldap/dblogin: false
* shared/ldapns/base-dn: ou=observatoire,dc=obs,dc=coe,dc=int
* libnss-ldap/binddn: cn=admin,dc=obs,dc=coe,dc=int
  libnss-ldap/override: true
* shared/ldapns/ldap-server: localhost
* libnss-ldap/confperm: true
* shared/ldapns/ldap_version: 3
* libnss-ldap/nsswitch:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to