1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-30 17:49:30 +03:00

r7679: update the documentation of security_description_create()

metze
(This used to be commit 6ad7ffab04)
This commit is contained in:
Stefan Metzmacher
2005-06-17 07:18:30 +00:00
committed by Gerald (Jerry) Carter
parent c04d826182
commit fca7031da9

View File

@ -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 create a security descriptor using string SIDs. This is used by the
torture code to allow the easy creation of complex ACLs 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: a typical call would be:
@ -299,7 +302,7 @@ BOOL security_descriptor_mask_equal(const struct security_descriptor *sd1,
SEC_FILE_ALL, SEC_FILE_ALL,
SEC_ACE_FLAG_OBJECT_INHERIT, SEC_ACE_FLAG_OBJECT_INHERIT,
NULL); 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, struct security_descriptor *security_descriptor_create(TALLOC_CTX *mem_ctx,
const char *owner_sid, const char *owner_sid,