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

From: Duncan Peacock <Duncan.Peacock_at_adare.com>
Date: Thu, 10 Jul 2008 15:56:07 +0100

Hi Tejpal,

Thanks for you help this seems to have stopped the error coming up.

I am now getting another problem. I have a windows login box that pops up everytime I try to access a website and I am unsure what the username & password could be.

I have attached a screenshot of the login box

From what I can see it looks like the in house proxy server (squid) is requesting a username and password as the 172.16.1.190 address is the IP address of that server.

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 11:36
To: Duncan Peacock
Cc: squid-users_at_squid-cache.org
Subject: RE: [squid-users] Problems with LDAP on Windows XP

Hi,

Try using c:/squid/libexec/squid_ldap_auth.exe
I am not an expert but just trying to help you out.

Tejpal Amin

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

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.

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

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.

username.JPG
Received on Thu Jul 10 2008 - 14:56:20 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 11 2008 - 12:00:03 MDT