๐ŸŒ
Samba
samba.org โ€บ samba โ€บ what_is_samba.html
What is Samba?
Samba is the most feature-rich Open Source implementation of the SMB and Active Directory protocols for Linux and UNIX-like systems.
free software re-implementation of the SMB networking protocol
Samba is a free software implementation of the SMB networking protocol, and was originally developed by Andrew Tridgell. Samba provides file and print services for various Microsoft Windows clients and can integrate โ€ฆ Wikipedia
Factsheet
Release 1992; 34 years ago (1992)
Stable release 4.24.4
/ 30 June 2026
Written in C, Python
Factsheet
Release 1992; 34 years ago (1992)
Stable release 4.24.4
/ 30 June 2026
Written in C, Python
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ Samba_(software)
Samba (software) - Wikipedia
1 month ago - Samba runs on most Unix-like systems, such as Linux, Solaris, AIX and the BSD variants, including Apple macOS (Mac OS X 10.2 and greater) and macOS Server. Samba also runs on a number of other operating systems such as OpenVMS and IBM i. Samba is standard on nearly all distributions of Linux ...
Discussions

What is Samba, and how is it used in Linux systems?
Definition: Samba is an open-source implementation of the SMB/CIFS protocol that enables file and printer sharing and Windows-style network services between Linux/Unix and Windows systems. ... Ace your HR Round! ... Stay ahead in your career. More on ambitionbox.com
๐ŸŒ ambitionbox.com
1
ELI5 : What is the difference between SMB, CIFS and Samba? And NFS, if you want.
CIFS and SMB are Windows file sharing protocols. CIFS being the latest version of SMB. NFS is traditionally a Unix file sharing protocol but now Windows Server supports it natively (the old version anyway--see below). SMB/CIFS uses Windows-style access control lists (which are really complicated) whereas NFS uses Unix-style file permissions (User ID owner, Group ID owner, and read/write/execute permissions). On Unix/Linux systems you can use Samba to both share and access filesystems via SMB/CIFS. Samba does a lot more than that though... It can actually act as a drop-in replacement for Microsoft's Active Directory. Linux has built-in support for CIFS shares now so Samba isn't needed in most cases. SMB/CIFS is an insecure protocol. All data transferred is unencrypted as it gets sent over the network. Only crazy people would use it over the Internet. NFS (curently) comes in two versions: 3 and 4. Version 3 is old (really old) and has some strange limitations (for example, users may only be in 16 groups or less). It is also insecure just like SMB/CIFS for the same exact reason (unencrypted). NFS version 4 (aka NFSv4) can be configured to use encryption and does not have the limitations of prior versions. Configuring it in this way is complicated though and requires the use of something called Kerberos. Kerberos is an authentication protocol that is so complicated you practically need a Phd in cryptography to understand it, an entire computer lab to try it out, and the patience of a saint when troubleshooting it because the error messages usually have nothing to do with the actual problem. For example, a very common error with Kerberos is, "Server not found in Kerberos database"; this error message was apparently invented to indicate to the user that they don't understand Kerberos. Naturally, Microsoft chose Kerberos as the primary authentication mechanism in Active Directory. Samba also uses it extensively. Kerberos also requires extensive use and knowledge of DNS. Not normal DNS (A records, CNAMEs, etc), no. That would be far too easy. Kerberos instead uses things like TXT and SRV records. Kerberos has been around for almost 30 years, re-made four times to improve security (we're on Kerberos version 5 now), and has well-defined specifications and standards. Microsoft in its infinite wisdom decided not to follow those specifications. They took some of the security away (no salts with password hashes, used weak/broken encryption algorithms, and disabled man-in-the-middle attack protections, and more!) and also inserted obscurity (Global Catalog lookups instead of using the Kerberos Key Distribution Center or KDC, used userPrincipalName and servicePrincipalName attributes in place of just 'principals', I can go on and on...). All of these things--SMB/CIFS, NFS, and Kerberos--are all traditionally tied together with a thing called LDAP. I believe LDAP stands for Ludicrously Dumb Attribute Protocol or something like that. Think of it like a big, slow, excruciatingly inefficient way to associate attributes like "last name" with an identity of some sort (username, hostname, etc). For reasons no one can remember LDAP has these things called "schemas" that you define when you setup your "LDAP server". These "schemas" are meant to enforce certain constraints on what attributes you can and cannot associate with any given identity, or "object" as they are referred to in LDAP land. They're essentially just a way to ensure profits go to industries that treat hair loss. And that, kids, is why you should stay in school. Actually, never mind. There's only one school where the professors actually understand Kerberos: MIT. The place where Kerberos was invented. Just don't expect them to know anything at all about Windows. More on reddit.com
๐ŸŒ r/homelab
50
91
September 2, 2014
which file server that is secure, easy, fast, stable, reliable, accessible from every devices? (no seafile, no nextcloud)
I don't see why sftp or samba wouldn't work. It depends on features and if bare bones is all you want, those two would suffice. If you want more, a bare bones nextcloud would work, but as you say will take a little setup (but honestly not that much). You are not required to use or even enable any of the collaborative software. The data is easily accessible without using the nextcloud software if you desire, the database is only for added features. If you want to share files or eventually add to the basic file sync functionality (say contacts, calendar, auto-photo backup, etc.), nextcloud is good for future build out. The basic sync functionality can easily run with 512 MB of ram, probably less. That being said, I think nextcloud/seafile shine when you need to SYNC things. If you just want a storage space then stick with sftp/samba. More on reddit.com
๐ŸŒ r/selfhosted
99
86
April 18, 2021
Is there any way to mount windows or linux shared folder?
I'm using EasySSHFS (by not_w) from the Play Store on rooted Android 11 (Pixel 3a), and it works fine. The only caveat is that it can't mount to the sdcard. What I do instead is mount to folders within termux's home directory. If you need automation, you can script termux to run the sshfs binary directly from the EasySSHFS app's home directory. This negates the need to switch apps in order to mount and unmount your SSHFS share. More on reddit.com
๐ŸŒ r/termux
25
4
December 23, 2020
๐ŸŒ
Red Hat
redhat.com โ€บ en โ€บ blog โ€บ getting-started-samba
Getting started with Samba for interoperability
November 20, 2025 - Samba is a suite of applications that implements the Server Message Block (SMB) protocol. Many operating systems, including Microsoft Windows, use the SMB protocol for client-server networking.
๐ŸŒ
Linux Mint Forums
forums.linuxmint.com โ€บ board index โ€บ main edition support โ€บ beginner questions
[solved] What is samba or smb? Do I really need it? - Linux Mint Forums
May 27, 2025 - SMBx ( their own version of Samba ) is now the default file sharing protocol for MacOS - since 2013. samba is an add on package that can be used to share files to Windows, MacOS, and Linux clients. KSMBD is embedded in the Linux kernel to provide SMB server capabilities.
๐ŸŒ
Ubuntu
ubuntu.com โ€บ tutorials โ€บ install-and-configure-samba
Install and Configure Samba | Ubuntu
In these regular emails you will ... again or file a bug report. Close ... A Samba file server enables file sharing across different operating systems over a network....
๐ŸŒ
Samba
samba.org
Samba - opening windows to a wider world
Samba is the most feature-rich Open Source implementation of the SMB and Active Directory protocols for Linux and UNIX-like systems.
Find elsewhere
๐ŸŒ
ArchWiki
wiki.archlinux.org โ€บ title โ€บ Samba
Samba - ArchWiki
May 26, 2026 - Since 1992, Samba has provided secure, stable and fast file and print services for all clients using the SMB/CIFS protocol, such as all versions of DOS and Windows, OS/2, Linux and many others. To share files through Samba, see #Server section; to access files shared through Samba on other machines, please see #Client section. Install the samba package. Samba is configured in the /etc/samba/smb.conf configuration file, which is extensively documented in smb.conf(5).
๐ŸŒ
Alibaba Cloud Community
alibabacloud.com โ€บ blog โ€บ what-is-samba_599981
What Is Samba? - Alibaba Cloud Community
May 11, 2023 - Samba is a software suite that provides seamless interoperability between Windows, Linux, and Unix operating systems in a networked environment.
๐ŸŒ
AmbitionBox
ambitionbox.com โ€บ home โ€บ interviews โ€บ interview questions
What is Samba, and how is it used in Linux systems? (Asked in 3 companies) - AmbitionBox
Definition: Samba is an open-source implementation of the SMB/CIFS protocol that enables file and printer sharing and Windows-style network services between Linux/Unix and Windows systems. ... Ace your HR Round! ... Stay ahead in your career.
๐ŸŒ
GitHub
github.com โ€บ samba-team โ€บ samba
About Samba
April 24, 2026 - Samba is the standard Windows interoperability suite of programs for Linux and Unix. Samba is Free Software licensed under the GNU General Public License and the Samba project is a member of the Software Freedom Conservancy.
Starred by 1.1K users
Forked by 482 users
Languages ย  C 77.3% | Python 18.5% | Shell 2.7% | Perl 1.3% | Yacc 0.1% | XSLT 0.1%
๐ŸŒ
Zentyal
zentyal.com โ€บ home โ€บ news โ€บ a beginnerโ€™s guide to setting up a linux samba server
A Beginner's Guide to Setting Up a Linux Samba Server
December 11, 2024 - A Linux Samba server is an open-source software suite that provides file and print services to SMB and CIFS clients. It allows Linux and Unix servers to share files with Windows clients.
๐ŸŒ
Home Assistant
home-assistant.io โ€บ common tasks โ€บ common tasks - home assistant operating system
Common tasks - Home Assistant Operating System - Home Assistant
The Samba app allows you to share the directories on Home Assistant with other systems on your network. After installing the app, you can then also edit files using the editor of your preference from your client computer.
๐ŸŒ
Raspberry Pi
raspberrypi.com โ€บ tutorials โ€บ nas-box-raspberry-pi-tutorial
How to build a Raspberry Pi NAS - Raspberry Pi
Run the following command to create a user to manage Samba sharing: ... From your desktop, press Command+K. Type smb://pi-nas.local and press the Enter key. Enter the username pi-nas-user and the password you chose in the Grant drive access step:
๐ŸŒ
Reddit
reddit.com โ€บ r/homelab โ€บ eli5 : what is the difference between smb, cifs and samba? and nfs, if you want.
r/homelab on Reddit: ELI5 : What is the difference between SMB, CIFS and Samba? And NFS, if you want.
September 2, 2014 -

