Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2002 15:46:37 -0500
From:      "Robin P. Blanchard" <Robin_Blanchard@gactr.uga.edu>
To:        stable@freebsd.org
Subject:   cyrus question
Message-ID:  <3C585BAD.537E280E@gactr.uga.edu>

next in thread | raw e-mail | index | archive | help
i'm hoping someone can shed some light on this...

we've got the following ports sucessfully installed (4-5 STABLE as of
yesterday).

openldap-2.0.21
qmail-ldap2-with_tls-1.03.20011001a
cyrus-sasl-1.5.27_1
cyrus-imapd-2.0.16_2

1) a user can successfully authenticate via sasl (to ldap) and get
access to his mailbox (sasl/imap are LDAP aware).
2) qmail successfully accepts mail, does ldap lookups (and deliver to
maildirs)
3) cyrus deliver dumps core when called by qmail. this core dump is
owned by UID.GID in user's homedir (qmail properly looked up UID and GID
and passed it on to cyrus deliver).
4) cyrus deliver successfully delivers when run via command line as
root.
5) if user exists locally (/etc/passwd) #3 above does *NOT* dump core.


i went and built cyrus-imapd-2.0.16_2 and added "-g" to its CFLAGS to
get a debugged deliver binary. gdb doesn't seem to offer any useful
info:


# gdb /usr/local/cyrus/bin/deliver.debug /nfs/homes/nate/deliver.core 
GNU gdb 4.18
Copyright 1998 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 "i386-unknown-freebsd"...
(no debugging symbols found)...

warning: core file may not match specified executable file.
Core was generated by `deliver'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libsasl.so.8...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libssl.so.2...(no debugging symbols
found)...
done.
Reading symbols from /usr/lib/libcrypto.so.2...(no debugging symbols
found)...
done.
Reading symbols from /usr/local/lib/libdb3.so.2...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libkvm.so.2...(no debugging symbols
found)...
done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...
done.
Reading symbols from /usr/lib/libkrb.so.3...(no debugging symbols
found)...
done.
Reading symbols from /usr/lib/libcom_err.so.2...(no debugging symbols
found)...
done.
Reading symbols from /usr/lib/libpam.so.1...(no debugging symbols
found)...
done.
Reading symbols from /usr/local/lib/libldap.so.2...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/liblber.so.2...
(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
found)...
done.
#0  0x8049e65 in getsockname ()
(gdb) bt
#0  0x8049e65 in getsockname ()
#1  0x4f47 in ?? ()
#2  0x80498e1 in getsockname ()


-- 
------------------------------------
Robin P. Blanchard
IT Program Specialist
Georgia Center for Continuing Ed.
fon: 706.542.2404 fax: 706.542.6546
email: Robin_Blanchard@gactr.uga.edu
------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C585BAD.537E280E>