Re: [squid-users] LDAP Authentication Password Problem.

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 05 Feb 2009 01:01:59 +1300

Emre YILMAZ wrote:
> Amos,
>
> Thnx for your reply,
> We have tried "auth_param basic credentialsttl 2 hours " but whenever
> user closes the browser, and reopened password box appears again and again.
>
> But i want to keep this authentication (session) for 2 hours.
>
> in that case what should i do, have you an idea?
>
> thanx,
> Emre
>
> Amos Jeffries yazm��:
>> Emre YILMAZ wrote:
>>> hi list,
>>>
>>>
>>> As all you know, whenever a user opens a web browser, squid asks
>>> password for ldap authentication. We are trying to keep this session
>>> open for specific time even if the browser has been closed.(Just like
>>> NTLM authentication)
>>> Actually what we are trying to do is; creating an ip based timed
>>> session.
>>>
>>> Thnx..
>>
>> "Just like NTLM authentication" means the clients operating system
>> needs to hold their credentials until reboot.
>> Even then the handshake gets redone whenever the browser makes a new
>> connection.
>>
>> For basic Squid can cache the credentials for a set time:
>> auth_param basic credentials ttl 2 hours
>>
>> Or custom helpers can do whatever you like.
>>
>> Amos
>

If that is not working, you will need to create your own authentication
methods using external_acl helper to permit/deny access based on other
details than username/password.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
   Current Beta Squid 3.1.0.5
Received on Wed Feb 04 2009 - 12:01:52 MST

This archive was generated by hypermail 2.2.0 : Wed Feb 04 2009 - 12:00:01 MST