Howto Add a Samba4 Domain Controller: Difference between revisions
From Pumping Station One
| Line 12: | Line 12: | ||
To create the user "hef" and set the user password, use the following command: | To create the user "hef" and set the user password, use the following command: | ||
samba-tool user add hef | |||
To add the user "hef" to the "Domain Admins" group, use the following command: | To add the user "hef" to the "Domain Admins" group, use the following command: | ||
samba-tool group addmembers "Domain Admins" hef | |||
[[Category:IT Equipment]] | [[Category:IT Equipment]] | ||
Revision as of 01:04, 23 May 2014
Setup
- Follow the Arch provision guide
- Add role: dc to the salt minion config.
Joining
samba-tool domain join AD.PUMPINGSTATIONONE.ORG DC -U hef
Adding Users
To create the user "hef" and set the user password, use the following command:
samba-tool user add hef
To add the user "hef" to the "Domain Admins" group, use the following command:
samba-tool group addmembers "Domain Admins" hef