diff options
author | Martin Kosek <mkosek@redhat.com> | 2013-05-09 14:04:13 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2013-05-09 15:13:33 +0200 |
commit | 6368a60730097311510c0e1258790d916782e6d4 (patch) | |
tree | ebcdb8bb717581db5d1ab448084f8fecaad9bd8c /ipaserver | |
parent | 13cef6cac4c7f6c53e9fcfea97c5e830c8c69826 (diff) | |
download | freeipa-6368a60730097311510c0e1258790d916782e6d4.tar.gz freeipa-6368a60730097311510c0e1258790d916782e6d4.tar.xz freeipa-6368a60730097311510c0e1258790d916782e6d4.zip |
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
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/bindinstance.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py index 6694f0109..5a2450e61 100644 --- a/ipaserver/install/bindinstance.py +++ b/ipaserver/install/bindinstance.py @@ -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'), |