Scripts and code for Active Directory integration
Set the variable values for the rest of the scripts.
Functions for starting and stopping services using either classic init style script commands or systemd equivalents.
Sets up the network config on a domain controller or member box. Run this before any of the other scripts.
Build, install and configure Samba4 as an Active Directory Domain Controller. Note this script assumes you are running on a 192.168.0.x addressed LAN.
Run this on the domain controller to enable network logins on that box itself.
Run this on a domain member box to join it to the domain and enable network logins.
This setup has been tested with a Centos 6.6 domain controller and Fedora 21 and Centos 6.6 domain members.