With Samba, your Linux servers can act just like Windows file and printer servers to all your desktop clients. Samba is an open-source program that provides Server Message Block/Common Internet File System (SMB/CIFS) file services.
The first part, simply sharing files and printers, can be handled by using Samba as a server or as a client on Linux and Mac desktops.