namjaejeon / ksmbd

ksmbd kernel server(SMB/CIFS server)
https://github.com/cifsd-team/ksmbd
282 stars 64 forks source link

Map illegal characters #471

Open Anuskuss opened 9 months ago

Anuskuss commented 9 months ago

Right now you can either have mangled names or correct looking names which most Windows software won't handle. We need a simple mapping system similar to

mangled names = no
vfs objects = fruit catia
fruit:encoding = native

or

mangled names = no
vfs objects = catia
catia:mappings = 0x22:0xff02,0x2a:0xff0a,0x3a:0xff1a,0x3c:0xff1c,0x3e:0xff1e,0x3f:0xff1f,0x5c:0xff3c,0x7c:0xff5c
namjaejeon commented 9 months ago

Okay, Can you update ksmbd source code to improve it ?