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/torture/torture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/torture/torture.c') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 1de7e79732..3eb6fec294 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -3037,7 +3037,7 @@ static bool run_negprot_nowait(int dummy) for (i=0;i<50000;i++) { struct tevent_req *req; - req = cli_negprot_send(ev, ev, cli); + req = cli_negprot_send(ev, ev, cli, PROTOCOL_NT1); if (req == NULL) { TALLOC_FREE(ev); return false; @@ -6289,7 +6289,7 @@ static bool run_error_map_extract(int dummy) { } disable_spnego = false; - status = cli_negprot(c_nt); + status = cli_negprot(c_nt, PROTOCOL_NT1); if (!NT_STATUS_IS_OK(status)) { printf("%s rejected the NT-error negprot (%s)\n", host, @@ -6316,7 +6316,7 @@ static bool run_error_map_extract(int dummy) { disable_spnego = false; force_dos_errors = false; - status = cli_negprot(c_dos); + status = cli_negprot(c_dos, PROTOCOL_NT1); if (!NT_STATUS_IS_OK(status)) { printf("%s rejected the DOS-error negprot (%s)\n", host, nt_errstr(status)); -- cgit