Hi, I remove # from below line of radius client dictionary then the ERROR go away.
VENDOR Cisco 9 ATTRIBUTE Cisco-AVPair 1 string Cisco # VSA, auth_radius
Thanks a lot, Duc Phi
Daniel-Constantin Mierla wrote:
Hello,
the issue seems to be cause by the move of an if before setting that attribute name.
Is your installation from packages or from sources?
If you have sources, the it is easier to try foolowing:
- open modules/auth_radius/authrad_mod.c
- locate mod_init function
- inside the function move following piece of code: vend = rc_dict_findvend(rh, "Cisco"); if (vend == NULL) { LM_DBG("no `Cisco' vendor in Radius dictionary\n"); attrs[A_CISCO_AVPAIR].n = NULL; }
before the line:
INIT_AV(rh, attrs, n, vals, V_MAX, "auth_radius", -5, -6);
Try this fix, compile, install, test and report if works ok.
Juha who is the developer and maintainer of this module can confirm if this fixes the issue and commit to svn.
Cheers, Daniel
On 03/04/2009 10:15 AM, Nguyen Duc Phi wrote:
Hi all, I compiled successful kamailio 1.5.0-notls, but when I execute it inform as the below. I think radius client dictionary missing attribute of Cisco but I don't know that attribute. Please help me ti fix it.
Mar 4 14:57:24 [18658] NOTICE:core:main: version: kamailio 1.5.0-notls (i386/linux) [root@sersipfone2 sbin]# Mar 4 14:57:24 [18658] ERROR:auth_radius:mod_init: auth_radius: can't get code for the Cisco-AVPair attribute Mar 4 14:57:24 [18658] ERROR:core:init_mod: failed to initialize module auth_radius Mar 4 14:57:24 [18658] ERROR:core:main: error while initializing modules
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users