Howto Add a Samba4 Domain Controller: Difference between revisions

From Pumping Station One
noting pam dependency
m Robot: Cosmetic changes
Line 24: Line 24:


== Samba ==
== Samba ==
There is no stable, working version of Samba 4 shipping with ubuntu. You have to download it from source for now. As of writing, version 4.0.5 works
There is no stable, working version of Samba 4 shipping with ubuntu. You have to download it from source for now. As of writing, version 4.0.5 works


   git clone -b v4-0-stable git://git.samba.org/samba.git samba
   git clone -b v4-0-stable git://git.samba.org/samba.git samba
Line 36: Line 36:
   /usr/local/samba/bin/samba-tool domain provision --realm=ad.pumpingstationone.org --domain=PS1 --server-role=dc --use-rfc2307
   /usr/local/samba/bin/samba-tool domain provision --realm=ad.pumpingstationone.org --domain=PS1 --server-role=dc --use-rfc2307


Make a note of the admin password. You may need it later.
Make a note of the admin password. You may need it later.


=== Kerberos ===
=== Kerberos ===