s3:libsmb: Honor disable_netbios option in smbsock_connect_send
authorJustin Stephenson <jstephen@redhat.com>
Mon, 14 Jan 2019 15:36:47 +0000 (10:36 -0500)
committerJeremy Allison <jra@samba.org>
Wed, 16 Jan 2019 07:54:23 +0000 (08:54 +0100)
commitc324f84a2fa25e29d2f7879fbcd35ce0e76a78f8
treef797bef9b7de7f6dce443682802ef83892c9b0f6
parent193a0d6f01372604b925d1972591062a0bb2400f
s3:libsmb: Honor disable_netbios option in smbsock_connect_send

If disable_netbios is set, return before the tevent timer is triggered
to prevent outgoing netbios connections.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13727

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan 16 08:54:23 CET 2019 on sn-devel-144
source3/libsmb/smbsock_connect.c