1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/source4/rpc_server/lsa
Andrew Bartlett ae57d22e45 s4-lsa: Cache sam.ldb handle in lsa_LookupSids3/LookupNames4
Since 5c0345ea9b this
would not have been implicitly cached via the ldb_wrap
cache, due to the recording of the remote IP address
(which is a good thing).

This creates a more explicit and direct correct
cache on the connection.

The common code, including the SCHANNEL check is
placed into a helper function.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14807

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sun Sep  5 03:19:26 UTC 2021 on sn-devel-184
2021-09-05 03:19:26 +00:00
..
dcesrv_lsa.c s4:rpc_server: Allow to use RC4 for creating trusts 2020-11-09 08:58:35 +00:00
lsa_init.c s4:rpc_server/lsa: make use of dcesrv_handle_create() 2019-01-12 03:13:35 +01:00
lsa_lookup.c s4-lsa: Cache sam.ldb handle in lsa_LookupSids3/LookupNames4 2021-09-05 03:19:26 +00:00
lsa.h s4:rpc_server/lsa: implement the policy security descriptor 2015-03-30 13:41:25 +02:00