mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Server-del: fix system records removal
Services on replica to be removed must be deleted first, otherwise update of system records will not take this change into account https://fedorahosted.org/freeipa/ticket/2008 Reviewed-By: Petr Spacek <pspacek@redhat.com>
This commit is contained in:
parent
0db48e4d04
commit
926462d335
@ -682,12 +682,12 @@ class server_del(LDAPDelete):
|
||||
# remove the references to master's ldap/http principals
|
||||
self._remove_server_principal_references(pkey)
|
||||
|
||||
# try to clean up the leftover DNS entries
|
||||
self._cleanup_server_dns_records(pkey)
|
||||
|
||||
# finally destroy all Kerberos principals
|
||||
self._remove_server_host_services(ldap, pkey)
|
||||
|
||||
# try to clean up the leftover DNS entries
|
||||
self._cleanup_server_dns_records(pkey)
|
||||
|
||||
return dn
|
||||
|
||||
def exc_callback(self, keys, options, exc, call_func, *call_args,
|
||||
|
Loading…
Reference in New Issue
Block a user