Re: [squid-users] squid+ldap authentication

From: Henrik Nordstrom <>
Date: Fri, 30 Nov 2001 19:54:00 +0100

If your LDAP directory is structured using DN:s like

 UID=<login>, O=USM

then squid_ldap_auth likes to be called as

  squid_ldap_auth -b O=USM your.ldap.server

It will then automatically construct DN:s like the above and try to bind as

To test binding as a user using your favorite LDAP tools use

  ldapsearch -x -D "UID=LARRY, O=USM" -W -b O=USM "objectClass=*"

(older versions of OpenLDAP does not require the -x option)


On Friday 30 November 2001 13.33, wrote:
> I Tried to execute ldap_search as user but failed , I could only by
> anonymous.
> how should i tell to use givenName (BIND dn="UID=LARRY,O=USM") _____ as
> you asked me to do. Sorry for asking such a basic Q ! I could,nt find in
> Mail archieve.

MARA Systems AB
Giving you basic free Squid support
Priority support or Squid enhancements available on request
Received on Fri Nov 30 2001 - 11:53:27 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:04:45 MST