Samba is a free and open source software package that can be used to provide a powerful file and printer sharing over the network. Samba can help people to share files and directories between Linux and Windows PC. On this tutorial, I will show you how to install Samba on OpenSUSE 13.1. After Samba is installed, we can start configuring it to serve the network with file and printer sharing features.
1. Install Samba on OpenSUSE 13.1
Open Terminal and login as root
su
Now execute this command
zypper in samba*
2. Configure Samba
Now samba is installed and we can start to configure it. I want to show you how to create a simple file sharing on Samba.
Edit the /etc/samba/smb.conf
nano /etc/samba/smb.conf
Under the [global] section, make sure you have the following lines
passdb backend = tdbsam
You can add it if it does not exist. Next is to create a shared folder which only Samba users can access or write to it. Add the following lines to smb.conf