The standard Windows interoperability suite of programs for Linux and Unix
open sourceGPL-3.0-or-laterself-hostablefree
Samba is the open source implementation of the SMB file sharing and Active Directory protocols for Linux and other Unix-like systems. It gives Windows, macOS and Linux clients file and print services over SMB, can join an existing Active Directory domain as a member server, or can itself be an Active Directory domain controller with its own LDAP directory, Kerberos KDC, DNS and Group Policy hosting. It also does standalone file servers, Time Machine backups for Macs and clustered file serving with CTDB. Samba has been developed since 1992 by the Samba Team, is a member project of the Software Freedom Conservancy and is GPL-3.0-or-later.
Ways to install
On your own server
Package managers
Problems it solves
- share folders from my Linux server so Windows PCs can map them as network drives
- run Active Directory for a small office without paying for Windows Server licences
- join our Linux file servers to the company's Active Directory domain so staff use their normal logins
- back up the office Macs to a Linux NAS with Time Machine
- set up a network printer share on Linux for Windows clients
- manage Windows desktops with Group Policy from a Linux domain controller
- replace our old Windows file server with Linux without changing how users access shares
- run two domain controllers so logins keep working if one fails
- map Active Directory users and groups to Unix IDs on our Linux machines
- build a clustered file server that several Linux nodes serve at once
- my home server needs SMB shares that Windows, macOS and Linux laptops can all open
- my DIY NAS runs Linux and the family's Windows laptops need to see its folders in File Explorer
Features
- file and print services for all clients that use SMB
- Active Directory domain controller with integrated LDAP and Heimdal Kerberos KDC (experimental MIT Kerberos)
- member server in an Active Directory or NT4 domain
- hosting and administering Group Policy Objects
- Samba internal DNS or BIND9_DLZ DNS back ends
- standalone file server and print server setups
- Time Machine backup support for macOS
- clustered Samba with CTDB
- winbind and RFC2307 mapping of AD users and groups to Unix IDs
- samba-tool for provisioning and managing a domain
Limitations
- Doesn't run an Active Directory domain above the Windows Server 2008 R2 forest functional level: higher levels are still a work in progress6
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what Samba does.
- Microsoft Active Directory Domain Services A directory service that makes network resource data available to authorized network users and administrators
- Azure Files Simple, secure, serverless cloud and AI file shares.
- OpenLDAP Community developed LDAP software
- FreeIPA Integrated security information management solution
- 389 Directory Server The enterprise-class Open Source LDAP server for Linux
- LLDAP Light LDAP implementation for authentication