Rather than invoking init scripts through /etc/init.d, use the service(

utility, e.g. service nmbd start
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(

utility, e.g. start nmbd
start: Job failed to start