Using RavenDB with Pipelight + Silverlight (ntlm_auth was not found or is outdated)

Created by Sebastian Lackner on on 2013-12-08
Keywords:
Last updated by:
Sebastian Lackner on on 2014-01-20

Some Silverlight applications use NTLM authentication via HTTP to enforce access restrictions, like for example RavenDB, which does not work out of the box. Wine supports this method, but it needs the ntlm_auth program of the samba package to do a three way handshake with the webserver. It is therefore required to manually install this program to use such services. Most ditributions put this program in a package called winbind.

You can check if your Silverlight application uses NTLM authentication by starting the browser from a terminal and looking for the following message:

ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path

If this is the case simply install the winbind package and your problem should be solved. For Ubuntu/Debian just run:

sudo apt-get update
sudo apt-get install winbind

For RavenDB you additionally have to use the Windows version of wininet.dll, since the Wine implementation isn't working for this application. After reading the corresponding license in /usr/share/pipelight/licenses/ you can agree to it by running:

touch ~/.config/wine-wininet-installer.accept-license

It will be installed automatically after the next browser restart.