This script will help you setup samba 4 from source as an Active Directory domain controller on Wheezy