GNOME Bugzilla – Bug 594497
confusing wording in password dialog
Last modified: 2019-03-20 10:38:36 UTC
The password dialog that comes up when trying to mount a password-protected dav share has a somewhat jumbled text: Enter password for Please log in as the guest user That doesn't make any sense at all to me. It should say something like Enter password for 'mclasen's public files on planemask'
This issue belongs to gnome-user-share. Please reassign. The string comes from http://git.gnome.org/browse/gnome-user-share/tree/src/http.c#n373.
The string that gnome-user-share sets here ends up being used as the "authorization realm" by the HTTP server. The implementation of the HTTP client in gvfs [1] just concatenates the realm to the "Enter password for" string, which gives this confusing result. Something more subtle is that the string in this case provides an essential piece of information: the username that has to be entered in the password dialog is "guest". Bug 730444 makes that particular aspect even worse here. The problem I have with using e.g. "cosimoc's public files on $hostname" is that it would intuitively imply the username to use when logging in is "cosimoc", and not "guest". I wonder if we shouldn't actually make it like that. I believe it should be possible to instruct gnome-user-share to use the actual user name instead. [1] https://git.gnome.org/browse/gvfs/tree/daemon/gvfsbackenddav.c#n1565
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-user-share/issues/16.