Module Expr Str Import alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr NameLoad Assert BoolOpOr Call NameLoad NameLoad NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Call NameLoad NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad ListLoad Str keyword NameLoad Assign NameStore SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Num Return Call NameLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Return If CompareGtE Call AttributeLoad NameLoad attr Str Num body Assign NameStore BinOpAdd BinOpAdd SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str NameLoad SubscriptLoad NameLoad Slice Call AttributeLoad NameLoad attr Str orelse Assign NameStore BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Utility methods for security descriptor manipulation. N/A samba ldb Message MessageElement Dn ldb FLAG_MOD_REPLACE SCOPE_BASE samba.ndr ndr_pack ndr_unpack samba.dcerpc security SDUtils N/A object N/A N/A Some utilities for manipulation of security descriptors on objects. __init__ N/A N/A self samdb N/A N/A N/A N/A self ldb samdb N/A N/A self domain_sid N/A N/A security dom_sid N/A N/A N/A self ldb get_domain_sid N/A modify_sd_on_dn N/A N/A self object_dn sd controls N/A None N/A N/A Modify security descriptor using either SDDL string
            or security.descriptor object
         N/A m N/A Message N/A N/A m dn N/A Dn N/A self ldb object_dn N/A N/A N/A isinstance sd str N/A isinstance sd N/A security descriptor N/A N/A isinstance sd str N/A N/A tmp_desc N/A N/A N/A security descriptor from_sddl sd N/A self domain_sid N/A N/A N/A isinstance sd N/A security descriptor N/A N/A tmp_desc sd N/A N/A m N/A nTSecurityDescriptor N/A MessageElement N/A ndr_pack tmp_desc FLAG_MOD_REPLACE nTSecurityDescriptor N/A N/A N/A N/A self ldb modify m controls N/A read_sd_on_dn N/A N/A self object_dn controls N/A None N/A N/A res N/A N/A N/A self ldb search object_dn SCOPE_BASE None N/A nTSecurityDescriptor controls controls N/A desc N/A N/A N/A res N/A 0 N/A nTSecurityDescriptor N/A 0 N/A N/A ndr_unpack N/A security descriptor desc N/A get_object_sid N/A N/A self object_dn N/A N/A N/A res N/A N/A N/A self ldb search object_dn N/A N/A ndr_unpack N/A security dom_sid N/A N/A N/A res N/A 0 N/A objectSid N/A 0 N/A dacl_add_ace N/A N/A self object_dn ace N/A N/A N/A Add an ACE to an objects security descriptor
         N/A desc N/A N/A self read_sd_on_dn object_dn N/A desc_sddl N/A N/A desc as_sddl N/A self domain_sid N/A N/A ace desc_sddl N/A N/A N/A N/A N/A N/A desc_sddl find ( 0 N/A N/A desc_sddl N/A N/A N/A desc_sddl N/A N/A N/A desc_sddl index ( ace N/A desc_sddl N/A N/A N/A desc_sddl index ( N/A N/A desc_sddl N/A desc_sddl ace N/A N/A N/A self modify_sd_on_dn object_dn desc_sddl N/A get_sd_as_sddl N/A N/A self object_dn controls N/A None N/A N/A Return object nTSecutiryDescriptor in SDDL format
         N/A desc N/A N/A self read_sd_on_dn object_dn controls controls N/A N/A N/A desc as_sddl N/A self domain_sid N/A N/A