[PATCH] honor 'socket options' from winbind

Jim McDonough jmcd at samba.org
Thu Jun 16 00:09:51 UTC 2016

On 06/15/2016 07:33 PM, Jeremy Allison wrote:
> On Wed, Jun 15, 2016 at 04:07:49PM -0400, Jim McDonough wrote:
>> Currently, for ports 139 and 445, the smb.conf "socket options" are set
>> from smbd and libsmbclient (cliconnect.c).  However, in winbind
>> connection manager, we do not set them.  I couldn't think of a reason why...
>> The attached patch adds them before negprot.
> Makes sense to me - pushed. Was there any specific bug
> that triggered this fix ?
In a secondary fashion...a customer was trying to gather info on (and
find a repeatable scenario for) winbinds (in 3.6) stuck waiting forever,
after some extended network outage.  They wanted to set SO_KEEPALIVE and
noticed it wasn't showing up in straces.

More information about the samba-technical mailing list