.
All rights reserved.
*/
/* ========================================================================== */
/*
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
/* ========================================================================== */
]]>
Describe your package hereDescribe your package requirements hereCurrently there are no FAQ items provided.squidauthnoneProxy server: Authenticationsquid.incGeneral settings/pkg_edit.php?xml=squid.xml&id=0Upstream proxy/pkg_edit.php?xml=squid_upstream.xml&id=0Cache management/pkg_edit.php?xml=squid_cache.xml&id=0Access control/pkg_edit.php?xml=squid_nac.xml&id=0Traffic management/pkg_edit.php?xml=squid_traffic.xml&id=0Auth settings/pkg_edit.php?xml=squid_auth.xml&id=0Local users/pkg.php?xml=squid_users.xmlAuthentication methodauth_methodSelect an authentication method. This will allow users to be authenticated by local or external services.selectnoneon_auth_method_changed()Authentication serverauth_serverEnter here the IP or hostname of the server that will perform the authentication. For NT domain authentication, this is the Primary Domain Controller (PDC).inputAuthentication server portauth_server_portEnter here the port to use to connect to the authentication server. Leave this field blank to use the authentication method's default port.inputLDAP server user DNldap_userEnter here the user distinguished name (DN) to bind to connect to the LDAP server (e.g., "cn=Administrator,cn=Users,dc=foobar,dc=com"). You can leave this field blank if you don't want to use authentication.inputLDAP passwordldap_passwordEnter here the password to use to connect to the LDAP server. You may leave this field unfilled.passwordLDAP base DNldap_basednFor LDAP authentication, enter here the base DN for the search (e.g., "cn=Users,dc=foobar,dc=com").inputLDAP filterldap_filterEnter the string to be used to filter the results of the search, or leave this blank to get the results unfiltered. This must be in compliance with RFC 2254, and ocurrences of the string "%s" will be set to the username given to the proxy. You generally want something like '(sAMAccountName=%s)' here.input(sAMAccountName=%s)RADIUS secretradius_secretThe RADIUS secret for RADIUS authentication.passwordBackup Domain Controllermsnt_bdcEnter the address of the Backup Domain Controller (BDC) or leave this field blank if you don't want to use a backup controller.inputNT domainmsnt_domainEnter the NT domain to be used.inputAuthentication promptauth_promptThis string will be displayed at the top of the authentication request window.inputPlease enter your credentials to access the proxyAuthentication processesauth_processesThe number of authenticator processes to spawn. If many authentications are expected within a short timeframe, increase this number accordingly.input5Authentication TTLauth_ttlThis specifies for how long (in minutes) the proxy server assumes an externally validated username and password combination is valid (Time To Live). When the TTL expires, the user will be prompted for credentials again.input60Requiere authentication for unrestricted hostsunrestricted_authIf this option is enabled, even users tagged as unrestricted through access control are required to authenticate to use the proxy.checkboxSubnets that don't need authenticationno_auth_hostsA comma-separated list of subnets (in CIDR range, e.g.: 10.5.0.0/16, 192.168.1.50/32) whose hosts won't be asked for authentication to access the proxy.textarea505
squid_validate_auth($_POST, &$input_errors);
squid_print_javascript_auth2();
squid_resync();
squid_print_javascript_auth();