s3:winbindd: avoid directly asking a trusted domain in wb_lookupsids*()
commit953720784a0fe2a73e7db6d617ff181394465094
authorGregor Beck <gbeck@sernet.de>
Thu, 20 Feb 2014 10:25:53 +0000 (20 11:25 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 10 Mar 2014 15:35:32 +0000 (10 16:35 +0100)
tree50cebcdf5c87a5f5ac8def8475bbe3b2f3ca6129
parent099a02a11db054fb2f42c42ded40ec4bce9b6fb9
s3:winbindd: avoid directly asking a trusted domain in wb_lookupsids*()

As a domain member we should always use a DC of our own domain.

It would be possible to pass all sids in one single dcerpc_wbint_LookupSids()
call. For now we just fix bug.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10458
Signed-off-by: Gregor Beck <gbeck@sernet.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 66fb0ce9557553a4c01607b517e65ac4c93841d0)
source3/winbindd/wb_lookupsids.c