mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-29 10:21:18 -06:00
Do not add ipa-ca records on CA-less installs
ipa-dns-install crashed when it was run on a CA-less server. https://fedorahosted.org/freeipa/ticket/3617
This commit is contained in:
parent
13cef6cac4
commit
6368a60730
@ -733,7 +733,7 @@ class BindInstance(service.Service):
|
||||
self.__add_ipa_ca_records(self.fqdn, [self.ip_address],
|
||||
self.ca_configured)
|
||||
|
||||
if self.first_instance:
|
||||
if self.first_instance and self.ca_configured:
|
||||
ldap = api.Backend.ldap2
|
||||
entries = ldap.get_entries(
|
||||
DN(('cn', 'masters'), ('cn', 'ipa'), ('cn', 'etc'),
|
||||
|
Loading…
Reference in New Issue
Block a user