user with more tha one NAS Server

2004-05-27 Thread Ahmad Cheikh Moussa
Hi!
I have several Cisco Dailin Server(NAS).
Some user should be able to dialin wherever they want,
some user should only be able to dialin on two or three
Dialin Servers and some only to one.
Enabling users to dialin wherever they want is really simple,
restricting users to dialin only to one NAS Server ist simple too,
but how can I let users dialin only to two NAS Server ?
Until now I solved this problem by inserting the user twice in the
users file with two different NAS Servers (NAS-IP-Address).
My question  is, is there a better method to do so ?
Can I give a user more than one  NAS-IP-Address option ?
For example:
user Auth-Type:= Local, User-Password == "**", NAS-IP-Address == 1.1.1.1 
, NAS-IP-Address == 1.1.1.2

Regards,
 Ahmad
--
Ahmad Cheikh-Moussa
NetUSE AG
Dr.-Hell-Straße, 24107 Kiel, Germany
Telefon: +49 431 2390 400 --  Telefax: +49 431 2390 499
Service: [EMAIL PROTECTED] --  http://NetUSE.DE/
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: user with more tha one NAS Server

2004-05-27 Thread Gerald Krause
My question  is, is there a better method to do so ?
Can I give a user more than one  NAS-IP-Address option ?
For example:
user Auth-Type:= Local, User-Password == "**", NAS-IP-Address == 1.1.1.1 
, NAS-IP-Address == 1.1.1.2
Maybe you can use one regexp (=~) instead of multiple plain compares 
(==).

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