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:
parent
6aefb3aebb
commit
4d681f560e
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user