Use “cntlm” as proxy tunnel to overcome NTLM authorization from linuxBy neokrates, written on June 14, 2009 |
article |
- neokrates
- Email: uwarov@yahoo.com
- Website: http://www.thinkplexx.com
- Join date: 05-31-09
- Posts: 20
Which frameworks do you use to test your web frontend?
- We use no test automation (92%, 12 Votes)
- Selenium (8%, 1 Votes)
- Windmill (0%, 0 Votes)
- FITnesse (0%, 0 Votes)
- WebDriver (0%, 0 Votes)
- Watir (0%, 0 Votes)
- Canoo Webtest (0%, 0 Votes)
- Sahi (0%, 0 Votes)
- Other framework (0%, 0 Votes)
Total Voters: 13
Loading ...
The problem is: you are using Linux but also need the Windows Based authorization to access the Internet or other kind of resource.
Make a Tunnel
One way to solve it is to use the NTLM tunnel for Linux. It handles the NTLM authorization and lets you through. There are some versions available. In my experience, cntlm is much faster then more known sibling ntlmaps.
Here is one bash Script to start the NTLM Tunnel
Preconditions:
you have installed CNTLM. You can get it here: http://cntlm.sourceforge.net/ or use the package manager like “synaptic”. If installed, “CNTLM” command from your shell should work.
Don’t forget to substitute USER, DOMAIN, PASSWORD, PORT, NTLM_HOST and NTLM_PORT with your values. You should find out what is your user authorization in the windows domain.
#!/bin/bash USER="UwarovD" DOMAIN="do100a" PASSWORD="my_secret" PORT="3129" NTLM_HOST="10.2.50.75" NTLM_PORT="9090" echo echo "Einfaches script zum starten der NTLM tunnel" echo "USER= $USER" echo "DOMAIN= $DOMAIN" echo "PASSWORD= $PASSWORD" echo "PORT= $PORT" echo "NTLM_HOST= $NTLM_HOST" echo "NTLM_PORT= $NTLM_PORT" echo "Running: cntlm -g -v -u $USER@$DOMAIN -p $PASSWORD -l $PORT $NTLM_HOST:$NTLM_PORT" echo cntlm -g -v -u $USER@$DOMAIN -p $PASSWORD -l $PORT $NTLM_HOST:$NTLM_PORT
|
LEARN MORE (amazon bookstore)
|
|
TAGS
|
|
SOCIAL
|
|
INCOMING SEARCH TERMS
|

(2 votes, average: 4.5 out of 5)

















My apoogizes for the short review, but wanted to let you know I appreciate your blog and the information you provide. Their is some excellentinfo that have been written here. Where can I go to subscribe to the blog?
Like or Dislike:
0
0
Dear Anneliese,
thank you for the short but nice review
There are 3 icons on the left navigation side, for Atom, rss and rss2.
Or, here are the Feed url’s :
RSS : http://www.thinkplexx.com/feed/rss
RSS2 : http://www.thinkplexx.com/feed
ATOM : http://www.thinkplexx.com/feed/atom
Like or Dislike:
0
0