Samba tips and tricks: Difference between revisions

From HPCWIKI
Jump to navigation Jump to search
No edit summary
(Add categories: AI, Reference)
Line 11: Line 11:
== References ==
== References ==
<references />
<references />
[[Category:AI]]
[[Category:Reference]]

Revision as of 01:00, 15 July 2026

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(AKA Filename mangling) 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