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 687713 - gvfs-mount doesn't support alternative ports
gvfs-mount doesn't support alternative ports
Status: RESOLVED DUPLICATE of bug 698071
Product: gvfs
Classification: Core
Component: smb backend
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gvfs-maint
gvfs-maint
: 687711 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-11-06 03:31 UTC by SF
Modified: 2013-04-16 13:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description SF 2012-11-06 03:31:26 UTC
gvfs-mount smb://foo@bar.com:1000/bla

gvfs-mount currently doesn't support a custom port for smb mounts. This seems to be a trivial fix in smburi.c. It's a very useful feature when tunnelling smb over ssh.

Thanks.
Comment 1 SF 2012-11-06 03:33:22 UTC
*** Bug 687711 has been marked as a duplicate of this bug. ***
Comment 2 mikma.gnomebugz 2012-11-24 23:34:30 UTC
Would also be very useful together with smb server apps on Android. Since you cannot use the default smb port on non-rooted devices.
Comment 3 Tomas Bzatek 2012-12-03 16:26:21 UTC
I'm afraid libsmbclient can't connect to non-standard ports, the URL parsing code in libsmbclient simply ignores the port string part.

See http://git.gnome.org/browse/gvfs/commit/test?id=996f0513897816130fd50377b8093b57fd47bb41 for workaround and libsmbclient(7) manpage for the URL convention:

> smb://[[[domain:]user[:password@]]server[/share[/path[/file]]]]


Filed upstream bug https://bugzilla.samba.org/show_bug.cgi?id=9452
Comment 4 Tomas Bzatek 2013-04-16 13:51:00 UTC
There's ongoing discussion with Samba developer in bug 698071, closing this one as a duplicate.

*** This bug has been marked as a duplicate of bug 698071 ***