Home > i.t. > [How-To]Ubuntu apt-get behind ISA Server with NT Authenticfation required

[How-To]Ubuntu apt-get behind ISA Server with NT Authenticfation required

December 12th, 2007

在公司里面,网络访问都是通过ISA Server的(Microsoft® Internet Security and Acceleration Server),在使用Windows的时候不会出现任何问题,可是前两天装了Ubuntu Linux,遇到了些问题。

我使用firefox访问网络没有问题,只需要设好代理服务器地址,浏览网站时输入相应的用户名和密码即可,但在console下面使用apt-get更新系统时有问题。

开始我觉得应该这样设置代理:
export http_proxy=http://domaindomainuser:password@proxy.corpnet.com:8080

可是总会出现这个错误:
407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. )

后来在网上搜索了一下,找到方法解决这个问题了:

Download ntlmaps-0.9.9.0.1 from here

$ tar -zxvf ntlmaps-0.9.9.0.1

$ vim ntlmaps-0.9.9.0.1/server.cfg

Edit PARENT_PROXY,PARENT_PROXY_PORT,USER,PASSWORD to match your preferences, then run main.py

$ ./ntlmaps-0.9.9.0.1/main.py &

$ export http_proxy=”http://127.0.0.1:5865

$ sudo apt-get update

Now, everything is OK.

reference: http://www.lupaworld.com/912/viewspace_2210.html

webflier i.t.

  1. January 7th, 2009 at 21:00 | #1

    company life bankers reliastar insurance reliastar company insurance life of

  2. January 29th, 2009 at 23:15 | #2

    Your post is quite interesting and useful. I have bookmarked it for later use to see what other great articles you post!

  1. No trackbacks yet.