LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-08-2007, 12:59 PM   #1
Gold_Country
LQ Newbie
 
Registered: Sep 2007
Posts: 11

Rep: Reputation: 0
HOWTO: Install and Configure NTLMaps for use with an ISA Proxy


Getting NTLMaps working under Ubuntu (6.10 and below). Installation blatantly plagiarized and sanitized from here:

http://michaelcarden.net/blog/index.php?p=58a
http://ubuntuforums.org/showpost.php...5&postcount=25
http://ubuntuforums.org/showpost.php...5&postcount=31


Step 1:

Download the package here:

http://packages.ubuntu.com/feisty/web/ntlmaps


Step 2:

Check your versions of 'debconf' and 'python'. 'Debconf' should be at least version .5 or the 2.0 virtual package. Python should be installed. 'python-support' should be at least 0.2, modern versions (e.g. <= 5.0) of Python include this.

Debconf has no handy '--version' option, so check your synaptic (or similar package manager GUI) for the version. 'Python --version' should work for your needs. Use this command to install your NTLMaps package:

Code:
dpkg --install <package name>

Step 3:

Configure the program:

[HTML]
Listen port: 5865
Parent Proxy: your.proxy.com
(e.g. enter the name or address of your proxy,
do not enter the port as "your.proxy.com:number"
as this will be taken care of in the next step)
Parent Proxy Port: port_number (usually 8080)
NT Windows Domain: domain_name (your domain)
NT Windows Username: user_name (the user name you will authenticate with)
NT Windows Password: password
(the password you will use to authenticate with the
ISA Proxy)
[/HTML]

If some or all of the configuration options aren't available directly after install, you'll need to manually reconfigure. This is a bug with some versions of NTLMaps.

The NTLMaps service should restart:

Code:
Stopping ntlmaps: ntlmaps.
Starting ntlmaps: ntlmaps.

Step 4:

If it installed properly you should be able to see it with these commands:

Code:
ps aux | grep ntl
And...

Code:
netstat -antpu | grep python
Which should return something like this:

Code:
root      8244  0.0  0.5   7772  5328 ?        Ss   09:03   0:00 /usr/bin/python /usr/lib/site-python/ntlmaps/main.py -c /etc/ntlmaps/server.cfg
And...

Code:
tcp        0      0 0.0.0.0:5865            0.0.0.0:*               LISTEN     8244/python
For each command respectively. Note: There is a bug that effects some of the installation files for Ubuntu and Debian. Simply reconfigure the package to get the program to function correctly:

Code:
sudo dpkg-reconfigure ntlmaps
Which will prompt you to re-enter the information in Step 3 and restart the service.


Step 5:

Create a file /etc/apt/apt.conf.d/proxy and input the following line:

Code:
Acquire::http::Proxy "http://127.0.0.1:5865/";
For older versions of apt-get see http://michaelcarden.net/blog/index.php?p=58a for an alternative configuration.


Step 6:

Reconfigure System->Preferences->"Network Proxy" to point to localhost:5865 with _no_ authentication. Also reconfigure your GUI Package managers similarly.

Make sure to restart your console and/or GUI package manager to apply the settings. You should now be able to communicate normally with your repositories.

Last edited by Gold_Country; 10-09-2007 at 01:21 PM. Reason: Added most updated version of NTLMaps
 
Old 10-09-2007, 12:56 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
This would go much better in our Tutorials section. Could you repost it there please, that way I can approve it and it will stay in it's own section for ever (!) and not get pushed down the forums and lost.

Thanks
 
Old 10-09-2007, 02:12 PM   #3
Gold_Country
LQ Newbie
 
Registered: Sep 2007
Posts: 11

Original Poster
Rep: Reputation: 0
Done.

I need to pad some apparently. ><

--Peter
 
Old 10-09-2007, 04:55 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
And approved!! Thanks.
 
  


Closed Thread



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
configure squid proxy with cc proxy as a parent proxy faisi Linux - Networking 1 08-10-2010 01:16 PM
configure squid proxy with microsoft proxy as a parent proxy nintykola Linux - Software 1 08-28-2007 01:38 AM
LXer: Howto install a content filtering and virus checking proxy (Part II) LXer Syndicated Linux News 0 05-13-2007 01:01 PM
LXer: Howto install a content filtering and virus checking proxy (Part I) LXer Syndicated Linux News 0 04-11-2007 11:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:25 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