I had a similar problem before which I posted here.
I tried again and got similar results
I copied a gigabyte or two of photos from windows xp to a public share on a debian woody server running samba 2.2
On first attempt I thought files had got corrupt. I quickly trashed everything I copied over.
After trying again I took a closer look. It appears as all my files are there, except there are extra files. when I try to open these extras in eye of gnome (on debian testing) I get either "empty file" or "unrecognised image type" error messages. They dont open in windows either.
Here is a listing of one of the directories. (only some of the directories apear to be affected)
DSCF0~0@.JPG DSCF0572.JPG DSCF0~6-.JPG DSCF0~DK.JPG DSCF0~W7.JPG
DSCF0~1O.JPG DSCF0574.JPG DSCF0~7M.JPG DSCF0~GC.JPG DSCF0~Z6.JPG
DSCF0568.JPG DSCF0575.JPG DSCF0~AL.JPG DSCF0~-$.JPG THUMB~JT.DBE
DSCF0569.JPG DSCF0576.JPG DSCF0~DD.JPG DSCF0~##.JPG Thumbs.db
all the files with the ~ charactor are the extras. Not sure about the THUMB~JT.DBE, i think thats something to do with gnome? as is Thumbs.db something to do with windows.
The samba configuration file is pritty much default. i uncommented and edited the examples to my needs. security is user.
Code:
[public]
comment = Shared files
writable = yes
path = /var/public
;smb created files and directories are assigned at least these permisions
force create mode = 0775
force directory mode = 0775
Probably unrelated, but if I use gnome vfs to access shares, the mime type of my pictures are wrong/different. In this case get application/x-jpg. If i mount a share i get image/jpeg which gnome recognises and doesnt ask me to associate an application with them. I chmod a-x a bunch of photos and that made no difference.