Samba Server (Samba share) "Windows cannot access \\<IP>\dietpi"

Hello,
I did a clean installation of 9.9.0 - Native PC (x86_64) and during the install I selected only 96 and nothing more, but I cannot access \\DIETPI from a Windows 11 machine.

/etc/samba/smb.conf

[global]

        workgroup = WORKGROUP
        server string = %h server
        dns proxy = no
        log file = /var/log/samba/log.%m
        max log size = 1000
        logging = syslog@1

        panic action = /usr/share/samba/panic-action %d

        security = user
        passdb backend = tdbsam
        obey pam restrictions = yes
        unix password sync = yes

        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        pam password change = yes
        map to guest = bad user

        load printers = no
        printcap name = /dev/null
        disable spoolss = yes

[dietpi]
        comment = DietPi Share
        path = /mnt/dietpi_userdata
        browseable = yes
        create mask = 0664
        directory mask = 0775
        valid users = dietpi
        writeable = yes
max connections = 24

do I need to setup more?

Did you try using IP address already?

Yes. Hostname or IP do not work for me.

Can you ping it?
can you access or ping it from another machine?

pings just fine. \ip\dietpi is simply not available on any other machine…

hmm just did a test on a demo system without issues.

@bheyne666 how do you try to access the smb share? Using Windows explorer? And just using \\your.ip.address is not giving a login prompt?

Yes via windows explorer. Just “run” and then \IP\dietpi. Then I receive and error. Just the IP does not yield a different result.

And all is fine for you? How strange…

You are using one ore two backslash?

It’s the forum that removes them from my replies. But I type : backslash backslash ipaddress backslash dietpi

Or fqdn instead of ip.

Using code tags should avoid this :wink:

Even if you only enter the IP address \\1.2.3.4 in Windows Explorer, nothing happens? No user/password query in Windows Explorer? Is here an error message at least?

You can also check the logs and the service status

journalctl -u nmbd -u smbd
systemctl status nmbd smbd