Chapter 8. Samba

How to let your Linux machine serve files and printers to Windows machines

SMB (Server Message Block) is the primary file and print sharing protocol for MS-Windows-based machines. Linux can provide services to and receive services from SMB-based machines.

The other printing and print sharing option is called Samba, developed mainly by some nice folks in Australia. TCP/IP and SMB work quite nicely together. In fact, they work so well together one could piggyback a packet of SMB data onto a TCP/IP packet.[1] This relationship is one that Samba uses to get Windows machines to talk to Linux. The latest version of Samba can be found at http://www.samba.org/.

Let's quickly go through a small network.

Setting Up an MS Windows Network

This ...

Get Red Hat Linux System Administration Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.