Help with File Sharing Between Windows 11 and Ubuntu Server

0
0
Asked By TechWanderer47 On

I'm trying to set up file sharing on my network between my Windows 11 PC and an Ubuntu server. I followed the guide on Ubuntu's website to install and configure Samba. I can access the shared folder from the Ubuntu side without issue, but when I try to connect to the Samba share from Windows using \{My_IP_address}sambashare, Windows asks for a username and password. I provide those, but then I get an error saying the network is not found (specifically error 0x80070043). I've added firewall exceptions and even turned off the firewalls on both machines to troubleshoot, but that hasn't helped. I've also ensured that network discoverability settings are turned on and that my network is set to private. I tried accessing a shared Windows folder from Ubuntu as well, but it keeps asking for a username, domain, and password, and I can't seem to find the correct combination. Has anyone dealt with a similar issue recently?

3 Answers

Answered By OpenSourceFanatic On

If you’re flexible, you might want to consider FTP instead of Samba. Some people find it works more smoothly for file sharing, especially in mixed OS environments.

TechWanderer47 -

Do Samba and FTP serve the same purpose? I’m new to these protocols.

Answered By SambaGuru93 On

From my experience, Windows clients sometimes have issues with Samba shares unless specific settings are configured. You might want to set the `wins support` option and ensure your `smb protocol level` is set to SMB3 in your Samba configuration. There's also a discovery service called WSDD you could try if you haven't already. I found that information really helpful in the past, and here's a link to a guide that might assist you further: [Ask Ubuntu Samba Visibility](https://askubuntu.com/questions/661611/make-samba-share-visible-in-windows-network).

TechWanderer47 -

Thanks for the tip! I've been cautious about older articles since tech changes quickly, so I appreciate the update. I'll give that a shot!

Answered By LinuxLover23 On

Did you complete all parts of the tutorial carefully? You need to run 'sudo smbpasswd -a your_username' after setting up Samba, replacing 'your_username' with your actual username. Making sure the shared folder is outside of your home directory is also a good practice, as it can restrict access to your user only.

TechWanderer47 -

Yes, I did change the password and used my username. Right now, I'm just the only user, so that shouldn’t be an issue.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.