From 4be0bcb12bddb0a5d8dedb591f7c1af697fbacf8 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 26 Oct 2018 18:38:27 +1300 Subject: [PATCH] python join: use the sd_utils we imported Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- python/samba/join.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2