diff options
author | Kamen Mazdrashki <kamen.mazdrashki@postpath.com> | 2010-02-13 03:27:27 +0200 |
---|---|---|
committer | Anatoliy Atanasov <anatoliy.atanasov@postpath.com> | 2010-02-24 14:14:08 +0200 |
commit | 3f5e9e9974ef66b827f4c9094146d642690b5b80 (patch) | |
tree | 228ffa5e3bc3290313091ca7746a3095c19ba5e9 /source4/utils/net/drs/net_drs.c | |
parent | ff94094dfa7dd8a07d4e200bc887cd1d58569f12 (diff) | |
download | samba-3f5e9e9974ef66b827f4c9094146d642690b5b80.tar.gz samba-3f5e9e9974ef66b827f4c9094146d642690b5b80.tar.bz2 samba-3f5e9e9974ef66b827f4c9094146d642690b5b80.zip |
s4/drs_util: 'net drs replicate' command implementation
Diffstat (limited to 'source4/utils/net/drs/net_drs.c')
-rw-r--r-- | source4/utils/net/drs/net_drs.c | 9 |
1 files changed, 6 insertions, 3 deletions
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 <command> [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; } |