s3:wb_lookupsids: don't ignore 'result' and check if we got useable values
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Jun 2011 16:16:15 +0000 (18:16 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 16 Jun 2011 16:41:01 +0000 (18:41 +0200)
commit85809ccbe3a79f307af1fdd227f33b899d8db1b4
tree91e861740b9a85ddd59b266d92c0e49cd02d21e2
parent283f8a7fb5089a7126f07e26315fd06ab59997d8
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
source3/winbindd/wb_lookupsids.c