1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +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:
Douglas Bagnall
2018-10-26 18:38:27 +13:00
committed by Douglas Bagnall
parent 9148ec7d65
commit 4be0bcb12b

View File

@ -1103,7 +1103,7 @@ class DCJoinContext(object):
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.owner_sid = ctx.new_dc_account_sid