Ah! Thank you, you're a ledgend! That's exactly what it was..

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Tuesday, 8 February 2005 12:59 p.m.
To: freeradius-users@lists.freeradius.org
Subject: Re: FreeRadius Crashing! 

"Craig Spiers" <[EMAIL PROTECTED]> wrote:
> radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE
> STRCMP(Username, 'yvoyuhua') = 0 ORDER BY id'
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 8192 (LWP 8086)]
> 0x400ea8e1 in sql_userparse (first_pair=0xbfffc88c, row=0x818f690) at
> sql.c:359
> 359             if (((row[3][0] == '\'') ||

  row[3] is NULL.  i.e. The SELECT statement is silently NOT returning
all of the columns that were requested.

  Run the SELECT from an SQL command-line tool, and see what is
returned.  If only 2 rows are returned, then my suggestion is to
update the database with the required fields.

  Alan DeKok.

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




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

Reply via email to