Howto Add a Samba4 Domain Controller: Difference between revisions

From Pumping Station One
commenting on windbind
Line 5: Line 5:
*  Add role: dc to the salt minion config.
*  Add role: dc to the salt minion config.


== Joining ==
== Joining As a Domain Controller ==


  samba-tool domain join AD.PUMPINGSTATIONONE.ORG DC -U hef
    samba-tool domain join AD.PUMPINGSTATIONONE.ORG DC -U hef
 
== Joining As a Domain Member ==
 
    net ads join -U hef
 
The samba-tool domain join command does not get winbindd working correctly.  The <code>net</code> command is required.


== Adding Users ==
== Adding Users ==
Regular users need to get there account through https://members.pumpingstationone.org.
service and test accounts can be created with the following procedire


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:

Revision as of 01:07, 23 May 2014

Setup

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

Joining As a Domain Controller

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

Joining As a Domain Member

   net ads join -U hef

The samba-tool domain join command does not get winbindd working correctly. The net command is required.

Adding Users

Regular users need to get there account through https://members.pumpingstationone.org.

service and test accounts can be created with the following procedire


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