smb://wyatt contains a share with more than 13 characters in the name (from smb.conf "Just_to_test_a_really_long_name") The new gnome-vfs smb: method (based on libsmbclient) can't get the complete name of the share if it is longer than 13 characters (it gets "Just_to_test_"). Opening "smb://wyatt/Just_to_test_" fails but opening "smb://wyatt/Just_to_test_a_really_long_name" works. I can provide a small testcase if necessary. (bug in bugzilla is still current, even though the backend of the package changed)
The problem here is that libsmbclient calls the RAP function cli_RNetShareEnum() which was designed to be used by win9x clients and such only returns 13 character share names. A solution is to call the cli_srvsvc_net_share_enum() RPC function instead which should return the full share names.
we're not going to fix this without a major rewrite. Closing out until this feature gets on the roadmap.
originally reported against 3.0.0beta3. CLeaning out non-production release versions.
This is a really major problem with Samba. I cannot access files on a Windows 2003 server which I have no control over. It seems like this is not a major difficulty to fix. Many Samba users would really appreciate it if this major bug were given some attention.
art, patches welcome. libsmbclient could use someone to help add newer features such as this.
Maybe it's a good idea to reopen this bug repport, because it's very important to permits a partial migration from windows to linux in the most entreprises, because smb share are very often used, users give explicit long share name. KDE 3.4 has a very good smb integration with kde applications, but this bug requires to keep a pc with windows next to linux computer to know exact share names.
Reopening bug, seeing as it's not actually fixed.
(In reply to comment #0) > smb://wyatt contains a share with more than 13 characters in the name (from > smb.conf "Just_to_test_a_really_long_name") > > The new gnome-vfs smb: method (based on libsmbclient) can't get the complete > name of the share if it is longer than 13 characters (it gets "Just
(In reply to comment #8) > (In reply to comment #0) > > smb://wyatt contains a share with more than 13 characters in the name (from > > smb.conf "Just_to_test_a_really_long_name") > > > > The new gnome-vfs smb: method (based on libsmbclient) can't get the complete > > name of the share if it is longer than 13 characters (it gets "Just I WANT MY MONEY
Fixed by e48ef5b9b1a2d4735d2316f0852c464df1299647 in Samba 3.4