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 759182 - smb backend fails to mount/list shares with long netbios names
smb backend fails to mount/list shares with long netbios names
Status: RESOLVED OBSOLETE
Product: gvfs
Classification: Core
Component: smb backend
git master
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2015-12-08 15:52 UTC by Sebastien Bacher
Modified: 2018-09-21 17:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2015-12-08 15:52:11 UTC
Using gvfs 1.26.2 I edited my smb.conf to try to see if https://bugzilla.samba.org/show_bug.cgi?id=10896 is fixed (which it is) but the configuration seems to make nautilus fails to browse samba shares (it returns an error listing machines/mount)

* edit smb.conf and add "netbios name = XABCDEFGHIJKLMNOPQRSTUVWXYZ" to the configuration
* restart nmbd
( might need to restart gvfsd-smb as well)
* try to browse samba shares in nautilus

-> it gives an error "Error mounting location: Failed to retrieve share list from server" with a "no such file or directory"


gvfsd output that warning

WARNING **: dbus_mount_reply: Error from org.gtk.vfs.Mountable.mount(): Failed to retrieve share list from server: No such file or directory
Comment 1 Bastien Nocera 2015-12-08 16:11:55 UTC
Pretty sure this is also related:
https://bugzilla.samba.org/show_bug.cgi?id=246
Comment 2 Sebastien Bacher 2015-12-08 16:31:19 UTC
Could be, though nmbd truncates the name (which is the samba bug I was testing the fix for) so it shouldn't be over the limit, but it might be that libsmbclient/gvfs picks the name by some api which doesn't get the truncated version...
(also your bug is about share names where the issue there is with the host netbios name)
Comment 3 GNOME Infrastructure Team 2018-09-21 17:55:37 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/gvfs/issues/269.