Cheat Sheet: Samba4 Domain Contoller on Ubuntu 12.04

Quick and dirty way to setup a working Domain Contoller with Samba4 on Ubuntu. This installation uses bind9 as the DNS backend.

Installation and Initial Setup

Tested on: Ubuntu 12.04

Tests

Setting Users and Administrators

Add in a user and make him a Domain Admin using the samba-tool command from the cli

Final Notes

After toiling with a few annoying problems and deficincies mainly related to the alpha versions of the samba4 package that Ubuntu 12.04 provides from the native repositories, I switched to the Enterprise Samba packages provided by SerNet. These seemed to solve a lot of little annoyances and allowed me to keep my DC operations consistent with the documentation the Samba project provides.