[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Samba setup glitch



I'm following https://www.linuxbabe.com/redhat/set-up-samba-server-on-centos-8-rhel-8-for-file-sharing 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:

# ls -al /tank
total 61
drwxr-xr-x. 6 root root 7 Dec 26 10:43 Backups
drwxr-xr-x. 6 root root 6 Dec 4 22:47 Repos
drwxrwxrwx. 2 doc doc 4 Dec 28 14:01 VMs
drwxrwxrwx. 2 root root 2 Jan 17 17:04 Windows

My /etc/samba/smb.conf file is set up as follows:

# testparm
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
printcap name = cups
security = USER
idmap config * : backend = tdb
cups options = raw
hosts allow = 192.168.0

...

[public]
comment = public share, no need to enter username and password
guest ok = Yes
path = /tank/Windows
read only = No

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\tank\Windows\
System error 67 has occurred.

The network name cannot be found.

Could this be a network browsing problem in Samba? What have I missed?

--Doc