1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00

Some small changes - typos, adding usage for some commands

and removing -j because it was not used at all.
This commit is contained in:
Jelmer Vernooij 0001-01-01 00:00:00 +00:00
parent 791a711dd1
commit e3e2c1b271
4 changed files with 7 additions and 7 deletions

View File

@ -70,7 +70,6 @@ int opt_maxusers = -1;
const char *opt_comment = "";
char *opt_container = "cn=Users";
int opt_flags = -1;
int opt_jobid = 0;
int opt_timeout = 0;
const char *opt_target_workgroup = NULL;
static int opt_machine_pass = 0;
@ -452,7 +451,7 @@ static int net_maxrid(int argc, const char **argv)
uint32 rid;
if (argc != 0) {
DEBUG(0, ("usage: net initrid\n"));
DEBUG(0, ("usage: net maxrid\n"));
return 1;
}
@ -524,7 +523,6 @@ static struct functable net_func[] = {
{"comment", 'C', POPT_ARG_STRING, &opt_comment},
{"maxusers", 'M', POPT_ARG_INT, &opt_maxusers},
{"flags", 'F', POPT_ARG_INT, &opt_flags},
{"jobid", 'j', POPT_ARG_INT, &opt_jobid},
{"long", 'l', POPT_ARG_NONE, &opt_long_list_entries},
{"reboot", 'r', POPT_ARG_NONE, &opt_reboot},
{"force", 'f', POPT_ARG_NONE, &opt_force},

View File

@ -260,6 +260,9 @@ int net_rap_session_usage(int argc, const char **argv)
"\tor"\
"\nnet rap session CLOSE <client_name> [misc. options] [targets]"\
"\n\tDeletes (closes) a session from specified client to server\n");
d_printf(
"\nnet rap session INFO <client_name>"\
"\n\tEnumerates all open files in specified session\n");
net_common_flags_usage(argc, argv);
return -1;
@ -460,7 +463,6 @@ int net_rap_printq_usage(int argc, const char **argv)
"\tprinter queue if no job number is specified\n");
net_common_flags_usage(argc, argv);
d_printf("\t-j or --jobid=<job id>\t\tjob id\n");
return -1;
}

View File

@ -220,7 +220,7 @@ static int rpc_changetrustpw(int argc, const char **argv)
*
* This uses 'machinename' as the inital password, and changes it.
*
* The password should be created with 'server manager' or eqiv first.
* The password should be created with 'server manager' or equiv first.
*
* All parameters are provided by the run_rpc_command function, except for
* argc, argv which are passes through.
@ -332,7 +332,7 @@ int net_rpc_join(int argc, const char **argv)
* display info about a rpc domain
*
* All parameters are provided by the run_rpc_command function, except for
* argc, argv which are passes through.
* argc, argv which are passed through.
*
* @param domain_sid The domain sid acquired from the remote server
* @param cli A cli_state connected to the server.

View File

@ -63,7 +63,7 @@ int net_rpc_join_ok(const char *domain)
if (!secrets_fetch_trust_account_password(domain,
stored_md4_trust_password, NULL)) {
DEBUG(0,("Could not reterive domain trust secret"));
DEBUG(0,("Could not retreive domain trust secret"));
goto done;
}