Re: [squid-users] getpwnam syntax

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 23 Jun 2006 00:51:46 +0200

tor 2006-06-22 klockan 17:39 -0400 skrev Robert Denton:

> but what is the syntax if I want to use getpwnam? Something like this:
>
> auth_param basic program getpwnam /etc/passwd ???

You should probably be using the PAM helper.. the getpwnam only supports
non-shadow systems using crypt hasing (not MD5).

getpwnam:

auth_param basic program /path/to/squid/libexec/getpwnam_auth

no additional configuration, but only works in the exact conditions
abowe, which is a diminishing small population of hosts today..

PAM:

auth_param basic program /path/to/squid/libexec/pam_uath

and suitable squid service definition on your systems PAM config. See
the pam_auth documentation (man page shipped with Squid).

Regards
Henrik

Received on Thu Jun 22 2006 - 16:51:50 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT