unlang post-auth group-name

Cameron Wood cameron.e.wood at gmail.com
Sat Sep 25 09:36:53 CEST 2010


Thanks for the reply Alan.
Thanks for the reply Alan.

That won't work.  The user may be a member of many groups, so
> "obtaining" the group name is not possible.
>

That makes perfect sense.


You can *compare* to see if the user is a member of a group.
>

How can I compare this data? I've tried comparing for it in the Authorize
section using an IF statement, but that didn't work.


Cheers
Cam.
--





On Sat, Sep 25, 2010 at 17:07, Alan DeKok <aland at deployingradius.com> wrote:

> Cameron Wood wrote:
> >  I'm trying to obtain the Group-Name for the requested user and use it
> > with unlang in the Post-Auth section of my sites-available/default
> config.
>
>   That won't work.  The user may be a member of many groups, so
> "obtaining" the group name is not possible.  You can *compare* to see if
> the user is a member of a group.
>
>  If you want different kinds of groups, see "man rlm_passwd"
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100925/b79ba864/attachment.html>


More information about the Freeradius-Users mailing list