I'm running wine 1.1.4 and am having problems trying to run iexplore.exe from the command line.
I've installed the gecko engine already and even set the registry to look for the correct server pac file to automatically setup the proxy.
But this is where I'm stuck at where I actually need to authenticate for the proxy and I do see the 407 response for the request for authentication in the terminal window.
The question is how do I actually enter the username and password for authentication since there is no dialog box which pops up for me to do it? Is there a way to do it through the registry or some other way automatically would be even better.
Below is a partial snap of the error:
fixme:mshtml:HttpNegotiate_OnResponse (0x124b80)->(407 L"HTTP/1.1 407 Proxy Authentication Required\r\nProxy-Authenticate: NTLM\r\nProxy-Authenticate: BASIC .....
Wine automatic proxy authentication?
Re: Wine automatic proxy authentication?
Try this: http://wiki.winehq.org/FAQ#head-d582e2a ... 5621eb220fnuttello wrote:The question is how do I actually enter the username and password for authentication since there is no dialog box which pops up for me to do it? Is there a way to do it through the registry or some other way automatically would be even better.
Re: Wine automatic proxy authentication?
I looked over the information in the link, and didn't see anything about setting up authentication. I've searched all over the net, and can't seem to find the simple trick to provide a username and password so that I can be authenticated.vitamin wrote:Try this: http://wiki.winehq.org/FAQ#head-d582e2a ... 5621eb220f
Does anyone know the trick?
Re: Wine automatic proxy authentication?
You could install the native wininet.dll through the new & updated winetricks and see if that does the trick. savelinkas http://www.kegel.com/wine/winetricksghotir wrote:I looked over the information in the link, and didn't see anything about setting up authentication. I've searched all over the net, and can't seem to find the simple trick to provide a username and password so that I can be authenticated.vitamin wrote:Try this: http://wiki.winehq.org/FAQ#head-d582e2a ... 5621eb220f
Does anyone know the trick?
Re: Wine automatic proxy authentication?
It appears that winetricks attempts to download stuff from the internet, and I don't see a way to set my proxy for it. Since the problem is authentication through a proxy, I don't think this will help. Also it doesn't appear to be a problem with wininet.dll. The dll appears to be working fine, the problem is that I don't have a way to give it a username and password. In windows it gets that information through system calls. It might be trying to do that from my WINE as well, but my linux credentials don't have internet privileges. I need to use my windows domain credentials.Daemon wrote: You could install the native wininet.dll through the new & updated winetricks and see if that does the trick. savelinkas http://www.kegel.com/wine/winetricks
- FatButtLarry
- Level 3
- Posts: 70
- Joined: Sat Feb 23, 2008 1:08 pm
Wine automatic proxy authentication?
I assume you've tried "username:[email protected]" already.
I think you hit the nail on the head with NTLM. Since it uses windows
authentication, you might be stuck. If the proxy supports netbios,
you could try to map a network drive to it through the cmd.exe
interpreter.
I'm not sure if IETab for Firefox works in Wine or if it even can pass
in its proxy settings, but may be worth a try.
A quick search shows it probably doens't work:
http://www.mozdev.org/pipermail/ietab/2 ... 00074.html
Next idea possible the IEAK (IE admin kit). Looks like it can deploy
IE8 proxy settings, but no idea about IE6. I also don't know if the
kit itself is compatible with Wine.
Lastly, you've probably already stumbled upon this, but it has code
snippets. If you could get this to run in a wine compatible windows
language (vbscript, vb6?) then execute iexplore perhaps it would
retain the settings. A lot of work though for a missing dialog box.
-Tres
On Fri, Mar 6, 2009 at 4:28 PM, ghotir <[email protected]> wrote:
--
- [email protected]
I think you hit the nail on the head with NTLM. Since it uses windows
authentication, you might be stuck. If the proxy supports netbios,
you could try to map a network drive to it through the cmd.exe
interpreter.
I'm not sure if IETab for Firefox works in Wine or if it even can pass
in its proxy settings, but may be worth a try.
A quick search shows it probably doens't work:
http://www.mozdev.org/pipermail/ietab/2 ... 00074.html
Next idea possible the IEAK (IE admin kit). Looks like it can deploy
IE8 proxy settings, but no idea about IE6. I also don't know if the
kit itself is compatible with Wine.
Lastly, you've probably already stumbled upon this, but it has code
snippets. If you could get this to run in a wine compatible windows
language (vbscript, vb6?) then execute iexplore perhaps it would
retain the settings. A lot of work though for a missing dialog box.
-Tres
On Fri, Mar 6, 2009 at 4:28 PM, ghotir <[email protected]> wrote:
Daemon wrote:It appears that winetricks attempts to download stuff from the internet, and I don't see a way to set my proxy for it. Since the problem is authentication through a proxy, I don't think this will help. Also it doesn't appear to be a problem with wininet.dll. The dll appears to be working fine, the problem is that I don't have a way to give it a username and password. In windows it gets that information through system calls. It might be trying to do that from my WINE as well, but my linux credentials don't have internet privileges. I need to use my windows domain credentials.You could install the native wininet.dll through the new & updated winetricks and see if that does the trick. savelinkas http://www.kegel.com/wine/winetricks
--
- [email protected]
- FatButtLarry
- Level 3
- Posts: 70
- Joined: Sat Feb 23, 2008 1:08 pm
Wine automatic proxy authentication?
On Fri, Mar 6, 2009 at 7:17 PM, A. Tres Finocchiaro
<[email protected]> wrote:
http://msdn.microsoft.com/en-us/library ... S.85).aspx
--
- [email protected]
<[email protected]> wrote:
Sorry, forgot the last link:I assume you've tried "username:[email protected]" already.
I think you hit the nail on the head with NTLM. Since it uses windows
authentication, you might be stuck. If the proxy supports netbios,
you could try to map a network drive to it through the cmd.exe
interpreter.
I'm not sure if IETab for Firefox works in Wine or if it even can pass
in its proxy settings, but may be worth a try.
A quick search shows it probably doens't work:
http://www.mozdev.org/pipermail/ietab/2 ... 00074.html
Next idea possible the IEAK (IE admin kit). Looks like it can deploy
IE8 proxy settings, but no idea about IE6. I also don't know if the
kit itself is compatible with Wine.
Lastly, you've probably already stumbled upon this, but it has code
snippets. If you could get this to run in a wine compatible windows
language (vbscript, vb6?) then execute iexplore perhaps it would
retain the settings. A lot of work though for a missing dialog box.
-Tres
On Fri, Mar 6, 2009 at 4:28 PM, ghotir <[email protected]> wrote:Daemon wrote:It appears that winetricks attempts to download stuff from the internet, and I don't see a way to set my proxy for it. Since the problem is authentication through a proxy, I don't think this will help. Also it doesn't appear to be a problem with wininet.dll. The dll appears to be working fine, the problem is that I don't have a way to give it a username and password. In windows it gets that information through system calls. It might be trying to do that from my WINE as well, but my linux credentials don't have internet privileges. I need to use my windows domain credentials.You could install the native wininet.dll through the new & updated winetricks and see if that does the trick. savelinkas http://www.kegel.com/wine/winetricks
--
- [email protected]
http://msdn.microsoft.com/en-us/library ... S.85).aspx
--
- [email protected]