Uninstallation of backup domain controller


#1

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?


DC aus UCS Domäne "sauber" entfernen
Beste Methode in UCS4.3-1einen DC-Slave/DC-Backup zu löschen
Warnung: Samba Replikations Status
#2

It is simply a user for DNS updates. So, it is not bad.

You should be able to remove the user via:

ldbdel -H /var/lib/samba/private/sam.ldb CN=dns-backupdomaincontroller,CN=Users,DC=domain,DC=com