NetBIOS names are not truncated at 16 chars. So if a netbios name longer than 16 chars is defined, we register the long name and are not able to look it up at all. The following patch will address the issue.
Created attachment 10409 [details] v4-2-test patch
Created attachment 10410 [details] v4-1-test patch
Re-assigning to Karolin for inclusion in 4.2.0, 4.1.next.
Pushed to autobuild-v4-[1|2]-test.
Pushed to v4-2-test. Waiting for autobuild-v4-1-test.
(In reply to Karolin Seeger from comment #5) Pushed to v4-1-test. Closing out bug report. Thanks!