uxmax@xxxxxxxxxx wrote:
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 ?
Not necessarily. When going through a proxy the browser does zero FTP
protocol actions. When not going through a proxy it does the native FTP
login in some other way by itself.
In this particular case I think the 'problem' is that older Squid (ie
yours) do not support the newly added FTP login features the newest
Squid do.
Amos
this has been tested with firefox 3.0, 3.5, IE7, opera 10.
thank you, uxmax
----- Ursprüngliche Mail -----
Von: "Amos Jeffries" <squid3@xxxxxxxxxxxxx>
An: "Henrik Nordstrom" <henrik@xxxxxxxxxxxxxxxxxxx>
CC: uxmax@xxxxxxxxxx, "Squid Users" <squid-users@xxxxxxxxxxxxxxx>
Gesendet: Dienstag, 6. Oktober 2009 23:06:10
Betreff: Re: Squid ftp authentication popup
On Tue, 06 Oct 2009 22:43:43 +0200, Henrik Nordstrom
<henrik@xxxxxxxxxxxxxxxxxxx> wrote:
tis 2009-10-06 klockan 16:20 +0200 skrev uxmax@xxxxxxxxxx:
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:password@xxxxxxxxxxxxxxx/
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
--
Please be using
Current Stable Squid 2.7.STABLE7 or 3.0.STABLE19
Current Beta Squid 3.1.0.14