Reply-Message in postauth_query

Alan DeKok aland at deployingradius.com
Fri Sep 26 19:33:36 CEST 2014


Hasanen AL-Bana wrote:
> in the reply field , I always get either Access-Reject or
> Access-Accept from reply:Packet-Type.
> What other options I have for reply: other than Packet-Type ?

  Any other attribute.  They're just strings.  Put the attribute name in
there, and it will work.

> Is it
> possible to reach the Reply-Message from within postauth_query ?

  Yes.  To get the value of the Reply-Message from the reply, use:

	%{reply:Reply-Message}

  See "man unlang" for exhaustive documentation on this.

  Alan DeKok.


More information about the Freeradius-Users mailing list