Authorize a group by multivalued "Service-Type" (in MySql)

Dusty Doris freeradius at mail.doris.cc
Tue Dec 20 15:45:16 CET 2005


> We have a problem using mysql. We have defined a group (e.g. admin) in 
> mysql and wanted to assign it a multivalue attribute (e.g. Service-Type) 
> inorder to have different services but it does not work properly. it 
> only accepts requests with smaller id (i.e. 12) and rejects the other 
> one (i.e. 13).
>
> +----+---------------------+-----------------------+------+----------------------+
> | id  | GroupName | Attribute         | op   | Value             |
> +----+---------------------+-----------------------+------+----------------------+
> |  5  | user              | Auth-Type       | :=   | Local              |
> |  4  | admin           | Auth-Type       | :=   | Local              |
> | 12 | admin           | Service-Type   | == | Login-User     |
> | 13 | admin           | Service-Type   | == | Framed-User |
> +----+---------------------+------------------------+------+----------------------+

Are these reply items?  Read man 5 users.  == is not allowed as a reply 
item.  If you want to add multiple reply-items of the same kind see +=.





More information about the Freeradius-Users mailing list