Bug 446347
| Summary: | openser-acc_radius - not found in module <acc> | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Simon J Xuereb <sjxuereb> | ||||||||||||||
| Component: | openser | Assignee: | Peter Lemenkov <lemenkov> | ||||||||||||||
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||
| Severity: | high | Docs Contact: | |||||||||||||||
| Priority: | low | ||||||||||||||||
| Version: | 8 | CC: | ondrejj | ||||||||||||||
| Target Milestone: | --- | ||||||||||||||||
| Target Release: | --- | ||||||||||||||||
| Hardware: | i386 | ||||||||||||||||
| OS: | Linux | ||||||||||||||||
| Whiteboard: | |||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||
| Last Closed: | 2008-05-19 08:25:25 UTC | Type: | --- | ||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||
| Embargoed: | |||||||||||||||||
| Attachments: |
|
||||||||||||||||
If you using acc_radius module then you mustn't include acc module. Please, comment out loadmodule "acc.so" and repeat. When i comment #acc.so I get the following results. May 14 16:26:23 [22664] ERROR:acc:init_acc_rad: acc: can't get code for the Sip-Response-Code attribute May 14 16:26:23 [22664] ERROR:acc:mod_init: failed to init radius May 14 16:26:23 [22664] ERROR:core:init_mod: failed to initialize module acc May 14 16:26:23 [22664] ERROR:core:main: error while initializing modules I also upgraded to Fedora 9 now and still get the same results. Looks like you provided wrong radius-config. Created attachment 305656 [details]
openser configuration file
Created attachment 305657 [details]
openser dictionary
Created attachment 305659 [details]
radiusclient.conf
Hi I moved on from the issue above using attached dictionary.openser. However now during openser registration I am not seeing any incoming radius requests (totally blank )in /usr/sbin/radiusd -X my freeradius( localhost 1812,1813 ) + ldap was successfully tested using NTRadPing and my /etc/raddb/clients.conf should be ok for localhost. I have also noticed /usr/sbin/radclient is no longer present and /usr/sbin/radiusclient is found instead when installing radiusclient-ng. Attached are my 3 configuration files. Could radclient be the problem ? 10x for your help. Regards SJX Created attachment 305660 [details]
radiusclient.conf
Created attachment 305662 [details]
servers file
updated radiusclient.conf / servers file. 10x again SJX With attached dictionary file I've got the following errors: May 16 13:02:20 dev /usr/sbin/openser[32682]: INFO:acc:mod_init: initializing... May 16 13:02:20 dev /usr/sbin/openser[32682]: ERROR:acc:init_acc_rad: acc: can't get code for the User-Name attribute May 16 13:02:20 dev /usr/sbin/openser[32682]: ERROR:acc:mod_init: failed to init radius May 16 13:02:20 dev /usr/sbin/openser[32682]: ERROR:core:init_mod: failed to initialize module acc May 16 13:02:20 dev /usr/sbin/openser[32682]: ERROR:core:main: error while initializing modules Although your exact message wasn't tracked, looks like you provided incomplete dictionary. Created attachment 305664 [details]
Revised openser dictionary
Uncommented a few lines. It should work now.
10x
SJX
|
Description of problem: Installed using "yum install openser-acc_radius.i386" However parameters modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "radius_flag", 1) modparam("acc", "radius_missed_flag", 2) are giving errors example: May 14 11:40:48 [32394] ERROR:core:set_mod_param_regex: parameter <radius_config> not found in module <acc> I have also loaded module acc_radius.so and also tried parameters(just in case) modparam("acc_radius", "radius_config", "/etc/radiusclient-ng/radiusclient.conf") modparam("acc_radius", "radius_flag", 1) modparam("acc_radius", "radius_missed_flag", 2) module seems to be totally ignored. Version-Release number of selected component (if applicable): openser-acc_radius-1.3.1-2.fc8 How reproducible: Tried on 2 different Fedora 8 ( with all updates ) and reproduced the same results. Steps to Reproduce: loadmodule "acc_radius.so" loadmodule "acc.so" modparam("acc", "radius_config", "/etc/radiusclient-ng/radiusclient.conf") modparam("acc", "radius_flag", 1) modparam("acc", "radius_missed_flag", 2) Actual results: May 14 12:09:30 [32516] ERROR:core:set_mod_param_regex: parameter <radius_config> not found in module <acc> May 14 12:09:30 [32516] CRITICAL:core:yyerror: parse error in config file, line 54, column 20-21: Can't set module parameter May 14 12:09:30 [32516] ERROR:core:set_mod_param_regex: parameter <radius_flag> not found in module <acc> May 14 12:09:30 [32516] CRITICAL:core:yyerror: parse error in config file, line 55, column 19-20: Can't set module parameter May 14 12:09:30 [32516] ERROR:core:set_mod_param_regex: parameter <radius_missed_flag> not found in module <acc> May 14 12:09:30 [32516] CRITICAL:core:yyerror: parse error in config file, line 56, column 19-20: Can't set module parameter Expected results: Working normally. Additional info: I am not sure if the above error is actually a bug. But it seems the module is totally being ignored.