Re: [squid-users] Problem with proxy authentication

From: Ilker Gokhan <IlkerG@dont-contact.us>
Date: Fri, 23 Mar 2001 14:12:36 +0200

You should use another passwd file created by htpasswd program.For example,
#htpasswd -bc /usr/local/squid/etc/passwd user1 passw1 user2 passwd2

But if you want to use /etc/passwd, you should implement getpwnam
authentication instead ncsa_auth.

Best regards,
Ilker G.

> Kimden: anils [mailto:anils@multitech.co.in]
> Tarih: Friday, March 23, 2001 12:27 PM
> Kime: squid-users@squid-cache.org
> Konu: [squid-users] Problem with proxy authentication
>
>
> Hi,
>
> We are running our squid caching proxy in Redhat Linux 7.0 (
> kernel 2.2.16-22 ) . We are able to use the proxy without any user
> authentication. Now I want to do some user authentication. For that I
> compiled the ncsa_auth module and copied it to /usr/local/squid/bin
> directory.
>
> My squid.conf has the following entries...
>
> authenticate_program /usr/local/squid/bin/ncsa_auth /etc/passwd
> authenticate_children 5
>
> acl testusers proxy_auth arun raj kesav
>
> http_access allow testusers
>
> when I start squid it spawns 5 processes of ncsa_auth with
> the argument
> as /etc/passwd. But when i try to access any site after supplying my
> username and password the proxy responds with a message "Proxy
> Authentication Failed" eventhough my password is valid for that
> username. I tried to use the ncsa_auth from command line it
> is working
> perfectly alright.
>
> If anybody has any idea....please respond immediately..
>
> regrads
> Anil .S
> anils@multitech.co.in
>
>
>
>
>
>

Bu e-postada bulunan tüm fikir ve görüşler ve ekindeki dosyalar sadece adres
sahib(ler)ine ait olup, Sümerbank A.Ş hiç bir şekilde sorumlu tutulamaz.
The information contained in this E-Mail and any files transmitted with it
are intended solely for the use of the individual or entity to whom they are
addressed and do not reflect those of Sumerbank A.S.
Received on Fri Mar 23 2001 - 05:13:54 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:49 MST