From a8d5dff35b4310a17da6a0956f718519da1f68cd Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 11 Jul 2013 15:40:09 +0000 Subject: Use shared realm certificate file name to allow syncrepl to work --- cert-updater/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cert-updater/main.cpp') diff --git a/cert-updater/main.cpp b/cert-updater/main.cpp index e11a73e..e4042fb 100644 --- a/cert-updater/main.cpp +++ b/cert-updater/main.cpp @@ -122,9 +122,9 @@ int main(int argc, char *argv[]) TQDateTime soon = now.addDays(7); // Keep in sync with src/ldapcontroller.cpp TQString kdc_certfile = KERBEROS_PKI_KDC_FILE; - kdc_certfile.replace("@@@KDCSERVER@@@", m_realmconfig[m_defaultRealm].kdc); + kdc_certfile.replace("@@@KDCSERVER@@@", m_realmconfig[m_defaultRealm].name.lower()); TQString ldap_certfile = LDAP_CERT_FILE; - ldap_certfile.replace("@@@ADMINSERVER@@@", m_realmconfig[m_defaultRealm].admin_server); + ldap_certfile.replace("@@@ADMINSERVER@@@", m_realmconfig[m_defaultRealm].name.lower()); // Certificate Authority TQString fqdn = LDAPManager::getMachineFQDN(); -- cgit v1.2.3