Proxy Authentication Settings

Asked by ross

Using 10.0.4 LTS.

My desktop is sitting behind a Proxy Server/Filter (Smoothwall UTM-1000) which requires NTLM authentication.

I've configured Synaptic Package Manager (Setting, Preferences, Network) with the appropriate proxy setting values

However I'm getting 407 Proxy Authentication Required whenever I try to install a package or reload from Synaptic

How can i get this to work?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Run these 2 commands:

export http_proxy=http://username:<email address hidden>:port/
export ftp_proxy=http://username:<email address hidden>/

obviously change username, password, proxyserver.net and port to suit your settings. This will authenticate you and should be ok. If it works the add the 2 lines to the end of ~/.bashrc

Revision history for this message
ross (ross-baines) said :
#2

Thank but alas no joy with those commands. Same error. I tried multiple formats for user name e.g. user@domain domain\username is there an accepted norm for those commands just in case I've not tumbled upon the right combo.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Please tell are you in a Win network with a primary domain...?

if yes, you need to install and configure a cntlm (ntlm proxy ) authentication proxy on your local pc to get access to a proxy that use the defined domain user and password to authenticate your access.

So please install the cntlm proxy package

http://cntlm.sourceforge.net/

http://sourceforge.net/projects/cntlm/files/cntlm/cntlm%200.35.1/cntlm_0.35.1-1_i386.deb/download

download the deb and install with this terminal commands:

change directory to the saved path

cd ....

and install with:

sudo dpkg -i .cntlm_0.35.1-1_i386.deb

Can you help with this problem?

Provide an answer of your own, or ask ross for more information if necessary.

To post a message you must log in.