s3:wb_lookupsids: don't ignore 'result' and check if we got useable values
commitddd0a5772833b3ab0b5adbd6e79f9069c50f0e0f
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Jun 2011 16:16:15 +0000 (16 18:16 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Jul 2011 19:49:41 +0000 (26 21:49 +0200)
tree46feaad7fcd41a1031d3aa3a2df313b4c313a43a
parentd8c3819e50ce378ef352f3562a5c2256f5110c54
s3:wb_lookupsids: don't ignore 'result' and check if we got useable values

The wrong fix for bug #8215 discovered this bug, as it caused
sam_rids_to_names() to always return NT_STATUS_NONE_MAPPED.

metze
(cherry picked from commit 85809ccbe3a79f307af1fdd227f33b899d8db1b4)
(cherry picked from commit e26fb591060b10880b25f6b0a4437f9c9052dab4)
source3/winbindd/wb_lookupsids.c