git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0e8b90e
)
r11851: Display correct error string.
author
Günther Deschner
<gd@samba.org>
Tue, 22 Nov 2005 13:33:44 +0000
(13:33 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:05:30 +0000
(11:05 -0500)
Guenther
(This used to be commit
4d681f560e59dd483f580c5fe5299af6242ae7c2
)
source3/nsswitch/winbindd_pam.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_pam.c
b/source3/nsswitch/winbindd_pam.c
index 4582eced0e5319a42d9b6cdf6951a21175763918..e683f397b66e82ef7b8db37be1c2a31d593fee6b 100644
(file)
--- a/
source3/nsswitch/winbindd_pam.c
+++ b/
source3/nsswitch/winbindd_pam.c
@@
-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,