Hi r/homelab ,

I was reading a magazine, and they were talking about SMB 3.0. They introduced it by talking of the firsts versions and CIFS.

And later, in the same magazine, they were talking about Samba.

I always tought that SMB/Samba/CIFS were all the same file sharing protocol (Samba being the Windows version of CIFS).

And if you can also explain what is NFS vs CIFS/SMB/samba, that would be appreciated too!

Thank you,

u/webtroter

Top answer
1 of 5
210
CIFS and SMB are Windows file sharing protocols. CIFS being the latest version of SMB. NFS is traditionally a Unix file sharing protocol but now Windows Server supports it natively (the old version anyway--see below). SMB/CIFS uses Windows-style access control lists (which are really complicated) whereas NFS uses Unix-style file permissions (User ID owner, Group ID owner, and read/write/execute permissions). On Unix/Linux systems you can use Samba to both share and access filesystems via SMB/CIFS. Samba does a lot more than that though... It can actually act as a drop-in replacement for Microsoft's Active Directory. Linux has built-in support for CIFS shares now so Samba isn't needed in most cases. SMB/CIFS is an insecure protocol. All data transferred is unencrypted as it gets sent over the network. Only crazy people would use it over the Internet. NFS (curently) comes in two versions: 3 and 4. Version 3 is old (really old) and has some strange limitations (for example, users may only be in 16 groups or less). It is also insecure just like SMB/CIFS for the same exact reason (unencrypted). NFS version 4 (aka NFSv4) can be configured to use encryption and does not have the limitations of prior versions. Configuring it in this way is complicated though and requires the use of something called Kerberos. Kerberos is an authentication protocol that is so complicated you practically need a Phd in cryptography to understand it, an entire computer lab to try it out, and the patience of a saint when troubleshooting it because the error messages usually have nothing to do with the actual problem. For example, a very common error with Kerberos is, "Server not found in Kerberos database"; this error message was apparently invented to indicate to the user that they don't understand Kerberos. Naturally, Microsoft chose Kerberos as the primary authentication mechanism in Active Directory. Samba also uses it extensively. Kerberos also requires extensive use and knowledge of DNS. Not normal DNS (A records, CNAMEs, etc), no. That would be far too easy. Kerberos instead uses things like TXT and SRV records. Kerberos has been around for almost 30 years, re-made four times to improve security (we're on Kerberos version 5 now), and has well-defined specifications and standards. Microsoft in its infinite wisdom decided not to follow those specifications. They took some of the security away (no salts with password hashes, used weak/broken encryption algorithms, and disabled man-in-the-middle attack protections, and more!) and also inserted obscurity (Global Catalog lookups instead of using the Kerberos Key Distribution Center or KDC, used userPrincipalName and servicePrincipalName attributes in place of just 'principals', I can go on and on...). All of these things--SMB/CIFS, NFS, and Kerberos--are all traditionally tied together with a thing called LDAP. I believe LDAP stands for Ludicrously Dumb Attribute Protocol or something like that. Think of it like a big, slow, excruciatingly inefficient way to associate attributes like "last name" with an identity of some sort (username, hostname, etc). For reasons no one can remember LDAP has these things called "schemas" that you define when you setup your "LDAP server". These "schemas" are meant to enforce certain constraints on what attributes you can and cannot associate with any given identity, or "object" as they are referred to in LDAP land. They're essentially just a way to ensure profits go to industries that treat hair loss. And that, kids, is why you should stay in school. Actually, never mind. There's only one school where the professors actually understand Kerberos: MIT. The place where Kerberos was invented. Just don't expect them to know anything at all about Windows.
2 of 5
18
SMB/CIFS is the protocol, Samba is the Linux/Unix implementation of the protocol.
๐ŸŒ
Urban Beat
cms.nucleusnetwork.com โ€บ home โ€บ news โ€บ understanding samba: a comprehensive guide
Understanding Samba: A Comprehensive Guide
December 4, 2025 - In the simplest terms, Samba is an open-source implementation of the Server Message Block (SMB) protocol, also known as the Common Internet File System (CIFS). This protocol is what Windows uses for sharing files, printers, and other network ...
Top answer
1 of 3
4

