mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 00:41:25 -06:00
Fix boot.ldif generation, the domain name component must be derived
from the realm not the domain. One line fix.
This commit is contained in:
parent
b3c8780c1d
commit
449344e683
@ -188,7 +188,7 @@ class DsInstance(service.Service):
|
||||
self.backup_state("running", self.is_running())
|
||||
self.backup_state("serverid", self.serverid)
|
||||
|
||||
self.sub_dict['BASEDC'] = self.domain[:self.domain.find('.')]
|
||||
self.sub_dict['BASEDC'] = self.realm_name[:self.realm_name.find('.')].lower()
|
||||
base_txt = ipautil.template_str(BASE_TEMPLATE, self.sub_dict)
|
||||
logging.debug(base_txt)
|
||||
base_fd = file("/var/lib/dirsrv/boot.ldif", "w")
|
||||
|
Loading…
Reference in New Issue
Block a user