summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver/dsinstance.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/ipaserver/dsinstance.py')
-rw-r--r--ipa-server/ipaserver/dsinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/dsinstance.py b/ipa-server/ipaserver/dsinstance.py
index 4ed4ddf09..9eaf5be4a 100644
--- a/ipa-server/ipaserver/dsinstance.py
+++ b/ipa-server/ipaserver/dsinstance.py
@@ -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")