LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-21-2005, 08:30 PM   #1
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Rep: Reputation: 30
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
 
Old 08-23-2005, 12:51 AM   #2
carl.waldbieser
Member
 
Registered: Jun 2005
Location: Pennsylvania
Distribution: Kubuntu
Posts: 197

Rep: Reputation: 32
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).
 
Old 08-23-2005, 12:58 AM   #3
TheRealDeal
Member
 
Registered: Jun 2003
Location: Central Coast, NSW, Australia
Distribution: Gentoo
Posts: 438

Original Poster
Rep: Reputation: 30
Thanks alot.

I'll give it a go.
 
Old 10-12-2006, 09:07 AM   #4
tsarlz
LQ Newbie
 
Registered: Aug 2005
Posts: 13

Rep: Reputation: 0
i carefully set evertying, but still it gives me 407 error.
 
Old 10-12-2006, 07:36 PM   #5
carl.waldbieser
Member
 
Registered: Jun 2005
Location: Pennsylvania
Distribution: Kubuntu
Posts: 197

Rep: Reputation: 32
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid and NTLM Authentication codedv Linux - Networking 5 07-16-2006 03:46 AM
daisy 1.3 cms with NTLM paul_mat Linux - Networking 0 10-03-2005 01:03 AM
Squid NTLM paul_mat Linux - Networking 2 09-15-2005 07:25 PM
squid.conf for NTLM paul_mat Linux - Networking 1 09-15-2005 07:21 PM
Squid and NTLM authorisation davebarnes Linux - Networking 6 11-11-2002 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration