[Samba] libsmbclient support for ? < > \ : * | " characters possible?

Manfred mx2927 at gmail.com
Sat Jan 2 17:21:48 UTC 2021



On 1/2/21 5:55 PM, Rowland penny via samba wrote:
> On 02/01/2021 16:26, Jelle de Jong via samba wrote:
>> Hello everybody,
>>
>> Can we get samba/libsmbclient to support characters that are supporet 
>> on Linux filesystems like ? < > \ : * | "
> 
> Problem is that all of those are illegal characters in Windows filenames 
> and Samba is an emulation of SMB, so they also need to be illegal on 
> Samba. I cannot see how Samba could make them legal when connected to by 
> a Linux machine, but illegal when connected to by a Windows machine, I 
> mean how would Samba easily know what was connecting ?
> 
> Rowland
> 
> 
> 

Or, even if it could and you create such a filename from a Linux client, 
how would Samba expose it to a Windows client?
Just hide it? Mangled names? Probably a cure worse than the disease.



More information about the samba mailing list