On 13 Oct 2011, at 19:15, Ray Scholl wrote:

Good afternoon:
 
I was hoping to see if anyone could provide the best syntax to concatenate two strings being used in a comparison (policy.conf).


if("%{My-Var1}%{My-Var2}" == "%{My-Var3}"){

}

Left operand can be attribute ref or string, right operand must be a string. FreeRADIUS takes care of the type conversions...

Arran Cudbard-Bell
a.cudbardb@freeradius.org

Betelwiki, Betelwiki, Betelwiki.... http://wiki.freeradius.org/ !