KB045289 – Enabling Network Discovery of Samba Shares with WSD Service

Last modified: February 28, 2021
You are here:
Estimated reading time: 1 min

Enabling Network Discovery of Samba Shares with WSD Service

Scope/Description:

This article will show how to enable reliable network discovery of samba shares withe the WSD service.

At the end of this article you will be able to access your samba shares in the “Network Neighbourhood” in Windows Explorer.

This service works with standalone samba servers as well as CTDB.

Prerequisites:

  • Samba shares preconfigured
  • Windows DNS record that points to samba/ctdb server, in the example that host-name is LABSAMBACLUSTER

Steps:

  • Install “wsd” service on system
yum install wsdd
  • Open firewalld ports
firewalld --permanent --add-port=3702/udp
firewalld --permament --add-port=5357/tcp
  • Edit wssd config file. If in a CTDB environment do this on every node.
    • LABSAMBACLUSTER is the name that will show up in the “Network Neighbourhood” this needs to match the DNS record created already.
echo "OPTIONS="-4 -n LABSAMBACLUSTER"" > /etc/sysconfig/wsdd
  • Restart “wsdd” service. If in a CTDB environment do this on every node.
systemctl restart wsdd
  • Verify you can reach your shares through the network neighborhood

 

Verification:

Troubleshooting:

Was this article helpful?
Dislike 0
Views: 69
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access