Re: add realm to user based on NAS-IP



Alan DeKok wrote:
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"


DEFAULT NAS-IP-Address == 10.0.0.1, Proxy-To-Realm := "realm"


Ah yes, still the top entry should have worked, username would have to be rewritten in hints file.

Or with attr_rewrite.




--
Arran Cudbard-Bell (ac221@sussex.ac.uk)
Authentication Authorisation & Accounting Officer
Infrastructure Services | ENG1 FF08
EXT:3900




This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.