Danny Tipple
2017-Jun-05 08:52 UTC
[Samba] Unable to delete a non-leaf node (it has 4 children)
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