Commit 0dd54eb0 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

secur32: Print the ntlm_auth diagnostic message to the winediag channel.

parent 2f74d505
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ntlm); WINE_DEFAULT_DEBUG_CHANNEL(ntlm);
WINE_DECLARE_DEBUG_CHANNEL(winediag);
#define NTLM_MAX_BUF 1904 #define NTLM_MAX_BUF 1904
#define MIN_NTLM_AUTH_MAJOR_VERSION 3 #define MIN_NTLM_AUTH_MAJOR_VERSION 3
...@@ -2051,14 +2052,13 @@ void SECUR32_initNTLMSP(void) ...@@ -2051,14 +2052,13 @@ void SECUR32_initNTLMSP(void)
} }
else else
{ {
ERR("%s was not found or is outdated. " ERR_(winediag)("%s was not found or is outdated. "
"Make sure that ntlm_auth >= %d.%d.%d is in your path.\n", "Make sure that ntlm_auth >= %d.%d.%d is in your path. "
ntlm_auth, "Usually, you can find it in the winbind package of your distribution.\n",
MIN_NTLM_AUTH_MAJOR_VERSION, ntlm_auth,
MIN_NTLM_AUTH_MINOR_VERSION, MIN_NTLM_AUTH_MAJOR_VERSION,
MIN_NTLM_AUTH_MICRO_VERSION); MIN_NTLM_AUTH_MINOR_VERSION,
ERR("Usually, you can find it in the winbind package of your " MIN_NTLM_AUTH_MICRO_VERSION);
"distribution.\n");
} }
cleanup_helper(helper); cleanup_helper(helper);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment