Version: (using KDE KDE 3.1) Installed from: Gentoo Packages Compiler: gcc 3.2.2 OS: Linux This may be related to Bug #49833, but I couldn't be certain. When browsing a windows share, with smb://server/share, there appears to be a 62 character limit on the path and filename combination, for everything past the share name. For example: smb://server/share/1234567890123456789012345678901234567890123456789012345678.txt is accessable. smb://server/share/12345678901234567890123456789012345678901234567890123456789.txt is not. Also: smb://server/share/folder/123456789012345678901234567890123456789012345678901.txt Is accessable, whereas: smb://server/share/folder/1234567890123456789012345678901234567890123456789012345678.txt Is not. I've tested it against many windows machines of various versions. I can browse to and retrieve all these files using the same credentials in smbclient's command line interface, and I can use the "get" command to retrieve paths/filenames over 62 characters no problem. smbclient is version 2.2.7a. Either way it's a pretty major annoyance, as it's easy to have 62 character lengths with long directory names and long file names.
Which smb-ioslave do you use ? Does it link to libsmbclient.so ? (try ldd kio_smb.so to find out) Alex
I don't know. Here is the output of that command: libkio.so.4 => /usr/kde/3.1/lib/libkio.so.4 (0x40021000) libkdeui.so.4 => /usr/kde/3.1/lib/libkdeui.so.4 (0x402f6000) libfam.so.0 => /usr/lib/libfam.so.0 (0x40585000) libkdesu.so.4 => /usr/kde/3.1/lib/libkdesu.so.4 (0x4058e000) libkdecore.so.4 => /usr/kde/3.1/lib/libkdecore.so.4 (0x405a8000) libDCOP.so.4 => /usr/kde/3.1/lib/libDCOP.so.4 (0x40748000) libdl.so.2 => /lib/libdl.so.2 (0x4077c000) libresolv.so.2 => /lib/libresolv.so.2 (0x4077f000) libkdefx.so.4 => /usr/kde/3.1/lib/libkdefx.so.4 (0x40790000) libqt-mt.so.3 => /usr/qt/3/lib/libqt-mt.so.3 (0x407b8000) libpng.so.3 => /usr/lib/libpng.so.3 (0x40e1d000) libz.so.1 => /usr/lib/libz.so.1 (0x40e48000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40e57000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40e67000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40f47000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40f50000) libpthread.so.0 => /lib/libpthread.so.0 (0x40f67000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40fb7000) libutil.so.1 => /lib/libutil.so.1 (0x40fc0000) libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux- gnu/3.2.2/libstdc++.so.5 (0x40fc3000) libm.so.6 => /lib/libm.so.6 (0x4108e000) libc.so.6 => /lib/libc.so.6 (0x410b0000) libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux- gnu/3.2.2/libgcc_s.so.1 (0x411d9000) libart_lgpl_2.so.2 => /usr/lib/libart_lgpl_2.so.2 (0x411e2000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000) libmng.so.1 => /usr/lib/libmng.so.1 (0x411fb000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4123e000) libGL.so.1 => /usr/lib/libGL.so.1 (0x4125f000) libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x412ac000) libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x412c2000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x412d1000) libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4132b000) libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x41333000) libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x417c5000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4181c000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x41846000) I am running Gentoo, everything is compiled from source. Samba is v2.2.7a. I'll run any command you want and post the results here.
this works in the smb-libsmb btw
I tested it here with smb://hammer/test/tmp/12345678901234567890123456789012345678901234567890123456abcdefg.txt and had no problems. Please send me the debug output of the smb-ioslave. Alex
Sure, what do I type? I'm not a linux dummy but I've never done a debug of anything. If I have to re-compile something with debugging support I can do that. I'm not imagining this problem, honest =)
ps. I just shared out (on a windows XP machine, and again on a W2K machine) the same filename: smb://metis/test/tmp/12345678901234567890123456789012345678901234567890123456ab cdefg.txt If I try to copy the file, the dialogue box will appear but stay at 0% forever. If just browsing the "tmp" folder there, konqueror won't hang but the gear keeps spinning because it's trying to generate a preview and it can't. Anyways I'd like to send debug output from smb-ioslave but you'll have to tell me what to do.
please update samba to 3.0rc4 and KDE 3.1.4, then it should work :)
Nice, I will. Good thing I run Gentoo =)
Indeed, this seems to work quite well now with KDE 3.1.4 and Samba 3.0rc4. Was it a problem with KDE or Samba?
as a matter of fact your actual bug is most likely a problem with KDE. But now that you use 3.0, we can use the better KDE solution as samba 2 sucks. But thanks for reporting, it works