aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-29 21:00:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-29 21:00:43 +0000
commit270307e0255524aca343e7772fa403e75974ab7d (patch)
tree573d9caa51d824dc0af36e5dcf812c5c9e7e3375 /packages/squid.inc
parent9cc71f5a046e7f02521d20906d6c7035c8bf8fb3 (diff)
downloadpfsense-packages-270307e0255524aca343e7772fa403e75974ab7d.tar.gz
pfsense-packages-270307e0255524aca343e7772fa403e75974ab7d.tar.bz2
pfsense-packages-270307e0255524aca343e7772fa403e75974ab7d.zip
The The field LDAP server user DN should be a ldap style string, not a "internet domain name".
Remove the bogus check. See http://forum.pfsense.org/index.php/topic,2004.0.html for more information
Diffstat (limited to 'packages/squid.inc')
-rw-r--r--packages/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc
index a02599c7..db5f57bd 100644
--- a/packages/squid.inc
+++ b/packages/squid.inc
@@ -280,7 +280,7 @@ function squid_validate_auth($post, $input_errors) {
$user = trim($post['ldap_user']);
if (empty($user))
$input_errors[] = 'The field \'LDAP server user DN\' is required';
- else if (!is_domain($user))
+ else if (!$user)
$input_errors[] = 'The field \'LDAP server user DN\' must be a valid domain name';
break;
case 'radius':