1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

winbindd: use set_auth_errors() in winbindd_dual_check_machine_acct as well.

Guenther
(This used to be commit bb9c59e892cc9d3047bde89a15cc341e2bd21bc5)
This commit is contained in:
Günther Deschner 2008-08-25 13:03:15 +02:00
parent 66fa77ba9e
commit e682f09da5

View File

@ -86,10 +86,7 @@ enum winbindd_result winbindd_dual_check_machine_acct(struct winbindd_domain *do
"good" : "bad"));
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));
state->response.data.auth.pam_error = nt_status_to_pam(result);
set_auth_errors(&state->response, result);
DEBUG(NT_STATUS_IS_OK(result) ? 5 : 2, ("Checking the trust account password returned %s\n",
state->response.data.auth.nt_status_string));