I’m trying to set up samba with wsdd:
λ ~/ systemctl status smb
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-03-06 12:21:05 CET; 1h 11min ago
λ ~/ systemctl status wsdd
● wsdd.service - Web Services Dynamic Discovery host daemon
Loaded: loaded (/usr/lib/systemd/system/wsdd.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-03-06 12:21:05 CET; 1h 12min ago
λ ~/ firewall-cmd --info-zone FedoraWorkstation
FedoraWorkstation (active)
target: default
icmp-block-inversion: no
interfaces: wlp2s0
sources:
services: dhcpv6-client mdns samba ssh wsdd
ports: 1025-65535/udp 1025-65535/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
I can access samba share from “nautilus / other locations / name” and from windows machine via IP address (but not name). According to Fedora / Firewalld problem port 3702/udp has to be open (but stays closed after enabling wsdd).
After executing “sudo firewall-cmd --add-port=3702/udp” nmap output is:
Starting Nmap 7.80 ( https://nmap.org ) at 2021-03-06 13:45 CET
Nmap scan report for fedora (192.168.100.2)
Host is up (0.00013s latency).PORT STATE SERVICE
3702/udp closed ws-discoveryNmap done: 1 IP address (1 host up) scanned in 0.22 seconds
And netstat output is:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 239.255.255.250:3702 0.0.0.0:* -
udp 0 0 239.255.255.250:3702 0.0.0.0:* -
udp 0 0 192.168.122.1:53 0.0.0.0:* -
udp 0 0 127.0.0.53:53 0.0.0.0:* -
udp 0 0 0.0.0.0:67 0.0.0.0:* -
udp 0 0 0.0.0.0:49276 0.0.0.0:* -
udp 0 0 0.0.0.0:57502 0.0.0.0:* -
udp 0 0 127.0.0.1:323 0.0.0.0:* -
udp 0 0 0.0.0.0:58491 0.0.0.0:* -
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:5355 0.0.0.0:* -
udp6 0 0 :::60361 :::* -
udp6 0 0 ff02::c:3702 :::* -
udp6 0 0 :::36683 :::* -
udp6 0 0 ::1:323 :::* -
udp6 0 0 fe80::7015:9ad5:362:546 :::* -
udp6 0 0 :::5353 :::* -
udp6 0 0 :::5355 :::* -
I have no idea whats going on.