diff options
author | Andreas Schneider <asn@samba.org> | 2018-09-03 12:11:39 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2018-09-05 18:22:24 +0200 |
commit | e0e86e8ae6245341ffd2b32d6abbade1371046e5 (patch) | |
tree | e53e3d3ee4b77904cf377f51a2841451def977a4 /source3/client | |
parent | aa07400f733effc4d42c6d81b6eeb9af8394b38b (diff) | |
download | samba-e0e86e8ae6245341ffd2b32d6abbade1371046e5.tar.gz |
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>
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 25ba01d6216..adc3fcab476 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -6227,7 +6227,7 @@ static int do_host_query(const char *query_host) smb_encrypt, max_proto, NBT_SMB_PORT, name_type, &cli); if (!NT_STATUS_IS_OK(status)) { - d_printf("Failed to connect with SMB1 " + d_printf("Unable to connect with SMB1 " "-- no workgroup available\n"); return 0; } |