Include certs.inc before calling lookup_ca in auth.inc. Fixes #1927

This commit is contained in:
jim-p 2011-10-05 10:10:28 -04:00
parent bb37807c45
commit 007e59d2bf

View File

@ -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")) {