RE: [squid-users] Problems with LDAP on Windows XP

From: Duncan Peacock <Duncan.Peacock_at_adare.com>
Date: Thu, 10 Jul 2008 11:02:54 +0100

Hi Tejpal,

I have tried every possible file path combination and I am still unable to get squid to recognise it.

I have tried the following locations:

/squid/libexec/squid_ldap_auth
c:/squid/libexec/squid_ldap_auth
/usr/lib/squid/squid_ldap_auth

The strange thing about this error code is that the file (squid_ldap_auth) does actually exist on my system in my C:\squid\libexec directory on windows.

I have also tried using backslash instead of the forward slash but squid removed the backslashes and treats it as one file (e.g)

If I use: c:\squid\libexec\squid_ldap_auth it reports the fatal error

c:squidlibexecsquid_ldap_auth No such file or directory.

I just can't work out the correct syntax to use?

Thanks

Duncan Peacock
Systems Administrator

Adare
Park Mill
Clayton West
Huddersfield
West Yorkshire
HD8 9QQ

T +44 (0)1484 867 304

M +44 (0)7790 807 571
F +44 (0)1484 862 355

duncan.peacock_at_adare.com
www.adare.com

Adare... enabling you to communicate with your audience in the most effective and inspiring way.

-----Original Message-----
From: Tejpal Amin [mailto:tamin.tcs_at_tatacapital.com]
Sent: 10 July 2008 10:50
To: Duncan Peacock; squid-users_at_squid-cache.org
Subject: RE: [squid-users] Problems with LDAP on Windows XP

Hi Duncan,

It seems that the squid_ldap_auth file is not at the location pointed out in
the auth_param directive.

Regards
Tejpal Amin

-----Original Message-----
From: Duncan Peacock [mailto:Duncan.Peacock_at_adare.com]
Sent: Thursday, July 10, 2008 2:53 PM
To: squid-users_at_squid-cache.org
Subject: [squid-users] Problems with LDAP on Windows XP

Hi There,

I have recently installed Squid 2.6.STABLE21 for i686-PC-winnt. The proxy
server is currently acting as a chained Proxy and will send all client HTTP
request to an online web filtering site.

I have managed to configure this correctly but I am having problems with
LDAP.

I have put the following code into the suid.conf file:

auth_param basic program /squid/libexec/squid_ldap_auth -v 3 -b
"dc=mydomain,dc=net" -D uid=ldap user,ou=IT Department,dc=mydomain,dc=net 
-w ******** -f uid=%s myserver.mydomain.net
auth_param basic children 5
auth_param basic realm mydomain Server
auth_param basic credentialsttl 5 hours

But I get the following error from the squid.exe txt file:

FATAL: auth_param basic program /squid/libexec/squid_ldap_auth: (2) No such
file or directory
Any idea what could be wrong?

Thanks

Duncan Peacock

Disclaimer & Privilege Notice: This e-Mail may contain proprietary, privileged and confidential information and is sent for the intended recipient(s) only. If, by an addressing or transmission error, this mail has been misdirected to you, you are requested to notify us immediately by return email message and delete this mail and its attachments. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment(s) other than by its intended recipient(s) is strictly prohibited. Any opinions expressed in this email are those of the individual and may not necessarily represent those of Tata Capital Ltd. Before opening attachment(s), please scan for viruses.
Received on Thu Jul 10 2008 - 10:03:04 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 10 2008 - 12:00:03 MDT