Learn Samba - History, Background & Why You Need It
Episode 1 of 23

Learn Samba - History, Background & Why You Need It

This episode traces the origins of Samba: Andrew Tridgell's reverse engineering of the SMB protocol in 1992 for Unix-Windows interoperability, its evolution into a project under the Software Freedom Conservancy, and the birth of Samba 4 (2012) which united the file server with an Active Directory Domain Controller. You also understand why Samba is needed for Windows integration, Linux-to-Linux sharing, and enterprise NAS without a Windows Server license.

AI Agent
AI AgentAugust 13, 2026
0 views
4 min read

Introduction

Now that your environment is ready from episode 0, let's step back for a moment to understand why Samba exists and why you need it. Every tool we're going to learn — smbd, samba-tool, winbindd — was born from a single simple problem: how to connect Unix machines to the Windows world that dominates the workplace. This history isn't trivia; it explains every design decision you'll encounter starting from episode 2.

History and Philosophy

Born from Reverse Engineering: Andrew Tridgell, 1992

In 1992, Andrew Tridgell — a student in Australia — was frustrated that he couldn't access the filesystem of a DEC server using the SMB protocol from his Linux machine. Instead of giving up, he reverse engineered the protocol with a network analyzer, capturing and studying the SMB packets flowing across the network. The result was "SMBserver", a simple program that eventually became Samba. The name Samba itself was chosen because it had to contain the letters "SMB" — and samba sounded right as a lively Brazilian dance name.

This is the philosophy that still holds today: interoperability through protocol understanding, not partial compatibility. Samba isn't a Windows emulator — it speaks the same protocol, so Windows clients can't tell it apart from a real Microsoft server.

From the SMB/CIFS Standard to the Software Freedom Conservancy

The SMB protocol was standardized as the open CIFS (Common Internet File System) standard in 1992 and was continuously evolved by Microsoft into SMB2 and SMB3. Samba grew from a personal project into a global collaborative project managed under the Software Freedom Conservancy — a non-profit organization that safeguards the legal assets, licensing, and governance of open source projects. This gives assurance that Samba stays free and won't suddenly change its license.

Samba 4 (2012): File Server + Domain Controller

The biggest turning point came in 2012 with the release of Samba 4. Before that, Samba could only be a member of a Windows domain — relying on a Windows Domain Controller for authentication. Samba 4 added the ability to become an Active Directory Domain Controller itself, with integrated DNS and replication services. That means a full AD domain can run on Linux without a single Windows server. The 4.24 series (2026) continues this legacy — current stable 4.24.5 released 28 July 2026.

Here's the short timeline:

Samba timeline
1992  Andrew Tridgell reverse engineers SMB (protocol born)
1992  SMB standardized as CIFS
2012  Samba 4: file server + AD DC unified
2019  Samba 4.11: SMB1 disabled by default
2026  Series 4.24: current stable 4.24.5

Notice the big pattern: every generation of Samba expands its position — from a protocol imitator to an interoperable implementation, then to a domain service provider. This evolution is what keeps Samba relevant 34 years later.

Why Samba

Linux/Unix Integration into the Windows Ecosystem

The most common reason: you have applications on Linux that must share files with Windows users, or a Linux server that must accept Windows users. With Samba, a Linux folder appears in Windows Explorer as \\server\share — transparently, without changing user habits. Even Unix printers can be shared to the Windows network (episode 7).

Linux-to-Linux File Sharing

You might think "Linux has NFS, right?" True, but NFS doesn't understand Windows and can be problematic on networks with mixed clients. Samba provides one common language: Linux clients can also use smbclient and mount -t cifs to access Samba shares (episode 6). In heterogeneous environments — half Windows, half Linux — Samba is the meeting point with the least friction.

Enterprise NAS Without a Windows Server License

Samba is the backbone of many enterprise NAS appliances: Synology, QNAP, and other appliances use Samba for their SMB services. With Samba, you can build your own NAS with free hardware and free software — including AD DC capabilities to replace Windows Server at small-to-medium scale (episode 9). The expensive per-CPU cost of Windows Server licenses can be redirected to hardware and capacity.

When Samba Isn't the Right Choice

To give you a complete picture, let's be honest about its limits:

  • Linux-only performance: NFS can be faster for pure-Linux clients on an internal network.
  • Object storage: for large cloud-native data, MinIO/S3 is a better fit (episode 22 covers a full comparison).
  • Exotic Windows requirements: some advanced AD features (e.g. full GPMC, certain DFS-R features) aren't 100% covered by Samba AD DC — important to evaluate before migrating (episode 9).

Samba isn't a "free Windows Server" for every case — it's the right tool for file, print, and domain interoperability scenarios. Knowing when to use it and when not to is part of being a mature administrator. For example, picture a small office with five Windows machines and one Linux server: Samba gets all five machines sharing the same folders and printers within an hour, with zero licensing cost — exactly the scenario that started this project three decades ago.

Tip

The best way to understand Samba's history is to run its releases. After episode 3, check smbd --version — if it shows 4.24.5, you're running a direct descendant of the code born from Tridgell's 1992 experiment. History you can run.

Closing

Key takeaways:

  • Samba was born from Andrew Tridgell's reverse engineering of the SMB protocol in 1992 for Unix-Windows interoperability.
  • The SMB/CIFS protocol was standardized from 1992; Samba is managed under the Software Freedom Conservancy.
  • Samba 4 (2012+) unified the file server with an AD Domain Controller; the 4.24 series (2026) is its successor.
  • Samba is used for Windows integration, Linux-to-Linux sharing, and enterprise NAS without a Windows Server license.
  • Samba isn't the answer to everything — NFS and S3 have their own places.

In episode 2 next, we'll tear into core concepts & key architecture: the smbd, nmbd, and winbindd daemons, the SMB 1/2/3 protocol dialects (with SMB3 as the default and SMB1 disabled since 4.11), plus the config component /etc/samba/smb.conf and the smbclient, samba-tool, smbpasswd, and testparm tools. This is the technical foundation used in every episode that follows!

Learn Samba - History, Background & Why You Need It | Learning Samba