Hi, I have serveral radius servers that will be receiving only accounting data from a remote radius server. The remote radius server will not be sending realm information. I am trying to use attr_rewrite to add a realm to the username when the accounting data comes from that specific server.
I have been looking for documentation regarding attr_rewrite and have not been able to find much. Can someone point me towards some documentation or provide a sample? Is it possible to specify a conditional so that the realm is added only when the accounting data comes from that IP? Or is that even necessary? Based on the example in radiusd.conf, this is what I came up with. Is this even close? attr_rewrite addrealm { attribute = User-Name searchin = packet # may be "packet", "reply", or "config" searchfor = "$" replacewith = "@xyz.com" #ignore_case = no new_attribute = no max_matches = 10 append = yes } Thanks, - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html