diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-05-26 07:00:58 -0400 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2013-06-24 02:56:42 -0400 |
commit | 515d82ffd0fe4a87d872c655a6e19a318770ea0c (patch) | |
tree | 4d1dd8c6b2e08b03cc7282c2872026355420d24c /fs | |
parent | 9193400b69eaf8a409bd1c3d40ecd15445e6e08b (diff) |
cifs: add new "Unspecified" securityEnum value
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/cifsglob.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index be993ec5895b..9f8dc3da5f3b 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -101,11 +101,11 @@ enum statusEnum { | |||
101 | }; | 101 | }; |
102 | 102 | ||
103 | enum securityEnum { | 103 | enum securityEnum { |
104 | LANMAN = 0, /* Legacy LANMAN auth */ | 104 | Unspecified = 0, /* not specified */ |
105 | LANMAN, /* Legacy LANMAN auth */ | ||
105 | NTLM, /* Legacy NTLM012 auth with NTLM hash */ | 106 | NTLM, /* Legacy NTLM012 auth with NTLM hash */ |
106 | NTLMv2, /* Legacy NTLM auth with NTLMv2 hash */ | 107 | NTLMv2, /* Legacy NTLM auth with NTLMv2 hash */ |
107 | RawNTLMSSP, /* NTLMSSP without SPNEGO, NTLMv2 hash */ | 108 | RawNTLMSSP, /* NTLMSSP without SPNEGO, NTLMv2 hash */ |
108 | /* NTLMSSP, */ /* can use rawNTLMSSP instead of NTLMSSP via SPNEGO */ | ||
109 | Kerberos, /* Kerberos via SPNEGO */ | 109 | Kerberos, /* Kerberos via SPNEGO */ |
110 | }; | 110 | }; |
111 | 111 | ||