Score:0

Can't connect Ubuntu to Ubuntu via Samba

it flag

Both laptops OS: Ubuntu 22.04.2 LTS x86_64 There is NO WINDOWS MACHINE involved.

I have Samba running on both smbd version 4.15.13-Ubuntu started.

I turned off all security on the network to allow all traffic (for testing)

No matter which machine I'm on, if I open "Files" and select "Other Locations" under Networks I see the Samba running locally AND the one on the other laptop. I can access the local one with no problem on either laptop. BUT....

When I try to connect to the other laptop I always get the same Message:

"Unable to access location" "Failed to retrieve share list from server: Connection timed out"

I've tried cold starts, changing the workgroup names, etc but nothing lets me connect remotely, only locally. Details below.

---- smb.conf ---------
[global]
server string = SYSTEM-1
workgroup = INVESTIGATIONS
security = user
map to guest = Bad User
name resolve order = bcast host
include = /etc/samba/shares.conf
------ shares.conf ------------------
[Uploads]
path = /share/Uploads
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writeable = yes

[Downloads]
path = /share/Downloads
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writeable = no
uz flag
Jos
Could it be a `ufw` problem? Try this answer: https://askubuntu.com/a/1138007/149708
Morbius1 avatar
es flag
If system-1 is the host name of this server from the client machine connect to it with `nautilus smb://system-1.local/uploads`. Does that work?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.