[Bug 137418] Re: add ntlm (MS) proxy support (wishlist)

Julian Andres Klode juliank at ubuntu.com
Wed Aug 12 09:21:13 UTC 2015


We will not add support for NTLM proxies in APT.

** Changed in: apt (Ubuntu)
       Status: Confirmed => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/137418

Title:
  add ntlm (MS) proxy support (wishlist)

Status in apt package in Ubuntu:
  Opinion

Bug description:
  Binary package hint: apt

  I'm using Ubuntu Feisty Fawn 7.04 in my computer at work. The computer is behind a internet firewall (http://9.9.9.9:3128).
  The problems was:

  I have to log into the proxy server using a DOMAIN + username + server
  + port

  Ive tried to configure in this ways:
    - Menu : system > preferences > proxy
    - Synaptic: preferences > proxy server > proxy http [9.9.9.9 + 3128] + authentication [ DOMAIN\username + password]
    - Exporting the string http+proxy to the environment

  Nothing was working. In all cases, was returning: 407 Proxy
  Authentication Required

  But in last search, i found the package 
  http://packages.ubuntu.com/feisty/web/ntlmaps

  This is a local proxy that listen in a local port (in my case: 1080)
  that connects to proxy 9.9.9.9:3128 using NT authentication (DOMAIN +
  USER + PASSWORD)

  But after installing the package using the link above, i need to
  follow these steps:

  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  1 - Change the file /etc/ntlmaps/server.cfg using the following
  parameters:

  LISTEN_PORT: 1080
  PARENT_PROXY: 9.9.9.9
  PARENT_PROXY_PORT: 3128
  NT_DOMAIN: DOMAIN
  USER: myuser
  PASSWORD: mypasswsord

  #Note: NT_HOSTNAME is empty!

  2 - Change the file /usr/share/ntlmaps/main.py. The last parameter of
  the calling of function findConfigFileNameInArgv was changed:

  conf = config_ntlmaps.read_config(config_ntlmaps.findConfigFileNameInArgv(sys.argv, '/etc/ntlmaps/'))
  #note the fixed string '/etc/ntlmaps/'

  3 - Execute the following command in a terminal: 
  export http_proxy=127.0.0.1:1080

  4 - Execute another command to restart the ntlmaps server:
  /etc/init.d/ntlmaps stop
  /etc/init.d/ntlmaps restart

  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  Finally i could use my apt-get via terminal.

  Best regards!

  Marcelo Amorim Ferreira
  Uberlândia - Minas Gerais
  Brasil [<o>]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/137418/+subscriptions



More information about the foundations-bugs mailing list