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

simo idra at samba.org
Fri Oct 26 10:16:01 MDT 2012


On Fri, 2012-10-26 at 18:11 +0200, Andreas Schneider wrote:
> 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();
>  	}
>  

Ack,
feel free to add the following before pushing to autobuild.
Reviewed-by: Simo Sorce <idra at samba.org>

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer <simo at samba.org>
Principal Software Engineer at Red Hat, Inc. <simo at redhat.com>



More information about the samba-technical mailing list