Hi Devs, I added the following dictionary to radius(3.0.8) by including it. VENDOR Anu 12345 BEGIN-VENDOR Anu # Value Format: group_attr1,group_attr2,... ATTRIBUTE Anu-Redirection-URL 23 string END-VENDOR Anu And tried to send that attribute in authentication response. update reply { Anu-Redirection-URL : = "http://www.google.com" } Following is the authentication response I got. eceived Access-Accept Id 181 from 192.168.56.6:1812 to 0.0.0.0:0 length 46 Attr-26.12345.23 = 0x6466647366 Here the attribute original name(Anu-Redirection-URL) is not visible and the value is also not the same, however in radius debug log I can see the correct attribute name & values. Am I doing something wrong here?. Appreciate your help on this. Regards, -- *Anuruddha Premalala (MIEEE)Mobile : +94710461070 <%2B94710461070>E-mail : anuruddhapremalal@gmail.com <anuruddhapremalal@gmail.com>web : www.anuruddha.org <http://www.anuruddha.org>Sri Lanka.*
On Oct 1, 2015, at 12:48 AM, Anuruddha Premalal <anuruddhapremalal@gmail.com> wrote:
Following is the authentication response I got.
eceived Access-Accept Id 181 from 192.168.56.6:1812 to 0.0.0.0:0 length 46 Attr-26.12345.23 = 0x6466647366
Yes, because you didn't update the dictionary on the machine which receives the Access-Accept. Dictionaries are local to each machine. Alan DeKok.
Hi Alan, Thanks for the reply. I was running radiusd in sudo mode and radclient in a non-sudo mode (Both are on the same machine). After running both in sudo mode resolved the issue. On Thu, Oct 1, 2015 at 9:17 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Oct 1, 2015, at 12:48 AM, Anuruddha Premalal < anuruddhapremalal@gmail.com> wrote:
Following is the authentication response I got.
eceived Access-Accept Id 181 from 192.168.56.6:1812 to 0.0.0.0:0 length 46 Attr-26.12345.23 = 0x6466647366
Yes, because you didn't update the dictionary on the machine which receives the Access-Accept.
Dictionaries are local to each machine.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
-- *Anuruddha Premalala (MIEEE)Mobile : +94710461070E-mail : anuruddhapremalal@gmail.com <anuruddhapremalal@gmail.com>web : www.anuruddha.org <http://www.anuruddha.org>Sri Lanka.*
participants (2)
-
Alan DeKok -
Anuruddha Premalal