aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid/squid.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-09-14 15:22:45 -0400
committerjim-p <jimp@pfsense.org>2010-09-14 15:22:45 -0400
commitc03c04ceb3ebe47593cda51d5fea3afecd541f25 (patch)
tree7843b267add71265775e4427e033c9527f11db61 /config/squid/squid.inc
parentb1c9b5391e99d6826ba114046327d8b9a06525f8 (diff)
downloadpfsense-packages-c03c04ceb3ebe47593cda51d5fea3afecd541f25.tar.gz
pfsense-packages-c03c04ceb3ebe47593cda51d5fea3afecd541f25.tar.bz2
pfsense-packages-c03c04ceb3ebe47593cda51d5fea3afecd541f25.zip
Add LDAP user attribute choice to squid package. Version bump. Submitted-By: vcoque
Diffstat (limited to 'config/squid/squid.inc')
-rw-r--r--config/squid/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid/squid.inc b/config/squid/squid.inc
index f7b5f7b0..7ceea319 100644
--- a/config/squid/squid.inc
+++ b/config/squid/squid.inc
@@ -1018,7 +1018,7 @@ function squid_resync_auth() {
case 'ldap':
$port = (isset($settings['auth_port']) ? ":{$settings['auth_port']}" : '');
$password = (isset($settings['ldap_pass']) ? "-w {$settings['ldap_pass']}" : '');
- $conf .= "auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -v {$settings['ldap_version']} -b {$settings['ldap_basedomain']} -D {$settings['ldap_user']} $password -f \"{$settings['ldap_filter']}\" -u uid -P {$settings['auth_server']}$port\n";
+ $conf .= "auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -v {$settings['ldap_version']} -b {$settings['ldap_basedomain']} -D {$settings['ldap_user']} $password -f \"{$settings['ldap_filter']}\" -u {$settings['ldap_userattribute']} -P {$settings['auth_server']}$port\n";
break;
case 'radius':
$port = (isset($settings['auth_port']) ? "-p {$settings['auth_server_port']}" : '');