Hello,

thanks for your replies. indeed you can add the user details in the URI.

but  i wonder without squid the popup appears again..so there is an issue with 
squid, not ?

this has been tested with firefox 3.0, 3.5,  IE7, opera 10.

thank you, uxmax


----- Ursprüngliche Mail -----
Von: "Amos Jeffries" <squ...@treenet.co.nz>
An: "Henrik Nordstrom" <hen...@henriknordstrom.net>
CC: ux...@enquid.net, "Squid Users" <squid-users@squid-cache.org>
Gesendet: Dienstag, 6. Oktober 2009 23:06:10
Betreff: Re: [squid-users] Squid ftp authentication popup

On Tue, 06 Oct 2009 22:43:43 +0200, Henrik Nordstrom
<hen...@henriknordstrom.net> wrote:
> tis 2009-10-06 klockan 16:20 +0200 skrev ux...@enquid.net:
>> Hello all,
>> 
>> my problem is that squid does not send auth dialog box back to the
client
>> (sender/browser) ie*, firefox etc.
>> 
>> simple example 
>> 
>> http://upload.ftpserver.com  (auth popup appears)
>> 
>> 
>> ftp://upload.ftpserver.com (popup does not appear)
>>
>>the authentication popup does not appear but this error message, most likely 
>>the brower tried an anonymous connection
>>---snip---snip---snip---snip---snip---snip---snip---snip
>>(ERROR
>>The requested URL could not be retrieved
>>
>>--------------------------------------------------------------------------------
>>
>>An FTP authentication failure occurred while trying to retrieve the URL: 
>>ftp://upload.dunkel.de/
>>
>>Squid sent the following FTP command:
>>
>>PASS <yourpassword>and then received this reply
>>Login incorrect.Your cache administrator is root.
>>---snip---snip---snip---snip---snip---snip---snip---snip
>>
> That URL is by definition anonymous FTP.
> 
> To access non-anonymous FTP you need to use
> 
>  ftp://user:passw...@ftp.example.com/
> 
> With some browsers you can leave out the :password part and Squid will
> prompt the browser for login credentials, but some of the main browsers
> do not support this.
> 
> Regards
> Henrik

Firefox-3.x wil happyily popup the ftp:// auth dialog if the proxy-auth
header is sent.
There were a few bugs which got fixed in the 3.1 re-writes and made squid
start to send it properly. It's broken in 3.0, not sure if its the same in
2.x but would assume so. The fixes done rely on C++ objects so wont be easy
to port.

Amos

Reply via email to