FreeRadius - Multiple Clients
Alan DeKok
aland at deployingradius.com
Fri Apr 11 20:27:47 CEST 2014
Casey Daniels wrote:
> I created a attribute in the user file called wifi_key,
What does that mean? The users file doesn't create attributes.
> so what would
> the unlang look like to check against that.
Since it's not clear what you did, we can't answer that question.
> I tried
>
> if ("%{wifi_key}" == 'true') {
> <do wifi things>!
> }
Which isn't what Arran said to do. And it doesn't follow the normal
unlang syntax. See "man unlang". Or the hundreds of examples in the
configuration files.
> but with your stated limitation about the LHS, how does someone get
> around that?
The users file has no work-arounds. It behaves as documented.
Nothing more.
If you want more functionality, use unlang. And read the docs.
Alan DeKok.
More information about the Freeradius-Users
mailing list