winbindd: initialize type = SID_NAME_UNKNOWN in wb_lookupsids_single_done()
commitb5ffa0e21f74fa0c452df38cf50e542eb278562d
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Jan 2018 22:52:59 +0000 (23 23:52 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 21 Feb 2018 13:19:17 +0000 (21 14:19 +0100)
treefbe6b9e096f58bc65b34c63f00c041ff221d96e0
parent17c48f26dea5701feed1c24769348f332695391c
winbindd: initialize type = SID_NAME_UNKNOWN in wb_lookupsids_single_done()

We check for !NT_STATUS_LOOKUP_ERR(), but wb_lookupsid_recv()
only initializes the results together with NT_STATUS_OK.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/wb_lookupsids.c