summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-07 21:08:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:17 -0500
commited0274433c438a65468238f1f97c1e809fec7bab (patch)
tree6a6c30afeee060e9a06f726a8bbc827813c8b8c2 /source3
parent1779e3f10410b8248d28de5234f746b79417e837 (diff)
downloadsamba-ed0274433c438a65468238f1f97c1e809fec7bab.tar.gz
samba-ed0274433c438a65468238f1f97c1e809fec7bab.tar.bz2
samba-ed0274433c438a65468238f1f97c1e809fec7bab.zip
r18234: DNS failures are too common to log at level zero or 1.
Jeremy. (This used to be commit 943e21d5da2a8aadab1b2c3d700a9b8b880582f2)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/dns.c6
1 files changed, 3 insertions, 3 deletions
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;
}