git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d67a91b
)
s3:smbclient: print nt status code when smb echo fails
author
Michael Adam
<obnox@samba.org>
Fri, 22 Jul 2011 13:38:38 +0000
(15:38 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 22 Jul 2011 13:42:17 +0000
(15:42 +0200)
source3/client/client.c
patch
|
blob
|
history
diff --git
a/source3/client/client.c
b/source3/client/client.c
index 836bc56553ec58683d8540075fec48ce48379e12..8c797e5e0e442fe4d95319d6743d74a7d1cf656c 100644
(file)
--- 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();
}