[squid-users] RE: [Squid-users] Squid LDAP Authentication

From: Adam Aube <aaube01@dont-contact.us>
Date: Thu, 12 Aug 2004 14:16:37 -0400

Rick Whitley wrote:

> Check to see if your ldap dir accepts anonymous binds, if not you will
> need the -D and -w params. Also when you run the helper outside of squid
> you need to pipe the password, see below:
>
> echo "userPassword: password" | <path>/squid_ldap_auth -b
> "ou=academics,o=dbu" -u cn -D "cn=LDAPUser,ou=users,o=dbu" -w "password"
> -f "cn=userid" -h you.host.ip.adr

Or you could use -W instead of -w, which lets you put the password in a file
(readable only by the user Squid runs as). This prevents the password from
showing on the command line (visible through ps).

Also, you don't need to pipe the username and password - you can run the
helper first, then type "username password" on the command line and press
Enter.

Adam
Received on Thu Aug 12 2004 - 12:16:27 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT