Hi,
>    Hello all,
> 
>    I just wanted to ask how could I make FR to use either users file or sql
>    to send attributes based on the NAS ip address.
> 
>    I suspect that I would need to use ulang for that. Something like:
> 
>    if(NAS-IP-Address == NAS A IP) {
>         use sql
>    }
>    else
>    {
>        use users file
>    }
>    I'm just wondering what is the proper syntax of making FR use sql or user
>    file.

with default modules

    if("%{NAS-IP-Address}" == "192.168.100.1") {
         sql
    }
    else {
        files
    }


alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to