[OpenSIPS-Users] radius_www_authorize not registered?
Andrew Yager
andrew at rwts.com.au
Tue Nov 11 01:06:49 CET 2008
Hi,
I'm currently implementing Radius auth and am getting a parsing syntax
error.
Relevant lines are:
loadmodule "auth.so"
loadmodule "auth_db.so"
loadmodule "auth_radius.so"
[snip]
modparam("auth_radius", "radius_config", "/etc/radiusclient-ng/
radiusclient.conf")
[snip]
if (is_method("REGISTER"))
{
# authenticate the REGISTER requests (uncomment to
enable auth)
if (!radius_www_authorize("", "subscriber")) {
www_challenge("", "0");
and the error is:
Nov 11 11:06:16 [22568] CRITICAL:core:yyerror: parse error in config
file, line 368, column 35-36: unknown command, missing loadmodule?
Nov 11 11:06:16 [22568] ERROR:core:main: bad config file (1 errors)
which corresponds with the radius_www_authorize message.
Does anyone have any suggestions?
Thanks,
Andrew
--
Andrew Yager, Managing Director (MACS BCompSc MCP)
Real World Technology Solutions Pty Ltd
ph: 1300 798 718 or (02) 9037 0500
fax: (02) 9037 0591 mob: 0405 152 568
http://www.rwts.com.au/ or http://www.stonebridgecomputing.com.au/
More information about the Users
mailing list