Re: [squid-users] squid update username and password

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 14 Apr 2003 08:44:06 +0200

Marihotan@ptmultidata.com wrote:
>
> I already configured the squid with ncsa_auth, and It working well, but
> right know if I want to add a user we add twice the first I add to solaris
> administrator and the second at Squid, .... now I would like to know if
> somebody could do like this : if I add a user I just type username and
> password at solaris administrator just once and It automatically update the
> squid username and password too, if I can use the LDAP, anybody... would
> you send me the step by step to implement?

The easiest way is to not have a separate password file for Squid, but
make Squid use the same password database as your Solaris system.

Generally, if you want Squid to use the exact same password database as
your Operating system (i.e. Solaris) then PAM is a good alternative.
Just compile the PAM helper instead of NCSA, and change the auth_param
basic program to use pam_auth..

If your Solaris system is using LDAP as password database, then using
LDAP in Squid is also recommended. Configuration of the LDAP helper
depends on the layout of your LDAP database.

It probably also is possible to extend the user administration framework
tools used in Solaris to run custom scripts when adding/deleting users
to have a separate ncsa_auth password file updated if you prefer a
separate password file. See the "advanced" setions in your system
administration manuals.

Regards
Henrik

-- 
Free Squid-users support provided by Henrik Nordström
<hno@squid-cache.org>
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Mon Apr 14 2003 - 00:50:25 MDT

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