Bug 1348899
| Summary: | samba-python: Import of samba.ntacls fails | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Uri Simchoni <urisimchoni> |
| Component: | samba | Assignee: | Guenther Deschner <gdeschner> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | abokovoy, asn, gdeschner, jarrpa, jlayton, lmohanty, madam, sbose, ssorce |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | samba-4.3.10-1.fc23 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-06 05:55:39 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: | |||
Thanks, working on a backport fix... samba-4.3.10-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f637b89dda samba-4.3.10-1.fc23 has been pushed to the Fedora 23 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-2016-f637b89dda samba-4.3.10-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When trying to use the samba python bindings, I fail to import samba.ntacls. The message I get is "ImportError: No module named xattr_native" Version-Release number of selected component (if applicable): samba-python-4.3.10-0.fc23.x86_64 How reproducible: always reproduces. Steps to Reproduce: $python Python 2.7.11 (default, Jun 13 2016, 14:40:32) [GCC 5.3.1 20160406 (Red Hat 5.3.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import samba.ntacls Actual results: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.7/site-packages/samba/ntacls.py", line 23, in <module> import samba.xattr_native, samba.xattr_tdb, samba.posix_eadb ImportError: No module named xattr_native Expected results: success - no output Additional info: With a built-from-source samba on FC23, this works by setting PYTHONPATH to <inst-dir>/lib64/python2.7/site-packages