s4/repl: added refresh of repsTo
authorAndrew Tridgell <tridge@samba.org>
Wed, 9 Sep 2009 07:04:16 +0000 (17:04 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 9 Sep 2009 07:04:16 +0000 (17:04 +1000)
commit939b936d1af9a5221922864ad579bf50157b957b
tree042fffd75b217a8e8ed9d6df483232f1fc5dea1c
parentdca7afb799477a34f704c04397a6afa1ee6b9973
s4/repl: added refresh of repsTo

I've found that w2k3 deletes the repsTo records we carefully created
in the vampire join if we don't refresh them frequently. After about
30mins all 3 repsTo records are gone.

This patch adds automatic refresh of the repsTo by calling
DSReplicaUpdateRefs every time we do a sync cycle with the server
source4/dsdb/repl/drepl_out_helpers.c