help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnu-radius] Group attr usage (fixed question)


From: Alexey Kovrizhkin
Subject: Re: [Help-gnu-radius] Group attr usage (fixed question)
Date: Fri, 29 Nov 2002 18:00:04 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021017

Sergey Poznyakoff wrote:

>After fetching user groups via group_query I can use Group attribute in
>LHS parts of user profile.
>
>Is it possible to use Group value in rewrite functions or users RHS or
>somewhere else?


No, it is not. Group is not a usual attribute, rather it is a
statement instructing radius to check whether a user pertains
to a specified group. The group_query can, and normally will
return a list of groups the user belongs to, in which case
radius will compare the specified group value against each
member of the group. If we were to use Group in RHS, then
it would become unclear to what value the %C{Group} should
expand: to a comma-delimited list of strings, to the first
item of the list or to some other value.


AFAIK %C{Group} means the 1st group and in case of several groups
I would use %[Group](n) inside rewrite function.

Thank you for answer, now I'm trying to use Class attribute for this purpose.









reply via email to

[Prev in Thread] Current Thread [Next in Thread]