Bug 5181 - File Names Mangled OS X to Samba
Summary: File Names Mangled OS X to Samba
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.26a
Hardware: x64 Mac OS X
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2008-01-09 10:34 UTC by Duncan Fiander (mail address dead)
Modified: 2021-01-04 16:52 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Duncan Fiander (mail address dead) 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
Logon: support@powerfile.com
Pass: PowerTech

From your web browser
Logon: support@powerfile.com
Pass: PowerTech
Comment 1 Björn Jacke 2021-01-04 16:52:55 UTC
fruit:encoding and possibly convmv is probably what you want these days for OS X clients with illegal file names