How-To: Remove a Server in the Right Way

samba
dns
ldap
howto

#1

How to remove a server in the right way from Univention directory

Environment

You want to decomission one of the UCS servers running in your UCS domain.
Note: A UCS master server can not be decomissioned. Only backup, slave and member roles can be decomissioned.

Step 1

Power off your server to be decommissioned.

Step 2

Use the build-in script to remove all entries from OpenLDAP directory and Samba/AD.

/usr/share/univention-samba4/scripts/purge_s4_computer.py --computername=ucs-software

`samba-tool drs showrepl` nach BackupDC Verlust