Custom Reply Message

Alan DeKok aland at deployingradius.com
Wed Jul 22 22:05:15 CEST 2015


On Jul 22, 2015, at 5:59 PM, Andrés Gómez <andres.gomez.ruiz at gmail.com> wrote:
> Sorry, I know it is a basic question, I know the reply message are
> configurable in the module files, and other files. But I can't find this
> one that I receive when I use the Simultaneous-use attribute:

  That Reply-Message isn't configurable.

> I want to change that Reply-Message = "\r\nYou are already logged in -
> access denied\r\n\n" . But I have found everywhere and I can't find its
> config file.
> 
> How can I do it?

  Edit the Reply-Message.

post-auth {
	...
	Post-Auth-Type Reject {
		update reply {
			Reply-Message := "Rejected because"
		}
	}
	...
}

  Alan DeKok.




More information about the Freeradius-Users mailing list