From ed0274433c438a65468238f1f97c1e809fec7bab Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 7 Sep 2006 21:08:29 +0000 Subject: r18234: DNS failures are too common to log at level zero or 1. Jeremy. (This used to be commit 943e21d5da2a8aadab1b2c3d700a9b8b880582f2) --- source3/libads/dns.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/libads/dns.c b/source3/libads/dns.c index d5c851d5ca..063665d136 100644 --- a/source3/libads/dns.c +++ b/source3/libads/dns.c @@ -287,7 +287,7 @@ static NTSTATUS dns_send_req( TALLOC_CTX *ctx, const char *name, int q_type, } if ( (resp_len = res_query(name, C_IN, q_type, buffer, buf_len)) < 0 ) { - DEBUG(1,("ads_dns_lookup_srv: Failed to resolve %s (%s)\n", name, strerror(errno))); + DEBUG(3,("ads_dns_lookup_srv: Failed to resolve %s (%s)\n", name, strerror(errno))); TALLOC_FREE( buffer ); return NT_STATUS_UNSUCCESSFUL; } @@ -323,7 +323,7 @@ static NTSTATUS ads_dns_lookup_srv( TALLOC_CTX *ctx, const char *name, struct dn status = dns_send_req( ctx, name, T_SRV, &buffer, &resp_len ); if ( !NT_STATUS_IS_OK(status) ) { - DEBUG(0,("ads_dns_lookup_srv: Failed to send DNS query (%s)\n", + DEBUG(3,("ads_dns_lookup_srv: Failed to send DNS query (%s)\n", nt_errstr(status))); return status; } @@ -471,7 +471,7 @@ NTSTATUS ads_dns_lookup_ns( TALLOC_CTX *ctx, const char *dnsdomain, struct dns_r status = dns_send_req( ctx, dnsdomain, T_NS, &buffer, &resp_len ); if ( !NT_STATUS_IS_OK(status) ) { - DEBUG(0,("ads_dns_lookup_ns: Failed to send DNS query (%s)\n", + DEBUG(3,("ads_dns_lookup_ns: Failed to send DNS query (%s)\n", nt_errstr(status))); return status; } -- cgit