I didn’t try this, but you may create a custom template:
mkdir -p /etc/e-smith/templates-custom/etc/samba/smb.conf/
vi /etc/e-smith/templates-custom/etc/samba/smb.conf/11globalexecfix
Paste the smb settings and save the file:
# Allow Windows machines to execute things that don't have
# the execute bit set
acl allow execute always = True
Then apply the changes:
signal-event nethserver-samba-update
I think it will work but if possible better to test it before on a virtual machine or test server.