summaryrefslogtreecommitdiffstats
path: root/cert-updater/main.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-07-11 15:40:09 +0000
committerTimothy Pearson <[email protected]>2013-07-11 15:40:09 +0000
commita8d5dff35b4310a17da6a0956f718519da1f68cd (patch)
tree90d342f7afe67b17a308a31a4f8d9986ae9c9c4b /cert-updater/main.cpp
parentc1ea876011563af4976360a96d42f90d6ef5bcf2 (diff)
downloadkcmldapcontroller-a8d5dff35b4310a17da6a0956f718519da1f68cd.tar.gz
kcmldapcontroller-a8d5dff35b4310a17da6a0956f718519da1f68cd.zip
Use shared realm certificate file name to allow syncrepl to work
Diffstat (limited to 'cert-updater/main.cpp')
-rw-r--r--cert-updater/main.cpp4
1 files changed, 2 insertions, 2 deletions
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();