summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-08-06 18:35:25 +1000
committerGünther Deschner <gd@samba.org>2010-08-10 12:13:00 +0200
commitf744e42bd08cd724da09b5b04bafb68de07888cc (patch)
treef76ba853c688522179f9297b8cd1db71de876c06 /source3/libsmb
parente0c94d14b3ddc6f20e8f37b2a01b045ca2ad7375 (diff)
downloadsamba-f744e42bd08cd724da09b5b04bafb68de07888cc.tar.gz
samba-f744e42bd08cd724da09b5b04bafb68de07888cc.tar.bz2
samba-f744e42bd08cd724da09b5b04bafb68de07888cc.zip
s3:ntlmssp Add extra DEBUG() message for auth system failures
Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/ntlmssp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c
index 906d743b91..2ad8d8783a 100644
--- a/source3/libsmb/ntlmssp.c
+++ b/source3/libsmb/ntlmssp.c
@@ -330,6 +330,8 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
/* Ask our caller what challenge they would like in the packet */
status = ntlmssp_state->get_challenge(ntlmssp_state, cryptkey);
if (!NT_STATUS_IS_OK(status)) {
+ DEBUG(1, ("ntlmssp_server_negotiate: backend doesn't give a challenge: %s\n",
+ nt_errstr(status)));
return status;
}