unlang post-auth group-name
    Cameron Wood 
    cameron.e.wood at gmail.com
       
    Sat Sep 25 10:54:25 CEST 2010
    
    
  
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 <aland at deployingradius.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100925/f3ea31c9/attachment.html>
    
    
More information about the Freeradius-Users
mailing list