Bug 1215631

Summary: FreeIPA trusts to AD configuration fails due to /usr/bin/net moved to samba-common-tools but the package is not required by samba
Product: [Fedora] Fedora Reporter: Alexander Bokovoy <abokovoy>
Component: sambaAssignee: Guenther Deschner <gdeschner>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: abokovoy, asn, gdeschner, jlayton, madam, pviktori, sbose, ssorce
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.2.1-6.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-30 11:39:45 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 Alexander Bokovoy 2015-04-27 11:09:12 UTC
Description of problem:
/usr/bin/net was moved to a separate package samba-common-tools to facilitate multiarch testing, but requires for the package were not added to samba-common. As result, packages that expected /usr/bin/net in samba-common don't work anymore.

In particular, FreeIPA expects /usr/bin/net to setup samba for AD trusts feature and requires samba-common package for that.

We can change FreeIPA to require samba-common but I suspect more users of /usr/bin/net could be caught unexpected, especially end users. /usr/bin/net is pretty standard tool to deal with samba.

I'd sugges we have requires to samba-common-tools in samba package.

Comment 1 Alexander Bokovoy 2015-04-27 11:33:55 UTC
I've added samba-common-tools dependency to samba and samba-client packages. In Rawhide only samba-client was missing the dependency so I added that too. Builds are following.

Comment 2 Fedora Update System 2015-04-27 12:32:49 UTC
samba-4.2.1-5.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/samba-4.2.1-5.fc22

Comment 3 Petr Viktorin (pviktori) 2015-04-27 13:16:00 UTC
Hello,
Another reason to split the Samba packages was to keep the Python 2 dependency out of samba-client. Did you check this change doesn't bring python back?

Comment 4 Alexander Bokovoy 2015-04-27 13:38:46 UTC
samba-common-tools depends on samba-libs which brings libpython2.7.so.1.0 back, right.

I'll update the package to avoid pulling it into samba-client, only into samba.

Comment 5 Alexander Bokovoy 2015-04-27 13:44:59 UTC
Submitted http://koji.fedoraproject.org/koji/taskinfo?taskID=9577400 with only samba depending on samba-common-tools, not samba-client.

Comment 6 Fedora Update System 2015-04-28 13:16:52 UTC
Package samba-4.2.1-6.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing samba-4.2.1-6.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7076/samba-4.2.1-6.fc22
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2015-04-30 11:39:45 UTC
samba-4.2.1-6.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.