1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

r11851: Display correct error string.

Guenther
This commit is contained in:
Günther Deschner 2005-11-22 13:33:44 +00:00 committed by Gerald (Jerry) Carter
parent 6aefb3aebb
commit 4d681f560e

View File

@ -797,7 +797,7 @@ void winbindd_pam_chauthtok(struct winbindd_cli_state *state)
done:
state->response.data.auth.nt_status = NT_STATUS_V(result);
fstrcpy(state->response.data.auth.nt_status_string, nt_errstr(result));
fstrcpy(state->response.data.auth.error_string, nt_errstr(result));
fstrcpy(state->response.data.auth.error_string, get_friendly_nt_error_msg(result));
state->response.data.auth.pam_error = nt_status_to_pam(result);
DEBUG(NT_STATUS_IS_OK(result) ? 5 : 2,