diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-11-18 11:45:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:26 -0500 |
commit | d5f37ecf94e2b63511102b3fd34c0e7bcd8d7879 (patch) | |
tree | 3f3e475cf6caf96b67b4acf126af8a119546f656 /source4/libcli/smb2/request.c | |
parent | 70a01587b918718ddcbc11d4a7412c53211f04b8 (diff) | |
download | samba-d5f37ecf94e2b63511102b3fd34c0e7bcd8d7879.tar.gz samba-d5f37ecf94e2b63511102b3fd34c0e7bcd8d7879.tar.bz2 samba-d5f37ecf94e2b63511102b3fd34c0e7bcd8d7879.zip |
r11780: it turns out that the MxAc tag isn't a security descriptor, its a
request that the server return its own MxAc blob which contains the
maximum allowed access_mask for the returned file handle
(This used to be commit c0288aa8cd46ca384074f89430c226d725c39475)
Diffstat (limited to 'source4/libcli/smb2/request.c')
-rw-r--r-- | source4/libcli/smb2/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/request.c b/source4/libcli/smb2/request.c index 3f09c9aeec..03c0ed4350 100644 --- a/source4/libcli/smb2/request.c +++ b/source4/libcli/smb2/request.c @@ -181,7 +181,7 @@ BOOL smb2_oob(struct smb2_request_buffer *buf, const uint8_t *ptr, uint_t size) return False; } -static size_t smb2_padding_size(uint32_t offset, size_t n) +size_t smb2_padding_size(uint32_t offset, size_t n) { if ((offset & (n-1)) == 0) return 0; return n - (offset & (n-1)); |