summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_usermanager_settings_ldapacpicker.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-07-15 13:10:40 +0000
committerErmal <eri@pfsense.org>2011-07-15 13:10:40 +0000
commitfe2031ab18b967b31f95d865db07011a39ce6fcc (patch)
tree06759c005e263b681a21098a8273a84dc473beb1 /usr/local/www/system_usermanager_settings_ldapacpicker.php
parente6bd231242cb43ad7e8fca8635d6adcb17f38186 (diff)
downloadpfsense-fe2031ab18b967b31f95d865db07011a39ce6fcc.zip
pfsense-fe2031ab18b967b31f95d865db07011a39ce6fcc.tar.gz
Ticket #1052. Enforce certificates if they are present for authenticating to ldap. Allow to select a CA under ldap type authentication backend to be used for this.
Diffstat (limited to 'usr/local/www/system_usermanager_settings_ldapacpicker.php')
-rw-r--r--usr/local/www/system_usermanager_settings_ldapacpicker.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/system_usermanager_settings_ldapacpicker.php b/usr/local/www/system_usermanager_settings_ldapacpicker.php
index e6b38c3..91da391 100644
--- a/usr/local/www/system_usermanager_settings_ldapacpicker.php
+++ b/usr/local/www/system_usermanager_settings_ldapacpicker.php
@@ -47,6 +47,7 @@ if($_GET) {
$authcfg['ldap_urltype'] = $_GET['urltype'];
$authcfg['ldap_protver'] = $_GET['proto'];
$authcfg['ldap_authcn'] = explode(";", $_GET['authcn']);
+ $authcfg['ldap_caref'] = $_GET['cert'];
$ous = ldap_get_user_ous(true, $authcfg);
}
OpenPOWER on IntegriCloud