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:
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.
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,