svn commit: samba r21263 - in branches: SAMBA_3_0/source/lib SAMBA_3_0_25/source/lib

derrell at samba.org derrell at samba.org
Fri Feb 9 21:34:37 GMT 2007


Volker Lendecke <Volker.Lendecke at SerNet.DE> writes:

> I did the following test: Connect to smbd (ldapsam) with rpcclient, restart
> the ldap server, the conn is in CLOSE_WAIT, issue a "querydominfo" in
> rpcclient to make smbd issue an ldap call.
>
> strace on that smbd showed that getpeername() on the connection in
> CLOSE_WAIT returned 0 (no error). Bad.

Definitely bad.  There's no call to getpeername() in another_ldap_try(), and I
don't see what change you made to solve this problem.  How do you now properly
detect that the peer closed the connection?

Derrell


More information about the samba-technical mailing list