BUG 9436: Fix leaking sockets of SMB connections to a DC.
commit184ae8079ce7f8ecf3b472f180309e3108897aad
authorAndreas Schneider <asn@samba.org>
Wed, 28 Nov 2012 11:53:39 +0000 (28 12:53 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 6 Dec 2012 08:40:21 +0000 (6 09:40 +0100)
tree286d2929d6fb4a7e044e80ba86958ea00594fc6c
parentb61a99c87f6e0e24ee36815976bb733b95ac4a3a
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
(cherry picked from commit 1106ca59eea9fe5d95a1098c84f77c9e6108659f)
source3/winbindd/winbindd_cm.c