r15672: Fix for bug #3783. winbindd_cm.c calls open_any_socket_out()
authorJeremy Allison <jra@samba.org>
Thu, 18 May 2006 01:30:00 +0000 (01:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:17:06 +0000 (11:17 -0500)
commitf895fcf1090c0400981587c36d040629b858deec
tree0e867071649c122808dabd976de04bc6004f18b4
parent6a026d56185f56dc9bf5ae8e5c1d33a0ce32562b
r15672: Fix for bug #3783. winbindd_cm.c calls open_any_socket_out()
to make connections to ports 445 or 139 on the DC it's trying
to contact. It calls sys_select() on the non-blocking sockets,
not sys_select_intr(). This is a mistake (I believe) as it allows
a signal to early terminate the connection attempts - whereas
sys_select_intr() will ignore signals until we get back to
the main processing loop where they'll be handled correctly.
This change means winbindd_cm will not early terminate if it
gets a message whilst trying to connect to DC's.
Gunther, Volker and Jerry please review (but I think this
is correct).
Jeremy.
(This used to be commit 24aaa486771f797d35ea6b0711c12cd3e663dd8c)
source3/lib/util_sock.c