My system is redhat 8.0, squid-2.4.STABLE7-4 is install automatically when I install the os.
I want to authenticate the users using username and password. so I add the follows three line to /etc/squid/squid.conf and create a paswd file /usr/lib/squid/passwd containing username and encripted password authenticate_program /usr/lib/squid/ncsa_auth /usr/lib/squid/passwd acl password proxy_auth REQUIRED http_access allow password The problem is that authentication always fails. Except for the authentication ,every thing is ok. Even access control through ip address works fine. So I tried another machine with system of redhat 9.0 with squid-2.5.STABLE1-2 installed with the system. the only difference is that in squid2.5 auth_param replaced authenticate_program. so the corresponding line looks like this: auth_param basic program /usr/lib/squid/ncsa_auth /usr/lib/squid/passwd When I finished configuration it works quite fine. At first ,I think the version matters.So I download the source code of squid-2.5.STABLE5 and compiled it in redhat8.0 squid.conf is just like the one on redhat 9.0. The problem is still there. Then I copied the compiled binary from redhat8.0 to redhat9.0 . the binary works fine on redhat 9.0 Then I come back to redhat 8.0 and running the program using "squid -d 0 " every time when I was prompted for username and password ,aftar I input them and click ok. one or two of the following messages occur 2004/03/29 05:55:38| WARNING: basicauthenticator #4 (FD 9) exited 2004/03/29 05:55:38| WARNING: basicauthenticator #5 (FD 10) exited 2004/03/29 05:55:47| WARNING: basicauthenticator #1 (FD 7) exited 2004/03/29 05:55:53| WARNING: basicauthenticator #2 (FD 18) exited 2004/03/29 05:55:56| WARNING: basicauthenticator #3 (FD 19) exited 2004/03/29 05:55:56| Too few basicauthenticator processes are running2004/03/29 05:55:56| Starting new helpers 2004/03/29 05:56:05| WARNING: basicauthenticator #4 (FD 20) exited 2004/03/29 05:56:08| WARNING: basicauthenticator #5 (FD 21) exited 2004/03/29 05:56:08| WARNING: basicauthenticator #1 (FD 8) exited 2004/03/29 05:56:11| WARNING: basicauthenticator #2 (FD 9) exited using ps -C ncsa_auth ,I found that after every try to authentication one ncsa_auth process would die. this will generate: 2004/03/29 05:56:08| WARNING: basicauthenticator #1 (FD 8) exited when he number of ncsa_auth process falls below 3 new ncsa_auth process will start.This generate: 2004/03/29 05:55:56| Too few basicauthenticator processes are running2004/03/29 05:55:56| Starting new helpers Had anbody else met this situation before? anbody can help me? [EMAIL PROTECTED] 2004-03-29
