s3-winbindd: Close netlogon connection if the status returned by the NetrSamLogonEx...
authorMatthieu Patou <mat@matws.net>
Fri, 24 Feb 2012 22:06:02 +0000 (14:06 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 29 Feb 2012 19:57:11 +0000 (20:57 +0100)
commit8e141d666c3fc835001249753b6ea9b508256d73
treeb295e63dfed3a17b6bbcc871b3ddb7361aa88744
parent6c1501a8efd49efb7b9f5c75963c2f1124e7e258
s3-winbindd: Close netlogon connection if the status returned by the NetrSamLogonEx call is timeout in the pam_auth_crap path

If not the child process would hang for quite a long time up to the
moment when the connection is cleaned by the kernel (took ~ 20 minutes)
in my tests.

Fix bug #8771 (Winbind takes up to 20 minutes to change from DC 1 to DC 2 and
in the meantime to respond NT_STATUS_IO_TIMEOUT).
source3/winbindd/winbindd_pam.c