Re: Enforcing Login-Time on NAS

2011-09-28 Thread shiv
-- View this message in context: http://freeradius.1045715.n5.nabble.com/Enforcing-Login-Time-on-NAS-tp4845142p4848567.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Enforcing Login-Time on NAS

2011-09-27 Thread shiv
/Enforcing-Login-Time-on-NAS-tp4845142p4847792.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Enforcing Login-Time on NAS

2011-09-27 Thread Frank Ranner
if ( "%{Tmp-String-0}" != "") { >update control{ >Login-Time := "%{Tmp-String-0}" >} > >} > > > The wifihotspots table contains Huntgroup-Name and its Corresponding > Login-Time > Thanks again for the hel

Re: Enforcing Login-Time on NAS

2011-09-27 Thread Suman Dash
Login-Time := "%{Tmp-String-0}" >} > >} > > > The wifihotspots table contains Huntgroup-Name and its Corresponding > Login-Time > Thanks again for the help! > > > -- > View this message in context: > http://freeradius.1045

Re: Enforcing Login-Time on NAS

2011-09-27 Thread shiv
roup-Name and its Corresponding Login-Time Thanks again for the help! -- View this message in context: http://freeradius.1045715.n5.nabble.com/Enforcing-Login-Time-on-NAS-tp4845142p4845762.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: Enforcing Login-Time on NAS

2011-09-27 Thread shiv
ite a query to pull in Login-Time Corresponding to the NAS from the database ! Thanks again for showing the way. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Enforcing-Login-Time-on-NAS-tp4845142p4845336.html Sent from the FreeRadius - User mailing list archive at

Re: Enforcing Login-Time on NAS

2011-09-27 Thread Suman Dash
Use Unlang or Similar Scripts : If Nas = 1 then update Login Time = If Nas = 2 then update Login Time = 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 wrote: > I know that Login-Time can be used with Users and Gro

Enforcing Login-Time on NAS

2011-09-27 Thread Shiv
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