diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-13 18:16:13 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-13 16:40:37 -0700 |
commit | 55a9ea2b33cbcd39ae44972b71922c9c87748d75 (patch) | |
tree | b95d3b2aa1222f571aef83d10a48a71ab0d29e6d /source4/dsdb/repl/drepl_out_helpers.c | |
parent | 348efd5cbb2e7880671cbc75d01b92c4c9008d9e (diff) | |
download | samba-55a9ea2b33cbcd39ae44972b71922c9c87748d75.tar.gz samba-55a9ea2b33cbcd39ae44972b71922c9c87748d75.tar.bz2 samba-55a9ea2b33cbcd39ae44972b71922c9c87748d75.zip |
s4-repl: added a preiodic notification check to the repl task
The dreplsrv_notify code checks the partition uSN values every N
seconds, and if one has changed then it sends a DsReplicaSync to all
the replication partners listed in the repsTo attribute for the
partition.
Diffstat (limited to 'source4/dsdb/repl/drepl_out_helpers.c')
-rw-r--r-- | source4/dsdb/repl/drepl_out_helpers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/repl/drepl_out_helpers.c b/source4/dsdb/repl/drepl_out_helpers.c index e90f2783b1..168aacdde9 100644 --- a/source4/dsdb/repl/drepl_out_helpers.c +++ b/source4/dsdb/repl/drepl_out_helpers.c @@ -48,7 +48,7 @@ struct dreplsrv_out_drsuapi_state { static void dreplsrv_out_drsuapi_connect_recv(struct composite_context *creq); -static struct composite_context *dreplsrv_out_drsuapi_send(struct dreplsrv_out_connection *conn) +struct composite_context *dreplsrv_out_drsuapi_send(struct dreplsrv_out_connection *conn) { struct composite_context *c; struct composite_context *creq; @@ -165,7 +165,7 @@ static void dreplsrv_out_drsuapi_bind_recv(struct rpc_request *req) composite_done(c); } -static NTSTATUS dreplsrv_out_drsuapi_recv(struct composite_context *c) +NTSTATUS dreplsrv_out_drsuapi_recv(struct composite_context *c) { NTSTATUS status; struct dreplsrv_out_drsuapi_state *st = talloc_get_type(c->private_data, |