]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
CIFS: Add NTLMSSP sec type to defaults
authorPavel Shilovsky <piastryyy@gmail.com>
Wed, 3 Aug 2011 09:52:17 +0000 (13:52 +0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 14 Sep 2012 14:44:33 +0000 (09:44 -0500)
to let us negotiate SMB2 without specifying sec type explicitly.

Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
fs/cifs/cifsglob.h

index b2bb941d8ddd9a8499c750d45d05b261acc0a27c..004672f9e16c35588d8a6ee5232c1f6a6b2c945e 100644 (file)
@@ -1328,7 +1328,7 @@ require use of the stronger protocol */
 #define   CIFSSEC_MUST_SEAL    0x40040 /* not supported yet */
 #define   CIFSSEC_MUST_NTLMSSP 0x80080 /* raw ntlmssp with ntlmv2 */
 
-#define   CIFSSEC_DEF (CIFSSEC_MAY_SIGN | CIFSSEC_MAY_NTLM | CIFSSEC_MAY_NTLMV2)
+#define   CIFSSEC_DEF (CIFSSEC_MAY_SIGN | CIFSSEC_MAY_NTLM | CIFSSEC_MAY_NTLMV2 | CIFSSEC_MAY_NTLMSSP)
 #define   CIFSSEC_MAX (CIFSSEC_MUST_SIGN | CIFSSEC_MUST_NTLMV2)
 #define   CIFSSEC_AUTH_MASK (CIFSSEC_MAY_NTLM | CIFSSEC_MAY_NTLMV2 | CIFSSEC_MAY_LANMAN | CIFSSEC_MAY_PLNTXT | CIFSSEC_MAY_KRB5 | CIFSSEC_MAY_NTLMSSP)
 /*