summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2013-01-14 01:14:29 +0100
committerAmitay Isaacs <amitay@gmail.com>2013-05-16 21:40:15 +1000
commitf31bda67157c66bd9d7d108395610b514a54f28b (patch)
treed1f66c88bddd0ed3d21695fec5140c0270764e2a /source4/dns_server
parent4b010997486b059b90be1f69783a451f400d7df7 (diff)
downloadsamba-f31bda67157c66bd9d7d108395610b514a54f28b.tar.gz
samba-f31bda67157c66bd9d7d108395610b514a54f28b.tar.bz2
samba-f31bda67157c66bd9d7d108395610b514a54f28b.zip
dns: Use new DNS debugclass in DNS server
Signed-off-by: Kai Blin <kai@samba.org> Reviewed-By: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/dns_crypto.c3
-rw-r--r--source4/dns_server/dns_query.c3
-rw-r--r--source4/dns_server/dns_server.c3
-rw-r--r--source4/dns_server/dns_update.c3
-rw-r--r--source4/dns_server/dns_utils.c3
5 files changed, 15 insertions, 0 deletions
diff --git a/source4/dns_server/dns_crypto.c b/source4/dns_server/dns_crypto.c
index 7604a05339..aba906dedb 100644
--- a/source4/dns_server/dns_crypto.c
+++ b/source4/dns_server/dns_crypto.c
@@ -29,6 +29,9 @@
#include "auth/auth.h"
#include "auth/gensec/gensec.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
static WERROR dns_copy_tsig(TALLOC_CTX *mem_ctx,
struct dns_res_rec *old,
struct dns_res_rec *new_rec)
diff --git a/source4/dns_server/dns_query.c b/source4/dns_server/dns_query.c
index 54e0c7f3b0..35921100e1 100644
--- a/source4/dns_server/dns_query.c
+++ b/source4/dns_server/dns_query.c
@@ -37,6 +37,9 @@
#include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
static WERROR create_response_rr(const struct dns_name_question *question,
const struct dnsp_DnssrvRpcRecord *rec,
struct dns_res_rec **answers, uint16_t *ancount)
diff --git a/source4/dns_server/dns_server.c b/source4/dns_server/dns_server.c
index 29953c3f4d..6e0285ffc4 100644
--- a/source4/dns_server/dns_server.c
+++ b/source4/dns_server/dns_server.c
@@ -46,6 +46,9 @@
#include "auth/auth.h"
#include "auth/credentials/credentials.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
NTSTATUS server_service_dns_init(void);
/* hold information about one dns socket */
diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c
index 8be3564ee9..9edc40bc34 100644
--- a/source4/dns_server/dns_update.c
+++ b/source4/dns_server/dns_update.c
@@ -33,6 +33,9 @@
#include "dns_server/dns_server.h"
#include "auth/auth.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
static WERROR dns_rr_to_dnsp(TALLOC_CTX *mem_ctx,
const struct dns_res_rec *rrec,
struct dnsp_DnssrvRpcRecord *r);
diff --git a/source4/dns_server/dns_utils.c b/source4/dns_server/dns_utils.c
index 398839390e..e03a409751 100644
--- a/source4/dns_server/dns_utils.c
+++ b/source4/dns_server/dns_utils.c
@@ -30,6 +30,9 @@
#include "dsdb/common/util.h"
#include "dns_server/dns_server.h"
+#undef DBGC_CLASS
+#define DBGC_CLASS DBGC_DNS
+
uint8_t werr_to_dns_err(WERROR werr)
{
if (W_ERROR_EQUAL(WERR_OK, werr)) {