Sorry this is a little embarassing but I'm trying to set up my own server for the first time. I found great tutorial online.
http://www.intac.net/build-your-own-server/
I'm stuck at the 2nd to last line of step 4. Apparently there is no samba directory in init.d.
Why isn't there a samba directory in init.d?
Would the following work?
# sudo restart smbd
# sudo restart nmdb
#
means you are logged in as superuser, then you don't need to run the commands withsudo
, else the commands you mentioned are fine.samba-ad-dc.service
is the Samba Active Directory / Domain Controller service, which is not enabled by default. So this unfortunately is not an answer to the question.