No subject

Pawel Cieplinski pawel at parkandmarine.com
Wed Jan 23 16:16:32 CET 2008


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




More information about the Freeradius-Users mailing list