I first tried using Group-Name as that works in the Users file...

if (Group-Name == "net_su") {
    update control {
        Tmp-String-0 := "net_su"
    }
}


Then after searching the mailing list I came across Ldap-Group and gave that
a try as well...

if (Ldap-Group == "net_su") {
    update control {
        Tmp-String-0 := "net_su"
    }
}


Cam.
--







On Sat, Sep 25, 2010 at 18:12, Alan DeKok <[email protected]> wrote:

> Cameron Wood wrote:
> > 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.
>
>   <sigh>
>
>  *What* did you try?
>
>  Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to