summaryrefslogtreecommitdiffstats
path: root/source3/torture/locktest.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-13 14:33:31 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-15 10:25:17 +0200
commit3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82 (patch)
treea0ea277fecceb874d1a77b459ccb0a833945b8d9 /source3/torture/locktest.c
parent4f7be46d99b68040c3b42f3a4662fccd777012a3 (diff)
downloadsamba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.tar.gz
samba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.tar.xz
samba-3f00cce9b3502c8ec9b3f7fcf5b2024c10550f82.zip
s3:libsmb: pass max_protocol to cli_negprot()
metze
Diffstat (limited to 'source3/torture/locktest.c')
-rw-r--r--source3/torture/locktest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index da3b9a7cdf..e7d3df2ce7 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -198,7 +198,7 @@ static struct cli_state *connect_one(char *share, int snum)
return NULL;
}
- status = cli_negprot(c);
+ status = cli_negprot(c, PROTOCOL_NT1);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("protocol negotiation failed: %s\n",
nt_errstr(status)));