Re: [squid-users] Authentication Problems

From: Hement Gopal <hementg@dont-contact.us>
Date: Fri, 14 Jan 2005 10:08:36 +0200

i've written a short shell script to test ids.....see below
when i run it, server responds OK...but if i test the id via a browser.
it fails........and like i mentioned earlier...its not all the
time....very intermittent.

rgds,
hement

[root@athena rc.d]# which test-id
/usr/local/sbin/test-id
[root@athena rc.d]# more /usr/local/sbin/test-id
/usr/local/squid/libexec/ncsa_auth /usr/local/squid/etc/passwd
[root@athena rc.d]# test-id
cns.hementg #####
OK

Henrik Nordstrom wrote:

>
>
> On Fri, 14 Jan 2005, Hement Gopal wrote:
>
>> How would I confirm that I am running the correct version of nsca?
>
>
> What is the path to your ncsa_auth binary, and how did it get
> installed where it is?
>
> Try URL-escaping the login and/or password by replacing some
> characters by %nn syntax where nn is the hex ascii code of the character.
>
> Example:
>
> Login: henrik
> Password: nordstrom
>
> /path/to/libexec/ncsa_auth /path/to/etc/htpasswd.db
> %68enrik nordstrom
>
>
> If this works (OK returned) then it's a Squid-2.5 compatible version.
>
> Regards
> Henrik
>
Received on Fri Jan 14 2005 - 01:06:50 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST