diff options
author | Michael Adam <obnox@samba.org> | 2011-07-22 15:38:38 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-22 15:42:17 +0200 |
commit | 2b4bb9b7a127dbaae9af8b1d48e56986ef70b974 (patch) | |
tree | 58b09bd53abf246c8f6f3e921a95c46c5c684157 /source3/client | |
parent | d67a91b9556a81318fd36d7f17ce327e5f6d44e0 (diff) | |
download | samba-2b4bb9b7a127dbaae9af8b1d48e56986ef70b974.tar.gz samba-2b4bb9b7a127dbaae9af8b1d48e56986ef70b974.tar.xz samba-2b4bb9b7a127dbaae9af8b1d48e56986ef70b974.zip |
s3:smbclient: print nt status code when smb echo fails
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 836bc56553..8c797e5e0e 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5024,8 +5024,8 @@ static void readline_callback(void) memset(garbage, 0xf0, sizeof(garbage)); status = cli_echo(cli, 1, data_blob_const(garbage, sizeof(garbage))); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0, ("SMBecho failed. Maybe server has closed " - "the connection\n")); + DEBUG(0, ("SMBecho failed (%s). Maybe server has closed " + "the connection\n", nt_errstr(status))); finished = true; smb_readline_done(); } |