Mikrotik-Xmit-Limit - Not enforced on first logon but is on subsequent logons...

2010-11-27 Thread Shane Hart
Sorry, forgot to mention it is a routeros hotspot setup. Ok I have added “Mikrotik-Xmit-Limit” for the account to radreply as well and can confirm the download megabyte limit is now enforced on first logon. Is this the best way to do it? Am I doing something wrong? Tks - List info/subscribe/unsu

Mikrotik-Xmit-Limit - Not enforced on first logon but is on subsequent logons...

2010-11-27 Thread Shane Hart
Hi all, Doing some trials with freeradius 2.x with the intention of moving from 1.1.7 I have an odd problem with mikrotik nas. An account with download limit will not enforce the limit on the first logon but will on subsequent logons. On the first logon, no limit is imposed in mikrotik and the a

RE: Thanks Alan

2006-02-20 Thread Shane Hart
Or buy the coders a beer :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] dius.org] On Behalf Of Sean Sent: Tuesday, 14 February 2006 5:13 AM To: freeradius-users@lists.freeradius.org Subject: Thanks Alan On Mon, 2006-02-13 at 19:58 +0100, [EMAIL PROTECTED] wrote:

Re: return ALL the AVPs for a username that belongs multiple groups

2005-11-08 Thread Shane Hart
Lenir wrote: Can anyone please help me with this? Thanks, Lenir Just a thought. Create a 3rd group with the attributes you need? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lenir Sent: Wednesday, November 02, 2005 7:34 PM To: 'FreeRadius user

Re: Grab caller id and insert into radcheck how to

2005-10-08 Thread Shane Hart
Jonathan De Graeve wrote: You should use: IF NOT EXISTS Thanks Jonathan, I did some more testing today and came up with something that works for us... Shane Hi all, I an attempting to add an additional attribute upon the first login for user accounts and I am a bit lost. The way I a

Grab caller id and insert into radcheck how to

2005-10-07 Thread Shane Hart
Hi all, I an attempting to add an additional attribute upon the first login for user accounts and I am a bit lost. The way I am testing this is with postauth query. postauth_query = "INSERT into ${authcheck_table} (id, UserName, Attribute, op, value) values('', '%{SQL-User-Name}', 'Calling-St

Re: Control user logins by NAS

2005-10-04 Thread Shane Hart
That did the trick.Thanks Christian Shane Christian Meutes wrote: Create a group in your sql database, then assign the the users to this group and give the group a check-item. insert into radgroupcheck (GroupName,Attribute,op, Value) values ('your_group_name',NAS-IP-Address','==','ip_add

Control user logins by NAS

2005-10-03 Thread Shane Hart
Hi all, How can I control what groups can authenticate on what nas. I would like to create a batch of users and assign those users to only sucessfully login from a particular nas (or list of nas's) I have freeradius 1.04 and use sql for the user/password combinations Group 30 mins Simultanious