diff options
author | Ana Krivokapic <akrivoka@redhat.com> | 2013-08-19 17:45:31 +0200 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-08-20 16:36:13 +0200 |
commit | c318213250af68c02cc72fa609b3b844f929166b (patch) | |
tree | 094e8b7b1e20793e49ceca521f89fd099eda7142 /ipaserver | |
parent | 78cf94a52cba0b3205a8aacaeacfe1415a68a2c9 (diff) | |
download | freeipa-c318213250af68c02cc72fa609b3b844f929166b.tar.gz freeipa-c318213250af68c02cc72fa609b3b844f929166b.tar.xz freeipa-c318213250af68c02cc72fa609b3b844f929166b.zip |
Fix broken replica installation
Make sure the subject base parameter is correctly passed and used during the
creation of the DS instance on a replica.
https://fedorahosted.org/freeipa/ticket/3868
Diffstat (limited to 'ipaserver')
-rw-r--r-- | ipaserver/install/dsinstance.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 881575729..84e19d15e 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -274,8 +274,8 @@ class DsInstance(service.Service): self.start_creation(runtime=60) def create_replica(self, realm_name, master_fqdn, fqdn, - domain_name, dm_password, pkcs12_info=None, - ca_file=None): + domain_name, dm_password, subject_base, + pkcs12_info=None, ca_file=None): # idstart and idmax are configured so that the range is seen as # depleted by the DNA plugin and the replica will go and get a # new range from the master. @@ -284,8 +284,16 @@ class DsInstance(service.Service): idmax = 1100 self.init_info( - realm_name, fqdn, domain_name, dm_password, None, - idstart, idmax, pkcs12_info, ca_file=ca_file) + realm_name=realm_name, + fqdn=fqdn, + domain_name=domain_name, + dm_password=dm_password, + subject_base=subject_base, + idstart=idstart, + idmax=idmax, + pkcs12_info=pkcs12_info, + ca_file=ca_file + ) self.master_fqdn = master_fqdn self.__common_setup(True) |