From 007e59d2bf7d5be02e5cd34d3c1f5d2723ce5149 Mon Sep 17 00:00:00 2001 From: jim-p Date: Wed, 5 Oct 2011 10:10:28 -0400 Subject: [PATCH] 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 360a1af8c3..c4cb7225b5 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -663,6 +663,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")) {