What file are you adding your changes to, paste the full path of the file you are changing.
The only samba.conf file LibreELEC replaces is /storage/.config/samba.conf.sample.
I suspect you're either editing the wrong file, or if you're editing via Windows then your Windows editor is creating a file with a .txt extension that is being ignored.