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

From: Rick Whitley <rickwh@dont-contact.us>
Date: Thu, 12 Aug 2004 13:19:44 -0500

Good info, thanks Adam!

rick...
Rom.5:8

>>> Adam Aube <aaube01@baker.edu> 8/12/2004 1:16:37 PM >>>
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:20:19 MDT

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