Setting Up Samba as an Active Directory Domain Controller on Linux

In this guide, we walk through the process of setting up a Samba Active Directory Domain Controller. The goal is to create a fully functional AD environment with the ability to join Windows and Linux clients to the domain. This setup mirrors how Microsoft Active Directory works, but fully powered by open‑source software. We’ll be using Fedora Linux to configure Samba AD, but you can use any Linux Preparing the Domain Controller System We begin by configuring Fedora 43 to act as a domain controller. The hostname must reflect the fully qualified domain name of the AD server. ...

November 21, 2025 · 4 min · Thamjeed