Bug 1976824

Summary: python-ldap endian bug: ipa server SASL(-4): no mechanism available: No worthy mechs found (Unknown authentication method)
Product: [Fedora] Fedora Reporter: Christian Heimes <cheimes>
Component: python-ldapAssignee: Christian Heimes <cheimes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: abokovoy, caillon+fedoraproject, cheimes, pviktori, python-sig, rstrode, sandmann, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-28 10:52:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.