s3:rpc_client: let rpccli_connect_netlogon() reuse the existing connection
commit3e8747944f320b2242d0a6476a37ad3d7128d31f
authorStefan Metzmacher <metze@samba.org>
Thu, 19 Sep 2024 05:30:45 +0000 (19 07:30 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 26 Sep 2024 15:22:46 +0000 (26 15:22 +0000)
tree7788ecca6d783efa65d5091ab707bb93ab05c1d4
parentbbea955c3df91fdfcddf3742211485601dc3bdaf
s3:rpc_client: let rpccli_connect_netlogon() reuse the existing connection

We either use security context multiplexing if negotiated and
just do an alter_context on the existing connection or
we create a new connection within the same association group.

This is basically what windows clients are doing...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/rpc_client/cli_netlogon.c