diff options
author | Kirill Nikolaev <cyril7@gmail.com> | 2021-04-06 01:03:18 +0200 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-04-07 00:46:54 -0700 |
commit | 272b0a5c1873a34f6609e7af38395cea3f02bda5 (patch) | |
tree | b5bf239b6a2e35eb73afac5f3ea23c4b312ecb9b /net/ksmbd-tools | |
parent | fa6f182a21c597cd792bfe83fc68c9c5d0b196b3 (diff) |
ksmbd-tools: Add a mDNS TXT record for the ksmbd service
MacOS ignores Bonjour services for which TXT records are not returned. This changes forces umdns service to return a TXT record (`daemon=ksmbd`) for the ksmbd service. The exact content is unimportant and to the best of my knowledge nothing reads the `daemon` tag.
Symptoms of the problem (which are also debugging steps):
* Finder refuses to open the OpenWRT "computer" in the Network list.
* Discovery.app (Bonjour Browser) lists the _ssh._tcp service, but the submenu for it doesn't unfold and no address is shown.
* `dns-sd -L OpenWrt _smb._tcp` doesn't return any address.
Signed-off-by: Kirill Nikolaev <cyril7@gmail.com>
Diffstat (limited to 'net/ksmbd-tools')
-rw-r--r-- | net/ksmbd-tools/files/ksmbd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ksmbd-tools/files/ksmbd.init b/net/ksmbd-tools/files/ksmbd.init index 996cb9bbc..00a842c1a 100644 --- a/net/ksmbd-tools/files/ksmbd.init +++ b/net/ksmbd-tools/files/ksmbd.init @@ -160,7 +160,7 @@ start_service() logger -p daemon.notice -t 'ksmbd' "Starting Ksmbd userspace service." procd_open_instance - procd_add_mdns "smb" "tcp" "445" + procd_add_mdns "smb" "tcp" "445" "daemon=ksmbd" procd_set_param command /usr/sbin/ksmbd.mountd --n procd_set_param file /etc/ksmbd/smb.conf procd_set_param limits nofile=16384 |