diff options
author | Steve French <sfrench@us.ibm.com> | 2006-01-13 21:34:58 -0800 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-01-13 21:34:58 -0800 |
commit | eeac8047fcf4c659eb15f2e27a0ef4aeba64157f (patch) | |
tree | 91b1e32bb9f2d6f9e9a122bd5e737df40701ab11 /fs/cifs/cifsacl.h | |
parent | 84153973a29dfb3f3d9fe2fe75c2cd613a3cdf27 (diff) | |
download | op-kernel-dev-eeac8047fcf4c659eb15f2e27a0ef4aeba64157f.zip op-kernel-dev-eeac8047fcf4c659eb15f2e27a0ef4aeba64157f.tar.gz |
[CIFS] Fix CIFS to recognize share mode security
Fix Samba bugzilla bug 3301
In share mode encrypted password must be sent on tree connection (in our
case only the NTLM password is sent, not the older LANMAN one).
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsacl.h')
-rw-r--r-- | fs/cifs/cifsacl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h index d152ff5..d0776ac 100644 --- a/fs/cifs/cifsacl.h +++ b/fs/cifs/cifsacl.h @@ -26,13 +26,13 @@ struct cifs_sid { __u8 revision; /* revision level */ __u8 num_subauths; __u8 authority[6]; - __u8 sub_auth[4]; + __u32 sub_auth[4]; /* next sub_auth if any ... */ } __attribute__((packed)); /* everyone */ -const cifs_sid sid_everyone = {1, 1, {0, 0, 0, 0, 0, 0}, {0, 0, 0, 0}}; +extern const struct cifs_sid sid_everyone; /* group users */ -const cifs_sid sid_user = {1, 2 , {0, 0, 0, 0, 0, 5}, {32, 545, 0, 0}}; +extern const struct cifs_sid sid_user; #endif /* _CIFSACL_H */ |