Bug 709534
Summary: | Error pam_mysql | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Bruno <kidboy> | ||||||||
Component: | pam_mysql | Assignee: | Paul P Komkoff Jr <i> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | urgent | Docs Contact: | |||||||||
Priority: | unspecified | ||||||||||
Version: | 15 | CC: | baldur, i, manuel.wolfshant, ondrejj, tomboland | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | x86_64 | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | pam_mysql-0.7-0.12.rc1.fc15 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2011-07-04 18:51:43 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
Bruno
2011-05-31 22:11:09 UTC
Will try to fix this tomorrow. (In reply to comment #1) > Will try to fix this tomorrow. Ok, i thin the problem is in libmysqlclient version 1.8 This is a more widespread problem with more than one *_mysql.so module with the new libmysqlclient.so.18. The affected *_mysql.so's all are making the deprecated make_scrambled_password call. The f14 version of libmyclient.so (.16) allowed the call even though it was deprecated. The new version version (.18) does not. Any mysql module that is making the call is failing to load (like apache's mod_auth_mysql) or failing on use (like this one - pam_mysql.) This is pretty serious in that nobody can authenticate against a mySql database anywhere. I run almost strictly mySql-based virtual users, so my FTP and web server is pretty much toast until this is fixed. *** Bug 712132 has been marked as a duplicate of this bug. *** Look at https://bugzilla.redhat.com/show_bug.cgi?id=708287 for more details. There was a similar bug with PureFTP that was fixed in Beta. Created attachment 504018 [details]
Patch
Paul, please try to use this patch.
pam_mysql-0.7-0.12.rc1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/pam_mysql-0.7-0.12.rc1.fc15 Package pam_mysql-0.7-0.12.rc1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing pam_mysql-0.7-0.12.rc1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/pam_mysql-0.7-0.12.rc1.fc15 then log in and leave karma (feedback). pam_mysql-0.7-0.12.rc1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. Should be reopened. mysql-libs has stopped exporting my_make_scrambled_password. Therefore the package is broken on fedora 27 (and probably also fedora 26). Created attachment 1365552 [details]
changes for fedora 27 in spec file
This changes the spec file to apply a patch ("pam_mysql-my_make_scrambled_Password") to the code
Created attachment 1365555 [details]
add missing function in fedora 27 pam_mysql
This introduces a new function in Pam_mysql, which does the same as the original function in the mysql libs. As this function is not exported anymore, this is needed.
Works for me (TM) but is not backwards compatible
|