git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3:libsmb: pass max_protocol to cli_negprot()
[ira/wip.git]
/
source3
/
utils
/
net_rpc.c
diff --git
a/source3/utils/net_rpc.c
b/source3/utils/net_rpc.c
index 9ed4ead2f2f159190952407628f8885c6b844267..fe41e77148e19e07f07b1ca3462f59c28076e744 100644
(file)
--- a/
source3/utils/net_rpc.c
+++ b/
source3/utils/net_rpc.c
@@
-7096,7
+7096,7
@@
bool net_rpc_check(struct net_context *c, unsigned flags)
if (!NT_STATUS_IS_OK(status)) {
return false;
}
- status = cli_negprot(cli);
+ status = cli_negprot(cli
, PROTOCOL_NT1
);
if (!NT_STATUS_IS_OK(status))
goto done;
if (cli_state_protocol(cli) < PROTOCOL_NT1)