From c318213250af68c02cc72fa609b3b844f929166b Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Mon, 19 Aug 2013 17:45:31 +0200 Subject: 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 --- ipaserver/install/dsinstance.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'ipaserver/install') diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 88157572..84e19d15 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) -- cgit