Posts

Showing posts from August, 2026

Linux Samba server and Linux Samba client tutorial

I want to share from the server a directory, and use that directory share on the client computer. Using the Microsoft Windows "Server Message Block" (SMB)/CIFS directory sharing protocol. I have created two Kubuntu 26.04 virtual machines: a Samba server and a Samba client. Samba server: 192.168.122.202. Computer name: ASERVER. User name: sadmin. Samba client: 192.168.122.92. Username: administrator. A video version of this tutorial is available https://www.youtube.com/watch?v=mNgBZtunNnE . 1.Configure the Samba server computer Kubuntu 26.04 by default uses the ufw firewall solution and ufw is disabled. Configuring a firewall is another topic. Create the directory /home/sadmin/smbshare . Put some files there. # Become the user root. sudo su ufw status # Says "Status: inactive". apt update apt install samba smbclient cat > /etc/samba/smb.conf [linux_smbshare] comment = Linux smbshare path = /home/sadmin/smbshare browseable = yes read onl...