Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2007 10:46:03 GMT
From:      Christian<lists@nerdbynature.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/112652: radiusd exited on signal 10 when used with sql authorization
Message-ID:  <200705141046.l4EAk3U5056681@www.freebsd.org>
Resent-Message-ID: <200705141100.l4EB0AGY030864@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112652
>Category:       kern
>Synopsis:       radiusd exited on signal 10 when used with sql authorization
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 14 11:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Christian
>Release:        6.1-STABLE
>Organization:
>Environment:
reeBSD host 6.1-STABLE FreeBSD 6.1-STABLE #4: Thu May 11 17:48:43 CEST 2006  root@host:/usr/obj/usr/src/sys/bsd6-7  amd64
>Description:
[this is my first PR for FreeBSD, so please bear with me if I missed something]

I've set up a FreeRadius server on this amd64 machine wich is running just fine using flat files ("users") to do the authorization. Now I wanted to switch to a mysql backend (I've chosen "ldap" and "mysql" when I did "make" in the portsdir). 
Radiusd starts just fine:

Info: rlm_eap_tls: Loading the certificate file as a chain
Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Info: rlm_sql (sql): Attempting to connect to root@localhost:/conusrdb
Info: rlm_sql_mysql: Starting connect to MySQL server for #0
Info: rlm_sql_mysql: Starting connect to MySQL server for #1
Info: rlm_sql_mysql: Starting connect to MySQL server for #2
Info: rlm_sql_mysql: Starting connect to MySQL server for #3
Info: rlm_sql_mysql: Starting connect to MySQL server for #4
Info: Ready to process requests.

But when it receives an auth-request id dies with:

kernel: pid 48382 (radiusd), uid 30323: exited on signal 10

(that's why I've chosen "kern" for "Category" of this PR)


>How-To-Repeat:
enable "sql" in radiusd.conf:

authorize {
   ...
   sql
}

Have the NAS (Network Access Server, in my case a Netgear Wireless AP) send an Auth-Request to the AAA (radius server) and watch it die with:

kernel: pid 48382 (radiusd), uid 30323: exited on signal 10

Please see more details (incl. ktrace) here: http://nerdbynature.de/bits/radiusd/
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705141046.l4EAk3U5056681>