Hide Forgot
Description of problem: When a configuration file has a typo (like missing colon in line "mech_list plain"), sasl library returns SASL_FAIL "generic failure" error. That error is too much generic, saying nothing what was wrong. It is requested to return some more specific error. Version-Release number of selected component (if applicable): any How reproducible: 100% Steps to Reproduce: 1. Introduce a typo in application's config. file. Particular example of the typo is line: mech_list plain that misses colon. 2. Run the application with that config.file, forcing it to initialise SASL library. 3. Check received output. Actual results: SASL_FAIL(-1): "generic failure" is returned. Expected results: Something more specific to be returned. I.e.: SASL_CONFIGERR(-29): "error when parsing configuration file" Additional info: internal RFE, patch to be proposed
Created attachment 516707 [details] Proposed patch
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. If you would like it considered as an exception in the current release, please ask your support representative.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. It has been proposed for the next release. If you would like it considered as an exception in the current release, please ask your support representative.
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
This issue should be fixed in upstream to maintain compatibility. In Fedora it is fixed since 2013: http://pkgs.fedoraproject.org/cgit/cyrus-sasl.git/commit/?id=21e60e40c23f562c8382820d13aed6e6b8f90b05 but this is applicable for RHEL systems I will propose it to upstream and refer back with results. Looks like running into configuration issue is pretty common here.
This patch was finally fixed upstream in https://cgit.cyrus.foundation/cyrus-sasl/commit/?id=740d6cf9a58d597e6e15d970eaa105650ada6f99 so if we will update cyrus-sasl, we can also fix this one.
When Red Hat shipped 6.8 on May 10, 2016 RHEL 6 entered Production Phase 2. https://access.redhat.com/support/policy/updates/errata#Production_2_Phase That means only "Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released". Additionally, this issue has been resolved in Red Hat Enterprise Linux 7 which is still in Production Phase 1. Please consider upgrading to RHEL 7 where less than critical bugs, hardware enablement and feature requests can be addressed. Please re-open this Bugzilla if it is production impacting and critical for the customer and provide a thorough business justification.