I'm using nss-ldap to authenticate on a win2k3 R2 server. getent passwd gets everything well.
But authentication fails very often without any justification. Here is an exemple Palantir:~# LANG=C Palantir:~# date -R ; su frederic Fri, 08 Jun 2007 08:59:41 +0200 su: /tmp/buildd/openldap2-2.1.30/libraries/liblber/sockbuf.c:82: ber_sockbuf_ctrl: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' failed. Aborted Palantir:~# date -R ; su frederic Fri, 08 Jun 2007 08:59:42 +0200 Palantir:/root$ exit Palantir:~# date -R ; su mickael Fri, 08 Jun 2007 08:59:46 +0200 su: /tmp/buildd/openldap2-2.1.30/libraries/liblber/sockbuf.c:82: ber_sockbuf_ctrl: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' failed. Aborted Palantir:~# date -R ; su mickael Fri, 08 Jun 2007 08:59:48 +0200 su: /tmp/buildd/openldap2-2.1.30/libraries/liblber/sockbuf.c:82: ber_sockbuf_ctrl: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' failed. Aborted Palantir:~# date -R ; su mickael Palantir:/root$ exit Palantir:~# date -R ; su pierre Fri, 08 Jun 2007 09:00:02 +0200 Palantir:/root$ exit As you can see, it can work or fail in a very short time without any evident reason. Note : the windows server's load is very small. I don"t think that the problem comes from him