diff options
author | Kai Blin <kai@samba.org> | 2011-12-16 14:22:51 +0100 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2011-12-17 02:46:08 +0100 |
commit | afa98bdc51c635cb7d7cc8c63497598e522610fd (patch) | |
tree | 0e0af2a4a6dced4be9056cecfd0760141c4fbb54 /source4 | |
parent | d8a499a27b1cc19189be7cf51f01888389346950 (diff) | |
download | samba-afa98bdc51c635cb7d7cc8c63497598e522610fd.tar.gz samba-afa98bdc51c635cb7d7cc8c63497598e522610fd.tar.bz2 samba-afa98bdc51c635cb7d7cc8c63497598e522610fd.zip |
s4 dns: Add some debug output
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dns_server/dns_update.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dns_server/dns_update.c b/source4/dns_server/dns_update.c index 64b6181d7e..ccbeed9ff8 100644 --- 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); } |