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