summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/clientutil.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/client/clientutil.c b/source3/client/clientutil.c
index bf49c6b342..ca90845738 100644
--- a/source3/client/clientutil.c
+++ b/source3/client/clientutil.c
@@ -519,7 +519,9 @@ BOOL cli_send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setup)
Protocol = prots[SVAL(inbuf,smb_vwv0)].prot;
- if (Protocol < PROTOCOL_NT1) {
+ if (Protocol < PROTOCOL_LANMAN1) {
+ /* no extra params */
+ } else if (Protocol < PROTOCOL_NT1) {
sec_mode = SVAL(inbuf,smb_vwv1);
max_xmit = SVAL(inbuf,smb_vwv2);
sesskey = IVAL(inbuf,smb_vwv6);