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:
1 parent
b3c8780c1d
commit
449344e683
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user