12 Aug
2008
12 Aug
'08
1:59 a.m.
Rana Dhekial wrote:
How do I create conditional statement to uniquely identify differenent NAS vendors to use its sql.conf ? Is it something like
if ( NAS-IP-Address = "cisco's IP address" ) $INCLUDE ${confdir}/sql1.conf
No. The configurations are static. You cannot use unlang in the "modules" section. Instead, you should list the module in the "modules" section (or in raddb/modules), and then refer to it in the authorize section. if (NAS-IP-Address == 1.2.3.4) { sq11 } elsif (NAS-IP-Address == 2.3.4.5) { sql2 } Alan DeKok.