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)
committerKarolin Seeger <kseeger@samba.org>
Fri, 1 Feb 2019 10:34:09 +0000 (11:34 +0100)
commit0493165a22bfe9f65605a0fe8c7dba837d588985
tree97bf293b89624a2f735bbb1440a434ef89af0bf5
parent8e2514a1b1c75ad11b34e988e5c130ffc2ee363e
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