RE: Core dump when user is in group (msyql)

2002-04-09 Thread Veli-Matti Riepula

   Can you read 'doc/bugs', and post the relevant information to the
 list?


Damn, after a reboot and various other config changes the problem is away, I
cannot replay the event and I cannot tell after which action it disappeared.
I'll post the data if I run into it again.

Veli-Matti


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



Re: Core dump when user is in group (msyql)

2002-04-08 Thread Alan DeKok

Veli-Matti Riepula [EMAIL PROTECTED] wrote:
 I have a RH7.2 box running on standard kernel with FR 0.5 and mysql 3.23.40.
 When I try to authenticate a user that is mapped into any group in usergroup
 table, I get a core dump.

  Can you read 'doc/bugs', and post the relevant information to the
list?

  Alan DeKok.

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



Core dump when user is in group (msyql)

2002-04-07 Thread Veli-Matti Riepula

Hello,

I have a RH7.2 box running on standard kernel with FR 0.5 and mysql 3.23.40.
When I try to authenticate a user that is mapped into any group in usergroup
table, I get a core dump. If the user is not a part of any group, then
things are fine. The mysql table structure should be according to the schema
provided with FR0.5.

Anyone had the same problems?

--
modcall: entering group authorize
  modcall[authorize]: module preprocess returns ok
  modcall[authorize]: module suffix returns ok
radius_xlat:  'grp_a1'
sql_escape in:  'grp_a1'
sql_escape out:  'grp_a1'
sql_set_user:  escaped user -- 'grp_a1'
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE
Username = 'grp_a1' ORDER BY id'
rlm_sql: Reserving sql socket id: 4
radius_xlat:  'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupche
ck.Value,radgroupcheck.op  FROM radgroupcheck,usergroup WHERE
usergroup.Username = 'grp_a1' AND usergroup.GroupName =
radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat:  'SELECT id,UserName,Attribute,Value,op FROM radreply WHERE
Username = 'grp_a1' ORDER BY id'
radius_xlat:  'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgrouprep
ly.Value,radgroupreply.op  FROM radgroupreply,usergroup WHERE
usergroup.Username = 'grp_a1' AND usergroup.GroupName =
radgroupreply.GroupName ORDER BY radgroupreply.id'
Segmentation fault (core dumped)
-

Regards,
Veli-Matti Riepula


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