Date: Thu, 11 May 2006 05:20:16 GMT From: Artem Kazakov <kazakov@gmail.com> To: freebsd-ports-bugs@FreeBSD.org Subject: ports/91806 : net/nss_ldap broken with getpwuid* Message-ID: <200605110520.k4B5KG63003116@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/91806; it has been noted by GNATS. From: Artem Kazakov <kazakov@gmail.com> To: bug-followup@FreeBSD.org, sean@mcneil.com Cc: Subject: ports/91806 : net/nss_ldap broken with getpwuid* Date: Thu, 11 May 2006 14:15:58 +0900 Hello! Sean McNeil <sean@mcneil.com>: > Recent update of nss_ldap breaks getpwuid* routines. This is evident with sshd. Attempting to > > ssh localhost > Password: > Connection to localhost closed by remote host. > Connection to localhost closed. > > sshd[]: nss_ldap: could not search LDAP server - Server is unavailable > sshd[]: fatal: login_get_lastlog: Cannot find account for uid 501 > > Reverting to previous version fixes the problem. Could you please check your nss_ldap.conf file? It looks like, if you set bind_policy soft nss_ldap stops working. I do not know the details yet, but I faced the same problem. If you change bind_poicy to hard (as it is by default) everything should work. Regards. Artem Kazakov.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605110520.k4B5KG63003116>