rlm_sql

Nicolas Baradakis nbk at sitadelle.com
Fri Feb 3 10:55:01 CET 2006


Carlo Prestopino wrote:

> CREATE FUNCTION `mac_check`(utente VARCHAR(20),mac VARCHAR(30)) RETURNS
> varchar(50)

The mac_check function is defined to accept 2 arguments. (utente and mac)

> postauth_query = "SELECT mac_check(${postauth_table}, %{User-Name},
> %{User-Password:-Chap-Password}, %{reply:Packet-Type},
> %{Called-Station-Id})"

Here the mac_check function is called with 5 arguments.

-- 
Nicolas Baradakis




More information about the Freeradius-Devel mailing list