From 9c41274ace0a1dd88b113ce2bf84b33b0c528efa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 9 Aug 2004 20:51:16 +0000 Subject: r1676: - improved the handling of username/password in locktest and gentest - use lp_maxprotocol() in the libcli/raw/ negotiate code, so we obey the smb.conf "max protocol" option - better handling of -M option in masktest (This used to be commit 8685a584c92ab73a35b29a8c719f1ec207562837) --- source4/libcli/raw/rawnegotiate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli') diff --git a/source4/libcli/raw/rawnegotiate.c b/source4/libcli/raw/rawnegotiate.c index 9b00aa6121..dab7b38939 100644 --- a/source4/libcli/raw/rawnegotiate.c +++ b/source4/libcli/raw/rawnegotiate.c @@ -86,7 +86,7 @@ NTSTATUS smb_raw_negotiate(struct smbcli_transport *transport) struct smbcli_request *req; int protocol; - req = smb_negprot_send(transport, PROTOCOL_NT1); + req = smb_negprot_send(transport, lp_maxprotocol()); if (!req) { return NT_STATUS_UNSUCCESSFUL; } -- cgit