hi there. you can put users in groups using the <http://192.168.66.10/phpmyadmin/tbl_properties_structure.php?db=radius&token=e8c1acff5ade44ca81ec2cdd2458add2&table=usergroup>usergroup table in mysql. then you can check by using radgroupcheck table and replying by using radgroupreply table. thanx for reading my stupid answer :) On 23/01/2008, Pawel Cieplinski <pawel@parkandmarine.com> wrote:
Hi there (its me again :P)
Another problem:
How to assign users to a NAS ?
In radcheck i got entires for 4 users (A,B,C,D) and 2 nas (I and II)
But i want to assign somehow users A and B to NAS I and users C and D do NAS II
(eg: user C using NAS II should get Acess-Reject - wrong username or password )
I found out that it is possible using REALMS - check calling station id And separating databases: User A and B and NAS I are id sql1 and C,D,II in sql2 But this way doing it could be quite dificult for longer run.
Other option i have in mind is to add a record or table and match Usertable and Nastable together and change SQL entires for authentication like :
Select * from radcheck where username=calling user and nas=calling station (example).
Is there any simplier method to group users and nas together ?
Thanks for answering my stupid questions Pawel Cieplinski
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html