From f0eeda5dc890372b39c1afc09b6b0dd0af5738ea Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 31 Aug 2015 23:12:23 +0000 Subject: [PATCH] Allow CRL URL to be set via configuration file --- src/libtdeldap.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtdeldap.cpp b/src/libtdeldap.cpp index e113114..5be4ce6 100644 --- a/src/libtdeldap.cpp +++ b/src/libtdeldap.cpp @@ -3740,6 +3740,7 @@ LDAPRealmConfigList LDAPManager::readTDERealmList(KSimpleConfig* config, bool di realmcfg.pkinit_require_krbtgt_otherName = config->readBoolEntry("pkinit_require_krbtgt_otherName"); realmcfg.win2k_pkinit = config->readBoolEntry("win2k_pkinit"); realmcfg.win2k_pkinit_require_binding = config->readBoolEntry("win2k_pkinit_require_binding"); + realmcfg.certificate_revocation_list_url = config->readBoolEntry("certificate_revocation_list_url"); // Add realm to list realms.insert(realmName, realmcfg); } @@ -3771,6 +3772,7 @@ int LDAPManager::writeTDERealmList(LDAPRealmConfigList realms, KSimpleConfig* co config->writeEntry("pkinit_require_krbtgt_otherName", realmcfg.pkinit_require_krbtgt_otherName); config->writeEntry("win2k_pkinit", realmcfg.win2k_pkinit); config->writeEntry("win2k_pkinit_require_binding", realmcfg.win2k_pkinit_require_binding); + config->writeEntry("certificate_revocation_list_url", realmcfg.certificate_revocation_list_url); } // Delete any realms that do not exist in the realms database