The Samba-Bugzilla – Bug 5181
File Names Mangled OS X to Samba
Last modified: 2008-01-09 10:34:32 UTC
These are the two pickup files that disappear when transferred onto the new
Books server. Each one generates 2 Unix Exe files when they are transferred
over, then the original file disappears seconds after the transfer.
------- Comment #4 From Paul Popelka 2008-01-07 15:42:24 [reply] -------
I watched as Duncan reproduced this problem. He found that the version of
samba on the dvd version of our product does not have this problem.
The current version of the product is somehow deciding that filenames it
reports back to the mac os cifs client need to be mangled into 8.3 names. The
client can't use these names to figure out what the file type is.
I think samba uses stuff that is in the cifs negotiate request to decide what
type of client is on the other end. From the client type it may decide whether
to mangle or not. But, I may be wrong. I'll look in the samba code.
------- Comment #5 From Duncan Fiander 2008-01-07 16:06:24 [reply] -------
Changing the smb.conf to include "mangled names = no" appears to fix the issue.
The default behaviour is "mangled names = yes".
In DVD Samba version 3.0.20-4-SUSE this is apparently the default mode.
I added this ("managled names = yes") to the Samba 3.0.20-4-SUSE to see if the docs where incorrect but the file does not corrupt.
I'm not sure what else may be impacted by this change however.
I've uploaded the files to our ftp site to /A3/OSX
From your web browser