What is Samba?
Samba is the standard Windows interoperability suite of programs for Linux and Unix. Since 1992, Samba has provided secure, stable and fast file and print services for all clients using the SMB/CIFS protocol, such as all versions of DOS and Windows, OS/2, Linux and many others.
Simply Saying, Samba is the program which enables you to share your folder and printers to windows machines and vice versa
How To Set Up Samba In Liya Linux?
Samba is preconfigured on Liya Linux, v2.5 and higher. wsdd protocol is also enabled by default for Shared Folders to show up on Windows 10 (1709 and higher). Liya Linux is configured to use SMB v3 by default which is the latest and supported standard by Microsoft.
However, if you are using Windows 8.1 or lower, you need to enable SMB v1 and NMB in order for your shares to show up in the file explorer. You can do so by typing
sudo use_smbv1
in the terminal.
How To Set Up Samba password?
Simply saying, you need to set the password for your samba user account in order to share your folders in your /home directory. If you do not do so, you will not be able to access the shares which are in your home directory like your Downloads or Public Folder.
- You can manually set up the samba password by running
sudo smbpasswd -a $USER for your user in the terminal.
And for the guest account, use sudo smbpasswd -a guest.
- To automate this process, we have set up a script, simply running the script will set up all samba passwords.
sudo configure_samba in terminal to set up your passwords.
It is recommended to use Public folder in home directory for shares.
If Anyone wants to get any section or question added, please write a reply.