Bug 11818 : obvious missing word When trying to demote a dc, 'remove_dc.remove_sysvol...
authorRowland Penny <rpenny@samba.org>
Thu, 31 Mar 2016 12:24:28 +0000 (13:24 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 1 Apr 2016 20:54:22 +0000 (22:54 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11818

Signed-off-by: Rowland Penny <rpenny@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Apr  1 22:54:22 CEST 2016 on sn-devel-144

python/samba/netcmd/domain.py

index 635714472549f5262230ec963f82a07f1e2fcf97..68775ec4f113095b541501872ebe25bd3a9d15d6 100644 (file)
@@ -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",