server icon indicating copy to clipboard operation
server copied to clipboard

unable to grant access to user with spaces in username. (windows 10 client)

Open KBlixt opened this issue 7 years ago • 5 comments

so yeah, I'm unable to grant access to my server from my windows 10 machine because I have a space in my user name. I get prmpted to log in after pointing to my server and log in works well but then When I should click "grant access" the loading wheel just spins for ever... logging in to any account without a space in the user name works as expected.

am I missing something or is this a bug?

I'm running the latest mariadb/nexcloud docker releases on an Ubuntu 18.04 machine and trying to access it from the latest windows 10 client. I don't think that anything that I've configured on my server should affect this since I can login to my server from my android client as well as the browser client.

I'm watching the log table while the loading wheel spins and the only thing that appear there are two failed login attempts at approximately 30 seconds intervals after pressing the "grant access" button. (although I think the 30 seconds intervals is a result of that my ip address have failed too many log in attempts.)

don't know how to troubleshoot this any further.

KBlixt avatar Jan 14 '19 07:01 KBlixt

I can confirm on 15.0.2.0

frhun avatar Feb 03 '19 16:02 frhun

I confirm with NextCloud Mac and Windows clients (2.5.1) on 15.0.2.0 and 15.0.4.0 stable release. To reproduce, create a new user with username "john doe" and same display name. In NextCloud client, after token validation the step "connection" will loop indefinitly.

On server side, nextcloud.log reports {"reqId":"xxxxxxxxxxxxxxxxxxxxx","level":2,"time":"2019-02-07T18:32:28+00:00","remoteAddr":"xx.xx.xx.xx","user":"--","app":"core","method":"PROPFIND","url":"\/remote.php\/webdav\/","message":"Login failed: 'john+doe' (Remote IP: 'xx.xx.xx.xx')","userAgent":"Mozilla\/5.0 (Windows) mirall\/2.5.1final (build 20181204) (Nextcloud)","version":"15.0.4.0"}

mringhausen avatar Feb 07 '19 22:02 mringhausen

I have the same error here on Linux Mint 19.3 with

  • nextcloud-client 2.5.1-20181204
  • Nextcloud server 15.0.4

An existing account on the server with a whitespace (example "John Doe") worked well until today, when I removed the account on the client and wanted to reconnect - but this fails for account names with a space in it!

(Remark: I tested the reinstallation of "John Doe" on my Android: this works as expected.)

Recently, @tobiasKaminsky fixed a whitespace account name issue ( https://github.com/nextcloud/android-library/pull/245 ) for fixing https://github.com/nextcloud/android/issues/3551 .

Perhaps, a similar bug is in the 2.5.1 client?

Wikinaut avatar Feb 15 '19 04:02 Wikinaut

@camilasan @rullzer

tobiasKaminsky avatar Feb 15 '19 06:02 tobiasKaminsky

Fixed in upcomming 2.5.2

rullzer avatar Mar 05 '19 14:03 rullzer