summaryrefslogtreecommitdiffstats
path: root/libcli/security/security_descriptor.c
Commit message (Collapse)AuthorAgeFilesLines
* libcli/security: cleanup security_ace_equal()David Disseldorp2014-05-291-8/+20
| | | | | | | | This change cleans up the white-space damage, and converts the single line if-then statements to match Samba's coding conventions. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* libcli: Fix a memleakVolker Lendecke2014-05-271-5/+3
| | | | | | | | | | | struct security_ace has a struct dom_sid, not a pointer to it. So we don't have to talloc it first and then not free it. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue May 27 12:54:55 CEST 2014 on sn-devel-104
* libcli/security/security_descriptor.c - fix three wrong counter variablesMatthias Dieter Wallnöfer2011-02-211-3/+3
| | | | | | | These strictly need to be "uint32_t" since "acl*->num_aces" has been defined by this type. This counter patchset has been reviewed by Andrew Bartlett.
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-2/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* libcli: Fixed a segfault in security_acl_dup when the acl is NULL.Brendan Powers2010-06-191-0/+4
| | | | | | This can happen when duplicating a security descriptor that is missing either sacls or dacls. Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
* Initial implementation of security descriptor creation in DSNadezhda Ivanova2009-09-201-0/+50
| | | | | TODO's: ACE sorting and clarifying the inheritance of object specific ace's.
* Owner and group defaulting.Nadezhda Ivanova2009-09-161-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* A fix in the ACL code used by both SAMBA 3 and 4Matthias Dieter Wallnöfer2009-06-191-1/+1
| | | | | This fixes an uninitialised structure. It has been found through valgrind in the RAW-ACLs test suite (Bug #6397).
* Fix includes for security_descriptor file for the non-merged build.Jelmer Vernooij2009-04-211-1/+2
|
* Move the security_descriptor utility code to the top-level.Jelmer Vernooij2009-04-211-0/+533