Re: [squid-users] squid_ldap_auth : Can't contact LDAP Server

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 26 Sep 2007 10:42:49 +0200

On fre, 2007-09-21 at 17:23 +0100, Darren Durbin wrote:

> I'm using the following in the squid.conf (edited to remove site info) :
>
> auth_param basic program /usr/lib/squid/squid_ldap_auth -f
> "SamAccountName=%s" -d -b "dc=company,dc=co,dc=uk" -D
> "cn=xxxxxxxx,cn=Users,dc=company,dc=co,dc=uk" -P -w "xxxxxxxx" -h
> "dc-1.company.co.uk" -p 3268
>
> If I enter this from the command line, enter a suitable
> username/password then I get:
>
> user filter 'SamAccountName=xxxxxxxx', searchbase
> 'dc=company,dc=co,dc=uk'
> attempting to authenticate user
> 'CN=xxxxxxxx,CN=Users,DC=company,DC=co,DC=uk'
> OK
>
> Which seems great, but I can't get it to work in squid!

Can't see anything wrong. Should work..

Hmmm.. Fedora Core you say.. have you tried disabling SELinux? Not sure
what the default Squid SELinux profile look like...

Regards
Henrik

Received on Wed Sep 26 2007 - 02:42:57 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:03 MDT