git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b37bec8
)
s4-drs: add a local UDV entry even when no replUpToDateVector present on NC
author
Andrew Tridgell
<tridge@samba.org>
Sat, 9 Jan 2010 09:53:27 +0000
(20:53 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 9 Jan 2010 10:59:33 +0000
(21:59 +1100)
This allows us to filter correctly for a NC that we have created but
not pulled from anyone.
source4/dsdb/repl/drepl_partitions.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/repl/drepl_partitions.c
b/source4/dsdb/repl/drepl_partitions.c
index aba7735440a007b02c2b118a03dc5ea77681be12..9a24fe541a17d63128c8278d3637838ff3ab57c8 100644
(file)
--- 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++) {