From 3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 13 Sep 2011 14:33:31 +0200 Subject: s3:libsmb: pass max_protocol to cli_negprot() metze --- source3/utils/net_rpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_rpc.c') diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 9ed4ead2f2f..fe41e77148e 100644 --- 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) -- cgit