CIFS/Samba and NFS are profoundly different protocols with different implementations. Of course there may be reasons to prefer CIFS over NFS in certain scenarios, sometimes even out of performance considerations (CIFS offers more intelligent caching support through the use of oplocks whereas NFS lacks such a mechanism). The reasons for preferring Samba over the NFS implementation in a pure Linux environment obviously would need to be carefully weighted, but may be valid nonetheless.

For the general use, I would quote from the conclusion of a paper by one of the Samba team members, which also offers a lot of information comparing these two protocols:

With current Linux kernels, NFS version 4 and CIFS (cifs client/Samba server) are good choices for network file systems for Linux to Linux. NFS performance for large file copy workloads is better, and NFS offers some security options that the Linux cifs client does not. In heterogeneous environments that include Windows clients and servers, Samba is often much easier to configure.

2 of 3
3

in a pure Unix/Linux network without any Windows clients or servers?

Be carefull that this is true - and stays so.

As in: No people coming from outside with laptops, no small devices that can deal with a windows share but not anything else. Example? I recently installed a computer. I COULD have mounted the ISO file in the KVM from a windows share, but not from anything else - so I did use the mapping from my browser via Java remotely, but just to make the point: a lot of stuff supports windows style file shares, and you can be "all linux" as you want, when you call your supplier and get them reprogram a firmware you do not look smart.

Then there are external people that may come in and have Windows installed.

๐ŸŒ
LinuxQuestions.org
linuxquestions.org โ€บ questions โ€บ linux-networking-3 โ€บ samba-why-is-it-a-nightmare-to-setup-a-simple-shared-folder-4175699120
SAMBA -- why is it a nightmare to setup a simple shared folder???
August 13, 2021 - Please first check my screenshot here: https://i.imgur.com/yGOjvaN.jpg The left side shows my client computer trying to access the shared folder. The
๐ŸŒ
Scribd
scribd.com โ€บ document โ€บ 411218954 โ€บ What-is-Samba-docx
What is Samba.docx
Samba is an open source software suite that provides secure file and print services for Linux and Unix machines to interoperate with Windows machines using the SMB/CIFS protocol. It allows Linux/Unix servers and desktops to integrate with Active ...
๐ŸŒ
TechTerms
techterms.com โ€บ definition โ€บ samba
Samba Definition - What is Samba networking software?
August 4, 2023 - Without Samba, Windows and non-Windows computers would be isolated from one another, even while connected to the same LAN. Samba is available for free under the GNU General Public License, and most Unix and Linux distributions include it to support cross-platform file sharing.
๐ŸŒ
DEV Community
dev.to โ€บ wolfmath โ€บ set-up-a-samba-server-in-ubuntu-linux-quick-guide-3ci2
Set up a Samba server in Ubuntu Linux: Quick Guide - DEV Community
November 25, 2020 - You can make as many samba shares as you want. I have a documents directory that I want anybody to have access to. I'll also add the music folder from my plex server. What you put in [Square Brackets] will be the name of the folder/directory everyone sees on the network. force user must be the user of the server, otherwise you may get a username and password prompt. path is (obviously) the path to the shared directory.