Hello, please help me with SQL integration

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


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.

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/e1fdac05/attachment-0001.pgp>


More information about the Freeradius-Users mailing list