BUG 9436: Fix leaking sockets of SMB connections to a DC.
authorAndreas Schneider <asn@samba.org>
Wed, 28 Nov 2012 11:53:39 +0000 (12:53 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 29 Nov 2012 07:55:01 +0000 (08:55 +0100)
commit1106ca59eea9fe5d95a1098c84f77c9e6108659f
treecbb0ddbc0621f2e1f2d2352c8b9962bedd847dc1
parent40c6cfeb6ff39e73d824f17cb2ddc26eedb2b022
BUG 9436: Fix leaking sockets of SMB connections to a DC.

As this is a burst of 3 unbound sockets with each try to reach a DC
we're running out of file descriptors pretty fast. So winbind is then
mostly spinning in an accept loop failing with EMFILE.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jim McDonough <jmcd@samba.org>
Autobuild-User(master): Jim McDonough <jmcd@samba.org>
Autobuild-Date(master): Wed Nov 28 17:17:21 CET 2012 on sn-devel-104
source3/winbindd/winbindd_cm.c