Videos
Hi, maybe the question sounds simple but im new in Linux (Ubuntu 20.04) and i been running into some problems while trying to follow these tutorials of How-to host folders with SMB via Linux, i recently got Ubuntu on my home server and i dont want to go back to Windows since i want to learn a bit, im new in this sub so i may be asking something wrong, but thanks for any sugerence!
Update: I finally got everything working and huge thanks to u/doc_willis for giving me the help that i needed to make this work!
But I can't go and see the shared directory or any directories on TIBERIUS
I do NOT want the Linux laptop to be the server as it's only intermittently on the network.
There is a bug in the gvfs backend ( gvfsd-smb-browse ) of your file manager that attempts to access the Win10 host and its share using a dialect of smb ( smb1 ) that Win10 has disabled.
That does not mean you cannot access the Win10 server - you just have to bypass the bug by asking for the host explicitly by its mDNS host name and share name in Thunar:
smb://tiberius.local/share-name
The .local part is something Win10 can now do by default.
The Samba configuration file can be confusing.
I show you how to use a graphical tool (system-config-samba) to set up Samba server.
Install the Samba server suite from Ubuntu repository by running the following command in terminal.
sudo apt-get install --reinstall samba samba-common-bin
To start these two services, issue the following commands:
sudo systemctl start smbd
sudo systemctl start nmbd
Now run the following command to install system-config-samba
sudo apt-get install system-config-samba
sudo touch /etc/libuser.conf
Create a Samba user, replace username with your preferred username
sudo adduser username
Set a password for the new user,You can press Enter to answer the remaining questions
Also need to set a separate Samba password for the user.
sudo smbpasswd -a username
Start system-config-samba, run the following command
sudo system-config-samba
In the Samba GUI, click Preferences ---> Server Settings menu.
Make sure the value of workgroup is the same with the workgroup settings of Windows computers.
Then click the plus button to create a Samba share, and in the Basic tab, specify
The directory/folder you want to share
The share name
A description of the share
Whether the remote user can write to the Samba share or not
Whether other computers in your network can see the Samba share or not
In the Access tab, select the Samba user you just created and click OK.
If the Samba user isnโt displayed, please restart system-config-samba.
If you select Allow access to everyone, then others in the same network can access the shared folder without entering a username and password.
You quickly share a folder using Samba with Thunar without requiring root access.