Tools/samba-team/samba

samba

https://gitlab.com/samba-team/samba is the Official GitLab mirror of https://git.samba.org/samba.git -- Merge requests should be made on GitLab (not on GitHub)

1.1k+4/wkemergingCGNU General Public License v3.0trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated May 2026

Samba is the open source SMB/CIFS server that lets Linux and Mac machines share files with Windows clients (and vice versa). It also runs as an Active Directory domain controller, which is the bigger story for anyone trying to host Windows infrastructure without paying for Windows Server. GPLv3, mature, and shipped in basically every Linux distribution.

Self-hosting is well-trodden ground. Most distros have working defaults, and the community has documented every combination of share permissions, ACLs, and AD trust relationships you can dream up. The real work is the Active Directory side: joining domains, replicating users, and handling Group Policy takes Windows administration knowledge, not Linux know-how.

Solo and small teams: free and the right answer for shared file storage on a home server or small office. Mid-sized teams with mixed Windows and Linux fleets: free for file sharing and a real cost saver if you replace a Windows Server domain controller. Large teams: most still pair Samba with one Microsoft AD instance, but the option to run pure Samba is there.

The catch: SMB has a long history of CVEs. Patch promptly, lock down public exposure, and watch the security mailing list. Free does not mean set and forget.

Free vs Self-Hosted vs Paid

fully free

Free Tier

All of Samba. File server, print server, and Active Directory domain controller under GPLv3. No tier, no paywall.

Self-Hosted

Available in every major Linux distribution package manager. Basic file sharing is configured in smb.conf and works in minutes. AD domain controller setup takes longer because it involves Kerberos, DNS integration, and replication topology decisions.

Paid (commercial support)

SerNet and a handful of other vendors sell paid Samba support contracts for enterprises that need an SLA. The software itself stays free.

When the math works

Replacing a Windows Server file server saves $500-1500 per server in licensing. Replacing a Windows AD domain controller saves more. The catch is the operational expertise required to run AD on Linux confidently.

Free and open source under GPLv3. Zero licensing cost.

Self-hosting ops:moderate

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Score
65/100 · B
Adoption13/30
Maintenance25/25
Community7/20
License10/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

Trust Signals

Organization account (2 public repos)

License: GNU General Public License v3.0

Commercial OK but must share source of modifications.

Commercial use: ✓ Yes

About

Owner
Samba Team (Organization)
Stars
1,118
Forks
483

Explore Further

More tools in the directory