summaryrefslogtreecommitdiff
path: root/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-31 12:53:30 +1100
committerStefan Metzmacher <metze@samba.org>2012-02-17 10:48:09 +0100
commit2f74f2f18056e83c396b196939bc8f89bd4d0702 (patch)
treee2f0879065cb6fa61109f58ad6aa816865ae3472 /auth
parentb0aa49e9a3238b6395be78c2de101f2b98387686 (diff)
downloadsamba-2f74f2f18056e83c396b196939bc8f89bd4d0702.tar.gz
samba-2f74f2f18056e83c396b196939bc8f89bd4d0702.tar.bz2
samba-2f74f2f18056e83c396b196939bc8f89bd4d0702.zip
s3-auth: Add extra error messages on authentication or authorization failure
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth')
-rw-r--r--auth/ntlmssp/ntlmssp_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/auth/ntlmssp/ntlmssp_server.c b/auth/ntlmssp/ntlmssp_server.c
index b190cf3ab7..1a498e8f74 100644
--- a/auth/ntlmssp/ntlmssp_server.c
+++ b/auth/ntlmssp/ntlmssp_server.c
@@ -568,6 +568,10 @@ NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state,
&state->user_session_key,
&state->lm_session_key);
if (!NT_STATUS_IS_OK(nt_status)) {
+ DEBUG(5,("%s: Checking NTLMSSP password for %s\\%s failed: %s\n",
+ __location__,
+ ntlmssp_state->domain, ntlmssp_state->user,
+ nt_errstr(nt_status)));
TALLOC_FREE(state);
return nt_status;
}