diff options
author | Aaron Haslett <aaronhaslett@catalyst.net.nz> | 2018-07-02 13:43:33 +1200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-07-12 04:31:54 +0200 |
commit | 418cd93f4c9c90b0f5002e32203be8281af660cf (patch) | |
tree | cafb8fcdb6f802d38ba99c16b1c84e793fd2e8f7 /python | |
parent | 350029bdd8fe90f64d8581b39599d8b8430d7f61 (diff) | |
download | samba-418cd93f4c9c90b0f5002e32203be8281af660cf.tar.gz |
dns: server side implementation of record aging
Code for retrieving aging properties from a zone and using them for timestamp
setting logic during processing of DNS requests.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10812
Signed-off-by: Aaron Haslett <aaronhaslett@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/samba/tests/dns.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py index 722b75ce81b..800ce576dec 100644 --- a/python/samba/tests/dns.py +++ b/python/samba/tests/dns.py @@ -1104,6 +1104,7 @@ class TestZones(DNSTest): self.assertTrue(rec.dwTimeStamp > 0) rec.dwTimeStamp -= interval*5 self.ldap_modify_dnsrecs(name, mod_ts) + self.assertTrue(callable(getattr(dsdb, '_scavenge_dns_records', None))) dsdb._scavenge_dns_records(self.samdb) recs = self.ldap_get_dns_records(name) |