s3:ntlmssp Add extra DEBUG() message for auth system failures
authorAndrew Bartlett <abartlet@samba.org>
Fri, 6 Aug 2010 08:35:25 +0000 (18:35 +1000)
committerGünther Deschner <gd@samba.org>
Tue, 10 Aug 2010 10:13:00 +0000 (12:13 +0200)
Andrew Bartlett

Signed-off-by: Günther Deschner <gd@samba.org>
source3/libsmb/ntlmssp.c

index 906d743b919b17fdf10439b6ccf39caa256fc9dd..2ad8d8783a3c63fd8453f0b8df53d280e44f35db 100644 (file)
@@ -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;
        }