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.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to