git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d401753
)
TODO: skip cli_echo SMB2
author
Stefan Metzmacher
<metze@samba.org>
Tue, 20 Sep 2011 07:53:38 +0000
(09:53 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 16 Jan 2018 06:45:47 +0000
(07:45 +0100)
source3/libsmb/clientgen.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clientgen.c
b/source3/libsmb/clientgen.c
index 44afee1d4a099cbbfaba61416788b9d2b7510cf9..466b77178359b18ac510e65298519bccfe086cce 100644
(file)
--- a/
source3/libsmb/clientgen.c
+++ b/
source3/libsmb/clientgen.c
@@
-555,6
+555,10
@@
NTSTATUS cli_echo(struct cli_state *cli, uint16_t num_echos, DATA_BLOB data)
struct tevent_req *req;
NTSTATUS status = NT_STATUS_OK;
+ if (smbXcli_conn_protocol(cli->conn) >= PROTOCOL_SMB2_02) {
+ return NT_STATUS_OK;
+ }
+
if (smbXcli_conn_has_async_calls(cli->conn)) {
/*
* Can't use sync call while an async call is in flight