summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-11-15 17:29:59 -0800
committerJeremy Allison <jra@samba.org>2011-11-16 04:20:04 +0100
commit05e841c82ce7f0f252b5eb565e457f406b3a1b39 (patch)
treeca1a83a2984684f1bbc8d21e3e9fec63dcda6614 /source3/smbd/proto.h
parent865bc0c0ace0a4f8e5eb0277def2315867273071 (diff)
downloadsamba-05e841c82ce7f0f252b5eb565e457f406b3a1b39.tar.gz
samba-05e841c82ce7f0f252b5eb565e457f406b3a1b39.tar.bz2
samba-05e841c82ce7f0f252b5eb565e457f406b3a1b39.zip
Final part of patchset to fix bug #8556 - ACL permissions ignored when SMBsetatr is requested.
This now plumbs access checks through all setattr calls. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 04:20:04 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index fe9076647e..151ae78ec3 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -1059,6 +1059,10 @@ int sys_statvfs(const char *path, vfs_statvfs_struct *statbuf);
/* The following definitions come from smbd/trans2.c */
+NTSTATUS check_access(connection_struct *conn,
+ files_struct *fsp,
+ const struct smb_filename *smb_fname,
+ uint32_t access_mask);
uint64_t smb_roundup(connection_struct *conn, uint64_t val);
uint64_t get_FileIndex(connection_struct *conn, const SMB_STRUCT_STAT *psbuf);
NTSTATUS get_ea_value(TALLOC_CTX *mem_ctx, connection_struct *conn,