mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
python/remove_dc: avoid using non-existent variable
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
732233ff3d
commit
b9c56142b5
@ -70,8 +70,8 @@ def remove_sysvol_references(samdb, logger, dc_name):
|
||||
raise DemoteException("Failed constructing DN %s by adding base" % \
|
||||
(dn, samdb.get_default_basedn()))
|
||||
if dn.add_child("CN=X") == False:
|
||||
raise DemoteException("Failed constructing DN %s by adding child %s"\
|
||||
% (dn, rdn))
|
||||
raise DemoteException("Failed constructing DN %s by adding child "
|
||||
"CN=X (soon to be CN=%s)" % (dn, dc_name))
|
||||
dn.set_component(0, "CN", dc_name)
|
||||
|
||||
try:
|
||||
|
Reference in New Issue
Block a user