summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/rawnegotiate.c2
1 files changed, 1 insertions, 1 deletions
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;
}