Well I just check the Called-Station-ID and see if the user has access
rights to that place. Then deny or allow
I just put Called-Station-ID == XXYY etc. to radcheck or radgroupcheck.
Radius doesnt allow user to connect if the NAS sends another ID.
I dont know about sending different reply items but I guess you can make
different groups and if the users are allowed for that group and the
freeradius sends the reply items for that group.

Evren

On Tue, 11 Feb 2003, Jonas wrote:

>    Hi,
> I'm currently trying to implement something that's probably been done a million 
>times before, but I haven't found anything about it neither on the Web nor in the 
>mailing list. I've been looking...
> 
> We've got Freeradius running on Linux, connecting to a MySQL server on the same 
>machine. Users can dial in using different numbers, one for each: Modem with Callback 
>(CBCP), Modem without Callback, ISDN with Callback and ISDN without Callback. Based 
>on the number they dial in to (Called-Station-ID), I want to be able to deny or allow 
>them access AND to set different reply-items as well (to set Callback, for instance). 
>Problem is, a user can be permitted to call in to several numbers, e.g. ISDN w/ 
>Callback and ISDN w/o Callback.
> 
> So far I've created different groups for every number, but I don't seem to be able 
>to assign a user to several groups. What I'm trying to achieve is:
> 
> 1. FreeRadius checks the Called-Station-ID and assembles several reply-items 
>depending on that
> 2. It checks the name to see if the user is allowed to use this number
> 3. It assembles several DEFAULT-reply-items, not specific to the Called-Station-ID.
> 
> It'd be perfect if all this could be achieved using the MySQL-Database (to ease 
>remote administration), without resorting to configuration files.
> 
> I'd be grateful for every hint or pointer to some information,
>                             Jonas
> -- 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 


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

Reply via email to