Re: [squid-users] Can't get pam authorization to work

From: Joe Commisso <[email protected]>
Date: Thu, 02 Feb 2006 21:26:22 -0500

Mark,
Mine is the system that pops up a dialog for username/password and then
just pops it back up, like the password is not recognized.

I found pam_auth on my system:

[root@r2d2 squid]# ll /usr/lib/squid/pam_auth
-r-s--x--x 1 root root 12727 Apr 27 2005 /usr/lib/squid/pam_auth*
[root@r2d2 squid]#

Here's part of my squid.conf:

auth_param basic program /usr/lib/squid/pam_auth
auth_param basic children 5
auth_param basic realm Squid Proxy-Caching Web Server
auth_param basic credentialsttl 2 hours
acl authenticated proxy_auth REQUIRED

The man page has this:

SYNOPSIS
squid_pam_auth [-n "service name"] [-t TTL] [-o] [-1]

But where do I use the above? Or should I say what do I do now?
Can I configure this without recompiling pam or php or squid?

Thanks in advance,
Joe

Mark Elsen wrote:

> > >
>
>
>>I am having a difficult time with this.
>>I have a
>>/etc/pam.d/squid
>>file:
>>[root@r2d2 pam.d]# cat squid
>>#%PAM-1.0
>>auth required /lib/security/pam_stack.so service=system-auth
>>auth required /lib/security/pam_nologin.so
>>account required /lib/security/pam_stack.so service=system-auth
>>password required /lib/security/pam_stack.so service=system-auth
>>session required /lib/security/pam_stack.so service=system-auth
>>session required /lib/security/pam_limits.so
>>[root@r2d2 pam.d]#
>>
>>I installed an rpm file for squid:
>>squid-2.5.STABLE9-1.i686.rpm
>>I don't have a man page for squid or pam_auth or squid_pam_auth.
>>You gave me a link to the pam_auth man page, but honestly I don't know
>>what to do with it.
>>
>>
>>
>
> - You find the man page for pam_auth in the (unpacked) SQUID
>distributions in :
>
> .../helpers/basic_auth/PAM/pam_auth.8
>
>What to do with it : check and follow the configuration guides
>thoroughly.
>
>
>M.
>
>
>
Received on Thu Feb 02 2006 - 19:25:07 MST

This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:03 MST