Hello!

> Ok, one additional data point, it only happens with ldap specified for
> the shadow: entry in nsswitch.conf. passwd: and group: works fine.

I've bumped into similar results when using SpamAssassin. When running sa-learn, I've got this error message:

% sa-learn --sync --force-expire
perl: ldap-nss.c:1312: do_init: Assertion `cfg->ldc_uris[__session.ls_current_uri] != ((void *)0)' failed.

This is when I'm using nss-ldap for passwd, group and shadow. If I remove it from shadow (just as Andre described), everything works ok.

Package versions I'm using (on etch) are:
perl                       5.8.8-4
libldap-2.3-0              2.3.24-1
libldap2                   2.1.30-13+b1
libnss-ldap                251-5
libc6                      2.3.6-15
spamassassin               3.1.1-1

BR,

Jouko


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

Reply via email to