diff options
Diffstat (limited to 'fs/cifs/cifsglob.h')
-rw-r--r-- | fs/cifs/cifsglob.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index b73695176467..f259e4d7612d 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h | |||
@@ -119,11 +119,12 @@ struct cifs_secmech { | |||
119 | struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */ | 119 | struct sdesc *sdescmd5; /* ctxt to generate cifs/smb signature */ |
120 | }; | 120 | }; |
121 | 121 | ||
122 | /* per smb connection structure/fields */ | 122 | /* per smb session structure/fields */ |
123 | struct ntlmssp_auth { | 123 | struct ntlmssp_auth { |
124 | __u32 client_flags; /* sent by client in type 1 ntlmsssp exchange */ | 124 | __u32 client_flags; /* sent by client in type 1 ntlmsssp exchange */ |
125 | __u32 server_flags; /* sent by server in type 2 ntlmssp exchange */ | 125 | __u32 server_flags; /* sent by server in type 2 ntlmssp exchange */ |
126 | unsigned char ciphertext[CIFS_CPHTXT_SIZE]; /* sent to server */ | 126 | unsigned char ciphertext[CIFS_CPHTXT_SIZE]; /* sent to server */ |
127 | char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ | ||
127 | }; | 128 | }; |
128 | 129 | ||
129 | struct cifs_cred { | 130 | struct cifs_cred { |
@@ -241,12 +242,8 @@ struct cifsSesInfo { | |||
241 | char userName[MAX_USERNAME_SIZE + 1]; | 242 | char userName[MAX_USERNAME_SIZE + 1]; |
242 | char *domainName; | 243 | char *domainName; |
243 | char *password; | 244 | char *password; |
244 | char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ | ||
245 | struct session_key auth_key; | 245 | struct session_key auth_key; |
246 | char ntlmv2_hash[16]; | 246 | struct ntlmssp_auth *ntlmssp; /* ciphertext, flags, server challenge */ |
247 | unsigned int tilen; /* length of the target info blob */ | ||
248 | unsigned char *tiblob; /* target info blob in challenge response */ | ||
249 | struct ntlmssp_auth ntlmssp; /* ciphertext, flags */ | ||
250 | bool need_reconnect:1; /* connection reset, uid now invalid */ | 247 | bool need_reconnect:1; /* connection reset, uid now invalid */ |
251 | }; | 248 | }; |
252 | /* no more than one of the following three session flags may be set */ | 249 | /* no more than one of the following three session flags may be set */ |