From: Douglas Bagnall Date: Fri, 26 Oct 2018 05:38:27 +0000 (+1300) Subject: python join: use the sd_utils we imported X-Git-Tag: tdb-1.3.17~1027 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4be0bcb12bddb0a5d8dedb591f7c1af697fbacf8;p=thirdparty%2Fsamba.git python join: use the sd_utils we imported Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- diff --git a/python/samba/join.py b/python/samba/join.py index 321b8c2b4b3..d5eb7e96a35 100644 --- a/python/samba/join.py +++ b/python/samba/join.py @@ -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