The forum

Dreaded ntlm_auth

Author Replies
Socapex Friday 1 May 2015 at 8:24
SocapexAnonymous

I have smbup installed, path to ntlm_auth is bash_profile, version is good. POM doesn't seem to have the same path cause it can't see it?

I have also tried installing samba with macports, path OK, version OK, POM doesn't work.

How can I debug the wine path you use?


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.

ntlm_auth --version

Version 3.2.15

Edited by Socapex

Socapex Friday 1 May 2015 at 9:57
SocapexAnonymous

So, PlayOnMac isn't reading the correct path. For example, go in OSX terminal,

echo $PATH

Then in PlayOnMac, Configure -> Miscellaneous -> Open a shell

echo $PATH

They are different. Macports uses /opt/local/sbin and smbup /opt/local/bin.

Solution:

edit /Applications/PlayOnMac.app/Contents/MacOS/playonmac (its only a bash script).

Replace the first line: 

#!/bin/bash

with 

#!/bin/bash --login

Path should now reflect your operating system's one. Thank you to pango_ on IRC! :D

Quentin PÂRIS Friday 1 May 2015 at 23:32
Quentin PÂRISAnonymous

Interesting. It's going to be fixed for the next release

Ronin DUSETTE Saturday 2 May 2015 at 3:26
Ronin DUSETTE

OK. I added it to the wiki for the time being.

Please:
Post debug logs & full computer specs in first post
No private messages for general help, use the forums
Read the wiki, Report broken scripts
Socapex Tuesday 5 May 2015 at 19:49
SocapexAnonymous

Great! I am not sure using --login is necessarily the best though. I now have an error about strings, it may or may not be related. Please debug this. Instead, since the bash script sets its own path, you could simply add /opt/local/sbin (macports), /opt/local/bin (smbup) and /usr/local/Cellar (homebrew). Pretty much the standard ways of installing ntlm_auth on OSX.

Have a good day.

Quentin PÂRIS Tuesday 5 May 2015 at 21:27
Quentin PÂRISAnonymous

There is also a bundled component in PlayOnMac to install ntlm_auth for a given app ;)

Edited by Tinou

You are here: Index > PlayOnMac > Dreaded ntlm_auth

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com