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

From: Joe Commisso <jemc@dont-contact.us>
Date: Mon, 30 Jan 2006 21:14:36 -0500

Mark,

See below.

Mark Elsen wrote:

>> Hi,
>>
>> Please help:
>> I have a squid.conf file that I will include.
>> squid -k parse
>> returns nothing and I think that is good.
>> I configure firefox to use my gateway proxy on port 3128
>> When I choose a web page, the "Prompt" pops up requesting a "User Name"
>> & "Password"
>> I enter the correct username & password, but the window just pops back
>> up asking again
>> for the user & password.
>> Please help.
>> I have configured my squid.conf file as such:
>>
>>
>> ...
>>
>
>
> For starters , check access.log for the failed logon.
>
> Check any further info in cache.log , if any.
>
> M.
>
[root@r2d2 ]# tail -n 20 /var/log/squid/access.log
1138586313.999 1 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586314.509 12 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586315.100 12 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586315.676 19 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586318.764 17 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586319.325 7 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586319.776 18 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586320.202 15 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586320.677 20 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586321.120 2 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586321.533 16 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586321.928 1 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138586322.233 6 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138587621.421 4 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138587627.428 10 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? web NONE/- text/html
1138587636.457 9 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? web NONE/- text/html
1138587900.322 11 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138587955.351 14 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138664617.969 12 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? - NONE/- text/html
1138664627.374 57 192.168.4.7 TCP_DENIED/407 1747 GET
http://boards.fool.com/Messages.asp? ajt NONE/- text/html
[root@r2d2 ]#

The last two lines above were done just now. Above those were done
yesterday.
Here's my cache.log:

[root@r2d2 ]# tail -n 20 /var/log/squid/cache.log
2006/01/29 20:32:33| Max Mem size: 131072 KB
2006/01/29 20:32:33| Max Swap size: 768000 KB
2006/01/29 20:32:33| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2006/01/29 20:32:33| Store logging disabled
2006/01/30 17:21:30| Starting Squid Cache version 2.5.STABLE9 for
i686-pc-linux-gnu...
2006/01/30 17:21:30| Process ID 7215
2006/01/30 17:21:30| With 1024 file descriptors available
2006/01/30 17:21:30| Performing DNS Tests...
2006/01/30 17:21:30| Successful DNS name lookup tests...
2006/01/30 17:21:30| DNS Socket created at 0.0.0.0, port 32768, FD 5
2006/01/30 17:21:30| Adding nameserver 204.168.2.1 from /etc/resolv.conf
2006/01/30 17:21:30| helperOpenServers: Starting 5 'pam_auth' processes
2006/01/30 17:21:30| Unlinkd pipe opened on FD 15
2006/01/30 17:21:30| Swap maxSize 768000 KB, estimated 59076 objects
2006/01/30 17:21:30| Target number of buckets: 2953
2006/01/30 17:21:30| Using 8192 Store buckets
2006/01/30 17:21:30| Max Mem size: 131072 KB
2006/01/30 17:21:30| Max Swap size: 768000 KB
2006/01/30 17:21:30| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2006/01/30 17:21:30| Store logging disabled
[root@r2d2 ]# service squid restart
Shutting down squid: [ OK ]
Starting squid: [ OK ]
[root@r2d2 ]# tail -n 30 /var/log/squid/cache.log
2006/01/30 17:21:30| With 1024 file descriptors available
2006/01/30 17:21:30| Performing DNS Tests...
2006/01/30 17:21:30| Successful DNS name lookup tests...
2006/01/30 17:21:30| DNS Socket created at 0.0.0.0, port 32768, FD 5
2006/01/30 17:21:30| Adding nameserver 204.168.2.1 from /etc/resolv.conf
2006/01/30 17:21:30| helperOpenServers: Starting 5 'pam_auth' processes
2006/01/30 17:21:30| Unlinkd pipe opened on FD 15
2006/01/30 17:21:30| Swap maxSize 768000 KB, estimated 59076 objects
2006/01/30 17:21:30| Target number of buckets: 2953
2006/01/30 17:21:30| Using 8192 Store buckets
2006/01/30 17:21:30| Max Mem size: 131072 KB
2006/01/30 17:21:30| Max Swap size: 768000 KB
2006/01/30 17:21:30| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2006/01/30 17:21:30| Store logging disabled
2006/01/30 18:49:02| Starting Squid Cache version 2.5.STABLE9 for
i686-pc-linux-gnu...
2006/01/30 18:49:02| Process ID 20013
2006/01/30 18:49:02| With 1024 file descriptors available
2006/01/30 18:49:02| Performing DNS Tests...
2006/01/30 18:49:02| Successful DNS name lookup tests...
2006/01/30 18:49:02| DNS Socket created at 0.0.0.0, port 32769, FD 5
2006/01/30 18:49:02| Adding nameserver 204.168.2.1 from /etc/resolv.conf
2006/01/30 18:49:02| helperOpenServers: Starting 5 'pam_auth' processes
2006/01/30 18:49:02| Unlinkd pipe opened on FD 15
2006/01/30 18:49:02| Swap maxSize 768000 KB, estimated 59076 objects
2006/01/30 18:49:02| Target number of buckets: 2953
2006/01/30 18:49:02| Using 8192 Store buckets
2006/01/30 18:49:02| Max Mem size: 131072 KB
2006/01/30 18:49:02| Max Swap size: 768000 KB
2006/01/30 18:49:02| Local cache digest enabled; rebuild/rewrite every
3600/3600 sec
2006/01/30 18:49:02| Store logging disabled
[root@r2d2 ]#

Thanks in advance. I'm really stuck.

Joe
Received on Mon Jan 30 2006 - 19:13:24 MST

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