smbclient: Fix errors printed if we can connect with SMB1
authorAndreas Schneider <asn@samba.org>
Mon, 3 Sep 2018 10:11:39 +0000 (12:11 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 5 Sep 2018 16:22:24 +0000 (18:22 +0200)
commite0e86e8ae6245341ffd2b32d6abbade1371046e5
treee53e3d3ee4b77904cf377f51a2841451def977a4
parentaa07400f733effc4d42c6d81b6eeb9af8394b38b
smbclient: Fix errors printed if we can connect with SMB1

smbclient -L //server

before:

Reconnecting with SMB1 for workgroup listing.
Connection to earth.milkyway.site failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Failed to connect with SMB1 -- no workgroup available

after:

Reconnecting with SMB1 for workgroup listing.
Unable to connect with SMB1 -- no workgroup available

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/client/client.c
source3/libsmb/clidfs.c