we have two Ubuntu 20.04 LTS servers running. For both we applied identical samba setups except different share names and local paths. When we enter \IP.of.Server.1\ in Windows Explorer our share is visible and can accessed after entering User/Password.
For server #2 it's different.
When we enter \IP.of.Server.2\ in Windows Explorer a 0x80070043 error is thrown.
But, if we enter \IP.of.Server.2\share in Windows Explorer it's asking for password and everything is working then.
So it seems the share(s) of server #2 are invisible or it has a problem to list the available shares.
The shares are configured as follows on both servers:
[sharename]
comment = xxx yyy
path = /home/xxx/data
browseable = Yes
public = Yes
writeable = yes
valid users = schmaus
Both are fully upgraded to Samba 4.13.17-Ubuntu.
I already tried to temporary disable ufw to exclude a firewall problem and checked permissions. Both servers use the same username/password for the share and the user is owner of the shared folders and both have the same permissions.
I would be grateful for any help.
testparm -s
and compare the output to the output of the same command on UbuntuServer1. Any differences especially in the [global] section?