Samba tips and tricks

From HPCWIKI
Revision as of 13:15, 14 July 2024 by Admin (talk | contribs) (Created page with " == Wired file name on Window file explorer while correct file name on Linux == Window file explorer shows wired file name, <code>G2X4IA~5 O2T3KH~K SYJ2IT~R</code> It's a file name mangling problem due to Samba is converting filenames down to old style DOS 8.3 filenames. On server side, edit <code>/etc/samba/smb.conf</code> and add <code>mangled names=no</code> to the <code>[global]</code> section and restart the smb service.<ref>Reference: <nowiki>http://oreilly.co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Wired file name on Window file explorer while correct file name on Linux

Window file explorer shows wired file name,

G2X4IA~5
O2T3KH~K
SYJ2IT~R

It's a file name mangling problem due to Samba is converting filenames down to old style DOS 8.3 filenames.

On server side, edit /etc/samba/smb.conf and add mangled names=no to the [global] section and restart the smb service.[1]

References

  1. Reference: http://oreilly.com/openbook/samba/book/ch05_04.html