summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-10-13 15:02:57 -0700
committerAndrew Bartlett <abartlet@samba.org>2013-01-21 22:31:20 +0100
commit7822952a11707ff8aaa415adef62082c158c2398 (patch)
treeea6502042e057a1c7924af5529d2b078413dd698 /libcli
parentc0638dae6cbf8915e6a436d575562fc131ba772a (diff)
downloadsamba-7822952a11707ff8aaa415adef62082c158c2398.tar.gz
samba-7822952a11707ff8aaa415adef62082c158c2398.tar.bz2
samba-7822952a11707ff8aaa415adef62082c158c2398.zip
security: Add documentation
Names seems to be a bit cryptic and misleading (at least for me). So documenting them should remove at least partially this problem. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/security/security.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libcli/security/security.h b/libcli/security/security.h
index 659d34157b..6e4b172e66 100644
--- a/libcli/security/security.h
+++ b/libcli/security/security.h
@@ -89,6 +89,15 @@
#define SHARE_ALL_ACCESS FILE_GENERIC_ALL
#define SHARE_READ_ONLY (FILE_GENERIC_READ|FILE_EXECUTE)
+/**
+ * Remaining access is a bit mask of remaining access rights (bits) that have
+ * to be granted in order to fulfill the requested access.
+ *
+ * The GUID is optional, if specified it restricts this object tree and its
+ * childs to object/attributes that inherits from this GUID.
+ * For DS access an object inherits from a GUID if one of its class has this GUID
+ * in the schemaIDGUID attribute.
+ */
struct object_tree {
uint32_t remaining_access;
struct GUID guid;