Add to the smb.conf:
[global]
catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6
[share name]
vfs objects = catia
Note the mappings are set up so that invalid characters can be mapped to and from the same file on the server and client.
Add to the smb.conf:
[share name]
vfs objects = catia fruit
fruit:encoding = native
Add to the smb.conf:
[global]
case sensitive = yes
Add to the smb.conf:
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
show add printer wizard = no
To print the entire config, including all the default settings, run from the terminal:
testparm -vs