s3:wb_lookupsids: don't ignore 'result' and check if we got useable values
commite26fb591060b10880b25f6b0a4437f9c9052dab4
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Jun 2011 16:16:15 +0000 (16 18:16 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 17 Jun 2011 19:08:14 +0000 (17 21:08 +0200)
treec72c54be965e4057d968ebe7fe8a1837a7f545b5
parent1269dec1b0121fcbf6dda36a385a4a510232124e
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)
source3/winbindd/wb_lookupsids.c