Hello,

We are getting this segmentation fault with freeradius v0.8.

We use ldap for authorisation, and kerberos for authentication, two
Windows 2000 AD servers (both for Ldap and kerberos).

The seg fault occurs while we restart any one of the servers, it use to
work fine with version v0.7.1.

Gdb output:
rlm_ldap: checking if remote access for chandra is allowed by
radiusNPAllowDialin
rlm_ldap: looking for check items in directory...
rlm_ldap: Adding radiusNASPortType as NAS-Port-Type, value Async & op=21
rlm_ldap: looking for reply items in directory...
  huntgroups: Matched wellington at 48
rlm_ldap: user chandra authorized to use remote access
ldap_release_conn: Release Id: 0
  modcall[authorize]: module "ldap2" returns ok
modcall: group redundant returns ok
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type Kerberos
auth: type "Kerberos"
modcall: entering group authenticate
rlm_krb5: krb5 server princ name: radius2.mydomain.com
rlm_krb5: [chandra] krb5_mk_req() failed: Server not found in Kerberos
database

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 5126 (LWP 10940)]
0x40087d70 in pthread_mutex_lock () from /lib/libpthread.so.0

(gdb) backtrace
#0  0x40087d70 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x401046bb in free () from /lib/libc.so.6
#2  0x4020c207 in krb5_free_data_contents () from /usr/lib/libkrb5.so.3
#3  0x40024e87 in verify_krb5_tgt (context=0x80bc938, user=0x80ca25c
"chandra", ccache=0x80c83f0) at rlm_krb5.c:113
#4  0x400252ee in krb5_auth (instance=0x80b9f50, request=0x80c8360) at
rlm_krb5.c:243
#5  0x08054c6e in module_post_auth ()
#6  0x08054dc8 in modcall ()
#7  0x08054cbf in module_post_auth ()
#8  0x08054d83 in modcall ()
#9  0x080544e6 in find_module_instance ()
#10 0x080548f6 in module_authenticate ()
#11 0x08051d9a in rad_check_password ()
#12 0x080520ac in rad_authenticate ()
#13 0x0804d315 in rad_respond ()
#14 0x08056690 in radius_xlat ()
#15 0x40086fa5 in pthread_start_thread () from /lib/libpthread.so.0
#16 0x40086fed in pthread_start_thread_event () from
/lib/libpthread.so.0
(gdb)

I don't know how to use gdb very well.

Regards
Allister Maguire

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

Reply via email to