drepl_server: Allow refresh of partitions on UpdateRef
commitd055b202985e175a9e6282d9cb9ce767b6202ec1
authorGarming Sam <garming@catalyst.net.nz>
Tue, 28 Mar 2017 22:24:50 +0000 (29 11:24 +1300)
committerGarming Sam <garming@samba.org>
Thu, 13 Apr 2017 05:29:18 +0000 (13 07:29 +0200)
treef09d8ca6d107121149e598bdf605010e1a0f10ff
parent6c406feef989bdccb209b37f797fbcb79ef667a6
drepl_server: Allow refresh of partitions on UpdateRef

When we call UpdateRef, the push replication will not begin until the
drepl_server has done its periodic refresh. If UpdateRefs is called, we
should just send an IRPC message to call the refresh.

NOTE: This has the same dependencies and issues as repl_secrets in
auth_sam.c in terms of IRPC implementation.

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/rpc_server/drsuapi/dcesrv_drsuapi.h
source4/rpc_server/drsuapi/getncchanges.c
source4/rpc_server/drsuapi/updaterefs.c