| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
|
By Gold_Country at 2007-10-09 14:22
|
|
Distribution Notes:
Theoretically this guide should be useful for all distributions, assuming you are using a fairly modern one. This HOWTO was created using Ubuntu 6.10 Feisty, but as long as the dependencies exist on your system and you have access to a package manager (or work-a-like) that can handle .deb packages, it should work.
WARNING
This HOWTO has not been extensively tested. I have attempted to include some common pitfalls to installation, but they are by no means complete. Follow at your own risk.
HOW TO:
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?p=1546675&postcount=25
http://ubuntuforums.org/showpost.php?p=1546675&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:
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.
|
|
All times are GMT -5. The time now is 09:30 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|