Re: add realm to user based on NAS-IP




Arran Cudbard-Bell wrote:
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.
  
Yippiieee,

the request has been sent through to the home-server. Still need to work on the username but i don't expect
big problems with that.

Thanks to both of you



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