]> git.ipfire.org Git - thirdparty/samba.git/commit
winbindd: Add a cache of the samr and lsa handles for the passdb domain
authorAndrew Bartlett <abartlet@samba.org>
Wed, 21 Mar 2018 07:43:10 +0000 (20:43 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 24 Mar 2018 01:31:15 +0000 (02:31 +0100)
commitd418d0ca33afb41a793a2fff19ca68871aa5e9ef
tree6ef9e147cbffdc4e088909221d133b7d77ed808f
parentda72c4018ed92feab28025f8c6c29894f4c8691c
winbindd: Add a cache of the samr and lsa handles for the passdb domain

This domain is very close, in AD DC configurations over a internal ncacn_np pipe
and otherwise in the same process via C linking.  It is however very expensive
to re-create the binding handle per SID->name lookup, so keep a cache.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/winbindd_samr.c