On Tue, 2021-01-19 at 17:18 +0100, Götz Reinicke wrote:
Hi,
Am 18.01.2021 um 20:08 schrieb Robert G. (Doc) Savage via CentOS centos@centos.org:
I'm
following https://www.linuxbabe.com/redhat/set-up-samba-server-on-centos-8-rhel-8-for-...
to set up Samba 4.12.3-12 on my Storinator fileserver running CentOS 8.3. I am trying to share out /tank/Windows/ as a Samba share:
...
When I try to map network drive from my Windows 10 PC using the graphical File Explorer, it asks me for my username and password. It doesn't accept my password. When I try to map it at the CMD cli, I get:
C:> net use S: \192.168.1.20\public\ System error 67 has occurred.
The network name cannot be found.
Could this be a network browsing problem in Samba? What have I missed?
Anything in the samba logs? May be SELinux/Firewall issues?
Götz,
Unfortunately, no.
The nmbd log verifies that the fileserver's samba service is the local master browser for WORKGROUP on both eth0 and virbr0.
[2021/01/17 19:02:22.190795, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2) ***** Samba name server LIONSTORE is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.20 *****
[2021/01/17 19:02:22.191085, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2) ***** Samba name server LIONSTORE is now a local master browser for workgroup WORKGROUP on subnet 192.168.122.1 *****
The samba smbd log simply reports the connection denials:
[2021/01/17 23:07:40.304626, 0] ../../lib/util/access.c:371(allow_access) Denied connection from 192.168.1.30 (192.168.1.30
There's nothing in the SELinux logs for that date.
I checked firewall-config on the storage server and verified that the samba service is allowed (but not samba-client or samba-dc).
--Doc