Search squid archive

Re: Two authentication helpers in one instance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2011-08-30 klockan 14:19 +0200 skrev Rafal Zawierta:

> Is it possible to use dual authentication helpers in one squid3 instance.

Kind of, but only one of each authentication type.

> If user is in WinNT domain, he is authenticated against AD in negotiate mode.
> If user is not in in AD, then he is prompted for password.

Unfortunately not how the browsers works.

The selection is done by the browser based on the capabilities of the
browser, not if the user is logged on to a domain. If the browsre is
capable of performing Kerberos authentication then it will either use
the already logged in AD credentials or promt the user for AD
credentials, verified by the negotiate auth helper. If the browser is
not capable of kerberos authentication it will prompt for plain username
+ password authentication validated by the basic auth helper.

> But next, I'd like to match all users that are authenticated with
> basic mode in separate acl. I'm able to use some regex with that
> usernames - for example guest_ prefix in username.
> 
> Is it possible?

Yes. See proxy_auth and proxy_auth_regex acl types.

Regards
Henrik



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux