Enforcing Login-Time on NAS

Suman Dash sumandash at gmail.com
Tue Sep 27 14:41:44 CEST 2011


Use Unlang or Similar Scripts :

If Nas = 1 then update Login Time = xxxx

If Nas = 2 then update Login Time = yyyy

Use this in PreAuth (I am not sure) Section and give it a try .

Regards
Suman

On Tue, Sep 27, 2011 at 5:42 PM, Shiv <shivkumar.jags at gmail.com> wrote:

> I know that Login-Time can be used with Users and Groups but is there
> a way to use this with NAS'?
> For example, If I want NAS-A to allow logins only from 1700-1800 and
> NAS-B to allow logins only from 0900-1300. How would I be able to
> ensure this?
>
> I have tried this with Huntgroups, but only able to prevent/allow
> logins unconditionally. How do I attach the Login-Time attribute to
> NAS and not users or groups?
>
> --
> Regards,
> Shivkumar
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110927/7c37b7cb/attachment.html>


More information about the Freeradius-Users mailing list