[PATCH 3/3] ntlm_auth: Increase debug level if we use config domain name.

Andreas Schneider asn at samba.org
Fri Oct 26 10:11:37 MDT 2012


If an application like evolution-ews is using ntlm_auth it will alwys
get this message cause the is no winbind running and it is not needed.

Signed-off-by: Andreas Schneider <asn at samba.org>
---
 source3/utils/ntlm_auth.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 7cf40b9..2bf9747 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -301,7 +301,7 @@ const char *get_winbind_domain(void)
 
 	if (winbindd_request_response(WINBINDD_DOMAIN_NAME, NULL, &response) !=
 	    NSS_STATUS_SUCCESS) {
-		DEBUG(0, ("could not obtain winbind domain name!\n"));
+		DEBUG(1, ("could not obtain winbind domain name!\n"));
 		return lp_workgroup();
 	}
 
@@ -327,7 +327,7 @@ const char *get_winbind_netbios_name(void)
 
 	if (winbindd_request_response(WINBINDD_NETBIOS_NAME, NULL, &response) !=
 	    NSS_STATUS_SUCCESS) {
-		DEBUG(0, ("could not obtain winbind netbios name!\n"));
+		DEBUG(1, ("could not obtain winbind netbios name!\n"));
 		return lp_netbios_name();
 	}
 
-- 
1.8.0




More information about the samba-technical mailing list