your mail

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Mon Jan 14 12:47:28 CET 2013


Hi,
>    Hi all,
> 
>                    I want to configure the  free radius to return access-
>    reject based on the value of a particular column in database .
> 
>                    How do i do that ??? please help....

probably with a bit of unlang like

if("%{sql:SELECT group FROM `table` where user = %{User-Name}}" != "group_I_want"){
	reject
	}

man unlang and http://wiki.freeradius.org/modules/Rlm_sql

alan


More information about the Freeradius-Users mailing list