Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1215631 - FreeIPA trusts to AD configuration fails due to /usr/bin/net moved to samba-common-tools but the package is not required by samba
Summary: FreeIPA trusts to AD configuration fails due to /usr/bin/net moved to samba-c...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-27 11:09 UTC by Alexander Bokovoy
Modified: 2015-04-30 11:39 UTC (History)
8 users (show)

Fixed In Version: samba-4.2.1-6.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-30 11:39:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 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.


Note You need to log in before you can comment on or make changes to this bug.