Howto Add a Samba4 Domain Controller

From Pumping Station One
Revision as of 15:49, 22 May 2014 by Hef (talk | contribs) (the new version)
Jump to navigation Jump to search

Setup

  • Follow the Arch provision guide
  • Add role: dc to the salt minion config.

Joining

 samba-tool domain join AD.PUMPINGSTATIONONE.ORG -U hef

Adding Users

To create the user "hef" and set the user password, use the following command:

  /usr/local/samba/bin/samba-tool user add hef


To add the user "hef" to the "Domain Admins" group, use the following command:

  /usr/local/samba/bin/samba-tool group addmembers "Domain Admins" hef