Samba

Open source

Samba is an open source implementation of the SMB and Active Directory protocols for Linux and UNIX-like systems, providing file and print services.

Open-source alternative to

samba.org
Samba homepage screenshot
GitHub stars
1.2k
Last 30 days
+9(+1%)
Last commit
yesterday
Repository age
11 years
Licence
GPL-3.0
Self-hosted
Yes

About Samba

Samba implements the SMB and Active Directory protocols on Linux and UNIX-like systems. It provides file and print services for clients using SMB and other AD protocols such as LDAP and Kerberos, and it can act either as an Active Directory Domain Controller or as a member server.

The site also describes Samba as scalable distributed software for access to cluster filesystems, used by cloud platform-as-a-service providers, software-defined storage, high-performance computing and enterprise network attached storage. Linux and Unix servers and desktops can be integrated into Active Directory environments with it.

Samba is Free Software under the GNU General Public License and a member of the Software Freedom Conservancy. It is developed by a worldwide community, funded by individuals, companies and funds such as the Sovereign Tech Fund, and the site lists commercial support providers.

Key features

  • SMB and Active Directory protocol implementation
  • File and print services over SMB, LDAP and Kerberos
  • Acts as domain controller or member server
  • Access to cluster filesystems at scale
  • Integrates Linux and Unix machines into Active Directory

Good fit for

  • Share files with Windows clients from Linux
  • Run an Active Directory domain controller on Linux
  • Provide SMB access to cluster storage
Built with
C tools
Tags
smb
active directory
file server
print server
linux
ldap
kerberos

Samba: questions and answers

What is Samba used for?
Samba is an open source implementation of the SMB and Active Directory protocols for Linux and UNIX-like systems, providing file and print services. It is a good fit for share files with Windows clients from Linux, run an Active Directory domain controller on Linux and provide SMB access to cluster storage.
Is Samba open source?
Yes. Samba is open source under the GPL-3.0 licence. Its source code is on GitHub at samba-team/samba and is written mainly in C.
Is Samba free?
Yes. Samba is open source, so the software itself is free to use.
Can I self-host Samba?
Yes. Samba can be self-hosted on your own server or infrastructure.
What is Samba an alternative to?
Samba is an open-source alternative to JumpCloud. Other open-source alternatives to JumpCloud include FreeIPA, Authelia and Authentik.
Is Samba actively maintained?
Yes. The most recent commit to Samba was on 12 November 2026. The project has 1.2k stars on GitHub, with 9 added in the last 30 days.

Open-source alternatives to Samba

See all

SaaS alternatives to Samba

See all