Re: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
Hi, Thanks for replying. I already enabled sql in sites-enabled/default in accounting and authorize section and even in sessions section as well, which is optional, but unfortunately radius is unable to connect with MySQL. Even I can access the MySQL using radius credentials. Kindly advise me what other method radius connection with MySQL.
Date: Thu, 15 Apr 2010 08:59:43 -0400 From: John Dennis <jdennis@redhat.com> Subject: Re: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Cc: Ahmed Munir <ahmedmunir007@gmail.com> Message-ID: <4BC70DBF.90707@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed
On 04/15/2010 01:13 AM, Ahmed Munir wrote:
Hi,
I installed latest version of it and followed the steps as mentioned in the website: http://wiki.freeradius.org/SQL_HOWTO.
After configuring basic setup I'm facing i.e. No authenticate method (Auth-Type) configuration found for the request: Rejecting the user when I run radtest I'm facing error as listed below;
It is further to be added that I'm facing this error when I configure FreeRadius with MySQL, but working fine when using "users" file. I even configure sql.conf and configure mysql parameters, include sql in radius.conf and on sites-available/default I enabled sql on account and authorize section as steps mentioned in website above.
I don't think you've enabled the SQL module or MySQL, I don't see either anywhere in the instantiate part of the log. I do see you're including /usr/local/etc/raddb/sql.conf. Is sql uncommented (e.g. enabled) in /usr/local/etc/raddb/sites-enabled/default? It isn't by default.
Because as I
pass radius credentials, I can connect to MySQL. Is there other way to check radius connection with MySQL?
Note: Firewall and SELinux has been disabled on my machine.
Please advise how can I resolve this issue.
-- John Dennis <jdennis@redhat.com>
Looking to carve out IT costs? www.redhat.com/carveoutcosts/
-- Regards, Ahmed Munir
Ahmed Munir wrote:
Thanks for replying. I already enabled sql in sites-enabled/default in accounting and authorize section and even in sessions section as well, which is optional, but unfortunately radius is unable to connect with MySQL.
Can you post the error, or is it a secret? If there is no error, then FreeRADIUS *isn't* trying to connect to MySQL, and you didn't edit the right files. When the word "sql" appears in the debug output, it means that the server is trying to use the SQL module. Alan DeKok.
On 04/16/2010 01:24 AM, Ahmed Munir wrote:
Hi,
Thanks for replying. I already enabled sql in sites-enabled/default in accounting and authorize section and even in sessions section as well, which is optional, but unfortunately radius is unable to connect with MySQL. Even I can access the MySQL using radius credentials.
Sorry, but you haven't enabled sql or mysql, it's not in the debug output you posted. It would say so if it was. You would see lines like this in your debug output: Module: Linked to module rlm_sql Module: Instantiating sql rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked I see no such in your debug output.
Kindly advise me what other method radius connection with MySQL.
There is no other way, you have to enable it *and* it has to be available. Are you sure you're editing the right files? I noticed from your debug ouput that your config files are located under /usr/local/etc/raddb. That only happens when you build the server yourself. If you've got a pre-built version the config files are usually under /etc/raddb. If you have both a locally built version and a pre-built version installed you have to be *very* careful as to which one you're working with. If you built the server yourself did you have all the necessary SQL development libraries and headers installed? Does your build log show you actually compiled rlm_sql and rlm_mysql? -- John Dennis <jdennis@redhat.com> Looking to carve out IT costs? www.redhat.com/carveoutcosts/
participants (3)
-
Ahmed Munir -
Alan DeKok -
John Dennis