Now we will configure the Samba installation by editing the configuration file. The configuration file smb.conf is present in /etc/samba/. We will setup the configuration file to share the user's home directory and a public directory /tmp to share files among users.