Red Hat Bugzilla – Bug 1473811
the dependency for ntlm module might be incorrect
Last modified: 2017-08-15 05:10:15 EDT
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):
Steps to Reproduce:
1. install only the following wine packages:
2. make sure samba-winbind-clients and samba-winbind-modules are NOT installed.
3. install samba-winbind-modules.i686
No error about missing ntlm_auth displayed.
Maybe wine should depend on samba-winbind-modules instead?
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.
What is an app that is requiring ntlm_auth?
(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.
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.
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?
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.