]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cifs: add new "Unspecified" securityEnum value
authorJeff Layton <jlayton@redhat.com>
Sun, 26 May 2013 11:00:58 +0000 (07:00 -0400)
committerSteve French <smfrench@gmail.com>
Mon, 10 Jun 2013 22:03:48 +0000 (17:03 -0500)
Add a new securityEnum value to cover the case where a sec= option
was not explicitly set.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h

index be993ec5895b59a3e6b6614792bc0866ce994cc6..9f8dc3da5f3b7262c22ca771f2b5ec0c6d53f4e0 100644 (file)
@@ -101,11 +101,11 @@ enum statusEnum {
 };
 
 enum securityEnum {
-       LANMAN = 0,                     /* Legacy LANMAN auth */
+       Unspecified = 0,        /* not specified */
+       LANMAN,                 /* Legacy LANMAN auth */
        NTLM,                   /* Legacy NTLM012 auth with NTLM hash */
        NTLMv2,                 /* Legacy NTLM auth with NTLMv2 hash */
        RawNTLMSSP,             /* NTLMSSP without SPNEGO, NTLMv2 hash */
-/*     NTLMSSP, */ /* can use rawNTLMSSP instead of NTLMSSP via SPNEGO */
        Kerberos,               /* Kerberos via SPNEGO */
 };