git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a499a
)
s4 dns: Add some debug output
author
Kai Blin
<kai@samba.org>
Fri, 16 Dec 2011 13:22:51 +0000
(14:22 +0100)
committer
Kai Blin
<kai@samba.org>
Sat, 17 Dec 2011 01:46:08 +0000
(
02:46
+0100)
source4/dns_server/dns_update.c
patch
|
blob
|
history
diff --git
a/source4/dns_server/dns_update.c
b/source4/dns_server/dns_update.c
index 64b6181d7e349d881cbf65de626dd88283209ded..ccbeed9ff8576bdef2d61ab8b1f6759af8eb9c2d 100644
(file)
--- a/
source4/dns_server/dns_update.c
+++ b/
source4/dns_server/dns_update.c
@@
-682,11
+682,13
@@
WERROR dns_server_process_update(struct dns_server *dns,
}
if (z == NULL) {
+ DEBUG(0, ("We're not authorative for this zone\n"));
return DNS_ERR(NOTAUTH);
}
if (host_part_len != 0) {
/* TODO: We need to delegate this one */
+ DEBUG(0, ("Would have to delegate zones.\n"));
return DNS_ERR(NOT_IMPLEMENTED);
}
@@
-700,6
+702,7
@@
WERROR dns_server_process_update(struct dns_server *dns,
* key-based GSSAPI, key-based bind-style TSIG and "never" as
* smb.conf options. */
if (!update_allowed) {
+ DEBUG(0, ("Update not allowed."));
return DNS_ERR(REFUSED);
}