|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: postfix-2.0.11 crashes during ldap_bind
From: Alexander Bergolth (leo
strike.wu-wien.ac.at)
Date: Sat Sep 27 2003 - 11:37:26 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Liviu Daia wrote:
> On 26 September 2003, Alexander Bergolth <leo
strike.wu-wien.ac.at>
> wrote:
>>When trying to send mail to a local recipient, local crashes when
>>calling ldap_bind in dict_ldap.c:211.
>
> Not a Postfix problem. The crash is in the SASL library:
> [...]
>>Program received signal SIGSEGV, Segmentation fault.
>>0x40076c44 in _sasl_ipfromstring () from /usr/lib/libsasl2.so.2
>>(gdb) bt
> [...]
> If SASL is also enabled in Postfix, you are witnessing the effects
> of the SASL re-entrance problem. The possible solutions are:
>
> (1) Compile OpenLDAP without SASL support, or link SASL statically;
> (2) Compile Postfix without SASL support, or link SASL statically;
> (3) Disable binds, and prey that this avoids the problem:
Thanks for your tips!
Is this a problem in the current Redhat Rawhide-RPMs? Or is the
reentrance problem fixed in cyrus-sasl-2.1.15? The "Requires"-sections
of Rawhide's openldap and postfix-RPMs indicate that both are not
statically linked against cyrus-sasl:
http://rpmfind.net//linux/RPM/rawhide/1.0/i386/RedHat/RPMS/openldap-2.1.22-6.i386.html
http://rpmfind.net//linux/RPM/rawhide/1.0/i386/RedHat/RPMS/postfix-2.0.11-5.i386.html
I've checked the dependencies on my Redhat 9 system too, using
postfix-1.1.12-1, openldap-2.0.27-8 and cyrus-sasl-2.1.10-4. The same
picture, both openldap and postfix are dynamically linked against sasl:
> ldd /usr/lib/libldap.so.2 | fgrep sasl
libsasl.so.7 => /usr/lib/libsasl.so.7 (0x4003f000)
> readelf -d /usr/libexec/postfix/local | fgrep sasl
0x00000001 (NEEDED) Shared library: [libsasl.so.7]
Why doesn't the problem exist on RH9 too?
Cheers,
--leo
--
-----------------------------------------------------------------------
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 ]