segmentation fault bug with mysql5 backend

liran tal liransgarage at gmail.com
Thu Sep 14 15:47:14 CEST 2006


  Debian Unstable kernel 2.6.17-2-686
  Package: freeradius-mysql freeradius
  Version: 1.1.3-1

  I've configured freeradius with a mysql backend using the gz'iped
mysql.sql schema found on
  /usr/share/doc/freeradius/examples/

  When I run a simple test with radtest I'm getting segmentation fault.
  Here's the log from /usr/sbin/freeradius -X when the radtest packet is
sent:



 rad_recv: Access-Request packet from host 127.0.0.1:1046, id=25, length=57
        User-Name = "admin"
        User-Password = "admin"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 1812
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  modcall[authorize]: module "chap" returns noop for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
    rlm_realm: No '@' in User-Name = "admin", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 0
    users: Matched entry DEFAULT at line 152
  modcall[authorize]: module "files" returns ok for request 0
radius_xlat:  'admin'
rlm_sql (sql): sql_set_user escaped user --> 'admin'
radius_xlat:  'SELECT id, UserName, Attribute, Value, op           FROM
radcheck           WHERE Username = 'admin'           ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 4
Segmentation fault
server:/etc/freeradius#




 Never encountered in this bug before.



 Thanks,
 Liran Tal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060914/b9953a48/attachment.html>


More information about the Freeradius-Users mailing list