sim use reply message

Alan DeKok aland at deployingradius.com
Sat May 3 16:52:50 CEST 2014


Sanity Computers wrote:
> There’s quite a few posts on making a custom reply message – changing
> the default reply in the post auth section.

  It's possible in most circumstances.

> if (reply:Reply-Message == "\r\nYou are already logged in - access
> denied\r\n\n"){
>                    update reply {
>                             Reply-Message := "new sim use reply message"
>                    } 
>                 }

  Except that Reply-Message will never get sent to the user with EAP.

  So setting it is useless.

> It does not matter what format I use, the default message
>
> "\r\nYou are already logged in - access denied\r\n\n"
>
> is all I ever get.

  Yes, because you have Simultaneous-Use set, and it over-rides any
existing Reply-Message.

> This is on a freeradius 2 (on Ubuntu 8) install with
> default settings, any idea if this format is actually correct or what
> else needs to be done to change a reply message? Thanks all.

  Reply-Message doesn't work with EAP.  Because of limitations with EAP.

  Reply-Message is fixed for Simultaneous-Use.

  Alan DeKok.


More information about the Freeradius-Users mailing list