Bug 5181 - File Names Mangled OS X to Samba
File Names Mangled OS X to Samba
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.26a
x64 Mac OS X
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-09 10:34 UTC by Duncan Fiander
Modified: 2008-01-09 10:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Fiander 2008-01-09 10:34:32 UTC
Customer Comments:
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

Technical Support
ftp://208.69.180.86
Logon: support@powerfile.com
Pass: PowerTech

From your web browser
ftp://support@powerfile.com
Logon: support@powerfile.com
Pass: PowerTech