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

From: Darren Durbin <darren.durbin@dont-contact.us>
Date: Fri, 21 Sep 2007 17:23:50 +0100

Hello,

I'm trying to get Squid 2.6.STABLE13 from FC6 to authenticate against a
Windows 2003 Active Directory Domain but I'm getting the following error

squid_ldap_auth: WARNING, could not bind to binddn 'Can't contact LDAP
server'

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!

Any ideas greatly appreciated!

Thanks,
Darren
 
iCode Systems Ltd is registered in England. Company No. 3428325. VAT Reg. No. 699 4246 74
Received on Fri Sep 21 2007 - 10:24:07 MDT

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