User authentication for SMB and ftp does not work through dialogbox

Bug #52634 reported by mark_orion
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: konqueror

SMB and FTP sites that require user authentication cannot be accessed by entering the username and password in the authentication box that comes up when entering an smb or ftp url. The username has to be provided as part of the URL. It seems as the auth-box is messing up the values entered for username and password, as ftp-servers reply with an error message "please provide a password" although a password has been entered.

Revision history for this message
Kenny Duffus (kduffus) wrote :

I am prompted for a password if i access something like

smb://young/homes/

in Konqueror by typing it in the URI field, was this how you were trying?

Unfortunately I don't have any non-anonymous ftp servers to try ftp login on.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

I cant confirm this (at least for ftp) with kde 3.5.3, kubuntu dapper.

Note that the username and password is case sensitive.

Could there be bad config files or something causing this? I've never seen this error reported before.

Revision history for this message
mark_orion (mark-orion) wrote :

On my system the big difference is if I am using an fqdn or a plain IP address.
ftp://myserver.mydomain.here works fine (I get the dialog and can log on)
ftp://192.168.1.8 opens the dialog as well, but I am not getting in.
I checked the logs on the server (vsftpd): It actually logs in, but konqueror seems not to recognize that the login has happened. BTW: FTP console logins from the client machine are working well.
I have not tried with SMB so far.

Revision history for this message
Kenny Duffus (kduffus) wrote :

@mark_orion

I am now rather confused by your last comment, you reported a bug with smb and ftp yet you seem to be saying that you haven't actually tried to use smb?

Please could you clarify.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

I can confirm the behavior mark_orion described with FTP on dapper. However I have not tried it on Edgy and haven't used (or updated) Dapper in a while.

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Thank you for your bug report. Do you still have this issue with the latest release of Ubuntu ?

Changed in kdebase:
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Rominet7777 (fred-schaer) wrote :

Hi,

I just hit this bug with konqueror under an up-to-date feisty box : I tried to connect to an OVH ftp using just the ftp://ftp.hostname.net : it asked for a username/pass , then asked again, and then "failed to dwitch to the directory". It also said "please fill in a bug" ;)

I finally tried to use the login name in the URL and it suddendly worked.

Thing is that it doesn't do that when I try to connect on another ftp with name/password on a French ISP (FREE)... I'm wondering what could cause this, but it seems it depends on the remote host ...

Cheers

Revision history for this message
tchize (tchize) wrote :

Hello, i discovered same problem as Rominet7777 on OVH server. Here is a sniff of discussion between server and client. I can confirm that changing from ftp://ftp.hostname.be to ftp://<email address hidden> is a working workaround.

220-

220-Bienvenue,

220-

220- On Vous H.berge ?

220-

220-

220

user anonymous

530 This FTP server does not allow anonymous logins.

331 Please specify the password.

user devlog

331 Please specify the password.
pass <removed :)>
230 Login successful.

user devlog

500 Unknown command.

syst

215 UNIX Type: L8

pwd

257 "/"

cwd /

250 Directory successfully changed.

TYPE I

200 Switching to Binary mode.

PASV

227 Entering Passive Mode (213,186,33,207,55,239)

EPSV

229 Entering Extended Passive Mode (|||58211|)

eprt |1|10.0.0.2|50631|

500 Illegal EPRT command.

list -la

425 Use PORT or PASV first.

PASV

227 Entering Passive Mode (213,186,33,207,116,103)

EPSV

229 Entering Extended Passive Mode (|||29734|)

eprt |1|10.0.0.2|44635|

500 Illegal EPRT command.

list

425 Use PORT or PASV first.

SIZE /

550 Could not get file size.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for kdebase (Ubuntu) because there has been no activity for 60 days.]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.