Hide Forgot
Created attachment 1114125 [details] replaces broken yp-tools-2.12-adjunct.patch Description of problem: When using passwd.adjunct map, yppasswd command fails with "crypt() failed" error, since it tries to use the "##user" string as salt. There's a patch, yp-tools-2.12-adjunct.patch, that attempts to fix this, but it gets it wrong. Version-Release number of selected component (if applicable): yp-tools-2.14-5 in Fedora 23, but also yp-tools-2.14-3.el7 in RHEL 7, and possibly other Fedora versions. How reproducible: Consistently fails when using passwd.adjunct. Steps to Reproduce: 1. Set up passwd.adjunct map on NIS server 2. Run yppasswd command on NIS client (F23 or RHEL7) 3. Enter passwords when prompted Actual results: "crypt() failed" error in response to new passwords Expected results: Should accept password without checking against "##user" string, and generate correct salt before calling crypt() Additional info: yp-tools-2.12-adjunct-fix.patch (attached) fixes problem. Use it instead of broken yp-tools-2.12-adjunct.patch file in src.rpm.
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This bug still exists in RHEL7, and most likely in newer Fedora releases.
Thanks for the report. I pushed the patch into rawhide and F25.
yp-tools-2.14-7.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-95199a6ea4
yp-tools-2.14-7.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-95199a6ea4
Any plans to make this update available for RHEL7?
I have cloned the bug for RHEL7. I would like to point out, however, that we are not able to guarantee the timeliness or suitability of a resolution. If this issue is critical or in any way time sensitive, please raise a ticket through the regular Red Hat support channels to ensure it receives the proper attention and prioritization to assure a timely resolution.
yp-tools-2.14-7.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.