From 270307e0255524aca343e7772fa403e75974ab7d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 29 Sep 2006 21:00:43 +0000 Subject: 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 --- packages/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- cgit v1.2.3