Hi,

> Maybe try an strace or gdb w/ breakpoint.
>
> Is there any possibility you're pulling an attribute of >253 bytes
> from the database, which might be stomping the stack? IIRC rlm_sql
> should prevent that itself, but maybe there are holes in the code.

Good idea, but that wasn't it... A mix of "D'oh" and insufficient input
checks by FR.

My mistake was that my table had 4 columns - which contained all the
value I cared for, but FreeRADIUS expects 5 - an "id" column as first.
It also expects this first column to be the row denomination integer,
but it got a string from me.

I fixed my schema/view and things work just fine now. But: how about a
sanity check for SQL along with a more adequate error message?

Greetings,

Stefan Winter

-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la 
Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473


Attachment: signature.asc
Description: OpenPGP digital signature

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to