We check for !NT_STATUS_LOOKUP_ERR(), but wb_lookupsid_recv() only initializes the results together with NT_STATUS_OK.
Created attachment 13987 [details] Patch for 4.8 cherry-picked from master
Pushed to autobuild-v4-8-test. But needs backport to older versions.
Pushed to v4-8-test.
Re-assigning to Metze for backports.
Created attachment 14148 [details] Patch for v4-7-test
Reassinging to Karolin for inclusion in 4.7 (already in 4.8).
(In reply to Ralph Böhme from comment #6) Pushed to autobuild-v4-7-test.
(In reply to Karolin Seeger from comment #7) Pushed to v4-7-test. Closing out bug report. Thanks!