mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pdu
metze
This commit is contained in:
parent
de6254d3d6
commit
6ecf8d16bc
@ -1725,13 +1725,12 @@ static void rpc_pipe_bind_step_one_done(struct tevent_req *subreq)
|
|||||||
struct rpc_pipe_bind_state *state = tevent_req_data(
|
struct rpc_pipe_bind_state *state = tevent_req_data(
|
||||||
req, struct rpc_pipe_bind_state);
|
req, struct rpc_pipe_bind_state);
|
||||||
struct pipe_auth_data *pauth = state->cli->auth;
|
struct pipe_auth_data *pauth = state->cli->auth;
|
||||||
DATA_BLOB reply_pdu;
|
|
||||||
struct ncacn_packet *pkt;
|
struct ncacn_packet *pkt;
|
||||||
struct dcerpc_auth auth;
|
struct dcerpc_auth auth;
|
||||||
DATA_BLOB auth_token = data_blob_null;
|
DATA_BLOB auth_token = data_blob_null;
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
|
|
||||||
status = rpc_api_pipe_recv(subreq, talloc_tos(), &pkt, &reply_pdu);
|
status = rpc_api_pipe_recv(subreq, talloc_tos(), &pkt, NULL);
|
||||||
TALLOC_FREE(subreq);
|
TALLOC_FREE(subreq);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
DEBUG(3, ("rpc_pipe_bind: %s bind request returned %s\n",
|
DEBUG(3, ("rpc_pipe_bind: %s bind request returned %s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user