Public bug reported: Binary package hint: libpam-ldap
Many "connection_read(): no connection!" warnings are written to /var/log/debug and /var/log/syslog by slapd. However, as stated at http://www.openldap.org/lists/openldap-software/200811/msg00079.html , this is not a problem with slapd, but a client that is disconnecting without first unbinding. The suspect client is pam_ldap.so, part of libpam-ldap, when the system is configured for LDAP client authentication, as per http://doc.ubuntu.com/ubuntu/serverguide/C/openldap-server.html #openldap-auth-config . It is easily reproduced when using "sudo login", with either valid or invalid credentials against LDAP. It is also reproduced using "su <user>", but apparently only when an invalid password, etc., does not result in a valid login. I tried adding some logging into pam_ldap.c and recompiling, and it shows that ldap_unbind is being called from _pam_ldap_cleanup_session , but the warnings still are produced. System info: Ubuntu 10.04 LTS, libpam-ldap 184-8.2ubuntu1 ** Affects: libpam-ldap (Ubuntu) Importance: Undecided Status: New ** Tags: ldap logging pam slapd -- pam_ldap disconnects from LDAP without unbinding, causing many "connection_read(): no connection!" warnings in logs https://bugs.launchpad.net/bugs/578463 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to libpam-ldap in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs