linuxinfrastructure
Samba
sambalinuxservices
Plain English
Samba lets a Linux machine act like a Windows file server, so every computer in the house can open the same shared folder.
Technical Definition
Samba provides smbd (file and print) and can act as an Active Directory domain controller.
- Shares defined in /etc/samba/smb.conf; check with testparm.
- Users need a Samba password: smbpasswd -a.
- Linux permissions still apply underneath.
- SMB1 is disabled by default in current versions.
Source: smb.conf(5)
Samba in practice
$ sudo smbpasswd -a dev1
$ testparm -s
$ smbclient -L //localhost -U dev1In the Wild
Samba powers most home NAS boxes. BNLC lesson 8.5.