ntlm_auth was not found or is outdated.

Questions about Wine on Linux
Locked
MatthewWai
Level 1
Level 1
Posts: 6
Joined: Mon Nov 14, 2022 5:16 am

ntlm_auth was not found or is outdated.

Post by MatthewWai »

I used Wine to run "Paint.NET64Portable.exe" and got the following error:

Code: Select all

Matthew_Wai@Desktop:~$ wine "/media/Matthew_Wai/HDD/Apps/Paint.NET64Portable.exe"
0009:err:ntlm:check_version Failed to get the helper version.
0009: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.
0009:err:winediag:load_gssapi_krb5 Failed to load libgssapi_krb5, Kerberos SSP support will not be available.
002b:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
Matthew_Wai@Desktop:~$ apt policy winbind
winbind:
  Installed: 2:4.9.5.31-1+dde
  Candidate: 2:4.9.5.31-1+dde
  Version table:
 *** 2:4.9.5.31-1+dde 500
        500 https://home-packages.chinauos.com/home plum/main amd64 Packages
        100 /usr/lib/dpkg-db/status
Matthew_Wai@Desktop:~$ 
I have already installed and reinstalled the "winbind" package, but the problem remains.
How can I fix the problem?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: ntlm_auth was not found or is outdated.

Post by jkfloris »

Wine checks the ntlm_auth version with:

Code: Select all

ntlm_auth --version
What does this command return?

(Please note that Paint.Net does not work well with Wine)
MatthewWai
Level 1
Level 1
Posts: 6
Joined: Mon Nov 14, 2022 5:16 am

Re: ntlm_auth was not found or is outdated.

Post by MatthewWai »

jkfloris wrote: Mon Nov 14, 2022 11:05 am

Code: Select all

ntlm_auth --version

Code: Select all

Matthew_Wai@Desktop:~$ ntlm_auth --version
Version 2:4.9.5.31-1+dde (UOS_Desktop_105*)
Matthew_Wai@Desktop:~$ 

invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: ntlm_auth was not found or is outdated.

Post by invisible kid »

Just a fellow user here.
Mine returns:

Code: Select all

Version 4.8.4
It looks like your version is recent enough. I wonder if is running into problems parsing/decoding your string?
MatthewWai
Level 1
Level 1
Posts: 6
Joined: Mon Nov 14, 2022 5:16 am

Re: ntlm_auth was not found or is outdated.

Post by MatthewWai »

invisible kid wrote: Tue Nov 15, 2022 8:07 amIt looks like your version is recent enough. I wonder if is running into problems parsing/decoding your string?
How can I check if the problem lies in parsing/decoding the string?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: ntlm_auth was not found or is outdated.

Post by jkfloris »

I wonder if is running into problems parsing/decoding your string?
That's right. When I look at the source code, it assumes that only dots are used between the numbers.

Please file a bug report.
Attach the output of ntlm_auth --version and
run the program with the ntlm debug channel and attach the output to your bug report.

Code: Select all

WINEDEBUG=+ntlm wine "/media/Matthew_Wai/HDD/Apps/Paint.NET64Portable.exe"
MatthewWai
Level 1
Level 1
Posts: 6
Joined: Mon Nov 14, 2022 5:16 am

Re: ntlm_auth was not found or is outdated.

Post by MatthewWai »

jkfloris wrote: Tue Nov 15, 2022 11:31 am

Code: Select all

WINEDEBUG=+ntlm wine "/media/Matthew_Wai/HDD/Apps/Paint.NET64Portable.exe"

Code: Select all

Matthew_Wai@Desktop:~$ WINEDEBUG=+ntlm wine "/media/Matthew_Wai/HDD/Apps/Paint.NET64Portable.exe"
0009:trace:ntlm:fork_helper "ntlm_auth" "ntlm_auth" "--version" 
0009:trace:ntlm:check_version Checking version of helper
0009:trace:ntlm:check_version Exact version is "Version 2:4.9.5.31-1+dde (UOS_Desktop_105*)"
0009:err:ntlm:check_version Failed to get the helper version.
0009: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.
0009:trace:ntlm:cleanup_helper Killing helper 0x15ac48
0009:err:winediag:load_gssapi_krb5 Failed to load libgssapi_krb5, Kerberos SSP support will not be available.
0009:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevationType, ...) semi-stub
002d:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"gcAllowVeryLargeObjects" in state 4
002d:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"generatePublisherEvidence" in state 4
002d:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"legacyCorruptedStateExceptionsPolicy" in state 4
002d:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"loadFromRemoteSources" in state 4
002d:fixme:mscoree:parse_startup useLegacyV2RuntimeActivationPolicy=L"true" not implemented
002d:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.6" not implemented
002d:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"appSettings" in state 2
002d:fixme:mscoree:ConfigFileHandler_startElement Unknown element L"add" in state 6
002d:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed
Matthew_Wai@Desktop:~$ 
What does it mean?
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: ntlm_auth was not found or is outdated.

Post by jkfloris »

Code: Select all

0009:trace:ntlm:fork_helper "ntlm_auth" "ntlm_auth" "--version" 
0009:trace:ntlm:check_version Checking version of helper
0009:trace:ntlm:check_version Exact version is "Version 2:4.9.5.31-1+dde (UOS_Desktop_105*)"
0009:err:ntlm:check_version Failed to get the helper version.
Wine can't parse your ntlm version.
Please file a bug.
MatthewWai
Level 1
Level 1
Posts: 6
Joined: Mon Nov 14, 2022 5:16 am

Re: ntlm_auth was not found or is outdated.

Post by MatthewWai »

jkfloris wrote: Tue Nov 15, 2022 11:31 am Please file a bug report.
Done as you said.
MatthewWai
Level 1
Level 1
Posts: 6
Joined: Mon Nov 14, 2022 5:16 am

Re: ntlm_auth was not found or is outdated.

Post by MatthewWai »

jkfloris wrote: Wed Nov 16, 2022 3:37 amPlease file a bug.
I just got the following response:
——————————————————————————————————————
We fail to parse the version number because we expect a Samba version like in this string:

'Version 4.13.13-Debian'

Your build has '2:' prepended to it for some reason:

'Version 2:4.9.5.31-1+dde (UOS_Desktop_105*)'

We should probably just drop the version check. I doubt anyone still wants to run Wine on a machine that doesn't have anything newer than 3.0.25, released May 14 2007.
——————————————————————————————————————
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: ntlm_auth was not found or is outdated.

Post by invisible kid »

So I don't know exactly how you get a fix. You can wait until it is fixed in a release, but if you keep your eye on the bug thread someone will post a patch before its fixed in release and you can build with the patch. It sounds like it might be just a patch to the "configure" script where they will delete a check. Either way, thanks for bringing it to attention.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: ntlm_auth was not found or is outdated.

Post by jkfloris »

Congratulations! The change was approved.
When Wine 7.22 comes out you will notice that your version of ntlm_auth is recognized.

Should you not be able to wait that long (I expect a week) you can also build Wine yourself.
Locked