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@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