SQL query in Pre-Proxy

Ivan Kalik tnt at kalik.co.yu
Fri May 18 02:14:58 CEST 2007


>do you mean that i have to do the following:
in the radcheck i have to put
username            calling-station-id=number
and in the radreply,
username            proxy-to-realm:=domain

No. Put them both in radcheck:

INSERT INTO radcheck SET UserName='thatname',
Attribute='Calling-Station-Id', op='==', Value='thatnumber'
INSERT INTO radcheck SET UserName='thatname', Attribute='Proxy-To-Realm',
op=':=', Value='thatdomain'

Use correct operators. "=" is not the same as "==" and is not allowed as
check operator.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list