From 3f5e9e9974ef66b827f4c9094146d642690b5b80 Mon Sep 17 00:00:00 2001 From: Kamen Mazdrashki Date: Sat, 13 Feb 2010 03:27:27 +0200 Subject: s4/drs_util: 'net drs replicate' command implementation --- source4/utils/net/drs/net_drs.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'source4/utils/net/drs/net_drs.c') diff --git a/source4/utils/net/drs/net_drs.c b/source4/utils/net/drs/net_drs.c index 87ebe0890a..1ba6eea576 100644 --- a/source4/utils/net/drs/net_drs.c +++ b/source4/utils/net/drs/net_drs.c @@ -34,7 +34,9 @@ static const struct net_functable net_drs_functable[] = { { "bind", "Display replication features for a domain controller\n", net_drs_bind_cmd, net_drs_bind_usage }, { "kcc", "Forces the KCC to recalculate replication topology for a specified domain controller\n", - net_drs_kcc_cmd, net_drs_kcc_usage }, + net_drs_kcc_cmd, net_drs_kcc_usage }, + { "replicate", "Triggers replication event for the specified naming context between the source and destination domain controllers.\n", + net_drs_replicate_cmd, net_drs_replicate_usage }, { NULL, NULL } }; @@ -54,8 +56,9 @@ int net_drs_usage(struct net_context *ctx, int argc, const char **argv) d_printf("net drs [options]\n"); d_printf("\n"); d_printf("Currently implemented commands:\n"); - d_printf(" bind - Display DC replication features\n"); - d_printf(" kcc - Forces the KCC to recalculate replication topology for a specified domain controller\n"); + d_printf(" bind - Display DC replication features\n"); + d_printf(" kcc - Forces the KCC to recalculate replication topology for a specified domain controller\n"); + d_printf(" replicate - Triggers replication event for the specified naming context between the source and destination domain controllers.\n"); return 0; } -- cgit