1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/dsdb
Douglas Bagnall dbfbbd4297 dns scavenging: tombstone deletion uses correct time units
Before we were comparing hours to 1e-7 second units.

Now we do it both ways. That's because in dns_tombstone_records (in
this same file) we have been putting hour timestamps in EntombedTime,
but this field is supposed to have NTTIME timestamps, and those
timestamps won't have updated themselves.

This wouldn't matter much in pure Samba networks if we weren't also
using the correct timestamp in dns_common_replace().

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-06-20 23:26:32 +00:00
..
common Fix gcc11 compiler issue "-Werror=maybe-uninitialized" 2021-05-07 06:23:32 +00:00
dns s4: rename source4/smbd/ to source4/samba/ 2020-11-27 10:07:18 +00:00
kcc dns scavenging: tombstone deletion uses correct time units 2021-06-20 23:26:32 +00:00
repl s4: rename source4/smbd/ to source4/samba/ 2020-11-27 10:07:18 +00:00
samdb ridalloc: Don't skip the first RID of a pool 2021-06-11 07:41:38 +00:00
schema lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
tests/python python: remove all 'from __future__ import print_function' 2021-04-28 03:43:34 +00:00
pydsdb.c py bindings: write 'bytes', not 'PY_DESC_PY3_BYTES' 2021-03-17 17:10:32 +00:00
samdb.pc.in
wscript_build samba-tool: Enable pydsdb without ad dc 2021-03-10 21:43:34 +00:00