> -----Original Message----- > From: Henrique Machado [mailto:henrique.cicuto@xxxxxxxxx] > Sent: Wednesday, 04 February, 2009 07:19 > To: James Zuelow > Cc: squid-users@xxxxxxxxxxxxxxx > Subject: Re: Certain applications when using NTLM auth > > Okay. That worked. That really worked. APT is working perfectly. > Log´s show my user accessing and downloading. > I didn´t remove my ntlm lines, just added those u suggested. > > Now, why? I didn´t understand. > It is something that I should have remembered at the very beginning. When a browser does NTLM authentication, you'll always get one or two 407 replies before a success. That is because they're using ntlmssp negotiation. But anything that uses basic authentication (like apt) just provides the username and password right away instead of negotiating. If you look at the access log after you made the change, you'll see that apt is not generating any 407 lines at all, even though your web browser clients still are. When the basic lines were missing, squid could only authenticate using ntlmssp. Now it can do both. James