s3/client: obey 'disable netbios' smb.conf param, don't connect via NBT port.
authorNoel Power <noel.power@suse.com>
Thu, 10 Nov 2016 08:27:57 +0000 (08:27 +0000)
committerJeremy Allison <jra@samba.org>
Tue, 15 Nov 2016 00:14:21 +0000 (01:14 +0100)
commit15fa802c771513fa535f9c825bcbdcdcc73ae66a
tree79db848906d1ce16e5eb0b4a165b17538300369a
parentcc081c78316d06d0cbbaf986863315db472a9cbe
s3/client: obey 'disable netbios' smb.conf param, don't connect via NBT port.

If 'disable netbios' is true 'smbclient -L //server' will try use the NBT
port to list the servers and 'smbclient -M //server' use the netbios
messaging WinPopup facility, we should honour the config and not do that.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12418

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/client/client.c