On Mon, Apr 28, 2003 at 07:38:46AM -0400, Victor Mendez wrote:
> Hi Henrik, maube you can help me.
May even I try to help you or do we need to wait for Henrik? :)
> I have SuSE SPARC 7.3 with SQUID 2.3 and squidguard installed every thing
> works fine. Now I have added the squid_ldapauth module I tested it against my
> ldap server everything is perfect.
>
> My Problem is the following : I would like that the user be prompted for a
> user named and password before starting to browse. Once the user enters her
> username and his/her password then it get authenticated against the ldap and
> they can do what they want.
>
> I include a snap shot of my squid.conf file:
>
> authenticate_program /usr/sbin/squid_ldapauth
> acl netsys src 10.19.57.50-10.19.57.110/255.255.255.0
> acl password proxy_auth REQUIRED
> http_access allow netsys
All you need is a directive telling Squid to only allow users being
authenticated. It's an "http_access" line. At my site it looks like:
acl ldap-auth proxy_auth REQUIRED
http_access deny !ldap-auth
(or alternatively: http_access allow ldap-auth)
Christoph
-- ~ ~ ".signature" [Modified] 3 lines --100%-- 3,41 AllReceived on Mon Apr 28 2003 - 06:22:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:33 MST