[Bug 594840] [NEW] Many "connection_read(): no connection!" warnings from OpenLDAP server when using ldapi:/// and a bind DN (no external authentication)

Mark A. Ziesemer online at mark.ziesemer.com
Tue Jun 15 22:23:49 BST 2010


Public bug reported:

Reported upstream at
http://www.openldap.org/its/index.cgi/Incoming?id=6548 , but it needs to
be re-opened there.

Many "connection_read(): no connection!" warnings are written to
/var/log/debug and /var/log/syslog by slapd.  As stated at
http://www.openldap.org/lists/openldap-software/200811/msg00079.html ,
this is apparently not a problem with slapd, but a client that is
disconnecting without first unbinding.

This appears to be an issue with the libldap client library provided by
OpenLDAP itself (2.4.21), and not the slapd daemon.

Issue is reproducible even by just using "ldapsearch -H ldapi:///", but
only if a bind DN is specified (-D) and external authentication is not
used.

Running slapd with logging enabled (-d 8) shows the attached 3 sequences
- ldapsearch command followed by the slapd logs.  Note that the
"connection_read(): no connection!" is only visible on the middle pair.

If this can't / won't be fixed in the client library, the logging of the
"connection_read(): no connection!" event from slapd should at least be
demoted to a lower level so that it doesn't fill the default logging
output, without having to change the overall configured logging level
and potentially missing other logged events that do require attention.

Ubuntu 10.04,  libldap-2.4-2 : 2.4.21-0ubuntu5

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ldap logging

-- 
Many "connection_read(): no connection!" warnings from OpenLDAP server when using ldapi:/// and a bind DN (no external authentication)
https://bugs.launchpad.net/bugs/594840
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in ubuntu.



More information about the Ubuntu-server-bugs mailing list