Re: [squid-users] Re: i am facing problem in authentication

From: Henrik Nordström <hno@dont-contact.us>
Date: Sun, 1 Sep 2002 23:37:17 +0200 (CEST)

You cannot use /etc/shadow for ncsa_auth. You will need to create a NCSA
style password file similar to that used by most web servers. See the
htpasswd command.

Regards
Henrik

On Sun, 1 Sep 2002, sumit nagal wrote:

> sir,
> i am getting authentication screen.but i am unable
> to block all users ...
> i used these line in squid.conf file
> auth_param basic program /usr/lib/squid/ncsa_auth
> /etc/shadow
> acl alluser proxy_auth basic program
> http_access deny alluser
> here i am getting proxy autherization fail ...
> what i will do for blocking certain user.
> regards,
> sumit
>
>
>
> ....
> here i am
>
>
>
> --- Henrik_Nordström <hno@marasystems.com> wrote:
> > The syntax how to configure authentication is
> > different in 2.5 than
> > earlier releases.
> >
> > See squid.conf.default for current documentation,
> > specifically the
> > auth_param directive.
> >
> > Regards
> > Henrik
> >
> >
> > On Sat, 31 Aug 2002, sumit nagal wrote:
> >
> > > I am working on squid-2.5PRE10 ,i am having
> > problem in
> > > proxy authtication.
> > > i am working on linux 7.2
> > > i was using squid.conf file for
> > authentication...it
> > > was working fine.
> > > ---------------
> > > proxy_auth_realm Squid caching web server
> > > authenticate_program /usr/lib/squid/ncsa_auth
> > > /etc/shadow
> > > acl AllUsers proxy_auth REQUIRED
> > > http_access allow Allusers
> > > ----------------
> > > now i am using
> > > --------------------
> > > auth_param basic program
> > > /usr/local/squid/libexec/ncsa_auth /etc/shadow
> > > acl AllUsers proxy_auth REQUIRED
> > > http_access allow AllUsers
> > > --------------------
> > > In this case it is giving this message.
> > > 2002/08/31 17:10:35| aclParseAclLine: IGNORING:
> > Proxy
> > > Auth ACL 'acl AllUsers proxy_auth REQUIRED '
> > because
> > > no authentication schemes are fully configured.
> > > 2002/08/31 17:10:35| aclParseAclLine: IGNORING
> > invalid
> > > ACL: acl AllUsers proxy_auth REQUIRED
> > > 2002/08/31 17:10:35| squid.conf line 3:
> > http_access
> > > allow AllUsers
> > > 2002/08/31 17:10:35| aclParseAccessLine: ACL name
> > > 'AllUsers' not found.
> > > 2002/08/31 17:10:35| squid.conf line 3:
> > http_access
> > > allow AllUsers
> > > 2002/08/31 17:10:35| aclParseAccessLine: Access
> > line
> > > contains no ACL's, skipping
> > > -----------------------
> > > what modification i will do in my this conf file
> > so
> > > that it will be doing authentication....
> > >
> > >
> > >
> > >
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Yahoo! Finance - Get real-time stock quotes
> > > http://finance.yahoo.com
> > >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com
>
Received on Sun Sep 01 2002 - 15:37:23 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:10:01 MST