diff options
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r-- | fs/cifs/cifspdu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 6df9dadba647..068ef51edbf7 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h | |||
@@ -580,6 +580,12 @@ typedef union smb_com_session_setup_andx { | |||
580 | 580 | ||
581 | /* format of NLTMv2 Response ie "case sensitive password" hash when NTLMv2 */ | 581 | /* format of NLTMv2 Response ie "case sensitive password" hash when NTLMv2 */ |
582 | 582 | ||
583 | #define NTLMSSP_SERVER_TYPE 1 | ||
584 | #define NTLMSSP_DOMAIN_TYPE 2 | ||
585 | #define NTLMSSP_FQ_DOMAIN_TYPE 3 | ||
586 | #define NTLMSSP_DNS_DOMAIN_TYPE 4 | ||
587 | #define NTLMSSP_DNS_PARENT_TYPE 5 | ||
588 | |||
583 | struct ntlmssp2_name { | 589 | struct ntlmssp2_name { |
584 | __le16 type; | 590 | __le16 type; |
585 | __le16 length; | 591 | __le16 length; |
@@ -593,7 +599,7 @@ struct ntlmv2_resp { | |||
593 | __le64 time; | 599 | __le64 time; |
594 | __u64 client_chal; /* random */ | 600 | __u64 client_chal; /* random */ |
595 | __u32 reserved2; | 601 | __u32 reserved2; |
596 | struct ntlmssp2_name names[1]; | 602 | struct ntlmssp2_name names[2]; |
597 | /* array of name entries could follow ending in minimum 4 byte struct */ | 603 | /* array of name entries could follow ending in minimum 4 byte struct */ |
598 | } __attribute__((packed)); | 604 | } __attribute__((packed)); |
599 | 605 | ||