summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-05 09:55:59 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-06 14:50:39 +0200
commit49acba37e78bc7cbcfe7cc69eea0421da9232999 (patch)
tree41c1c86b820275b6bf3535f1e35ae034f46db78c /source4/libcli
parent5252ddf74e514c200a05be5b1dc20bfb358f86c4 (diff)
downloadsamba-49acba37e78bc7cbcfe7cc69eea0421da9232999.tar.gz
samba-49acba37e78bc7cbcfe7cc69eea0421da9232999.tar.bz2
samba-49acba37e78bc7cbcfe7cc69eea0421da9232999.zip
s4:libcli/smb2: use PROTOCOL_LATEST
metze
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/smb2/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/connect.c b/source4/libcli/smb2/connect.c
index b2657f2568..783d628f59 100644
--- a/source4/libcli/smb2/connect.c
+++ b/source4/libcli/smb2/connect.c
@@ -143,7 +143,7 @@ static void smb2_connect_socket_done(struct composite_context *creq)
subreq = smbXcli_negprot_send(state, state->ev,
state->transport->conn, timeout_msec,
- PROTOCOL_SMB2_02, PROTOCOL_SMB2_24);
+ PROTOCOL_SMB2_02, PROTOCOL_LATEST);
if (tevent_req_nomem(subreq, req)) {
return;
}