mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
s3:libsmb: Remove unused password copy stored in cli_state
Change-Id: Ia6b33a25628ae08be8a8c6baeb71ce390315cb45 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
@ -3389,8 +3389,7 @@ static void cli_full_connection_sess_set_up(struct tevent_req *subreq)
|
||||
return;
|
||||
}
|
||||
|
||||
status = cli_init_creds(state->cli, state->user, state->domain,
|
||||
state->password);
|
||||
status = cli_init_creds(state->cli, state->user, state->domain);
|
||||
if (tevent_req_nterror(req, status)) {
|
||||
return;
|
||||
}
|
||||
@ -3410,8 +3409,7 @@ static void cli_full_connection_done(struct tevent_req *subreq)
|
||||
if (tevent_req_nterror(req, status)) {
|
||||
return;
|
||||
}
|
||||
status = cli_init_creds(state->cli, state->user, state->domain,
|
||||
state->password);
|
||||
status = cli_init_creds(state->cli, state->user, state->domain);
|
||||
if (tevent_req_nterror(req, status)) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user