samba36: Enable umdnsd support
authorRosen Penev <rosenp@gmail.com>
Fri, 17 Aug 2018 02:32:59 +0000 (19:32 -0700)
committerJohn Crispin <john@phrozen.org>
Wed, 22 Aug 2018 09:23:02 +0000 (11:23 +0200)
Allows discovery without having to use NetBIOS. Useful for mobile devices.

Could eventually throw nbmd away. But that requires Windows 10...

Tested on Fedora 28 with avahi-discover.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/network/services/samba36/Makefile
package/network/services/samba36/files/samba.init

index 75705d0b3727f4ed420dbe635ca711be29369f08..b4322f04f4cb279626a455104346536fc273fa40 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=samba
 PKG_VERSION:=3.6.25
-PKG_RELEASE:=11
+PKG_RELEASE:=12
 
 PKG_SOURCE_URL:=https://download.samba.org/pub/samba \
                https://download.samba.org/pub/samba/stable
index ae0e0e230dfe65c15a5f6fb09ad3b97bb406ecea..1c5bb3b3c43eacc6ee3a181a16b63c906365b81b 100755 (executable)
@@ -101,6 +101,7 @@ start_service() {
        init_config
 
        procd_open_instance
+       procd_add_mdns "smb" "tcp" "445"
        procd_set_param command /usr/sbin/smbd -F
        procd_set_param respawn
        procd_set_param file /var/etc/smb.conf