Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login fails with username "anonymous" and password #7530

Closed
cyberduck opened this issue Oct 30, 2013 · 4 comments
Closed

Login fails with username "anonymous" and password #7530

cyberduck opened this issue Oct 30, 2013 · 4 comments
Assignees
Labels

Comments

@cyberduck
Copy link
Collaborator

2d4cef9 created the issue

Hi,
A customer of mine set up an ftp server with the username anonymous and the password anonymous. This isn't anonymous login, it's ftp://anonymous:anonymous@. When I try to add a bookmark to this server, I can't because Cyberduck automatically selects "anonymous login" when I enter the username "anonymous", blocking me from entering the password to the server.

Steps to reproducce:

  1. Create a server account with the username "anonymous" and the password "anonymous"
  2. Try to create a bookmark that connects to this server with this username and password

Result: Password cannot be entered because Cyberduck assumes there's no password for the user anonymous.

Please make a change so that the username "anonymous" doesn't automatically assume anonymous login. I'm running Cyberduck 4.4 on OS X 10.9 (Mavericks).

@cyberduck
Copy link
Collaborator Author

@dkocher commented

For anonymous users by default login will either work without a password or any password. Use a different username if the password matters.

@cyberduck
Copy link
Collaborator Author

2d4cef9 commented

It's not possible for me to use a different username as I'm not in control of the server. Having an ftp user account with the username anonymous and a specific password is a valid use case (it's not a smart thing to do, but it's a thing that you can do). As it stands, Cyberduck blocks the user from bookmarking an ftp site that is set up in this way for no valid reason.

To be clear, I'm not attempting to perform an anonymous login, I'm trying to log in as the user "anonymous" with a specific password. Cyberduck prevents me from entering a password for the user "anonymous" and I have no access to any other user accounts on the server, so there is no way for me to bookmark this server in the current version of cyberduck

For anonymous users by default login will either work without a password or any password.
It's not an anonymous user, it's a user with the username "anonymous"

Use a different username if the password matters.
I can't, I'm not in control of the server. While the use case is unusual, it seems valid to me and I'm surprised to see the bug report discarded so readily.

@cyberduck
Copy link
Collaborator Author

@dkocher commented

As a workaround you can set the hidden property connection.login.anon.pass using

defaults write ch.sudo.cyberduck connection.login.anon.pass anonymous

@cyberduck
Copy link
Collaborator Author

2d4cef9 commented

Oh, excellent. Thanks very much for that, works perfectly!

Much appreciated.

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants