Re: [Help] How to control the authentication session timeout

2013-04-23 Thread Alan Buxey
Controlled by the NAS and/or the RADIUS server depending on NAS settings. ie 
you should be able to set session-timeout on the NAS and then override/update 
the value on the RADIUS server depending on your chosen policies...eg for 
particular users/clients etc...and if proxying you may have agreements or 
filtering in place to set/agree the value

alan

--
This smartphone uses free WiFi around the world with eduroam, now that's what I 
call smart.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Help] How to control the authentication session timeout

2013-04-23 Thread Danny Kurniawan
Hi Alan,

In which config files do i need to look / edit / add the session timeout in
freeradius?

Thanks
Danny

On Tue, Apr 23, 2013 at 3:11 PM, Alan Buxey a.l.m.bu...@lboro.ac.uk wrote:

  Controlled by the NAS and/or the RADIUS server depending on NAS settings.
 ie you should be able to set session-timeout on the NAS and then
 override/update the value on the RADIUS server depending on your chosen
 policies...eg for particular users/clients etc...and if proxying you may
 have agreements or filtering in place to set/agree the value

 alan

 --
 This smartphone uses free WiFi around the world with eduroam, now that's
 what I call smart.




-- 
Best Regards,
Danny
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Help] How to control the authentication session timeout

2013-04-23 Thread A . L . M . Buxey
Hi,

In which config files do i need to look / edit / add the session timeout
in freeradius?

that would depend on how your configuration is done and what options and methods
you are using. 'users' file is basic way, SQL tables are another, unlang is yet
another way...eg

update reply {
Session-Timeout : = 7200
}

stick this into the post-auth section of raddb/sites-available/default (if thats
your virtual server in use)

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: [Help] How to control the authentication session timeout

2013-04-23 Thread Danny Kurniawan
Thanks Alan, let me try that. So i can apply this only if the Wireless AP
is sending packet with Session-Timeout too right? I don't see this setting
in Meraki Wireless AP.

I'm using ldap and all the authentication just simple username / password
from ldap. Is the the exact syntax to apply with?

or we should use update reply-message{
Session-Timeout : = 7200
}

Thanks in advance
Danny

On Tue, Apr 23, 2013 at 8:55 PM, a.l.m.bu...@lboro.ac.uk wrote:

 Hi,

 In which config files do i need to look / edit / add the session
 timeout
 in freeradius?

 that would depend on how your configuration is done and what options and
 methods
 you are using. 'users' file is basic way, SQL tables are another, unlang
 is yet
 another way...eg

 update reply {
 Session-Timeout : = 7200
 }

 stick this into the post-auth section of raddb/sites-available/default (if
 thats
 your virtual server in use)

 alan




-- 
Best Regards,
Danny
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Help] How to control the authentication session timeout

2013-04-23 Thread A . L . M . Buxey
Hi,

Thanks Alan, let me try that. So i can apply this only if the Wireless AP
is sending packet with Session-Timeout too right? I don't see this setting
in Meraki Wireless AP.

as i said, depends on your settings and what the NAS is willing to take from 
the 
RADIUS server - you'll have to try it and see - or contact your vendor for
technical advice/support.

I'm using ldap and all the authentication just simple username / password
from ldap. Is the the exact syntax to apply with?

?? this is just authentication - how you apply policy is a different issue

or we should use update reply-message{
Session-Timeout : = 7200
}

??  you could try making things up. but it wont get you anywhere.

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: [Help] How to control the authentication session timeout

2013-04-23 Thread Danny Kurniawan
Thanks again Alex, i will try your syntax.

Thanks
Danny

On Tue, Apr 23, 2013 at 9:25 PM, a.l.m.bu...@lboro.ac.uk wrote:

 Hi,

 Thanks Alan, let me try that. So i can apply this only if the
 Wireless AP
 is sending packet with Session-Timeout too right? I don't see this
 setting
 in Meraki Wireless AP.

 as i said, depends on your settings and what the NAS is willing to take
 from the
 RADIUS server - you'll have to try it and see - or contact your vendor for
 technical advice/support.

 I'm using ldap and all the authentication just simple username /
 password
 from ldap. Is the the exact syntax to apply with?

 ?? this is just authentication - how you apply policy is a different issue

 or we should use update reply-message{
 Session-Timeout : = 7200
 }

 ??  you could try making things up. but it wont get you anywhere.

 alan




-- 
Best Regards,
Danny
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Help] How to control the authentication session timeout

2013-04-23 Thread A . L . M . Buxey
Hi,
Thanks again Alex, i will try your syntax.

do you deliberately change words?

alan

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: [Help] How to control the authentication session timeout

2013-04-23 Thread Danny Kurniawan
Hi,

What you mean? Sorry i think you might mis-understand my previous 2
message. I mean 2 ask what is the correct syntax for update reply

Is it exactly like what you said in previous email or else :
update reply {
Session-Timeout : = 7200
}

I will search the documentation again for my question and apply it inside
Post Auth. Sorry for not searching the documentation before asking, i was
trying to find a quick solution :)

Thanks
Danny
On Tue, Apr 23, 2013 at 11:08 PM, a.l.m.bu...@lboro.ac.uk wrote:

 Hi,
 Thanks again Alex, i will try your syntax.

 do you deliberately change words?

 alan




-- 
Best Regards,
Danny
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: [Help] How to control the authentication session timeout

2013-04-23 Thread A . L . M . Buxey
Hi,

What you mean? 

see bottom of email

Is it exactly like what you said in previous email or else :
update reply {
Session-Timeout : = 7200
}

no, its exactly liek I typed. if you add spaces like you have then the server 
wont like it

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: [Help] How to control the authentication session timeout

2013-04-23 Thread Matthew Newton
Hi Danny,

On Tue, Apr 23, 2013 at 11:13:46PM +0800, Danny Kurniawan wrote:
 What you mean? Sorry i think you might mis-understand my previous 2
 message. I mean 2 ask what is the correct syntax for update reply
 
 Is it exactly like what you said in previous email or else :
 update reply {
 Session-Timeout : = 7200
 }

It should be:

post-auth {

  update reply {
Session-Timeout := 7200
  }

}

(e.g. no space between : and =)

HTH,

Matthew


-- 
Matthew Newton, Ph.D. m...@le.ac.uk

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, ith...@le.ac.uk
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: [Help] How to control the authentication session timeout

2013-04-23 Thread Danny Kurniawan
Thanks all.

-Danny

On Tue, Apr 23, 2013 at 11:59 PM, Matthew Newton m...@leicester.ac.ukwrote:

 Hi Danny,

 On Tue, Apr 23, 2013 at 11:13:46PM +0800, Danny Kurniawan wrote:
  What you mean? Sorry i think you might mis-understand my previous 2
  message. I mean 2 ask what is the correct syntax for update reply
 
  Is it exactly like what you said in previous email or else :
  update reply {
  Session-Timeout : = 7200
  }

 It should be:

 post-auth {

   update reply {
 Session-Timeout := 7200
   }

 }

 (e.g. no space between : and =)

 HTH,

 Matthew


 --
 Matthew Newton, Ph.D. m...@le.ac.uk

 Systems Specialist, Infrastructure Services,
 I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

 For IT help contact helpdesk extn. 2253, ith...@le.ac.uk
 -
 List info/subscribe/unsubscribe? See
 http://www.freeradius.org/list/users.html




-- 
Best Regards,
Danny
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html