Samba itself won’t bring the web interface back.
But could you try this?
If it does not work, you might need samba4-server and luci-app-samba4