s3-winbindd: Close netlogon connection if the status returned by the NetrSamLogonEx...
commit5ebbd46b4a8714e98bb14862f9c3dc31301d8404
authorMatthieu Patou <mat@matws.net>
Sat, 25 Feb 2012 00:13:10 +0000 (24 16:13 -0800)
committerJeremy Allison <jra@samba.org>
Mon, 27 Feb 2012 22:10:03 +0000 (27 23:10 +0100)
tree0e23ef67f1b3cb116e53d3516cd9bab4330638cd
parentb8407c22d920df726c2e7dd0d92756ca8eb28dc9
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.

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Feb 27 23:10:03 CET 2012 on sn-devel-104
source3/winbindd/winbindd_pam.c