2011-06-01 08:05:09 +02:00
|
|
|
# HG changeset patch
|
|
|
|
# User Petr Cerny <pcerny@novell.com>
|
2012-02-01 14:37:15 +01:00
|
|
|
# Parent a843037ea4cee813a68dd529e7a503d1e40b81e4
|
2011-06-01 08:05:09 +02:00
|
|
|
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
|
|
|
|
@@ -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
|
|
|
|
};
|
|
|
|
|
2012-02-01 14:37:15 +01:00
|
|
|
bool isOK = SpawnIOChild(args, &mChildPID, &mFromChildFD, &mToChildFD);
|
2011-06-01 08:05:09 +02:00
|
|
|
if (!isOK)
|