s3:winbindd_lookuprids: use wbint_LookupSids instead of wbint_LookupRids for most...
authorStefan Metzmacher <metze@samba.org>
Fri, 24 Jun 2011 18:13:26 +0000 (20:13 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 24 Jun 2011 18:16:43 +0000 (20:16 +0200)
commit12b03ad89ecc98600a6d3ac91a3f3bf08c068858
tree47e8e6ed345799b24cd52dc7c13162ec1f3fc804
parent61ad6060161709d14f83da6f4cfecff120f83da2
s3:winbindd_lookuprids: use wbint_LookupSids instead of wbint_LookupRids for most domains (bug #7841)

Using wbint_LookupRids() looses the domain sid to which the rids belong.
We can only use wbint_LookupRids for the domain of our local sam,
for the unix user/group and builtin domains and trusts we need to
use wbint_LookupSids in order to pass the domain sids to the target.

metze
source3/winbindd/winbindd_lookuprids.c