tip: Samba server not showing in Windows
ToddAndMargo via samba <[email protected]>
| Newsgroups | gmane.network.samba.general |
|---|---|
| Message-ID | <[email protected]> |
Samba server not showing in Windows:
smb.conf:
NetBIOS name should be uppercase
for example:
netbios name = SERVER
hosts allow's 127eed to have a "1" at the end
for example:
hosts allow = 192.168.202.0/24 127.0.0.1
wsdd:
wsdd need to be stopped and started along with
smbd and nmbd
# systemctl stop wsdd
# systemctl stop smb
# systemctl stop nmb
# systemctl start nmb
# systemctl start smb
# systemctl start wsdd
Firewalld:
Samba firewalld settings:
; Firewalld settings (run as root):
firewall-cmd --permanent --zone=public --add-service=samba
firewall-cmd --permanent --zone=public --add-port=3702/udp
firewall-cmd --permanent --zone=public --add-port=137/udp
firewall-cmd --permanent --zone=public --add-port=138/udp
firewall-cmd --permanent --zone=public --add-port=139/tcp
firewall-cmd --permanent --zone=public --add-port=445/tcp
firewall-cmd --zone=public --add-port=5357/tcp --permanent
firewall-cmd --reload
To verify:
firewall-cmd --zone=public --list-all
firewall-cmd --zone=public --list-ports
Windows checks (powershell as admin):
nbtstat -A 192.168.202.10
net view \\SERVER
Test-NetConnection 192.168.202.10 -Port 5357
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba