In this recipe, you will learn how to serve a Windows share from a CentOS system using Samba. Like NFS, a Windows share is a directory on a remote server that a client may access to store files. Samba is a server that understands the SMB protocol used by Windows so that it can export directories that a Windows client can mount.
This recipe requires a CentOS system with a working network connection. You'll also need administrative privileges provided by logging in with the root
account.
The name of your Windows workgroup is needed to configure Samba properly. Before you begin, on your Windows system in your network, run net config workstation
and record the Workstation domain
value: