[Pkg-openldap-devel] Bug#643970: Bug#643970: slapd - Spams syslog with "connection_read(17): no connection!"

Bastian Blank waldi at debian.org
Mon Oct 3 11:47:37 UTC 2011


On Sun, Oct 02, 2011 at 07:33:51PM -0700, Quanah Gibson-Mount wrote:
> --On Saturday, October 01, 2011 12:16 PM +0200 Bastian Blank
> <waldi at debian.org> wrote:
> >slapd spams syslog with "no connection" messages even if no log level is
> >enabled.
> It means a client is incorrectly configured and disconnected without
> unbinding.

Please tell me that the ASN.1-sequence "0\5\2\1\3B\0" doesn't contain a
valid unbind requeste. As this was sent via a unix domain socket, I
can't use Wireshark on it. However, Wireshark considers the same sequence
sent via TCP a correct unbind request.

| write(4, "0\5\2\1\3B\0", 7)             = 7
| close(4)                                = 0

>             It is alerting you to an error condition.

Can you quote the standard why you consider this an error condition? 5.3
tells me:

| A protocol peer may determine that the continuation of any
| communication would be pernicious, and in this case, it may abruptly
| terminate the session by ceasing communication and closing the
| transport connection.

So while it is not the normal termination of a connection, it is no
error condition.

Also, if it is an error, the message must contain enough information to
identify the culprit. But it is written as a debug message without any
of this.

Bastian

-- 
There are always alternatives.
		-- Spock, "The Galileo Seven", stardate 2822.3





More information about the Pkg-openldap-devel mailing list