Class attributes

Satish Patel satish.txt at gmail.com
Tue Oct 31 16:50:40 CET 2017


I have tried every single combination that is what i am trying to say
don't, what do you think about following?

if (LDAP-Group == "Group_VPN" ) {
        update reply {
                Class := Group_VPN;
        }
        else {
        update reply {
                reply:Class := "NoAccess"
        }
        }
        }

On Tue, Oct 31, 2017 at 11:44 AM, Muenz, Michael
<m.muenz at spam-fetish.org> wrote:
> Am 31.10.2017 um 15:55 schrieb Satish Patel:
>>
>> I am getting this error
>>
>> if (LDAP-Group == "Group_VPN") {
>>          update  {
>>                  reply:Class := "OU=Group_VPN"
>>          }
>> }
>> else {
>>          update  {
>>                  reply:Class := "NoAccess"
>> }
>
>
> There's a missing clsing bracket or your posted config is incomplete.
> No way to help with this information.
>
> Michael
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list