]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r5455: Remove bogus DEBUG messages (dump for a failure to parse NTLMSSP,
authorAndrew Bartlett <abartlet@samba.org>
Sat, 19 Feb 2005 09:27:06 +0000 (09:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:40 +0000 (10:55 -0500)
before trying the alternate format).

This only caused confusion and bug reports...

Andrew Bartlett

source/libsmb/ntlmssp.c

index ec3186255a77a3036eeeb0d2d756e6dc70091b0b..4d9aaf989b105201292865a4e255e44844b6daa3 100644 (file)
@@ -393,7 +393,7 @@ static NTSTATUS ntlmssp_server_negotiate(struct ntlmssp_state *ntlmssp_state,
                                 &neg_flags,
                                 &cliname,
                                 &domname)) {
-                       DEBUG(1, ("ntlmssp_server_negotiate: failed to parse NTLMSSP:\n"));
+                       DEBUG(1, ("ntlmssp_server_negotiate: failed to parse NTLMSSP Negotiate:\n"));
                        dump_data(2, (const char *)request.data, request.length);
                        return NT_STATUS_INVALID_PARAMETER;
                }
@@ -539,8 +539,6 @@ static NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state,
                         &workstation,
                         &encrypted_session_key,
                         &auth_flags)) {
-               DEBUG(1, ("ntlmssp_server_auth: failed to parse NTLMSSP:\n"));
-               dump_data(2, (const char *)request.data, request.length);
                SAFE_FREE(domain);
                SAFE_FREE(user);
                SAFE_FREE(workstation);
@@ -563,7 +561,7 @@ static NTSTATUS ntlmssp_server_auth(struct ntlmssp_state *ntlmssp_state,
                                 &domain, 
                                 &user, 
                                 &workstation)) {
-                       DEBUG(1, ("ntlmssp_server_auth: failed to parse NTLMSSP:\n"));
+                       DEBUG(1, ("ntlmssp_server_auth: failed to parse NTLMSSP (tried both formats):\n"));
                        dump_data(2, (const char *)request.data, request.length);
                        SAFE_FREE(domain);
                        SAFE_FREE(user);