summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-10-05 10:10:28 -0400
committerjim-p <jimp@pfsense.org>2011-10-05 10:15:23 -0400
commit099e764a797146c0dc9810e8f99cd18789a8608e (patch)
treef6c11362b5ba225a60ff7b7ee38c13fdf77e7e29
parent8de525255b925bc8f9b62aacd42e76a16e5712b9 (diff)
downloadpfsense-099e764a797146c0dc9810e8f99cd18789a8608e.zip
pfsense-099e764a797146c0dc9810e8f99cd18789a8608e.tar.gz
Include certs.inc before calling lookup_ca in auth.inc. Fixes #1927
-rw-r--r--etc/inc/auth.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 613bd9f..73135d2 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -646,6 +646,7 @@ function ldap_test_connection($authcfg) {
function ldap_setup_caenv($authcfg) {
global $g;
+ require_once("certs.inc");
unset($caref);
if (empty($authcfg['ldap_caref']) || !strstr($authcfg['ldap_urltype'], "SSL")) {
OpenPOWER on IntegriCloud