summaryrefslogtreecommitdiffstats
path: root/cert-updater
diff options
context:
space:
mode:
Diffstat (limited to 'cert-updater')
-rw-r--r--cert-updater/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cert-updater/main.cpp b/cert-updater/main.cpp
index e4042fb..0dc3a27 100644
--- a/cert-updater/main.cpp
+++ b/cert-updater/main.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2012 by Timothy Pearson *
+ * Copyright (C) 2012 - 2015 by Timothy Pearson *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -73,7 +73,7 @@ int main(int argc, char *argv[])
{
TDEAboutData aboutData( "primaryrccertupdater", I18N_NOOP("Realm Certificate Updater"),
version, description, TDEAboutData::License_GPL,
- "(c) 2012-2013, Timothy Pearson");
+ "(c) 2012-2015, Timothy Pearson");
aboutData.addAuthor("Timothy Pearson",0, "[email protected]");
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions(options);
@@ -160,7 +160,7 @@ int main(int argc, char *argv[])
}
if (force_update || (certExpiry < now) || ((certExpiry >= now) && (certExpiry < soon))) {
printf("Regenerating certificate %s...\n", TQString(KERBEROS_PKI_PEM_FILE).ascii()); fflush(stdout);
- LDAPManager::generatePublicKerberosCACertificate(m_certconfig);
+ LDAPManager::generatePublicKerberosCACertificate(m_certconfig, m_realmconfig[m_defaultRealm]);
TQString realmname = m_defaultRealm.upper();
LDAPCredentials* credentials = new LDAPCredentials;