Bug 1473811

Summary: the dependency for ntlm module might be incorrect
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: wineAssignee: Andreas Bierfert <andreas.bierfert>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: andreas.bierfert, besser82, mike, stefan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-30 17:50: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 Dominik 'Rathann' Mierzejewski 2017-07-21 17:54:46 UTC
Description of problem:
At the moment, wine depends on /usr/bin/ntlm_auth, but when only some i686 packages are installed and I get the

err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.

error, installing samba-winbind-modules.i686 makes it go away.

Version-Release number of selected component (if applicable):
wine-core-2.12-1.fc26.i686

How reproducible:
Always

Steps to Reproduce:
1. install only the following wine packages:
wine-alsa-2.12-1.fc26.i686
wine-arial-fonts-2.12-1.fc26.noarch
wine-common-2.12-1.fc26.noarch
wine-core-2.12-1.fc26.i686
wine-courier-fonts-2.12-1.fc26.noarch
wine-desktop-2.12-1.fc26.noarch
wine-filesystem-2.12-1.fc26.noarch
wine-fixedsys-fonts-2.12-1.fc26.noarch
wine-fonts-2.12-1.fc26.noarch
wine-marlett-fonts-2.12-1.fc26.noarch
wine-mono-4.7.0-1.fc26.noarch
wine-ms-sans-serif-fonts-2.12-1.fc26.noarch
wine-pulseaudio-2.12-1.fc26.i686
wine-small-fonts-2.12-1.fc26.noarch
wine-symbol-fonts-2.12-1.fc26.noarch
wine-systemd-2.12-1.fc26.noarch
wine-system-fonts-2.12-1.fc26.noarch
wine-tahoma-fonts-2.12-1.fc26.noarch
wine-tahoma-fonts-system-2.12-1.fc26.noarch
wine-times-new-roman-fonts-2.12-1.fc26.noarch
wine-times-new-roman-fonts-system-2.12-1.fc26.noarch
wine-wingdings-fonts-2.12-1.fc26.noarch
wine-wingdings-fonts-system-2.12-1.fc26.noarch
2. make sure samba-winbind-clients and samba-winbind-modules are NOT installed.
3. install samba-winbind-modules.i686

Actual results:
No error about missing ntlm_auth displayed.

Expected results:
Maybe wine should depend on samba-winbind-modules instead?

Additional info:
There's something else wrong with the dependencies, because unless I run
dnf install samba-winbind-modules.i686 samba-libs.i686
explicitly, dnf tries to install some x86_64 packages (python2-talloc.x86_64 and  
samba-libs.x86_64) instead of their i686 counterparts.

Moreover, you could start using weak dependencies instead of hard Requires in the main wine package for non-essential wine components, at least on Fedora.

Comment 1 Michael Cronenworth 2017-07-24 13:45:10 UTC
What is an app that is requiring ntlm_auth?

Comment 2 Dominik 'Rathann' Mierzejewski 2017-07-25 20:05:32 UTC
(In reply to Michael Cronenworth from comment #1)
> What is an app that is requiring ntlm_auth?

I got the error about missing ntlm_auth when running winecfg, if that's what you're asking.

Comment 3 Michael Cronenworth 2017-07-25 23:08:16 UTC
Sorry. I should have read your OP more closely.

The ntlm_auth requires is correct. Wine does not link against samba -- it calls the ntlm_auth binary.

The Requires lives in the "wine" meta package and you never install it so the samba packages are never installed.

I'm on the fence about moving the Requires into wine-core. It is not a mandatory package, but weak dependencies would not help with this. I'll leave this but open for now but I may close it in the future.

Comment 4 Dominik 'Rathann' Mierzejewski 2017-07-26 17:54:24 UTC
How do you explain that the error message disappears if I install samba-winbind-modules ONLY, without samba-winbind-clients (which provide the /usr/bin/ntlm_auth binary), then?

Comment 5 Jan Kurik 2017-08-15 09:10:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 6 Ben Cotton 2018-11-27 18:30:32 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2018-11-30 17:50:45 UTC
Fedora 27 changed to end-of-life (EOL) status on 2018-11-30. Fedora 27 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.