diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-06-17 07:18:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:21 -0500 |
commit | fca7031da9962c27cfa82a52a50b6fc23aa494de (patch) | |
tree | 1e70ee53da66ca2e36ccadee5e42a77ee6bdb0ed /source4/libcli/security | |
parent | c04d8261822481c9a291ecc0f4c65f067f4fd378 (diff) | |
download | samba-fca7031da9962c27cfa82a52a50b6fc23aa494de.tar.gz samba-fca7031da9962c27cfa82a52a50b6fc23aa494de.tar.bz2 samba-fca7031da9962c27cfa82a52a50b6fc23aa494de.zip |
r7679: update the documentation of security_description_create()
metze
(This used to be commit 6ad7ffab043c3b510f4dff052973a054e5a75779)
Diffstat (limited to 'source4/libcli/security')
-rw-r--r-- | source4/libcli/security/security_descriptor.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source4/libcli/security/security_descriptor.c b/source4/libcli/security/security_descriptor.c index 54c4bcb6cb..d1978fd795 100644 --- a/source4/libcli/security/security_descriptor.c +++ b/source4/libcli/security/security_descriptor.c @@ -287,7 +287,10 @@ BOOL security_descriptor_mask_equal(const struct security_descriptor *sd1, /* create a security descriptor using string SIDs. This is used by the torture code to allow the easy creation of complex ACLs - This is a varargs function. The list of ACEs ends with a NULL sid. + This is a varargs function. The list of DACL ACEs ends with a NULL sid. + + Each ACE contains a set of 4 parameters: + SID, ACCESS_TYPE, MASK, FLAGS a typical call would be: @@ -299,7 +302,7 @@ BOOL security_descriptor_mask_equal(const struct security_descriptor *sd1, SEC_FILE_ALL, SEC_ACE_FLAG_OBJECT_INHERIT, NULL); - that would create a sd with one ACE + that would create a sd with one DACL ACE */ struct security_descriptor *security_descriptor_create(TALLOC_CTX *mem_ctx, const char *owner_sid, |