diff options
author | derelict-pf <cjl@netgate.com> | 2016-10-14 16:29:46 -0700 |
---|---|---|
committer | derelict-pf <cjl@netgate.com> | 2016-10-14 16:29:46 -0700 |
commit | d672403c250556ced61d6eec7c51f5518b5f8c6b (patch) | |
tree | 3a13f53f0fcd853c63be435cd4f00fc1ae6f8f16 /src/usr/local/www/system_authservers.php | |
parent | 6172f3dedbf1fbcc0991f1ab5ec3b1636a4eb7c7 (diff) | |
download | pfsense-d672403c250556ced61d6eec7c51f5518b5f8c6b.zip pfsense-d672403c250556ced61d6eec7c51f5518b5f8c6b.tar.gz |
Added STARTTLS to LDAP Auth Server Config
Diffstat (limited to 'src/usr/local/www/system_authservers.php')
-rw-r--r-- | src/usr/local/www/system_authservers.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php index 6be6589..7b65c46 100644 --- a/src/usr/local/www/system_authservers.php +++ b/src/usr/local/www/system_authservers.php @@ -509,7 +509,7 @@ $section->addInput(new Form_Input( 'Hostname or IP address', 'text', $pconfig['ldap_host'] -))->setHelp('NOTE: When using SSL, this hostname MUST match the Common Name '. +))->setHelp('NOTE: When using SSL or STARTTLS, this hostname MUST match the Common Name '. '(CN) of the LDAP server\'s SSL Certificate.'); $section->addInput(new Form_Input( @@ -544,7 +544,8 @@ else 'Peer Certificate Authority', $pconfig['ldap_caref'], $ldapCaRef - ))->setHelp('This option is used if \'SSL Encrypted\' option is choosen. '. + ))->setHelp('This option is used if \'SSL Encrypted\' '. + 'or \'TCP - STARTTLS\' options are chosen. '. 'It must match with the CA in the AD otherwise problems will arise.'); } @@ -880,10 +881,10 @@ events.push(function() { } function set_ldap_port() { - if ($('#ldap_urltype').find(":selected").index() == 0) - $('#ldap_port').val('389'); - else + if ($('#ldap_urltype').find(":selected").index() == 2) $('#ldap_port').val('636'); + else + $('#ldap_port').val('389'); } // Hides all elements of the specified class. This will usually be a section |