add realm to user based on NAS-IP

Alan DeKok aland at
Wed Apr 11 13:59:00 CEST 2007

Alexander Papenburg wrote:
> Okay I tested both ways:
> 1st with suffix disabled in authorize section of radiusd.conf and:
> DEFAULT NAS-IP-Address ==, Proxy-To-Realm = "realm"
>        User-Name = "%{User-Name}@realm"

  In the "users" file?  That sets the User-Name used in the reply, not
the one being sent to the home server.

> 2nd with suffix enabled and:
> DEFAULT NAS-IP-Address ==
>        User-Name = "%{User-Name}@realm"
> In both cases the request didn't reach the home server.

  Didn't reach, or wasn't sent?  Debugging mode will tell you if the
server was trying to send the request.

  Alan DeKok.
--       - The web site of the book - The blog

More information about the Freeradius-Users mailing list