dns: use unix_to_dns_timestamp almost everywhere
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 11 Mar 2021 02:58:37 +0000 (15:58 +1300)
committerJeremy Allison <jra@samba.org>
Mon, 29 Mar 2021 23:20:37 +0000 (23:20 +0000)
commita32c229b0956f6ed1cf1ad20599539141bbff15d
tree04a69eed3bd06c12c204d43acb5586a8a1073da6
parent146c23fb7d98515c4dd0349d0406b7f459d3b696
dns: use unix_to_dns_timestamp almost everywhere

In places we change NTTIME to uint32_t, because that is what is
actually wanted.

There is one instance of the calculation that we are not changing,
because there are other problems there.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dns_server/dlz_bind9.c
source4/dns_server/dns_update.c
source4/dns_server/dnsserver_common.c
source4/dsdb/kcc/scavenge_dns_records.c