add realm to user based on NAS-IP
Alan DeKok
aland at deployingradius.com
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 == 10.0.0.1, 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 == 10.0.0.1
> 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.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Users
mailing list