How to successfully update Ubuntu in the ad domain of the Windows environment

Source: Internet
Author: User
Keywords Where proxy server username password
Tags aliyun application company computer domain environment how to html

Because one of the company's SP projects needed to install a Linux computer, I volunteered to give the machine a http://www.aliyun.com/zixun/aggregation/13835.html ">ubuntu, because it used to be very handy." But this is revolutionary encountered a new problem, because the Linux system encountered Windows ISA Proxy server, domain username and password can not be used, Ubuntu update set up a very headache, I was installed with LiveCD, although the installation is over, Desktop with no problem, but this is a working machine, a lot of things, such as C library, input method, etc. are not installed in the default scope, so if you can not update, it is undoubtedly the Ubuntu and toys almost.

Yesterday came back a fierce search, there are really not know the friend encountered this problem, a variety of solutions almost only one. That is the need to use a proxy, but there is an exception to Firefox, using the domain below the username and password to be able to access the Internet, this can only say that Firefox this thing is too tough.

Below, how to update Ubuntu in the case of AD domain.

Tool Name: NTLM authorization Proxy Server v0.9.9
Download Address: http://ntlmaps.sourceforge.net/

Its rationale is to open a process similar to a proxy server (proxy-like) on the local machine, after which all proxy requests are converted to NT proxies and sent to the NT proxy server.

After downloading, perform
$ TAR-ZXVF ntlmaps-0.9.9

Find Server.cfg, modify it
[General]
listen_port:5865 # Native Listening port
parent_proxy:192.168.0.2 # ISA Server
PARENT_PROXY_PORT:8080 # ISA Server port
Parent_proxy_timeout:15
allow_external_clients:0
Friendly_ips:
url_log:0
Max_connection_backlog:5
[Client_header]
Accept:image/gif, Image/x-xbitmap, JPEG, Image/pjpeg, application/vnd.ms-excel, Application/msword, Application/vnd.ms-powerpoint, */*
user-agent:mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
[Ntlm_auth]
nt_hostname:192.168.0.2 # Host Name
Nt_domain:demo-domain # Field
user:test# ISA proxy username
password:test# ISA proxy Password
Lm_part:1
nt_part:0
ntlm_flags:06820000
ntlm_to_basic:0
[DEBUG]
debug:0
bin_debug:0
scr_debug:0
auth_debug:0

Save after configuration, start main.py:
# python main.py &

Then set the proxy address of the tool that needs to connect to the extranet is 127.0.0.1, the port is 5865, you can connect the extranet.

Using the new package management students, you can change the settings inside the proxy server, according to the above fill.

If you use apt Update, you need to perform
$ export http_proxy= "http://127.0.0.1:5865"

OK, Finish. Hope that these things can be Baidu or Google collection, so that more in the company ISA agent can not update the Ubuntu students to check.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.