mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
python join: use the sd_utils we imported
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <noel.power@suse.com>
This commit is contained in:
committed by
Douglas Bagnall
parent
9148ec7d65
commit
4be0bcb12b
@ -1103,7 +1103,7 @@ class DCJoinContext(object):
|
|||||||
|
|
||||||
name_found = True
|
name_found = True
|
||||||
|
|
||||||
sd_helper = samba.sd_utils.SDUtils(ctx.samdb)
|
sd_helper = sd_utils.SDUtils(ctx.samdb)
|
||||||
|
|
||||||
change_owner_sd = security.descriptor()
|
change_owner_sd = security.descriptor()
|
||||||
change_owner_sd.owner_sid = ctx.new_dc_account_sid
|
change_owner_sd.owner_sid = ctx.new_dc_account_sid
|
||||||
|
Reference in New Issue
Block a user