[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Possible to define range of users?
From:       "Ran Shenhar" <ran.shenhar () ecitele ! com>
Date:       2006-12-29 20:59:43
Message-ID: 881AED8499C45A4DBDA81F2FB95A2CD2844C59 () SHERLOCK ! pit ! laurelnetworks ! com
[Download RAW message or body]

Hi All,
I was wondering if the users file can hold some definition for a group
of users, for example users with IP 192.168.1.*?
I've seen the group example
(http://wiki.freeradius.org/index.php/FAQ#How_do_I_deny_access_to_a_spec
ific_user.2C_or_group_of_users.3F), but didn't understand if that also
helps to my case.

I've also seen http://www.freeradius.org/doc/users.5.html and the =~ for
regex, but trying to use that with a User-Name attribute (User-Name =~
10.100.0.*, Auth-Type := Local, User-Password == "my pass"), the config
file couldn't be parsed, with this message:
/usr/local/etc/raddb/users-grande-ATM[1]: Parse error (check) for entry
User-Name: expecting '='
/usr/local/etc/raddb/users[6]: Could not open included file
/usr/local/etc/raddb/users-grande-ATM: Success
Errors reading /usr/local/etc/raddb/users
radiusd.conf[1035]: files: Module instantiation failed.

Am I missing something here, or is this not supported?

TIA,

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic