plus3it / join-domain-formula

Salt formula to join systems to an Active Directory domain
Apache License 2.0
13 stars 19 forks source link

Add a state that removes the system from the domain #196

Closed ihenyene closed 12 months ago

ihenyene commented 1 year ago

Create a workflow that will reverse the changes made by the sssd directory’s automation.

  1. Perform a realm leave
  2. Ensure that any DDNS records associated with the host are nuked (or at least an attempt to nuke made)
  3. Ensure that the /etc/sssd/conf.d/.conf and /etc/krb5.keytab files are deleted
  4. Ensure that the /etc/sssd/sssd.confand /etc/krb5.conf files are reverted to the same state they were when the sssd-common RPM was initially installed
  5. The /etc/krb5.conf.d directory is emptied