svn commit: samba r7679 - in
branches/SAMBA_4_0/source/libcli/security: .
metze at samba.org
metze at samba.org
Fri Jun 17 07:18:30 GMT 2005
Author: metze
Date: 2005-06-17 07:18:30 +0000 (Fri, 17 Jun 2005)
New Revision: 7679
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7679
Log:
update the documentation of security_description_create()
metze
Modified:
branches/SAMBA_4_0/source/libcli/security/security_descriptor.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/security/security_descriptor.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/security/security_descriptor.c 2005-06-17 07:06:03 UTC (rev 7678)
+++ branches/SAMBA_4_0/source/libcli/security/security_descriptor.c 2005-06-17 07:18:30 UTC (rev 7679)
@@ -287,8 +287,11 @@
/*
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:
sd = security_descriptor_create(mem_ctx,
@@ -299,7 +302,7 @@
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,
More information about the samba-cvs
mailing list