s4 dns: Fix return code for deleted records
commit1a0c013591f592339235370607685027425874a7
authorKai Blin <kai@samba.org>
Sun, 30 Sep 2012 09:26:24 +0000 (30 11:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 2 Oct 2012 14:46:06 +0000 (2 16:46 +0200)
treea9d5048e5fb18d91dd46658257fe4a9620d07162
parent8d25b8ae35e2f190e42aa064ef3c60faf1a4ddf2
s4 dns: Fix return code for deleted records

This fixes bug #9225. We already had a test for this scenario, but the test wasn't
correct. This patch fixes the test, and also fixes the bug.

Signed-off-by: Kai Blin <kai@samba.org>
Autobuild-User(v4-0-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-0-test): Tue Oct  2 16:46:06 CEST 2012 on sn-devel-104
source4/dns_server/dns_utils.c
source4/scripting/python/samba/tests/dns.py