s3-winbindd: Close netlogon connection if the status returned by the NetrSamLogonEx...
authorMatthieu Patou <mat@matws.net>
Sat, 25 Feb 2012 00:13:10 +0000 (16:13 -0800)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Feb 2012 19:00:17 +0000 (20:00 +0100)
commit990274481795a47376cdbc95d5f80d830079d702
tree35bf5ba64e4ea0d8ce2adf1bf9e6821d7c7ed1ab
parent4d603924fa07b908994bdc0a15dcfa2f83a3f1be
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
keeps in the meantime to respond NT_STATUS_IO_TIMEOUT).
source3/winbindd/winbindd_pam.c