How to authenticate Samba share?

I want to access the network folder on my windows 11 laptop, but when I open it with nautilus, it says I need to provide a username and password? Is there a way to find out what my username and password is on my Windows 11 machine? I’ve tried using my windows username and password but it gives me this error:

I’m not very knowledgable with this kind of stuff. I have the smb and nmb systemd services running.

Are you dual booting with windows and fedora?
If so, and the fedora system cannot connect to windows it would seem that with windows shut down no services are running in windows.
You can instead simply mount the windows directory that you wish to access.

If instead you have 2 machines and want to access the windows machine from the remote fedora machine then smb or nmb would probably be correct.

Please clarify the setup so we understand what is being attempted.

I have fedora workstation located on my desktop machine, and windows 11 on my laptop. I want to access the windows 11 network drive from the remote fedora machine over the network.

It might be easier to debug this with the `smbclient’ command line tool.
You may need to install it. Then you can run in a terminal.

You can use it to get a list of shares and also to connect to one share and view files. See man smbclient for details.

Make sure that on your windows system you have allowed file sharing.
It’s disabled by default I recall.

In Nautilus I also see the port added to the address line, but in the screenshot provided seems to be missing. Can you test by adding the port as well?

Do you have the same behavior when using IPv4 instead of IPv6?

You could also check if network sharing is actually enabled on the Windows machine (wherever such a setting on a Windows OS would be), as also suggested above.

In Nautilus I also see the port added to the address line, but in the screenshot provided seems to be missing. Can you test by adding the port as well?

How can I add the port?

Do you have the same behavior when using IPv4 instead of IPv6?

Actually for some reason samba uses ipv4 now instead today when I logged on, and now I don’t have to authenticate. But now I get to this page, and I’m not sure how to proceed.


Additionally, sometimes Windows file explorer doesn’t actually show the FRAMEWORK13WIND drive in the network folder, but it still appears on gnome nautilus?

You could also check if network sharing is actually enabled on the Windows machine (wherever such a setting on a Windows OS would be), as also suggested above.

I have enabled network sharing on the windows 11 machine

Never mind, I just didn’t configure a folder to share on my windows machine. I guess this topic is solved? It seemed like using IPv6 was the problem

1 Like