Bug 1778694

Summary: libtalloc 2.2.0 update breaks Samba's Python bindings: undefined symbol: pytalloc_reference_ex
Product: Red Hat Enterprise Linux 8 Reporter: Christian Heimes <cheimes>
Component: libtallocAssignee: Andreas Schneider <asn>
Status: CLOSED CURRENTRELEASE QA Contact: sssd-qe <sssd-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.2CC: asn, wchadwic
Target Milestone: rc   
Target Release: 8.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Release Note
Doc Text:
This will require a release note for Beta
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-06 09:34:53 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:
Bug Depends On:    
Bug Blocks: 1748987, 1754417    

Description Christian Heimes 2019-12-02 10:29:02 UTC
Description of problem:
The recent update of libtalloc to libtalloc-2.2.0-5.el8 breaks Samba's Python bindings. The samba Python package fails to import because the pytalloc_reference_ex symbol is missing.

The bug affects IPA's AD trust feature and prevents IPA to establish a trust with Active Directory.

Version-Release number of selected component (if applicable):
libtalloc-2.2.0-5.el8.x86_64
python3-samba-4.10.4-101.el8_1.x86_64
python3-talloc-2.2.0-5.el8.x86_64

How reproducible:
always

Steps to Reproduce:
# python3
Python 3.6.8 (default, Oct 29 2019, 14:26:23) 
[GCC 8.3.1 20190507 (Red Hat 8.3.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import samba

Actual results:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.6/site-packages/samba/__init__.py", line 29, in <module>
    import samba.param
ImportError: /usr/lib64/python3.6/site-packages/samba/param.cpython-36m-x86_64-linux-gnu.so: undefined symbol: pytalloc_reference_ex, version PYTALLOC_UTIL.PY3_2.1.5

Expected results:
No error

Additional info:

Comment 3 Andreas Schneider 2019-12-02 11:31:20 UTC
libtalloc, libtevent, libtdb, libldb, samba and sssd need to use side-tag gating. We set up rhel-8.2.0-samba-and-sssd-stack-gate as a tag for this. However there is a bug in samba packaging which needs to be fixed now (found by that side-tag gaging).

Trying to build new samba package for a new gating run.