Public bug reported: 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>] ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- Feisty 7.04 synaptic or apt-get not working behind firewall https://bugs.launchpad.net/bugs/137418 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs