winbindd: cache name-to-sid from PAC based on lookup domain
commite3a151e2472d97891c97cc898f27f3ccf712bf35
authorUri Simchoni <uri@samba.org>
Wed, 7 Jun 2017 17:33:24 +0000 (7 20:33 +0300)
committerJeremy Allison <jra@samba.org>
Fri, 21 Jul 2017 17:11:13 +0000 (21 19:11 +0200)
treecbb6316150e73b859ae2100a7d174c7aba210bae
parent1dcacff083019810e207a3d123a81fe32d9dde1a
winbindd: cache name-to-sid from PAC based on lookup domain

The name-to-sid lookup for trusted domains is not necessarily
done against the domain - in AD member case it is done
against the primary domain. Therefore the caching should also
be done against the lookup domain.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_pam.c