mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
s3:libnet_join: make use of dcerpc_binding_handle_transport_session_key()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
2cb726e92c
commit
56175a0947
@ -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)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user