mozilla-ntlm-full-path.patch
author Wolfgang Rosenauer <wr@rosenauer.org>
Thu, 13 Dec 2018 16:31:34 +0100
branchfirefox64
changeset 1083 2f7023025374
parent 1033 51bfdd19b9e9
child 1085 87f893cf45b9
child 1090 554cd9503f75
permissions -rw-r--r--
reduced memory requirements and rely on memory limitations in parallelization updates for tier2 platforms regarding used toolchain and options

# HG changeset patch
# User Petr Cerny <pcerny@novell.com>
# Parent 7308e4a7c1f769f4bbbc90870b849cadd99495a6
# Parent  46dd9332e67440fb779e99a694a2bf0edf5c203e
Bug 634334 - call to the ntlm_auth helper fails

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