I am setting up a Primary Domain Controller on a small office network. I am following this guide
https://help.ubuntu.com/12.04/serverguide/samba-dc.html
I got it working on one machine a few weeks ago but now there is a new server. And the thing is i did not understand fully what i was doing the first time so I would appreciate if someone could clarify a few places in this guide.
sudo net groupmap add ntgroup="Domain Admins" unixgroup=sysadmin rid=512 type=d
Then a note says
Change sysadmin to whichever group you prefer.
I prefer? I dont know what I prefer here. What you recommend? And what implications will this have? will this mean that all unix user in this group would have domain admin status? If meaning anything..
Then this comes
net rpc rights grant -U sysadmin "EXAMPLE\Domain Admins" ....
Here sysadmin is the username, not group correct? And example is the name of my workgroup set earlier. Sysadmin is the name of the user I would use to register machines and add new users to the unix/samba, right?