[Samba] Unable to delete a non-leaf node (it has 4 children)
Danny Tipple
danny at trials-forum.co.uk
Mon Jun 5 08:52:31 UTC 2017
I’m having issues removing an old dead DC. I’m using the tool as follows:
sudo samba-tool domain demote --remove-other-dead-server=OLD-SERVER-NAME
I’m receiving the following error when it comes to deleting the machine:
ERROR(ldb): uncaught exception - subtree_delete: Unable to delete a non-leaf node (it has 4 children)!
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 730, in run
remove_dc.remove_dc(samdb, logger, remove_other_dead_server)
File "/usr/local/samba/lib/python2.7/site-packages/samba/remove_dc.py", line 412, in remove_dc
remove_dns_account=True)
File "/usr/local/samba/lib/python2.7/site-packages/samba/remove_dc.py", line 229, in offline_remove_server
samdb.delete(server_dn)
Is that any way to force this delete?
Thanks
Danny
More information about the samba
mailing list