s3:libsmb: Honor disable_netbios option in smbsock_connect_send
commit529b29203d4263bb2e3263e7d873f74f5236814a
authorJustin Stephenson <jstephen@redhat.com>
Mon, 14 Jan 2019 15:36:47 +0000 (14 10:36 -0500)
committerKarolin Seeger <kseeger@samba.org>
Mon, 4 Feb 2019 08:50:08 +0000 (4 09:50 +0100)
tree68bbbd6b356161c6466beab8be8e19635d0c9238
parent248c234e06bf09a7f6ca3f6cafbac47baea7b302
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>
(cherry picked from commit c324f84a2fa25e29d2f7879fbcd35ce0e76a78f8)
source3/libsmb/smbsock_connect.c