Enable "log_mime_hdrs". This way you will see what your browser is
sending Squid. Maybe it has cached the digest authentication.
Also verify your http_access rules, but there is not many conditions
that makes http_access behave like "sometimes".
Regards
Henrik
On Friday 29 November 2002 07.28, Sun, Zhiyong wrote:
> hi Henrik:
> Thank you!
> I have established the password file. But sometimes I needn't
> password to access the proxy server, and sometimes I can access the
> proxy server although I put in the correct password. I think it is
> a bug in squid-2.5stable.
> my password file is:
>
> opentv:opentv
> test:test
>
> my squid.conf is:
> auth_param digest program /usr/local/squid/libexec/digest_pw_auth
> /usr/local/squid/etc/digest
> auth_param digest children 5
> auth_param digest realm realm
> auth_param digest nonce_garbage_interval 5 minutes
> auth_param digest nonce_max_duration 30 minutes
> auth_param digest nonce_max_count 50
>
> acl auth_user proxy_auth REQUIRED
> http_access allow auth_user
>
> it is really difficult for me to solve the problem.
>
> best regards
>
> Tom Sun
> -------------------------------------------------------------------
>--------- ---------------------------------------------------
> Dor one thing, the digest helper is a digest helper, not a ntlm
> helper..
>
> The password file format is documented in digest_pw_auth.c.
>
> user:password
> user2:password
> ...
>
> REgards
> Henrik
>
> On Thursday 28 November 2002 05.22, Sun, Zhiyong wrote:
> > hi henrik:
> > Thank you very much!
> > In configuring squid.conf, there is a line:
> > auth_param ntlm program /usr/local/squid/libexec/digest_pw_auth
> > /usr/local/squid/etc/digpass
> > BUT I don't know how to produce digpass file. Can you help me
> > again?
> >
> > Tom Sun
> >
> > -----Original Message-----
> > From: Henrik Nordstrom [mailto:hno@squid-cache.org]
> > Sent: 2002年11月27日 2:20
> > To: Sun, Zhiyong
> > Cc: squid-users@squid-cache.org
> > Subject: Re: [squid-users] digest authentication
> >
> >
> > See configure --help and the helpers/diget_auth directory.
> >
> > Then see the auth_param directive in squid.conf.
> >
> > Regards
> > Henrik
> >
> > "Sun, Zhiyong" wrote:
> > > > hi,
> > > >
> > > > How do you do?
> > > > I installed squid proxy server version 2.5stable, but I
> > > > donn't know how
> >
> > to
> >
> > > > install or configure the squid to make it support digest
> > > > authentication. So I really need your help. Can you give me a
> > > > detailed suggestion? Thank you very much.
> > > >
> > > > Tom.Sun
> > > > (Sun zhiyong)
> > > > Tel:8610-65301919-3607
Received on Fri Nov 29 2002 - 02:02:53 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:11:39 MST