equal
deleted
inserted
replaced
|
1 # HG changeset patch |
|
2 # User Petr Cerny <pcerny@novell.com> |
|
3 # Parent 971259052418fda3b7fc81da75be4557ea5d82bc |
|
4 Bug 634334 - call to the ntlm_auth helper fails |
|
5 |
|
6 diff --git a/extensions/auth/nsAuthSambaNTLM.cpp b/extensions/auth/nsAuthSambaNTLM.cpp |
|
7 --- a/extensions/auth/nsAuthSambaNTLM.cpp |
|
8 +++ b/extensions/auth/nsAuthSambaNTLM.cpp |
|
9 @@ -200,17 +200,17 @@ static PRUint8* ExtractMessage(const nsA |
|
10 nsresult |
|
11 nsAuthSambaNTLM::SpawnNTLMAuthHelper() |
|
12 { |
|
13 const char* username = PR_GetEnv("USER"); |
|
14 if (!username) |
|
15 return NS_ERROR_FAILURE; |
|
16 |
|
17 char* args[] = { |
|
18 - "ntlm_auth", |
|
19 + "/usr/bin/ntlm_auth", |
|
20 "--helper-protocol", "ntlmssp-client-1", |
|
21 "--use-cached-creds", |
|
22 "--username", const_cast<char*>(username), |
|
23 nsnull |
|
24 }; |
|
25 |
|
26 PRBool isOK = SpawnIOChild(args, &mChildPID, &mFromChildFD, &mToChildFD); |
|
27 if (!isOK) |