[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: error that doesn't make sense to me
At 04:36 PM 1/2/2005, Craig White wrote:
>Trying to connect to openldap server - the following snippet is logged
>which I think comprises my error
>
>Jan 2 17:24:29 linuxserver slapd[3620]: send_ldap_result: conn=1608
>op=2 p=3
>Jan 2 17:24:29 linuxserver slapd[3620]: send_ldap_result: err=0
>matched="" text=""
>Jan 2 17:24:29 linuxserver slapd[3620]: send_ldap_response: msgid=3
>tag=101 err=0
From the above, I deduce that the server is responding to an LDAPv3
search request, msgid=2, with result code of success (0).
>Jan 2 17:24:29 linuxserver slapd[3620]: connection_get(32)
>Jan 2 17:24:29 linuxserver slapd[3620]: connection_get(32): got
>connid=1608
>Jan 2 17:24:29 linuxserver slapd[3620]: connection_read(32): checking
>for input on id=1608
>Jan 2 17:24:29 linuxserver slapd[3620]: ber_get_next on fd 32 failed
>errno=0 (Success)
>Jan 2 17:24:29 linuxserver slapd[3620]: connection_read(32): input
>error=-2 id=1608, closing.
>Jan 2 17:24:29 linuxserver slapd[3620]: connection_closing: readying
>conn=1608 sd=32 for close
>Jan 2 17:24:29 linuxserver slapd[3620]: connection_close: conn=1608
>sd=32
This indicates the TCP stream was closed. I note the closure appears to
abrupt. That is, the client does not appear to send a Unbind request before
disconnecting from the server.
>Input error -2 Is that my error? How to interpret?
This -2 indicates that ber_get_next failure requires the server to close
the TCP stream, which it then does.
>Thanks
>
>Craig