diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-01-09 20:53:27 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-01-09 21:59:33 +1100 |
commit | 45f49d0a58f19c2b0e9d01d635d2dd28701c7cf8 (patch) | |
tree | b7574a08cacca1073ef8407178fc4ecd1a1e1ed4 /source4/dsdb/repl | |
parent | b37bec8e06a42dcc003681b9a57eaac2b1abf4fd (diff) | |
download | samba-45f49d0a58f19c2b0e9d01d635d2dd28701c7cf8.tar.gz samba-45f49d0a58f19c2b0e9d01d635d2dd28701c7cf8.tar.xz samba-45f49d0a58f19c2b0e9d01d635d2dd28701c7cf8.zip |
s4-drs: add a local UDV entry even when no replUpToDateVector present on NC
This allows us to filter correctly for a NC that we have created but
not pulled from anyone.
Diffstat (limited to 'source4/dsdb/repl')
-rw-r--r-- | source4/dsdb/repl/drepl_partitions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/repl/drepl_partitions.c b/source4/dsdb/repl/drepl_partitions.c index aba7735440..9a24fe541a 100644 --- a/source4/dsdb/repl/drepl_partitions.c +++ b/source4/dsdb/repl/drepl_partitions.c @@ -319,11 +319,11 @@ static WERROR dreplsrv_refresh_partition(struct dreplsrv_service *s, status = udv_convert(p, &p->uptodatevector, &p->uptodatevector_ex); W_ERROR_NOT_OK_RETURN(status); - - status = add_local_udv(s, p, samdb_ntds_invocation_id(s->samdb), &p->uptodatevector_ex); - W_ERROR_NOT_OK_RETURN(status); } + status = add_local_udv(s, p, samdb_ntds_invocation_id(s->samdb), &p->uptodatevector_ex); + W_ERROR_NOT_OK_RETURN(status); + orf_el = ldb_msg_find_element(r->msgs[0], "repsFrom"); if (orf_el) { for (i=0; i < orf_el->num_values; i++) { |