[Bug 137418] Re: add ntlm (MS) proxy support (wishlist)
Ubuntu Foundation's Bug Bot
137418 at bugs.launchpad.net
Thu May 31 12:21:42 UTC 2012
The attachment "Fix NTLM proxy authentication for https destination
urls" of this bug report has been identified as being a patch. The
ubuntu-reviewers team has been subscribed to the bug report so that they
can review the patch. In the event that this is in fact not a patch you
can resolve this situation by removing the tag 'patch' from the bug
report and editing the attachment so that it is not flagged as a patch.
Additionally, if you are member of the ubuntu-reviewers team please also
unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by
Brian Murray. Please contact him regarding any issues with the action
taken in this bug report.]
** Tags added: patch
--
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:
Confirmed
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