summaryrefslogtreecommitdiff
path: root/source4/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils')
-rw-r--r--source4/utils/net/net.c9
-rw-r--r--source4/utils/net/net_vampire.c2
2 files changed, 3 insertions, 8 deletions
diff --git a/source4/utils/net/net.c b/source4/utils/net/net.c
index a6015f7c34..f2223a03a3 100644
--- a/source4/utils/net/net.c
+++ b/source4/utils/net/net.c
@@ -82,12 +82,7 @@ int net_run_usage(struct net_context *ctx,
const struct net_functable *functable)
{
int i;
-/*
- if (argc < 1) {
- d_printf("net_run_usage: TODO (argc < 1)\n");
- return 1;
- }
-*/
+
for (i=0; functable[i].name; i++) {
if (strcasecmp_m(argv[0], functable[i].name) == 0)
if (functable[i].usage) {
@@ -107,7 +102,7 @@ static const struct net_functable net_functable[] = {
{"time", "get remote server's time\n", net_time, net_time_usage},
{"join", "join a domain\n", net_join, net_join_usage},
{"samdump", "dump the sam of a domain\n", net_samdump, net_samdump_usage},
- {"samsync", "syncrosnise into the local ldb the sam of a domain\n", net_samsync_ldb, net_samsync_ldb_usage},
+ {"samsync", "synchronise into the local ldb the sam of a domain\n", net_samsync_ldb, net_samsync_ldb_usage},
{"user", "manage user accounts\n", net_user, net_user_usage},
{NULL, NULL, NULL, NULL}
};
diff --git a/source4/utils/net/net_vampire.c b/source4/utils/net/net_vampire.c
index 8649740777..dba51ea1af 100644
--- a/source4/utils/net/net_vampire.c
+++ b/source4/utils/net/net_vampire.c
@@ -175,6 +175,6 @@ int net_samsync_ldb_usage(struct net_context *ctx, int argc, const char **argv)
int net_samsync_ldb_help(struct net_context *ctx, int argc, const char **argv)
{
- d_printf("Syncrosnise into the local ldb the SAM of a domain.\n");
+ d_printf("Synchronise into the local ldb the SAM of a domain.\n");
return 0;
}