Windows 11 can't connect to Ubuntu samba shares?

Ken Ekholm 151 Reputation points
2023-09-04T10:47:02.2533333+00:00

I have problem to connect from Windows 11 to my sambashares on Ubuntu 22.04.3 LTSbut to my sambashare on Linux raspberrypi 6.1.21-v8+ the connection works.

When I tested with Windows 10 I was able to connect both Ubuntu's and RaspberryPi's samba shares without problems. Raspberry Pi has Samba version 4.13.13-Debian installed and Ubuntu has Samba version 4.18.6 installed.

Can some help me with this issue?

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

2 answers

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-09-06T09:32:36.3033333+00:00

    Hello there,

    When we mount the exported Samba share, we’ll authenticate as user pi. Samba knows nothing of pi’s password under Raspbian, so we’ll need to create a password using smbpasswd. I’d recommend you use the same password in Samba that you use in Raspbian, but that’s not required. Add pi’s Samba password as follows:

    $ sudo smbpasswd -a pi

    New SMB password:

    Retype new SMB password:

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments

  2. Ken Ekholm 151 Reputation points
    2023-09-06T20:25:44.1833333+00:00

    Thank you for your answers.

    With ip adress or hostname.local (eg. ServerPC.local) it works, so this solution is enough for me. :)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.