From 3f0d0002ae4a5351ee01fcb6c0bb81b98273fac0 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 25 Nov 2003 23:24:14 +0000 Subject: Add a comment, and a useful debug message. (This used to be commit df14b0af31863680218b06ae9de2f010a38fba6e) --- source3/nsswitch/winbindd_pam.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/nsswitch/winbindd_pam.c') diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index d849a6d5a9..6e386760b4 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -384,6 +384,8 @@ done: state->response.data.auth.nt_status = NT_STATUS_V(result); push_utf8_fstring(state->response.data.auth.nt_status_string, nt_errstr(result)); + + /* we might have given a more useful error above */ if (!*state->response.data.auth.error_string) push_utf8_fstring(state->response.data.auth.error_string, get_friendly_nt_error_msg(result)); state->response.data.auth.pam_error = nt_status_to_pam(result); -- cgit