[Samba] Limit dirs/filenames to old 8.3 DOS convention

Michael Ludwig ludwig at ahrensgmbh.de
Mon Jul 6 10:53:53 UTC 2020


Hello all, 

after endless searching for days you might be able to help. 
In short: Is there a way to get Samba accept only 8.3 filenames and directory names on a share? 

The problem: From a windows client a user should be able to save files on a destination (samba share) which aren't longer than the old 8.3 dos convention. 
This is a requirement for a system behind it, which can only deal with old dos 8.3 dir/filename conventions. 

I tried to save to a fat16 partition type, but this vfat driver accepts long filenames instead. Searching for special mount options limiting the lfn functionality ended without any result. 

Maybe there is a solution for this problem, so hopefully someone here has an idea for this. 

Michael 




More information about the samba mailing list