summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-08 16:24:06 +0000
committerErmal <eri@pfsense.org>2011-08-08 16:24:20 +0000
commita7702ed5db8f0a85397366771c32ee1cd02301f9 (patch)
treec7ebd0fcc7ec21653ccf49d4737f1a8ac996f3b8 /etc
parentb48b79c2e5cb1855a2c80172fc5e5d392066beb7 (diff)
downloadpfsense-a7702ed5db8f0a85397366771c32ee1cd02301f9.zip
pfsense-a7702ed5db8f0a85397366771c32ee1cd02301f9.tar.gz
Correct array key typo mistake. Ticket #1052
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/auth.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index e93bf02..15bf2e2 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -650,13 +650,13 @@ function ldap_setup_caenv($authcfg) {
global $g;
unset($caref);
- if (empty($authcfg['ldap_cacert']) || !strstr($authcfg['ldap_urltype'], "SSL")) {
+ if (empty($authcfg['ldap_caref']) || !strstr($authcfg['ldap_urltype'], "SSL")) {
putenv('LDAPTLS_REQCERT=never');
return;
} else {
- $caref = lookup_ca($authcfg['ldap_cacert']);
+ $caref = lookup_ca($authcfg['ldap_caref']);
if (!$caref) {
- log_error(sprintf(gettext("LDAP: Could not lookup CA by reference for host %s."), $authcfg['ldap_cacert']));
+ log_error(sprintf(gettext("LDAP: Could not lookup CA by reference for host %s."), $authcfg['ldap_caref']));
/* XXX: Prevent for credential leaking since we cannot setup the CA env. Better way? */
putenv('LDAPTLS_REQCERT=hard');
return;
OpenPOWER on IntegriCloud