Results 1 to 5 of 5

Thread: Windows 11 can't connect to Ubuntu samba shares?

  1. #1
    Join Date
    Sep 2023
    Beans
    2

    Windows 11 can't connect to Ubuntu samba shares?

    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 someone help me with this issue?


  2. #2
    Join Date
    Dec 2009
    Beans
    6,816

    Re: Windows 11 can't connect to Ubuntu samba shares?

    Way more information is required to answer that question but first .....

    Find the ip address of your Ubuntu machine:
    Code:
    hostname -I
    Then in Win11 open explorer and enter:
    Code:
    \\the-ip-address-you-got-from-above\share-name
    What error message do you get?

    The information required to make more than a guess would be the output of these commands in Ubuntu:
    Code:
    testparm -s
    Code:
    net usershare info --long
    Code:
    hostname

  3. #3
    Join Date
    Sep 2023
    Beans
    2

    Re: Windows 11 can't connect to Ubuntu samba shares?

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

  4. #4
    Join Date
    Sep 2023
    Beans
    1

    Re: Windows 11 can't connect to Ubuntu samba shares?

    I have the same problem.

    All other PC's on our network connect without error but, the single Win 11 PC just chokes on it with errorcode 0x80004005

  5. #5
    Join Date
    Dec 2009
    Beans
    6,816

    Re: Windows 11 can't connect to Ubuntu samba shares?

    0x80004005 is Microsoft's "We have no idea what the hell the problem is" error message.

    To rule out a host name resolution problem:

    [1] Make sure avahi is installed on Ubuntu so you can do what kenne76 did:
    Code:
    sudo apt install avahi-daemon
    [2] And for Win10/11 to be able to "discover" your Ubuntu server under Network in explorer install WS-Discovery in Ubuntu:
    Code:
    sudo apt install wsdd
    If that does nothing for you your issue is unrelated to the original question and you might want to start your own topic.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •