Latest News:
2019-02-21: XigmaNAS 11.2.0.4.6536 - released!

Latest BETA Release:
2019-02-21: XigmaNAS 12.0.0.4.6536 - BETA released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS cost money, please consider a donation to our project so we can continue to offer you the best.
We need your support! eg: PAYPAL

New WSD Discovery for Samba Shares

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
sleyk2010
NewUser
NewUser
Posts: 8
Joined: 22 Nov 2018 03:30
Status: Offline

New WSD Discovery for Samba Shares

#1

Post by sleyk2010 » 09 Mar 2019 16:36

Hello,

I wanted to ask/make a suggestion for a feature to be included in upcoming releases if not already included.

As you know, Windows 10 got rid of Samba 1.0 and with it, the local master browser.

Windows 10 now uses new WSD discovery method to browse and see shares from other windows clients/pc's.

Yes you can enable samba 1.0 if need, but i believe it to be unsafe now? Also it is advised to turn off netbios with tcp/ip as it is old code now and windows doesn't need it anymore. Only samba 1.0 relied on it.

non windows devices (xigmanas, freenas, synology etc.) do not show up for me anymore. This is due to fact that xigma doesnt have WSD service discovery feature enabled/implemented by default?

Further, cifs/smb service in xigmanas gives option for local master broswer, but if have windows 10 pc 1703/1709 build or later, local master browser has no effect since turned off in windows, and once netbios disabled, non windows system is "invisible" thus windows 10 pc's do not see xigmanas in network neighborhood.

Yes, you can map shares from xigmanas, but i would like to browse and see my pc and all the servers i have on my network.

I included a link here to a script this guy created: https://github.com/christgau/wsdd its from github where xigma developers can include to base system of xigma or in samba or as a daemon to allow nas system to be seen and discovered in windows network discovery neighborhood through the new wd discovery method.

I haven't found a way to test if this is already enabled in xigma, so please dont be upset at me for suggesting! :)

It seems to be built in python and it looks simple and easy to implement, i just don't know how to do myself, but i think all users can benefit, and if not needed, can be option to disable.

I think this will solve the problem many have with not being able to browse shares on network with windows 10/8/7 pc's if netbios and samba 1.0 is turned off.

Also not necessary to read, but if have a few moments, a good resource from Freenas Forum: https://www.ixsystems.com/community/res ... -ever.106/

doktornotor
Advanced User
Advanced User
Posts: 158
Joined: 16 May 2017 00:22
Status: Offline

Re: New WSD Discovery for Samba Shares

#2

Post by doktornotor » 13 Mar 2019 09:07

A huge amount of code was contributed to Samba upstream to get WSD working -- and subsequently absolutely wasted due to ignoring the contribution for years... :x :cry:

https://bugzilla.samba.org/show_bug.cgi?id=11473

+1 from me getting something into XigmaNAS, the upstream road obviously won't get us anywhere. (Similar python-based stuff is shipped e.g. with QNAP.)

Brahiewahiewa
NewUser
NewUser
Posts: 12
Joined: 01 Aug 2012 15:54
Status: Offline

Re: New WSD Discovery for Samba Shares

#3

Post by Brahiewahiewa » 14 Mar 2019 09:08

doktornotor wrote:
13 Mar 2019 09:07
...
+1 from me getting something into XigmaNAS, the upstream road obviously won't get us anywhere. (Similar python-based stuff is shipped e.g. with QNAP.)
I second that opinion

sleyk2010
NewUser
NewUser
Posts: 8
Joined: 22 Nov 2018 03:30
Status: Offline

Re: New WSD Discovery for Samba Shares

#4

Post by sleyk2010 » 14 Mar 2019 13:22

It is truly a shame this was presented to the Samba team since August 2015 and this was ignored. Especially since most of the hard work was done for them already.

Thanks to both of you for supporting this. I hope the Devs can see this and maybe implement this on the next build. I think FreeNas is also working on implementing this for their next build and I believe their nightlies already have it for users to test out.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4772
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: New WSD Discovery for Samba Shares

#5

Post by raulfg3 » 14 Mar 2019 15:49

+1

it's weird can't use names and need to use IP
12.0.0.4 - BETA (revision 6412)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes
Old Wiki

sleyk2010
NewUser
NewUser
Posts: 8
Joined: 22 Nov 2018 03:30
Status: Offline

Re: New WSD Discovery for Samba Shares

#6

Post by sleyk2010 » 17 Mar 2019 14:12

Thanks for the +1 Raulf, Yeah I too now have to browse by IP address just to find my shares. The problem for me is that I have shared folders for my fiance and for her, its not easy to browse, much less search by ip address. Also, even mapping drives sometimes fail, not often, but they do occasionally not allow her to see the shares.

Forget it if you have more then one nas or server at home.

If any of you guys have some star power with the devs, give them a buzz or a ring and see if we can get some more eyes on this. I feel like this is a much needed feature for Xigmanas now and I think it will eliminate many of the SMB/shares/explorer problems users may face.

netware5
experienced User
experienced User
Posts: 84
Joined: 31 Jan 2017 21:39
Location: Sofia, BULGARIA
Status: Offline

Re: New WSD Discovery for Samba Shares

#7

Post by netware5 » 17 Mar 2019 15:05

I've attempted to manually test the script above, but failed due to the Pyton version. The script requires Pyton3, which seems to be not available in Xigmanas 11.2.0.4.6400.
XigmaNAS 11.2.0.4 - Omnius (rev.6400) embedded on HP Proliant Microserver Gen8, Xeon E3-1265L, 16 GB ECC, 2x4TB WD Red ZFS Mirror

Brahiewahiewa
NewUser
NewUser
Posts: 12
Joined: 01 Aug 2012 15:54
Status: Offline

Re: New WSD Discovery for Samba Shares

#8

Post by Brahiewahiewa » 18 Mar 2019 15:28

netware5 wrote:
17 Mar 2019 15:05
... The script requires Pyton3, which seems to be not available in Xigmanas 11.2.0.4.6400.
Did you run

Code: Select all

pkg install python3
?

netware5
experienced User
experienced User
Posts: 84
Joined: 31 Jan 2017 21:39
Location: Sofia, BULGARIA
Status: Offline

Re: New WSD Discovery for Samba Shares

#9

Post by netware5 » 18 Mar 2019 16:23

Brahiewahiewa wrote:
18 Mar 2019 15:28
netware5 wrote:
17 Mar 2019 15:05
... The script requires Pyton3, which seems to be not available in Xigmanas 11.2.0.4.6400.
Did you run

Code: Select all

pkg install python3
?
I am using Xigmanas embedded, so installation of any packages is useless.
XigmaNAS 11.2.0.4 - Omnius (rev.6400) embedded on HP Proliant Microserver Gen8, Xeon E3-1265L, 16 GB ECC, 2x4TB WD Red ZFS Mirror

sleyk2010
NewUser
NewUser
Posts: 8
Joined: 22 Nov 2018 03:30
Status: Offline

Re: New WSD Discovery for Samba Shares

#10

Post by sleyk2010 » 18 Mar 2019 18:15

I suppose next step would be if anyone has virtual machine to run test in full installation?

doktornotor
Advanced User
Advanced User
Posts: 158
Joined: 16 May 2017 00:22
Status: Offline

Re: New WSD Discovery for Samba Shares

#11

Post by doktornotor » 19 Mar 2019 16:48

Python 2.7 is getting EOLed by the end of this year, so... needs to get replaced anyway.

Post Reply

Return to “Suggestions & Requests”