mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:drepl: make use of dcerpc_binding_handle_auth_session_key()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
af16ecece8
commit
51f5eefcd1
@ -119,9 +119,10 @@ static void dreplsrv_out_drsuapi_connect_done(struct composite_context *creq)
|
||||
|
||||
state->drsuapi->drsuapi_handle = state->drsuapi->pipe->binding_handle;
|
||||
|
||||
status = gensec_session_key(state->drsuapi->pipe->conn->security_state.generic_state,
|
||||
state->drsuapi,
|
||||
&state->drsuapi->gensec_skey);
|
||||
status = dcerpc_binding_handle_auth_session_key(
|
||||
state->drsuapi->drsuapi_handle,
|
||||
state->drsuapi,
|
||||
&state->drsuapi->gensec_skey);
|
||||
if (tevent_req_nterror(req, status)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user