Samba Server Not Appearing

Issues related to applications and software problems and general support
Post Reply
jjrowan
Posts: 132
Joined: 2005/09/10 13:07:15
Contact:

Samba Server Not Appearing

Post by jjrowan » 2020/01/02 00:59:09

Recent install of CentOS 8 replacing CentOS 5 and 6. The /etc/samba/smb.conf is similar to that from the Cent 5 and 6 servers. On Windows 10 computers clicking Network in explore window the Cent 5 and 6 servers appear in the right window, the Centos 8 server does not appear.

I can access the Cent 8 server by specifying \\192.168.3.7 (it's IP address) and then all the shares appear.

I disabled samba on the Cent 5 and 6 servers. Now only 3 of my PCs appear in the explore window where previously my 8 computers would appear in addition to the Cent 5 and 6 servers.

I made the 8 server's smb.conf identical to the 5 or 6 and restarted samba but then the Windows computers couldn't attach, they were prompted for the password, entered but couldn't connect. I've reverted the Cent 8 smb.conf so my computers can connect by specifying \\192.168.3.7. I want to be able to see the name of the server in the right pane and click on it rather than specifying ip address. Suggestions?

# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
workgroup = mygroup
server string = Samba Version %v
interfaces = lo, enp3s0f0 192.168.3.7

security = user
passdb backend = tdbsam
domain logons = Yes
preferred master = Yes
domain master = Yes
hosts allow = 127., 192.168.3.0/24
local master = Yes
preferred master = Yes

User avatar
KernelOops
Posts: 428
Joined: 2013/12/18 15:04:03
Location: xfs file system

Re: Samba Server Not Appearing

Post by KernelOops » 2020/01/02 08:31:51

Is it possible that you are blocking samba name service port? make sure that ports 137,138,139,445 are open from firewalld (and the correct TCP or UDP type, or both).

Also make sure all relevant services nmb/smb are running.
--
R.I.P. CentOS :cry:
--

jjrowan
Posts: 132
Joined: 2005/09/10 13:07:15
Contact:

Re: Samba Server Not Appearing

Post by jjrowan » 2020/01/02 12:42:30

Thank you. I'd fat-fingered the ipaddress typing 3.87 instead of 3.7, changed to correct address, restarted nmb and it's working.

Post Reply