diff options
author | Steve French <sfrench@us.ibm.com> | 2006-06-04 18:21:07 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-06-04 18:21:07 -0400 |
commit | 9312f6754d4b2d3ce27c21b16fb92923ce92a411 (patch) | |
tree | 7d4edbc90495ec52bfd568064a4a46e8309b3c7d /fs/cifs/sess.c | |
parent | 254e55ed03e2e8d23089b4a468eec2fd2e1ead9b (diff) |
[CIFS] Fix mask so can set new cifs security flags properly
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/sess.c')
-rw-r--r-- | fs/cifs/sess.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/cifs/sess.c b/fs/cifs/sess.c index 76a09f5f804f..1fe9461c6dca 100644 --- a/fs/cifs/sess.c +++ b/fs/cifs/sess.c | |||
@@ -339,9 +339,10 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time, | |||
339 | return -EOPNOTSUPP; | 339 | return -EOPNOTSUPP; |
340 | #endif | 340 | #endif |
341 | wct = 10; /* lanman 2 style sessionsetup */ | 341 | wct = 10; /* lanman 2 style sessionsetup */ |
342 | } else if((type == NTLM) || (type == NTLMv2)) /* NTLMv2 may retry NTLM */ | 342 | } else if((type == NTLM) || (type == NTLMv2)) { |
343 | /* For NTLMv2 failures eventually may need to retry NTLM */ | ||
343 | wct = 13; /* old style NTLM sessionsetup */ | 344 | wct = 13; /* old style NTLM sessionsetup */ |
344 | else /* same size for negotiate or auth, NTLMSSP or extended security */ | 345 | } else /* same size for negotiate or auth, NTLMSSP or extended security */ |
345 | wct = 12; | 346 | wct = 12; |
346 | 347 | ||
347 | rc = small_smb_init_no_tc(SMB_COM_SESSION_SETUP_ANDX, wct, ses, | 348 | rc = small_smb_init_no_tc(SMB_COM_SESSION_SETUP_ANDX, wct, ses, |