/etc/smb.conf is generated automatically on start up based on the settings in the webUI. So, possible workaround would be: disable samba in webUI, create appropriate smb.conf and start samba from post-mount like this:
Code:/usr/sbin/smbd -D /usr/sbin/nmbd -D