mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +03:00
s4:libnet: make use of dcerpc_binding_handle_auth_session_key() in libnet_become_dc.c
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
51f5eefcd1
commit
bf888b59e3
@ -1612,7 +1612,8 @@ static void becomeDC_drsuapi1_connect_recv(struct composite_context *req)
|
||||
|
||||
s->drsuapi1.drsuapi_handle = s->drsuapi1.pipe->binding_handle;
|
||||
|
||||
c->status = gensec_session_key(s->drsuapi1.pipe->conn->security_state.generic_state,
|
||||
c->status = dcerpc_binding_handle_auth_session_key(
|
||||
s->drsuapi1.drsuapi_handle,
|
||||
s,
|
||||
&s->drsuapi1.gensec_skey);
|
||||
if (!composite_is_ok(c)) return;
|
||||
@ -2524,7 +2525,8 @@ static void becomeDC_drsuapi2_connect_recv(struct composite_context *req)
|
||||
|
||||
s->drsuapi2.drsuapi_handle = s->drsuapi2.pipe->binding_handle;
|
||||
|
||||
c->status = gensec_session_key(s->drsuapi2.pipe->conn->security_state.generic_state,
|
||||
c->status = dcerpc_binding_handle_auth_session_key(
|
||||
s->drsuapi2.drsuapi_handle,
|
||||
s,
|
||||
&s->drsuapi2.gensec_skey);
|
||||
if (!composite_is_ok(c)) return;
|
||||
@ -2594,7 +2596,8 @@ static void becomeDC_drsuapi3_connect_recv(struct composite_context *req)
|
||||
|
||||
s->drsuapi3.drsuapi_handle = s->drsuapi3.pipe->binding_handle;
|
||||
|
||||
c->status = gensec_session_key(s->drsuapi3.pipe->conn->security_state.generic_state,
|
||||
c->status = dcerpc_binding_handle_auth_session_key(
|
||||
s->drsuapi3.drsuapi_handle,
|
||||
s,
|
||||
&s->drsuapi3.gensec_skey);
|
||||
if (!composite_is_ok(c)) return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user