On Mon, Jul 03, 2006 at 08:43:45AM -0400, Stephen Frost wrote:
> * Sjoerd Simons ([EMAIL PROTECTED]) wrote:
> > On Sun, Jul 02, 2006 at 08:00:22PM -0400, Stephen Frost wrote:
> > > * Vedran Fura?? ([EMAIL PROTECTED]) wrote:
> > > > After upgrade to version 251 I can't login as a user in ldap and even as
> > > > root which is a local user. Login process dies with SIGPIPE.
> > > > It only happens without nscd.
> > > 
> > > What do your configs look like, what version of login is it?  Can you
> > > try and strace it, or run it under gdb and see what's happening?  Do you
> > > have any other LDAP libraries installed?
> > 
> > I'm seeing almost the same behaviour. When nscd isn't running the use can
> > log in but after the shell is launched each command gets a SIGPIPE which
> > kills it.  Everything is at the current unstable version. 
> > 
> > A strace of the shell when it tries to run /bin/echo a:
> 
> Interesting.  Do both of you run IPv6 systems?  It *looks* like
> libnss-ldap already had an open socket with the LDAP server (probably
> from the shell) and it thinks it can't use it for some reason and goes
> to close/reopen the connection but doesn't actually reopen the
> connection, just recreates the socket and then tries to write to it.

I've rebooted one of the systems with the ipv6 module blacklisted. After that
it still shows exactly the same behaviour (identicaly trace, just the ipv6
addresses replaced by ipv4 addresses)...

> Can you check if there's a file in /var/lib/libnss-ldap ?  I doubt that
> has anything to do with this but who knows.

Nope, completely empty.

> Any other info you could provide would certainly be helpful...

I'm not sure what info would be helpfull. But fwiw, it happens on both amd64
and x86 machines. We've got two ldap servers (both accessible via ipv4 and
ipv6), one runs sarge the other one runs etch. 

Downgrading the package to the testing version solves the problem. I can't
pinpoint it closer as i've only noticed it quite recently when nscd was not
running for some reason.

  Sjoerd
-- 
Life is the childhood of our immortality.
                -- Goethe

Attachment: signature.asc
Description: Digital signature

Reply via email to