summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-11-18 03:31:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:57 -0500
commitbc7b4abc3a85e78a73d401345265b2c022f0f04d (patch)
tree198b8203af8003f3e08c351f27425236bfd38227 /source4/include
parent3c25dfe78905984da1b18a7c136f954bfcdece42 (diff)
downloadsamba-bc7b4abc3a85e78a73d401345265b2c022f0f04d.tar.gz
samba-bc7b4abc3a85e78a73d401345265b2c022f0f04d.tar.bz2
samba-bc7b4abc3a85e78a73d401345265b2c022f0f04d.zip
r3832: added NT ACL query/set to the posix NTVFS backend. The default ACL is
based on the current nttoken, which is completely wrong, but works as a start. The ACL is stored in the xattr system.DosAcl, using a NDR encoded IDL union with a version number to allow for future expansion. pvfs does not yet check the ACL for file access. At the moment the ACL is just query/set. We also need to do some RPC work to allow the windows ACL editor to be used. At the moment is queries the ACL fine, but displays an error when it fails to map the SIDs via rpc. (This used to be commit 3a1f20d874ab2d8b2a2f2485b7a705847abf1263)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/rpc_secdes.h3
-rw-r--r--source4/include/structs.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/include/rpc_secdes.h b/source4/include/rpc_secdes.h
index 9cf899a59a..1a7e56974a 100644
--- a/source4/include/rpc_secdes.h
+++ b/source4/include/rpc_secdes.h
@@ -54,11 +54,12 @@ typedef struct security_descriptor SEC_DESC;
/* Don't know what this means. */
-/* security information */
+/* security information flags used in query_secdesc and set_secdesc */
#define OWNER_SECURITY_INFORMATION 0x00000001
#define GROUP_SECURITY_INFORMATION 0x00000002
#define DACL_SECURITY_INFORMATION 0x00000004
#define SACL_SECURITY_INFORMATION 0x00000008
+
/* Extra W2K flags. */
#define UNPROTECTED_SACL_SECURITY_INFORMATION 0x10000000
#define UNPROTECTED_DACL_SECURITY_INFORMATION 0x20000000
diff --git a/source4/include/structs.h b/source4/include/structs.h
index 61749111d9..d2f86e2e8a 100644
--- a/source4/include/structs.h
+++ b/source4/include/structs.h
@@ -112,6 +112,7 @@ struct file_info;
struct xattr_DosEAs;
struct xattr_DosStreams;
+struct xattr_DosAcl;
struct test_join;