1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

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 <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
This commit is contained in:
Rowland Penny 2016-03-31 13:24:28 +01:00 committed by Jeremy Allison
parent 16ef497366
commit f777ca33c6

View 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",