Hello, please help me with SQL integration

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Feb 27 22:30:43 CET 2014


On 27 Feb 2014, at 19:43, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:

> 
> On 27 Feb 2014, at 17:24, For Sinton <forsin at inbox.kg> wrote:
> 
>> sorry ... pressed enter
>> 
>> in output 
>> (0)   [sql] = notfound ---- ????
>> (0)  } #  authorize = notfound ---- ??
>> 
>> it's means that user was not found in DB ??
>> 
> 
> Yes. Though given you previous query, i'd expect COUNT(*) to at least return 0.
> 
> I know the rlm_sql module works for other drivers, i've used it very recently with PostgreSQL.
> 
> There's nothing obvious in the code to explain why it's not returning a result.
> 
> It may be incomplete error checking, i'll let you know what I find.

Nothing obvious... added a small amount of additional debugging which should tell us whether the client received a row but for some reason it wasn't available to the sql xlat code.

Can you pull and try again. If this shows no results were received then it's an issue with your MySQL server.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140227/c5c6c924/attachment.pgp>


More information about the Freeradius-Users mailing list