From: Rowland Penny Date: Thu, 31 Mar 2016 12:24:28 +0000 (+0100) Subject: Bug 11818 : obvious missing word When trying to demote a dc, 'remove_dc.remove_sysvol... X-Git-Tag: tdb-1.3.9~23 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f777ca33c677cc6a7f4e52606b83c5002e3e6b71;p=thirdparty%2Fsamba.git Bug 11818 : obvious missing word When trying to demote a dc, 'remove_dc.remove_sysvol_references' is sent 'remote_samdb, dc_name' , it expects 'remote_samdb, logger, dc_name' BUG: https://bugzilla.samba.org/show_bug.cgi?id=11818 Signed-off-by: Rowland Penny Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Fri Apr 1 22:54:22 CEST 2016 on sn-devel-144 --- diff --git a/python/samba/netcmd/domain.py b/python/samba/netcmd/domain.py index 63571447254..68775ec4f11 100644 --- a/python/samba/netcmd/domain.py +++ b/python/samba/netcmd/domain.py @@ -940,7 +940,7 @@ class cmd_domain_demote(Command): else: raise CommandError("Error while sending a removeDsServer of %s: " % server_dsa_dn, e) - remove_dc.remove_sysvol_references(remote_samdb, dc_name) + remove_dc.remove_sysvol_references(remote_samdb, logger, dc_name) # These are objects under the computer account that should be deleted for s in ("CN=Enterprise,CN=NTFRS Subscriptions",