Hi,

I installed libnss-ldap from unstable just now on an etch system, but I had
accidentally already edited nsswitch.conf to use "ldap compat" for passwd,
group and shadow.

The libnss-ldap package asked me questions, all was well, and then kaboom...

Setting up libnss-ldap (251-5.2) ...
perl: ldap-nss.c:1323: do_init: Assertion 
`cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
dpkg: error processing libnss-ldap (--configure):
[...]
% sudo joe nsswitch.conf
sudo: ldap-nss.c:1323: do_init: Assertion 
`cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
zsh: abort      sudo joe nsswitch.conf
% su
su: ldap-nss.c:1323: do_init: Assertion 
`cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.
zsh: abort      su

The problem appears to be that /etc/libnss-ldap.conf doesn't exist.

New ssh connections to the machine also die. Now I have to go to the machine
and reboot it and hopefully fix it in single user mode :(

It would be nice if libnss-ldap had some sanity checks that would prevent
these kinds of things.

-- 
     2. That which causes joy or happiness.


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

Reply via email to