s4:rpc_server/winreg: don't cache an ldb connection per presentation context
authorStefan Metzmacher <metze@samba.org>
Wed, 21 Nov 2018 19:05:01 +0000 (20:05 +0100)
committerJeremy Allison <jra@samba.org>
Sat, 12 Jan 2019 02:13:39 +0000 (03:13 +0100)
commit2ed7db445bf2bd1b4ecab437cb1e860d51a58879
treee9f2534f616548ba7640ceae964973894f76ef0f
parent9616f6b8bc97bd59b2b934d5dc56cd0599b4e781
s4:rpc_server/winreg: don't cache an ldb connection per presentation context

We should do this per context handle, as these are available on all
connections of the association group.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/rpc_server/winreg/rpc_winreg.c