diff options
author | Ermal <eri@pfsense.org> | 2011-08-08 16:24:06 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-08 16:24:06 +0000 |
commit | 5e17f20d5a7b5eb4ae399b97d3150408ae96a82d (patch) | |
tree | 51663db428dc26f11662eb9fa7dc93b31fa5d9a9 /etc | |
parent | 985d6e18ebe3f2c2efe200032130e093b9b110f8 (diff) | |
download | pfsense-5e17f20d5a7b5eb4ae399b97d3150408ae96a82d.zip pfsense-5e17f20d5a7b5eb4ae399b97d3150408ae96a82d.tar.gz |
Correct array key typo mistake. Ticket #1052
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 7b70671..d5d8daf 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -643,13 +643,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; |