This document provides instructions for installing and configuring SAMBA 4 as an Active Directory domain controller on a Debian system. It describes steps such as installing packages, setting permissions, configuring networking, compiling and installing SAMBA from source, creating the Active Directory domain, adding user and file shares, and testing the configuration.