Description of problem: Using ldapsearch with the latest cyrus-sasl and cyrus-sasl-gssapi packages results in a segmentation fault Version-Release number of selected component (if applicable): cyrus-sasl.x86_64 0:2.1.25-2.fc18 cyrus-sasl-devel.x86_64 0:2.1.25-2.fc18 cyrus-sasl-gssapi.x86_64 0:2.1.25-2.fc18 cyrus-sasl-lib.i686 0:2.1.25-2.fc18 cyrus-sasl-lib.x86_64 0:2.1.25-2.fc18 cyrus-sasl-md5.x86_64 0:2.1.25-2.fc18 cyrus-sasl-plain.x86_64 0:2.1.25-2.fc18 How reproducible: Always Steps to Reproduce: 1. Install Fedora 18 2. Upgrade to 0:2.1.25-2 packages 3. Try to do an ldapsearch using gssapi Actual results: query results in segmentation fault Expected results: query completes successfully Additional info: Downgrading: cyrus-sasl.x86_64 0:2.1.25-2.fc18 cyrus-sasl-devel.x86_64 0:2.1.25-2.fc18 cyrus-sasl-gssapi.x86_64 0:2.1.25-2.fc18 cyrus-sasl-lib.i686 0:2.1.25-2.fc18 cyrus-sasl-lib.x86_64 0:2.1.25-2.fc18 cyrus-sasl-md5.x86_64 0:2.1.25-2.fc18 cyrus-sasl-plain.x86_64 0:2.1.25-2.fc18 To: cyrus-sasl.x86_64 0:2.1.23-36.fc18 cyrus-sasl-devel.x86_64 0:2.1.23-36.fc18 cyrus-sasl-gssapi.x86_64 0:2.1.23-36.fc18 cyrus-sasl-lib.i686 0:2.1.23-36.fc18 cyrus-sasl-lib.x86_64 0:2.1.23-36.fc18 cyrus-sasl-md5.x86_64 0:2.1.23-36.fc18 cyrus-sasl-plain.x86_64 0:2.1.23-36.fc18 results in searches working as expected again.
Could you provide a core dump and/or full backtrace?
Created attachment 663044 [details] abrt output of cyrus-sasl-gssapi crash in sasl_gss_encode()
This Cyrus bug report may be relevant: https://bugzilla.cyrusimap.org/show_bug.cgi?id=3445 I'm seeing the same behaviour here when SSSD tries to do an ldap_sasl_bind() to our Win2K8 R2 AD DC. Downgrading as outlined above fixed the issue for me as well. Attaching ABRT output including a coredump and backtrace.
Yes, this is relevant to the Cyrus bug. At the same time, I overlooked two constants change in header files. Due to this change, openldap and maybe two other projects need to be rebuilt. So I've unpushed cyrus-sasl-2.1.25-2 from F18. I'll push 2.1.26 to Rawhide soon and I'll send an announce to the other project maintainers that rebuild is needed. Thanks for investigation.
cyrus-sasl-2.1.25-2.fc18 was unpushed from Fedora releases.