Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Christopher Carver
In the users file you could have a line... DEFAULT Called-Station-ID == 111222, Auth-Type := Reject Chris Carver Pennswoods.Net Network Engineer Mike Jakubik wrote: Hello, I need help restricting users based on the number they called. I am using Freeradius 1.1.1 and a MySQL backend. I

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Mike Jakubik
Christopher Carver wrote: In the users file you could have a line... DEFAULT Called-Station-ID == 111222, Auth-Type := Reject As i mentioned, i need to do this in the sql database and for each group. Adding the Called-Station-ID to radgroupcheck results in the following error: Thu May

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Christopher Carver
In radgroupcheck set up something like this: ++-+--++-+ | id | GroupName | Attribute | op | Value | ++-+--++-+ | 1 | restricted | Called-Station-ID | == |

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Mike Jakubik
Christopher Carver wrote: In radgroupcheck set up something like this: ++-+--++-+ | id | GroupName | Attribute | op | Value | ++-+--++-+ | 1 | restricted |

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Kostas Kalevras
On Thu, 18 May 2006, Mike Jakubik wrote: Hello, I need help restricting users based on the number they called. I am using Freeradius 1.1.1 and a MySQL backend. I tried adding Called-Station-Id == number,number,... in to radgroupcheck, but it does not seem to be functioning. Could someone

Re: Restricting logins with Calling-Station-Id in MySQL

2006-05-18 Thread Mike Jakubik
Kostas Kalevras wrote: On Thu, 18 May 2006, Mike Jakubik wrote: Hello, I need help restricting users based on the number they called. I am using Freeradius 1.1.1 and a MySQL backend. I tried adding Called-Station-Id == number,number,... in to radgroupcheck, but it does not seem to be