libcli/sd: remove redundant sec_desc_add_sid()
commitd735a4a9beb01e6a7260852fd7c7d8f2fa94ae4d
authorDavid Disseldorp <ddiss@samba.org>
Mon, 26 May 2014 10:23:47 +0000 (26 12:23 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 28 May 2014 15:52:13 +0000 (28 17:52 +0200)
tree4d95bde1b92046fee0f912835d7656432ddb3064
parentc1deb87fb78b84a551ad8dc1004247d8a836f9bc
libcli/sd: remove redundant sec_desc_add_sid()

This function adds an ACE to a security descriptor DACL. The same can be
achieved via the more flexible and much cleaner security_ace_create()
and security_descriptor_dacl_add() functions.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
libcli/security/secdesc.c
libcli/security/secdesc.h