Bug 1674547 - Missing module samba.xattr_native in Python 3 Samba
Summary: Missing module samba.xattr_native in Python 3 Samba
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-11 15:39 UTC by Oliver Gutiérrez
Modified: 2019-03-12 21:44 UTC (History)
10 users (show)

Fixed In Version: samba-4.9.4-1.fc29 samba-4.8.9-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-14 01:58:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Oliver Gutiérrez 2019-02-11 15:39:17 UTC
Description of problem:
WHen trying to import ntacls module using Python3 samba module it throws an error because module samba.xattr_native is not present.


How reproducible:
Try to import the samba.ntacls module in python 3


Steps to Reproduce:

[oliver@rigel fc-admin]$ ipython3
Python 3.7.2 (default, Jan 16 2019, 19:49:22)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.

In [1]: import samba.ntacls
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-e61749b4f825> in <module>()
----> 1 import samba.ntacls

/usr/lib64/python3.7/site-packages/samba/ntacls.py in <module>()
     26 import shutil
     27
---> 28 import samba.xattr_native, samba.xattr_tdb, samba.posix_eadb
     29 from samba.samba3 import param as s3param
     30 from samba.dcerpc import security, xattr, idmap

ModuleNotFoundError: No module named 'samba.xattr_native'

Actual results:
Module fails to import

Expected results:
Module imported

Additional info:

[oliver@rigel fc-admin]$ dnf list installed | grep samba
python2-samba.x86_64                              2:4.9.4-0.fc29                         @updates
python2-samba-dc.x86_64                           2:4.9.4-0.fc29                         @updates
python3-samba.x86_64                              2:4.9.4-0.fc29                         @updates
python3-samba-dc.x86_64                           2:4.9.4-0.fc29                         @updates
samba.x86_64                                      2:4.9.4-0.fc29                         @updates
samba-client.x86_64                               2:4.9.4-0.fc29                         @updates
samba-client-libs.x86_64                          2:4.9.4-0.fc29                         @updates
samba-common.noarch                               2:4.9.4-0.fc29                         @updates
samba-common-libs.x86_64                          2:4.9.4-0.fc29                         @updates
samba-common-tools.x86_64                         2:4.9.4-0.fc29                         @updates
samba-dc.x86_64                                   2:4.9.4-0.fc29                         @updates
samba-dc-libs.x86_64                              2:4.9.4-0.fc29                         @updates
samba-libs.x86_64                                 2:4.9.4-0.fc29                         @updates
samba-winbind.x86_64                              2:4.9.4-0.fc29                         @updates
samba-winbind-clients.x86_64                      2:4.9.4-0.fc29                         @updates
samba-winbind-modules.x86_64                      2:4.9.4-0.fc29                         @updates

Comment 1 Oliver Gutiérrez 2019-02-11 22:14:01 UTC
We are working in last update and as soon as it is published we will normalize the building process.

Comment 2 Oliver Gutiérrez 2019-02-11 22:15:12 UTC
Forget about last message. Selected wrong bug window.

Comment 3 Guenther Deschner 2019-02-12 13:39:08 UTC
Correct, that module has been put into the wrong rpm. You can install "python3-samba-test" as a workaround but we'll make sure to move it to "python3-samba" in an update.

Comment 4 Oliver Gutiérrez 2019-02-12 14:45:24 UTC
Ok. I will install it.

Thank you Guenther.

Comment 5 Fedora Update System 2019-02-12 16:34:24 UTC
samba-4.9.4-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5790035711

Comment 6 Fedora Update System 2019-02-12 16:35:28 UTC
samba-4.8.9-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d70bc2e1c8

Comment 7 Fedora Update System 2019-02-12 20:26:26 UTC
samba-4.9.4-1.fc29 has been pushed to the Fedora 29 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-2019-5790035711

Comment 8 Fedora Update System 2019-02-13 06:00:59 UTC
samba-4.8.9-1.fc28 has been pushed to the Fedora 28 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-2019-d70bc2e1c8

Comment 9 Fedora Update System 2019-02-14 01:58:09 UTC
samba-4.9.4-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2019-03-12 21:44:08 UTC
samba-4.8.9-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, 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.