Possible to define range of users?
Ran Shenhar
ran.shenhar at ecitele.com
Fri Dec 29 21:59:43 CET 2006
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,
More information about the Freeradius-Users
mailing list