Module Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias alias alias alias alias alias alias alias alias alias Import alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias alias alias ClassDef bases NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Call NameLoad Str Str keyword Str keyword NameLoad keyword Str keyword Str Call NameLoad Str keyword Str keyword ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str keyword NameLoad Call NameLoad Str keyword Str keyword ListLoad Str Str keyword Str Call NameLoad Str keyword Str keyword Str Call NameLoad Str keyword Str keyword Str Call NameLoad Str keyword Str keyword Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Str keyword NameLoad Assert CompareEq Call NameLoad NameLoad Num Return Call NameLoad AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Index Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Assert Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword ListLoad Str Assert CompareEq Call NameLoad NameLoad Num 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 NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Str keyword 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 NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad For NameStore NameLoad body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str 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 Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareIs NameLoad NameLoad BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad keyword NameLoad keyword Call NameLoad keyword NameLoad keyword NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Assign NameStore NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpMod Str TupleLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad NameLoad orelse If CompareEq NameLoad Str body Assign NameStore BinOpMod Str TupleLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore Dict Assign SubscriptStore NameLoad Index Str Call NameLoad decorator_list
N/A N/A samba.getopt options samba.dcerpc security samba.samdb SamDB samba.ndr ndr_unpack ndr_pack samba.dcerpc.security GUID_DRS_ALLOCATE_RIDS GUID_DRS_CHANGE_DOMAIN_MASTER GUID_DRS_CHANGE_INFR_MASTER GUID_DRS_CHANGE_PDC GUID_DRS_CHANGE_RID_MASTER GUID_DRS_CHANGE_SCHEMA_MASTER GUID_DRS_GET_CHANGES GUID_DRS_GET_ALL_CHANGES GUID_DRS_GET_FILTERED_ATTRIBUTES GUID_DRS_MANAGE_TOPOLOGY GUID_DRS_MONITOR_TOPOLOGY GUID_DRS_REPL_SYNCRONIZE GUID_DRS_RO_REPL_SECRET_SYNC N/A ldb ldb SCOPE_BASE N/A re samba.auth system_session samba.netcmd Command CommandError SuperCommand Option cmd_dsacl_set N/A Command N/A N/A Modify access list on a directory object. N/A synopsis %prog [options] N/A car_help  The access control right to allow or deny  N/A takes_optiongroups N/A sambaopts credopts versionopts N/A options SambaOptions N/A options CredentialsOptions N/A options VersionOptions N/A takes_options N/A N/A Option -H --URL help LDB URL for database or target server type str metavar URL dest H N/A Option --car type choice choices N/A change-rid change-pdc change-infrastructure change-schema change-naming allocate_rids get-changes get-changes-all get-changes-filtered topology-manage topology-monitor repl-sync ro-repl-secret-sync help car_help N/A Option --action type choice choices N/A allow deny help Deny or allow access N/A Option --objectdn help DN of the object whose SD to modify type string N/A Option --trusteedn help DN of the entity that gets access type string N/A Option --sddl help An ACE or group of ACEs to be added on the object type string find_trustee_sid N/A N/A self samdb trusteedn N/A N/A N/A res N/A N/A samdb search base trusteedn expression (objectClass=*) scope SCOPE_BASE N/A N/A N/A len res 1 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 modify_descriptor N/A N/A self samdb object_dn desc controls N/A None N/A N/A N/A isinstance desc N/A security descriptor N/A m N/A N/A ldb Message N/A N/A m dn N/A N/A ldb Dn samdb object_dn N/A N/A m N/A nTSecurityDescriptor N/A N/A ldb MessageElement N/A ndr_pack desc N/A ldb FLAG_MOD_REPLACE nTSecurityDescriptor N/A N/A N/A samdb modify m N/A read_descriptor N/A N/A self samdb object_dn N/A N/A N/A res N/A N/A samdb search base object_dn scope SCOPE_BASE attrs N/A nTSecurityDescriptor N/A N/A N/A len res 1 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_domain_sid N/A N/A self samdb N/A N/A N/A res N/A N/A samdb search base N/A N/A samdb domain_dn expression (objectClass=*) scope SCOPE_BASE 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 add_ace N/A N/A self samdb object_dn new_ace N/A N/A N/A Add new ace explicitly. N/A desc N/A N/A self read_descriptor samdb object_dn N/A desc_sddl N/A N/A desc as_sddl N/A N/A self get_domain_sid samdb N/A desc_aces N/A N/A re findall \(.*?\) desc_sddl N/A ace desc_aces N/A N/A N/A ID ace N/A N/A desc_sddl N/A N/A desc_sddl replace ace N/A N/A new_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 ( new_ace N/A desc_sddl N/A N/A N/A desc_sddl index ( N/A N/A desc_sddl N/A desc_sddl new_ace N/A desc N/A N/A N/A security descriptor from_sddl desc_sddl N/A N/A self get_domain_sid samdb N/A N/A N/A self modify_descriptor samdb object_dn desc N/A print_new_acl N/A N/A self samdb object_dn N/A N/A N/A desc N/A N/A self read_descriptor samdb object_dn N/A desc_sddl N/A N/A desc as_sddl N/A N/A self get_domain_sid samdb N/A N/A N/A N/A self outf write N/A new descriptor for %s:
 object_dn N/A N/A N/A N/A self outf write N/A desc_sddl N/A run N/A N/A self car action objectdn trusteedn sddl H credopts sambaopts versionopts N/A None None None None N/A N/A lp N/A N/A sambaopts get_loadparm N/A creds N/A N/A credopts get_credentials lp N/A N/A N/A sddl None N/A N/A car None N/A action None N/A objectdn None N/A trusteedn None N/A N/A N/A N/A self usage N/A samdb N/A SamDB url H session_info N/A system_session credentials creds lp lp N/A cars N/A change-rid change-pdc change-infrastructure change-schema change-naming allocate_rids get-changes get-changes-all get-changes-filtered topology-manage topology-monitor repl-sync ro-repl-secret-sync GUID_DRS_CHANGE_RID_MASTER GUID_DRS_CHANGE_PDC GUID_DRS_CHANGE_INFR_MASTER GUID_DRS_CHANGE_SCHEMA_MASTER GUID_DRS_CHANGE_DOMAIN_MASTER GUID_DRS_ALLOCATE_RIDS GUID_DRS_GET_CHANGES GUID_DRS_GET_ALL_CHANGES GUID_DRS_GET_FILTERED_ATTRIBUTES GUID_DRS_MANAGE_TOPOLOGY GUID_DRS_MONITOR_TOPOLOGY GUID_DRS_REPL_SYNCRONIZE GUID_DRS_RO_REPL_SECRET_SYNC N/A sid N/A N/A self find_trustee_sid samdb trusteedn N/A sddl N/A N/A new_ace sddl N/A N/A N/A action allow N/A N/A new_ace N/A (OA;;CR;%s;;%s) N/A N/A cars N/A car N/A str sid N/A N/A N/A action deny N/A N/A new_ace N/A (OD;;CR;%s;;%s) N/A N/A cars N/A car N/A str sid N/A N/A N/A CommandError N/A Wrong argument '%s'! action N/A N/A N/A self print_new_acl samdb objectdn N/A N/A N/A self add_ace samdb objectdn new_ace N/A N/A N/A self print_new_acl samdb objectdn N/A N/A cmd_dsacl N/A SuperCommand N/A N/A DS ACLs manipulation. N/A subcommands N/A N/A N/A subcommands N/A set N/A cmd_dsacl_set N/A