Operator ":=" in reply packets

Alan DeKok aland at deployingradius.com
Thu Aug 21 13:45:46 CEST 2014


Axel Luttgens wrote:
> 	authorize_reply_query = "\
> 		SELECT	1, '%{SQL-User-Name}', 'Reply-Message', 'Hey', ':=' \
> 		UNION \
> 		SELECT	2, '%{SQL-User-Name}', 'Reply-Message', 'Hello', ':=' \
> 		ORDER BY 1"
> 
> In radiusd -X output, on may then read:
> 
> 	Sending Access-Accept Id 201 from 127.0.0.1:1812 to 127.0.0.1:62417
> 		Reply-Message = 'Hey'
> 		Reply-Message = 'Hello'

  The issue is that the operators don't look at the new attributes being
added.  They only apply to the attributes in the original list.

  Alan DeKok.


More information about the Freeradius-Users mailing list