LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   NTLM authentication. (https://www.linuxquestions.org/questions/linux-networking-3/ntlm-authentication-355641/)

TheRealDeal 08-21-2005 09:30 PM

NTLM authentication.
 
Hi all.

I have noticed a lot of posts regarding NTLM authentication with wget and proxies. The main problem being that if your proxy server is NTLM you can't get out using wget or emerge.

Is there anyone out there that knows NTLM enough to be able to help?

If you set your browser proxy you can get out to the internet no problem. However wget doesn't work.

There is an authentication package called ntlmaps which get be installed but I can't figure out how to set it up. The page doesn't give much info
http://ntlmaps.sourceforge.net/

If someone could please help that would be great.

Thanks alot.

Best Regards,
Craig

carl.waldbieser 08-23-2005 01:51 AM

Re: NTLM authentication.
 
Quote:

Originally posted by TheRealDeal
Hi all.

I have noticed a lot of posts regarding NTLM authentication with wget and proxies. The main problem being that if your proxy server is NTLM you can't get out using wget or emerge.

Is there anyone out there that knows NTLM enough to be able to help?

If you set your browser proxy you can get out to the internet no problem. However wget doesn't work.

There is an authentication package called ntlmaps which get be installed but I can't figure out how to set it up. The page doesn't give much info
http://ntlmaps.sourceforge.net/

If someone could please help that would be great.

Thanks alot.

Best Regards,
Craig

This is a python program that I have used for a similar purpose. You must have python installed (which is likely on Mac OS X or a modern Linux). For Windows, you may need to install python first.

Then you edit the config file and enter the login, domain, and password. You also set the proxt that this proxy will point to.
Finally, you run it with the command:
Code:

$ python main.py
(or whatever the main [.py] file is-- been a while, I forget).
It should start running and listening on a local port (like 5865). You set your wget proxy to use localhost:5865 instead of the normal proxy (I think you export HTTP_PROXY=http://localhost:5865).

TheRealDeal 08-23-2005 01:58 AM

Thanks alot.

I'll give it a go. :)

tsarlz 10-12-2006 10:07 AM

i carefully set evertying, but still it gives me 407 error.

carl.waldbieser 10-12-2006 08:36 PM

Quote:

Originally Posted by tsarlz
i carefully set evertying, but still it gives me 407 error.

The python program should generate a log. Anything in there give you any clues?


All times are GMT -5. The time now is 08:41 PM.