|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
postfix-2.0.11 crashes during ldap_bind
From: Alexander Bergolth (leo
strike.wu-wien.ac.at)
Date: Fri Sep 26 2003 - 09:42:06 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi!
I'm experiencing some problems using postfix (postfix-2.0.11-5 source
rpm from redhat rawhide compiled on redhat 8.0 and redhat 9.0) with ldap
lookups.
When trying to send mail to a local recipient, local crashes when
calling ldap_bind in dict_ldap.c:211.
postfix-1.1.12 works without a problem using the same setup.
Do you have any hints? (Additional information is provided below...)
Thanks in advance,
--leo
P.S.:
My ldap-related preferences are:
alias_maps = hash:/etc/postfix/aliases, ldap:ldapaliases
ldapaliases_server_host = sambatest.intern.klbg.n.redcross.or.at
ldapaliases_server_port = 389
ldapaliases_search_base = ou=Users,dc=rk-klbg,dc=at
ldapaliases_query_filter = (&(objectClass=posixAccount)(|(mail=%s)(uid=%s)))
ldapaliases_result_attribute = rfc822MailMember,uid
ldapaliases_debuglevel = 3
GDB output follows:
Program received signal SIGSEGV, Segmentation fault.
0x40076c44 in _sasl_ipfromstring () from /usr/lib/libsasl2.so.2
(gdb) bt
#0 0x40076c44 in _sasl_ipfromstring () from /usr/lib/libsasl2.so.2
#1 0x40075ad6 in sasl_setprop () from /usr/lib/libsasl2.so.2
#2 0x4007505f in _sasl_conn_init () from /usr/lib/libsasl2.so.2
#3 0x40073cc5 in sasl_client_new () from /usr/lib/libsasl2.so.2
#4 0x4003b19c in ldap_int_sasl_open () from /usr/lib/libldap.so.2
#5 0x400354dc in ldap_int_open_connection () from /usr/lib/libldap.so.2
#6 0x4004547b in ldap_new_connection () from /usr/lib/libldap.so.2
#7 0x40034f51 in ldap_open_defconn () from /usr/lib/libldap.so.2
#8 0x400450ae in ldap_send_initial_request () from /usr/lib/libldap.so.2
#9 0x4003e0cc in ldap_sasl_bind () from /usr/lib/libldap.so.2
#10 0x4003ea7c in ldap_simple_bind () from /usr/lib/libldap.so.2
#11 0x40034e79 in ldap_bind () from /usr/lib/libldap.so.2
#12 0x08068da3 in dict_ldap_bind_st (dict_ldap=0x400577ac) at
dict_ldap.c:211
#13 0x08068fef in dict_ldap_connect (dict_ldap=0x8086558) at dict_ldap.c:360
#14 0x0806a585 in dict_ldap_open (ldapsource=0x80800bd "ldapaliases",
dummy=0, dict_flags=1074100140) at dict_ldap.c:1125
#15 0x0805d6b4 in dict_open3 (dict_type=0x80800b8 "ldap",
dict_name=0x80800bd "ldapaliases", open_flags=-7, dict_flags=-7) at
dict_open.c:280
#16 0x0805d649 in dict_open (dict_spec=0x807e8d3 "ldap:ldapaliases",
open_flags=-7, dict_flags=-7) at dict_open.c:261
#17 0x080549dc in maps_append (maps=0x80800bd, map_type_name=0x80800b8
"ldap", dict=0x807e8d3) at maps.c:154
#18 0x0805491e in maps_create (title=0xfffffff9 <Address 0xfffffff9 out
of bounds>, map_names=0x807e8d3 "ldap:ldapaliases", flags=-7) at maps.c:139
#19 0x0804cd1c in pre_init (unused_name=0xbfffff75 "local",
unused_argv=0xbfffecd4) at local.c:699
#20 0x0804fb7e in single_server_main (argc=134735224, argv=0xbfffecc4,
service=0x804cb30 <local_service>) at single_server.c:580
#21 0x0804cdfb in main (argc=-7, argv=0xfffffff9) at local.c:749
#22 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6
# rpm -q postfix openldap cyrus-sasl
postfix-2.0.11-5
openldap-2.0.27-8
cyrus-sasl-2.1.10-4
--
-----------------------------------------------------------------------
Alexander (Leo) Bergolth leo
leo.wu-wien.ac.at
WU-Wien - Zentrum fuer Informatikdienste http://leo.wu-wien.ac.at
Computers are like air conditioners -
they stop working properly when you open Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]