17
submitted 1 year ago* (last edited 1 year ago) by EuroNutellaMan@lemmy.world to c/selfhosted@lemmy.world

Hello everyone,

I set up a file-sharing server on my raspberry pi using samba and tailscale to connect to it from networks that aren't the same as the raspberry pi's.

Recently I added a second user so that they can backup their stuff. On linux everything works fine but on Micro$hit's Windows 10 it doesn't let them connect to the file server. Or rather, at first I tried with an unrelated person who only accessed the public folder as a "guest" (rather: no user) from windows and it worked. Then we tried with this person and it let her access the server at first but wouldn't let her log in with her credentials. Turns out I forgot to add the user to samba, so I do that, reboot the server, and then it just doesn't let her connect to the server in the first place, giving an 0x80004005 unspecified error.

I should also point out that she's accessing the machine as an external tailscale user with the device being shared to her.

What could be the cause of this and how can we go about solving it? I'd love to just tell her to just install linux and be on with our day but that simply isn't much of an option.

Sorry if the information isn't too precise, I'm still a bit of a noob.

EDIT: It works through the local network after disabling the firewall but connecting through tailscale doesn't work.

top 4 comments
sorted by: hot top controversial new old
[-] markr@lemmy.world 5 points 1 year ago

Windows requires smb v2 or later. Smb 1 is hopelessly insecure.

[-] SheeEttin@lemmy.world 2 points 1 year ago

What's in the logs on the client and server?

[-] EuroNutellaMan@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

stupid question but where exactly can I find these logs?

Server uses linux so I can probably find them somehow but idk about the windows client

[-] gentoo_biscuit@thelemmy.club 1 points 1 year ago

Thanks for the solution edit. I think I'm having the same issue trying to connect from windows with Tailscale to Linux share. Will try over local network later

this post was submitted on 30 Aug 2023
17 points (90.5% liked)

Selfhosted

40198 readers
892 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS