sdb.univention.de/1235
docs.software-univention.de/win … -uninstall
As per two articles I ran this command:
/usr/share/univention-samba4/scripts/purge_s4_computer.py --computername=backupdomaincontroller
Answered “YES” to both questions.
I think it went well, it removed dns records, msdcs name and from SAM database.
samba-tool drs showrepl
shows only the existing backup controllers, it does now show the one I removed.
However the command
ldbsearch -H /var/lib/samba/private/sam.ldb --cross-ncs
# distinguishedName: CN=dns-backupdomaincontroller,CN=Users,DC=domain,DC=com
still has records of old backup. However not as controller, but CN=Users
Why, is it bad and how do I remove it?