Package: libnss-ldap
Version: 251-7.5
Severity: normal

Setting up a new system, I copied its config over from an old system, before 
having
installed the necessary packages.

So nsswitch.conf had entries 'ldap files' for passwd etc.
This was completely harmless in the absence of libnss-ldap (apart from
not being able to look up those users)

With that config, apt-get install libnss-ldap falls over:

Selecting previously deselected package libnss-ldap.
(Reading database ... 118867 files and directories currently installed.)
Unpacking libnss-ldap (from .../libnss-ldap_251-7.5_i386.deb) ...
Setting up libnss-ldap (251-7.5) ...
perl: ldap-nss.c:1374: do_init: Assertion 
`cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
dpkg: error processing libnss-ldap (--configure):
 subprocess post-installation script killed by signal (Aborted)
Errors were encountered while processing:
 libnss-ldap
E: Sub-process /usr/bin/dpkg returned an error code (1)

Once its like this, other things are broken too. (reportbug!)
Luckily this gave me the clue as to what had happened.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12.2-xfs-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libnss-ldap depends on:
ii  debconf [debconf-2.0]       1.5.11       Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libkrb53                    1.4.4-7      MIT Kerberos runtime libraries
ii  libldap2                    2.1.30-13.3  OpenLDAP libraries

Versions of packages libnss-ldap recommends:
ii  libpam-ldap                   180-1.7    Pluggable Authentication Module al
pn  nscd                          <none>     (no description available)

-- debconf information:
* libnss-ldap/rootbindpw: (password omitted)
  libnss-ldap/bindpw: (password omitted)
  libnss-ldap/dblogin: false
  libnss-ldap/override: true
* shared/ldapns/base-dn: dc=example,dc=net
* libnss-ldap/rootbinddn: cn=manager,dc=example,dc=net
* shared/ldapns/ldap_version: 3
  libnss-ldap/binddn: cn=proxyuser,dc=example,dc=net
* shared/ldapns/ldap-server: ldapi:///
* libnss-ldap/nsswitch:
  libnss-ldap/confperm: false
  libnss-ldap/dbrootlogin: true


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

Reply via email to