Add radius server hostname to tickets

Jeffrey Hutzelman jhutz at
Thu Apr 9 19:35:15 CEST 2009

--On Thursday, April 09, 2009 10:39:36 AM +0200 Alan DeKok 
<aland at> wrote:

> Stephan Jaeger wrote:
>> i'd like to add the radius server's hostname to the tickets, do be able
>> to identify over which server it came in later. For that i've added a
>> new internal freeradius attribute "Server-Hostname" and a block with a
>> gethostname() call to xlat.c.
>> I now update the requests with unlang and add an attribute with
>> %{Server-Hostname} as value.
>   Why not just statically configure the hostname in radiusd.conf?

Because that makes it harder to share identical configuration among several 

More information about the Freeradius-Devel mailing list