Skip to content

Commit

Permalink
Revert "[CIFS] Fix ntlmv2 auth with ntlmssp"
Browse files Browse the repository at this point in the history
This reverts commit 9fbc590.

The change to kernel crypto and fixes to ntlvm2 and ntlmssp
series, introduced a regression.  Deferring this patch series
to 2.6.37 after Shirish fixes it.

Signed-off-by: Steve French <sfrench@us.ibm.com>
Acked-by: Jeff Layton <jlayton@redhat.com>
CC: Shirish Pargaonkar <shirishp@us.ibm.com>
  • Loading branch information
Steve French committed Sep 8, 2010
1 parent 745e507 commit c8e56f1
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 452 deletions.
2 changes: 0 additions & 2 deletions fs/cifs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ config CIFS
tristate "CIFS support (advanced network filesystem, SMBFS successor)"
depends on INET
select NLS
select CRYPTO_MD5
select CRYPTO_ARC4
help
This is the client VFS module for the Common Internet File System
(CIFS) protocol which is the successor to the Server Message Block
Expand Down
6 changes: 3 additions & 3 deletions fs/cifs/asn1.c
Original file line number Diff line number Diff line change
Expand Up @@ -597,13 +597,13 @@ decode_negTokenInit(unsigned char *security_blob, int length,
if (compare_oid(oid, oidlen, MSKRB5_OID,
MSKRB5_OID_LEN))
server->sec_mskerberos = true;
if (compare_oid(oid, oidlen, KRB5U2U_OID,
else if (compare_oid(oid, oidlen, KRB5U2U_OID,
KRB5U2U_OID_LEN))
server->sec_kerberosu2u = true;
if (compare_oid(oid, oidlen, KRB5_OID,
else if (compare_oid(oid, oidlen, KRB5_OID,
KRB5_OID_LEN))
server->sec_kerberos = true;
if (compare_oid(oid, oidlen, NTLMSSP_OID,
else if (compare_oid(oid, oidlen, NTLMSSP_OID,
NTLMSSP_OID_LEN))
server->sec_ntlmssp = true;

Expand Down
Loading

0 comments on commit c8e56f1

Please sign in to comment.