summaryrefslogtreecommitdiff
path: root/source4/utils/net/drs/net_drs.c
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-02-06 03:13:33 +0200
committerAndrew Tridgell <tridge@samba.org>2010-02-11 21:59:39 +1100
commit976201d24a7c0734ef99c72e476a6caab97e21de (patch)
treef5004b90c2a56337787b2886ebef1a839ccc6a8e /source4/utils/net/drs/net_drs.c
parentfedc1152b5cead39cb0ce085c2a1f66ceed0b726 (diff)
downloadsamba-976201d24a7c0734ef99c72e476a6caab97e21de.tar.gz
samba-976201d24a7c0734ef99c72e476a6caab97e21de.tar.bz2
samba-976201d24a7c0734ef99c72e476a6caab97e21de.zip
s4/net_drs: 'net drs kcc' command implementation
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source4/utils/net/drs/net_drs.c')
-rw-r--r--source4/utils/net/drs/net_drs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/utils/net/drs/net_drs.c b/source4/utils/net/drs/net_drs.c
index 547d642bfb..7772d83ace 100644
--- a/source4/utils/net/drs/net_drs.c
+++ b/source4/utils/net/drs/net_drs.c
@@ -34,6 +34,8 @@
*/
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 },
{ NULL, NULL }
};
@@ -53,7 +55,8 @@ 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");
+ d_printf(" bind - Display DC replication features\n");
+ d_printf(" kcc - Forces the KCC to recalculate replication topology for a specified domain controller\n");
return 0;
}