ntlm_auth: Increase debug level if we use config domain name.
authorAndreas Schneider <asn@samba.org>
Fri, 26 Oct 2012 16:07:59 +0000 (18:07 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 26 Oct 2012 18:13:45 +0000 (20:13 +0200)
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.

Reviewed-by: Simo Sorce <idra@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Oct 26 20:13:45 CEST 2012 on sn-devel-104

source3/utils/ntlm_auth.c

index 7cf40b905de188ed9ccf7db5a007162004e6658b..2bf9747b2fb68fd583e3245edd2eb8993dd8bd97 100644 (file)
@@ -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();
        }