GNOME Bugzilla – Bug 687713
gvfs-mount doesn't support alternative ports
Last modified: 2013-04-16 13:51:00 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.
*** Bug 687711 has been marked as a duplicate of this bug. ***
Would also be very useful together with smb server apps on Android. Since you cannot use the default smb port on non-rooted devices.
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
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 ***