I use Windows 98 client to connect to a samba share, and it generally works fine. After a recent Debian update, I tried to adjust the 8.3 mangling parameters; namely, I tried to find a way to make the whole hash suffix appear AFTER the tilde, as opposed to just the last 1 character (which is a great nuisance, because one can't see where the file name ends and the suffix begins; I really wish there was an option to control this).
Anyway, I couldn't find a way to do that with the 'hash2' method, so I tried to use the old 'hash' method. But when I use that, the server starts to misbehave in strange ways.
First, it stops responding for quite a while; no error message is printed anywhere.
Then, it resumes operation, but instead of mangling just the 8.3 short names, the long filenames are mangled too. In addition to that, files begins to disappear from the share - some folders are listed empty, some half-empty. And some files even change names when different client applications are used to list them. It seems as if the filesystem was somehow corrupt.
When mangling method is reset to 'hash2', the server goes back to working normally, but setting it to 'hash' trigger the anomalous behavior every time.
Created attachment 3722 [details]
The result of dir /a /x
I found this bug, too during checking BUG #1521.
*** This bug has been marked as a duplicate of 1521 ***