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)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 9 Aug 2010 06:30:42 +0000 (16:30 +1000)
Andrew Bartlett

source3/libsmb/ntlmssp.c

index 995b7c2c5bc19a73140182e9ddab646934b44daf..601e7c1c86b0877920b26162ae8526c2d6e21938 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;
        }