mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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
This commit is contained in:
committed by
Petr Viktorin
parent
78cf94a52c
commit
c318213250
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user