From: Stefan Metzmacher Date: Sat, 14 Sep 2024 13:52:29 +0000 (+0200) Subject: s3:libnet_join: make use of dcerpc_binding_handle_transport_session_key() X-Git-Tag: tdb-1.4.13~1122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56175a0947fbb56d151fca057cf9696d55ea5d82;p=thirdparty%2Fsamba.git s3:libnet_join: make use of dcerpc_binding_handle_transport_session_key() Signed-off-by: Stefan Metzmacher Reviewed-by: Ralph Boehme --- diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index d49d54436bb..ce99429a4f5 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1363,7 +1363,8 @@ static NTSTATUS libnet_join_joindomain_rpc(TALLOC_CTX *mem_ctx, b = pipe_hnd->binding_handle; - status = cli_get_session_key(mem_ctx, pipe_hnd, &session_key); + status = dcerpc_binding_handle_transport_session_key( + b, mem_ctx, &session_key); if (!NT_STATUS_IS_OK(status)) { DEBUG(0,("Error getting session_key of SAM pipe. Error was %s\n", nt_errstr(status)));