upgrade unlang from 2.1.12 to 3.0.14
adrian.p.smith at bt.com
adrian.p.smith at bt.com
Wed Jul 5 09:07:28 CEST 2017
We have a fairly complex configuration running on an ageing 2.1.12 version of FreeRadius.
We are looking to upgrade to latest 3.0.14 for various reasons.
I'm having some issues with some of the unlang and would be grateful for some clarification please?
We have config similar to:
if ( !(Cisco-SSG-Service-Info) && ("%{Tunnel-Type}" != "VLAN") ) {
...
}
and
if ( ("%{Acct-Status-Type}" == "Stop") && ("%{Tunnel-Type}" == "VLAN") && ("%{client:operator}" != "WLC") ) {
...
}
But are seeing error messages such as:
ERROR: Failed retrieving values required to evaluate condition
So questions are:
1. Testing presence of an attribute I think is now "if ( &Cisco-SSG-Service-Info )" ?
2. Can I test presence of and value of an attribute of a variable at the same time, i.e. "if (&Cisco-SSG-Service-Info = "fred" )" ?
3. How can I now do "client:operator" ?
Thanks
Adrian
More information about the Freeradius-Users
mailing list