Install and Configure NTLMAPS to Access ISA Server
Pre-requisite
Python language interpreter version 1.5.2 or higher.
Getting NTLMAPS
Download the current stable version ntlmaps-0.9.9.0.1.tar.gz source file from ntlmaps.sourceforge.net
Install NTLMAPS
Run the command below to extract downloaded file to a target directory: -
tar xvfz ntlmaps-0.9.9.0.1.tar.gz -C /usr/local/bin
Run the command below to create a symbolic link: –
ln -s /usr/local/bin/ntlmaps-0.9.9.0.1 /usr/local/bin/ntlmaps
Run the command below to backup the NTLMAPS configuration file: -
cp -a /usr/local/bin/ntlmaps/server.cfg /usr/local/bin/ntlmaps/server.cfg-default
Run the command below to edit the NTLMAPS configuration file: -
vi /usr/local/bin/ntlmaps/server.cfg
Configure NTLMAPS
By default NTLMAPS listen on port 5865, you can change it to any port you preferred. I leave it as default. Remember to save the configuration file after modifying it as below (an example only):
-
LISTEN_PORT:5865
PARENT_PROXY:your.isa.server.name
PARENT_PROXY_PORT:your.isa.server.port
ALLOW_EXTERNAL_CLIENTS:1
FRIENDLY_IPS:your.client.ip1 your.client.ip2
NT_HOSTNAME:your.ntlmaps.server.name
NT_DOMAIN:your.domain
USER:your.nt.username
PASSWORD:your.nt.password
LM_PART:1
NT_PART:1
NTLM_FLAGS: 07820000
VIA RPM:
Ntlmmaps
http://ntlmaps.sourceforge.net/
rpm -Uvh ntlmaps-0.9.9.6-1.i386.rpm
rpm -ql ntlmaps
vim /etc/ntlmaps/server.cfgPARENT_PROXY:MS-Prosy_IP
PARENT_PROXY_PORT:MS-Proxy_Server_Port
NT_DOMAIN: windows_Domain_name
USER:proxy-user
PASSWORD: Proxy-user_Password
Yum
vim /etc/yum.conf
proxy=http://localhost:5865
Start ntlmaps:
/opt/ntlmaps/main.py &
NTLM authorization Proxy Server v0.9.9.6 Copyright (C) 2001-2005 by Dmitry Rozmanov, Darryl Dixon, and others. Now listening at <hostname> on port 5865
yum update
Wget
vi ~/.wgetrc
Add the following to the newly created file:
http_proxy=http://localhost:5865/
ftp_proxy=http://localhost:5865/
use_proxy=on
wait=15
OR use a export:
export http_proxy=http://127.0.0.1:5865
export http_proxy
Hope this Helps !
Wissem MEDIOUNI
wissem.jimdo.com
Wissem Mediouni Web Site
