Bug 1976824 - python-ldap endian bug: ipa server SASL(-4): no mechanism available: No worthy mechs found (Unknown authentication method)
Summary: python-ldap endian bug: ipa server SASL(-4): no mechanism available: No worth...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-ldap
Version: 33
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christian Heimes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-28 10:28 UTC by Christian Heimes
Modified: 2021-07-07 01:42 UTC (History)
8 users (show)

Fixed In Version: python-ldap-3.3.1-6.fc35 python-ldap-3.3.1-2.fc33 python-ldap-3.3.1-5.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-28 10:52:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github python-ldap python-ldap pull 416 0 None open Fix SASL get/set options on big endian platforms 2021-06-28 10:28:07 UTC

Description Christian Heimes 2021-06-28 10:28:07 UTC
This bug was initially created as a copy of Bug #1931865

FreeIPA installation fails on big endian machines with error message:

ipa-server-install results in  ACIError: Insufficient access: SASL(-4): no mechanism available: No worthy mechs found (Unknown authentication method)


I am copying this bug because: 

Fedora builds of python-ldap are also affected by the endian bug in python-ldap.

Comment 1 Christian Heimes 2021-06-28 10:38:25 UTC
scratch build with new upstream tests and reproducer for endian bug but without fix: https://koji.fedoraproject.org/koji/taskinfo?taskID=70954037

scratch build with new tests and fixes: https://koji.fedoraproject.org/koji/taskinfo?taskID=70954771


Without the fix tests on s390x fail with error

======================================================================
FAIL: test006_sasl_options (t_ldapobject.Test00_SimpleLDAPObject)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python-ldap-3.3.1/Tests/t_ldapobject.py", line 514, in test006_sasl_options
    self.assertEqual(l.get_option(ldap.OPT_X_SASL_SSF_MIN), 56)
AssertionError: 0 != 56

Comment 2 Fedora Update System 2021-06-28 10:50:02 UTC
FEDORA-2021-610b9ccddd has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-610b9ccddd

Comment 3 Fedora Update System 2021-06-28 10:51:27 UTC
FEDORA-2021-4e2c075391 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4e2c075391

Comment 4 Fedora Update System 2021-06-28 10:51:28 UTC
FEDORA-2021-9a248cf987 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9a248cf987

Comment 5 Fedora Update System 2021-06-28 10:52:29 UTC
FEDORA-2021-610b9ccddd has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-06-29 01:31:10 UTC
FEDORA-2021-4e2c075391 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4e2c075391`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4e2c075391

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-06-29 02:09:36 UTC
FEDORA-2021-9a248cf987 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9a248cf987`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9a248cf987

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-07-07 01:04:08 UTC
FEDORA-2021-9a248cf987 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2021-07-07 01:42:04 UTC
FEDORA-2021-4e2c075391 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.