Hi, this bug prevents me from using ubuntu/debian from my workplace
where my employer uses a NTLM proxy authentication to reach the
internet, I had the same problem with fedora and its yum package
manager, in fedora they use curl to download http requests so adding
NTLM support was just a one-liner patch, see:

https://bugzilla.redhat.com/show_bug.cgi?id=769254#c3

whereas in debian/ubuntu apt-get uses a custom c++ implementation of
http protocol[1] so adding NTLM proxy authentication support is a non
trivial issue, on the other hand apt uses libcurl for https requests[2]
so  I will send the one-liner patch to support it.

The solution for this bug would be:

- Port http download code to libcurl, same way https code is already using it.
- As a workaround till prior step is done the ntlmaps package[3] should be 
included by default in debian/ubuntu so any user behind a NTLM authenticated 
proxy can *use* apt-get to install/update any package.


[1] 
http://anonscm.debian.org/loggerhead/apt/debian-sid/annotate/head:/methods/http.cc

[2] http://anonscm.debian.org/loggerhead/apt/debian-
sid/annotate/head:/methods/https.cc

[3] http://packages.ubuntu.com/feisty/web/ntlmaps


Thanks,

** Bug watch added: Red Hat Bugzilla #769254
   https://bugzilla.redhat.com/show_bug.cgi?id=769254

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to