29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
|
# HG changeset patch
|
||
|
# User Petr Cerny <pcerny@novell.com>
|
||
|
# Parent 7308e4a7c1f769f4bbbc90870b849cadd99495a6
|
||
|
# Parent 3399aced682c232525633755ff79b37a0be75548
|
||
|
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
|
||
|
@@ -148,17 +148,17 @@ nsresult nsAuthSambaNTLM::SpawnNTLMAuthH
|
||
|
}
|
||
|
|
||
|
base::LaunchOptions options;
|
||
|
options.fds_to_remap.push_back(
|
||
|
std::pair{toChildPipeRead.get(), STDIN_FILENO});
|
||
|
options.fds_to_remap.push_back(
|
||
|
std::pair{fromChildPipeWrite.get(), STDOUT_FILENO});
|
||
|
|
||
|
- std::vector<std::string> argvVec{"ntlm_auth", "--helper-protocol",
|
||
|
+ std::vector<std::string> argvVec{"/usr/bin/ntlm_auth", "--helper-protocol",
|
||
|
"ntlmssp-client-1", "--use-cached-creds",
|
||
|
"--username", username};
|
||
|
|
||
|
auto result = base::LaunchApp(argvVec, std::move(options), &mChildPID);
|
||
|
if (result.isErr()) {
|
||
|
return NS_ERROR_FAILURE;
|
||
|
}
|
||
|
|