1
0
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:
Andrew Bartlett
2014-09-23 14:19:35 -07:00
parent 07bd866f59
commit 2b9d6d3d9b
9 changed files with 13 additions and 36 deletions

View File

@ -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;
}