Want to test against variable-value

Hans-Peter Fuchs fuchs at rrz.uni-koeln.de
Mon Oct 30 15:30:48 CET 2006


Hello helpful friends,

I am using freeradius 1.1.3

I want to accept users only if the they are members of a sql-Group which name eqals the 
Huntgroup-Name.
I try:

DEFAULT         Auth-Type := Accept, Sql-Group == MAC, Sql-Group == %{Huntgroup-Name}

this gives the error (radiusd -X):

module: Loaded files
 files: usersfile = "/usr/local/etc/raddb/users"
 files: acctusersfile = "/usr/local/etc/raddb/acct_users"
 files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
 files: compat = "no"
/usr/local/etc/raddb/users[161]: Parse error (check) for entry DEFAULT: Expected
 end of line or comma
Errors reading /usr/local/etc/raddb/users
radiusd.conf[398]: files: Module instantiation failed.
radiusd.conf[828] Unknown module "files".
radiusd.conf[742] Failed to parse authorize section.

Thank you for any hint.

Grüße

Hans-Peter Fuchs

Hans-Peter Fuchs - RRZK Zimmer 20
Zentrum für angewandte Informatik - Universitätsweiter Service RRZK
Universität zu Köln - Tel: 0221-470-6972






More information about the Freeradius-Users mailing list