[Date Prev][Date Next] [Chronological] [Thread] [Top]

Core dump when performing GSSAPI bind (ITS#1688)



Full_Name: Anthony Brock
Version: 2.0.XX HEAD
OS: Solaris 8
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (209.170.224.27)


With today's CVS (2002-03-25 7am PST) I am seeing the following when using
GSSAPI with MIT KRB 1.2.4 for authentication:

CLIENT SIDE:

# kinit -p abrock
Password for abrock@GEORGEFOX.EDU: 
# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: abrock@GEORGEFOX.EDU

Valid starting     Expires            Service principal
03/25/02 09:38:49  03/25/02 19:38:49  krbtgt/GEORGEFOX.EDU@GEORGEFOX.EDU


Kerberos 4 ticket cache: /tmp/tkt0
klist: You have no tickets cached
# ldapsearch -h testhost.georgefox.edu -x -b "" -s base -LLL
supportedSASLMechanisms
dn:
supportedSASLMechanisms: GSSAPI

# ldapsearch -h testhost.georgefox.edu -I -b "" -s base -LLL
supportedSASLMechanisms
SASL/GSSAPI authentication started
SASL Interaction
Please enter your authorization name: abrock
ldap_sasl_interactive_bind_s: Can't contact LDAP server (81)
# 

SERVER SIDE:

# /usr/local/libexec/slapd -f /usr/local/etc/openldap/slapd.conf -d -1 -h
"ldap://testhost.georgefox.edu/ ldaps://testhost.georgefox.edu/" >
/usr/local/etc/debug.txt 2>&1
Segmentation Fault - core dumped
# tail debug.txt
  0260:  58 07 57 67 fc b4 3f 29  e6 80 a9 b8 73 88 73 41   X.Wg..?)æ...s.sA  
  0270:  42 92 d1 82 c1 ef 8f                               B......           
ber_scanf fmt (}}) ber:
ber_dump: buf=0x00284088 ptr=0x00284317 end=0x00284317 len=0

>>> dnPrettyNormal: <>
<<< dnPrettyNormal: <>, <>
do_sasl_bind: dn () mech GSSAPI
conn=1 op=1 BIND dn="" method=163
==> sasl_bind: dn="" mech=GSSAPI datalen=627
# gdb /usr/local/libexec/slapd core
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.8"...(no debugging symbols
found)...
Core was generated by `/usr/local/libexec/slapd -f
/usr/local/etc/openldap/slapd.conf -d -1 -h ldap://'.
Program terminated with signal 9, Killed.
Reading symbols from /usr/lib/libpam.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpam.so.1
Reading symbols from /usr/local/lib/libgssapi_krb5.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libresolv.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/local/lib/libkrb5.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libkrb5.so.3
Reading symbols from /usr/local/lib/libk5crypto.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libk5crypto.so.3
Reading symbols from /usr/local/lib/libcom_err.so.3...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libcom_err.so.3
Reading symbols from /usr/lib/libgen.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/lib/libnsl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libdl.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libpthread.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libpthread.so.1
Reading symbols from /usr/lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librt.so.1
Reading symbols from /usr/lib/libc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libmp.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libaio.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libaio.so.1
Reading symbols from /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1...(no
debugging symbols found)...done.
Loaded symbols for /usr/platform/SUNW,Ultra-250/lib/libc_psr.so.1
Reading symbols from /usr/lib/libthread.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/sasl/libcrammd5.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/sasl/libcrammd5.so
Reading symbols from /usr/lib/sasl/libgssapiv2.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/sasl/libgssapiv2.so
Reading symbols from /usr/lib/sasl/libanonymous.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/sasl/libanonymous.so
Reading symbols from /usr/lib/sasl/libplain.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/sasl/libplain.so
Reading symbols from /usr/lib/sasl/liblogin.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/sasl/liblogin.so
#0  0xff29c3ec in ?? ()
(gdb) bt
#0  0xff29c3ec in ?? ()
#1  0xff29f108 in ?? ()
#2  0xff29f3c0 in ?? ()
#3  0xff27266c in ?? ()
#4  0xff2723f0 in ?? ()
#5  0xff341d4c in ?? ()
#6  0xff341f18 in ?? ()
#7  0xff348048 in ?? ()
#8  0xfee81164 in ?? ()
#9  0x000b49d0 in sasl_server_start ()
#10 0x0006e840 in slap_sasl_bind ()
#11 0x00051bc4 in do_bind ()
#12 0x0003c1f4 in connection_done ()
#13 0x0008eae4 in ldap_pvt_thread_pool_destroy ()
(gdb) quit
#