Bug 256555 - Cannot copy file to smb://ip.address
Summary: Cannot copy file to smb://ip.address
Status: RESOLVED UPSTREAM
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: smb (show other bugs)
Version: 4.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-10 21:59 UTC by G. Landini
Modified: 2011-01-11 14:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description G. Landini 2010-11-10 21:59:16 UTC
Version:           0.1 (using KDE 4.5.3) 
OS:                Linux

Using Konqueror or Dolphin, Open a folder in a remote server using the kio slave: smb://user@server/folder/ 

The folder can be browsed, read files, create files, delete them, but cannot copy a file to remote folder unless file is smaller than 20KB.
Moving files by dragging them from my desktop into the konqueror window that 
shows the remote folder contents generates an error:

Could not write to file smb://(path_to_remote file).

A small file (32 KB) is created in the remote folder instead.



Reproducible: Always

Steps to Reproduce:
Open remote server folder by typing in the address box of konqueror or dolphin
smb://user@server/folder/ 
Password prompted, enter password, folder opens OK
Try dragging a file from the local box into the remote folder

Actual Results:  
Error message: 'Could not write to file smb://(path to the file)'
A 32KB file is created in the remote folder with the expected name.

Expected Results:  
The whole file should be copied

OS: Linux (x86_64) release 2.6.34.7-0.5-desktop
Compiler: gcc
This also happens with a 32bit install of opensuse 11.3
Comment 1 G. Landini 2010-11-10 22:03:18 UTC
The problem reported seems to happen at least to somebody else:
http://forum.kde.org/viewtopic.php?f=18&t=90865
Comment 2 Rafael 2010-11-16 11:40:28 UTC
I have exactly the same problem using Kubuntu 10.10, 32bit, KDE 4.5.3
Comment 3 Martin Koller 2011-01-11 13:35:12 UTC
I see the same problem with KDE 4.6 RC2 on openSuse 11.3, 32bit;

Activating the kio_smb debug flags and doing the file copy via
 kioclient copy sourcefile smb://....

I see the following output:

smb_signing_good: BAD SIG: seq 1
SMB Signature verification failed on incoming packet!
kio_smb(31488)/kio (kioslave) KIO::SlaveBase::finished: finished() called after error()! Please fix the KIO slave. 

No idea what that means...
Comment 4 Martin Koller 2011-01-11 14:14:35 UTC
The problem is also discussed in the KDE Forum:
http://forum.kde.org/viewtopic.php?f=18&t=90865#p180676

Installing the newest libsmbclient0-3.5.6-2.1.i586.rpm solves the problem!