two Reply-Message returned to NAS

Alan DeKok aland at
Mon Jun 20 12:12:04 UTC 2022

On Jun 20, 2022, at 5:48 AM, Can Paçacı <pacaci at> wrote:
> We have an issue about reject message. As seen in the Figure , two reply messages were received. It must be only ' You are already loged in '
> image.png
> One from simultaneous check setting (You are already loged in) and the other(wrong password) from etc/raddb/sites-enable/default  file. İf we deactivate wrong password-check part (in the below)  from ..raddb/sites-enable/default  file, the replay message is blank returned to NAS.

  See "man users" or "man unlang".  And read the section on operators.

>         ...
>         Post-Auth-Type REJECT {
>         update reply {
>         Reply-Message +=   "%{Reply-Message} Wrong Password..."

  That *adds* a Reply-Message.  If you want to over-write one, use ":=", not "+="

  And use %{reply:Reply-Message} in the expansion, to refer to the reply list.  See again "man users" or "man unlang" for documentation.

  Alan DeKok.

More information about the Freeradius-Users mailing list