After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 594497 - confusing wording in password dialog
confusing wording in password dialog
Status: RESOLVED OBSOLETE
Product: gnome-user-share
Classification: Core
Component: webdav
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-user-share maintainers
gnome-user-share maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-08 13:52 UTC by Matthias Clasen
Modified: 2019-03-20 10:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2009-09-08 13:52:42 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'
Comment 1 Felix Möller 2012-07-30 16:19:04 UTC
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.
Comment 2 Cosimo Cecchi 2016-08-31 23:34:27 UTC
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
Comment 3 GNOME Infrastructure Team 2019-03-20 10:38:36 UTC
-- 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.