From 099e764a797146c0dc9810e8f99cd18789a8608e Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 5 Oct 2011 10:10:28 -0400 Subject: Include certs.inc before calling lookup_ca in auth.inc. Fixes #1927 --- etc/inc/auth.inc | 1 + 1 file changed, 1 insertion(+) 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")) { -- cgit v1.1