mozilla-ntlm-full-path.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Wed, 14 Sep 2011 09:11:27 +0200
branchmozilla-1.9.2
changeset 314 0103840bc431
parent 227 9f0ffc441295
permissions -rw-r--r--
add dbus-1-glib-devel to BuildRequires

# HG changeset patch
# User Petr Cerny <pcerny@novell.com>
# Parent 685ce8f9d8549783e9643907b9e95a3efda526f0

diff --git a/extensions/auth/nsAuthSambaNTLM.cpp b/extensions/auth/nsAuthSambaNTLM.cpp
--- a/extensions/auth/nsAuthSambaNTLM.cpp
+++ b/extensions/auth/nsAuthSambaNTLM.cpp
@@ -200,17 +200,17 @@ static PRUint8* ExtractMessage(const nsA
 nsresult
 nsAuthSambaNTLM::SpawnNTLMAuthHelper()
 {
     const char* username = PR_GetEnv("USER");
     if (!username)
         return NS_ERROR_FAILURE;
 
     char* args[] = {
-        "ntlm_auth",
+        "/usr/bin/ntlm_auth",
         "--helper-protocol", "ntlmssp-client-1",
         "--use-cached-creds",
         "--username", const_cast<char*>(username),
         nsnull
     };
 
     PRBool isOK = SpawnIOChild(args, &mChildPID, &mFromChildFD, &mToChildFD);
     if (!isOK)