aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-06-04 01:53:15 -0400
committerSteve French <sfrench@us.ibm.com>2006-06-04 01:53:15 -0400
commit254e55ed03e2e8d23089b4a468eec2fd2e1ead9b (patch)
treeaf99361609403301ab1c758e2988e79dc155a710 /fs/cifs/cifspdu.h
parentbdc4bf6e8ac8cc29c61c2f0dc61d9776ef9a8ed4 (diff)
CIFS] Support for older servers which require plaintext passwords - part 2
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index 135941738d9d..e714803a52dc 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -426,6 +426,10 @@ typedef struct lanman_neg_rsp {
426 unsigned char EncryptionKey[1]; 426 unsigned char EncryptionKey[1];
427} __attribute__((packed)) LANMAN_NEG_RSP; 427} __attribute__((packed)) LANMAN_NEG_RSP;
428 428
429#define READ_RAW_ENABLE 1
430#define WRITE_RAW_ENABLE 2
431#define RAW_ENABLE (READ_RAW_ENABLE | WRITE_RAW_ENABLE)
432
429typedef struct negotiate_rsp { 433typedef struct negotiate_rsp {
430 struct smb_hdr hdr; /* wct = 17 */ 434 struct smb_hdr hdr; /* wct = 17 */
431 __le16 DialectIndex; 435 __le16 DialectIndex;