summaryrefslogtreecommitdiff
path: root/source4/dsdb/repl/drepl_secret.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-15 20:23:47 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-16 07:24:01 +1000
commit520252c8d2b7465d592a05ee68bd466e71330a1f (patch)
treed148263a66f54b75a9bae484794ddfaff56f40ce /source4/dsdb/repl/drepl_secret.c
parent1da147e6fa485800d2988168889071d97e393fa3 (diff)
downloadsamba-520252c8d2b7465d592a05ee68bd466e71330a1f.tar.gz
samba-520252c8d2b7465d592a05ee68bd466e71330a1f.tar.bz2
samba-520252c8d2b7465d592a05ee68bd466e71330a1f.zip
s4-repl: added min_usn to extended replication call
the repl_secret code needs to set it to avoid too many duplicate attributes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/repl/drepl_secret.c')
-rw-r--r--source4/dsdb/repl/drepl_secret.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/repl/drepl_secret.c b/source4/dsdb/repl/drepl_secret.c
index 2b5fae2d5b..7c8f8b752d 100644
--- a/source4/dsdb/repl/drepl_secret.c
+++ b/source4/dsdb/repl/drepl_secret.c
@@ -126,6 +126,7 @@ void drepl_repl_secret(struct dreplsrv_service *service,
source_dsa_dn,
DRSUAPI_EXOP_REPL_SECRET,
0,
+ p->sources->repsFrom1->highwatermark.highest_usn,
drepl_repl_secret_callback, state);
if (!W_ERROR_IS_OK(werr)) {
DEBUG(2,(__location__ ": Failed to setup secret replication for user_dn '%s'\n", user_dn));