Adding Attributes in Access-Accept
Hi All, I have a set up where in user is Proxyed to home server for authentication, things are working fine. In the response Access-Accept I see the following: rad_recv: Access-Accept packet from host 192.168.7.40 port 1812, id=195, length=68 Proxy-State = 0x3530 Framed-Protocol = PPP Service-Type = Framed-User Class = 0x47cc04de000001370001c0a8072801cb483d266256d80000000000000006 I do not have any access to the home server but I still want the Access-Accept to carry User-Name in it. Can we do it by tweaking the proxy server ? Please guide me to some pointers/links if it can be done. -- Chidanand Gangur Pune.
Chidanand Gangur wrote:
I do not have any access to the home server but I still want the Access-Accept to carry User-Name in it. Can we do it by tweaking the proxy server ?
Yes. Update the reply to include the User-Name. $ man unlang You can add *any* attribute to *anything*. Request, response, proxied request, etc. Alan DeKok.
Hi Alan, Thank you for your quick response. I will definitely explore unlang. Right now I tried working with attr_rewrite module things worked as expected. Thanks & Regards, Chidanand On Tue, Aug 31, 2010 at 4:44 PM, Alan DeKok <aland@deployingradius.com>wrote:
Chidanand Gangur wrote:
I do not have any access to the home server but I still want the Access-Accept to carry User-Name in it. Can we do it by tweaking the proxy server ?
Yes. Update the reply to include the User-Name.
$ man unlang
You can add *any* attribute to *anything*. Request, response, proxied request, etc.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Chidanand Gangur Pune.
participants (2)
-
Alan DeKok -
Chidanand Gangur