mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
s3 net: i18n support for net user
This commit is contained in:
parent
a8c8432247
commit
2388b9039d
@ -33,7 +33,7 @@ FILES=`add_basedir_to_filelist ../../utils net.c net_ads.c net_ads_gpo.c \
|
||||
net_registry_util.c net_rpc.c net_rpc_audit.c net_rpc_join.c \
|
||||
net_rpc_printer.c net_rpc_registry.c net_rpc_rights.c net_rpc_samsync.c \
|
||||
net_rpc_service.c net_rpc_sh_acct.c net_rpc_shell.c net_sam.c \
|
||||
net_share.c net_status.c net_time.c`
|
||||
net_share.c net_status.c net_time.c net_user.c`
|
||||
|
||||
LANGS="af ar bg bn bs ca cs cy da de el en_GB en_US es et fi fr gl gu he hi hr
|
||||
hu id it ja ka km ko lo lt mk mr nb nl pa pl pt_BR pt ro ru si sk sl sr
|
||||
|
@ -24,24 +24,24 @@
|
||||
|
||||
int net_user_usage(struct net_context *c, int argc, const char **argv)
|
||||
{
|
||||
d_printf("\nnet [<method>] user [misc. options] [targets]"\
|
||||
"\n\tList users\n\n");
|
||||
d_printf("net [<method>] user DELETE <name> [misc. options] [targets]"\
|
||||
"\n\tDelete specified user\n");
|
||||
d_printf("\nnet [<method>] user INFO <name> [misc. options] [targets]"\
|
||||
"\n\tList the domain groups of the specified user\n");
|
||||
d_printf("\nnet [<method>] user ADD <name> [password] [-c container] "\
|
||||
"[-F user flags] [misc. options]"\
|
||||
" [targets]\n\tAdd specified user\n");
|
||||
d_printf("\nnet [<method>] user RENAME <oldusername> <newusername>"\
|
||||
" [targets]\n\tRename specified user\n\n");
|
||||
d_printf(_("\nnet [<method>] user [misc. options] [targets]"
|
||||
"\n\tList users\n\n"));
|
||||
d_printf(_("net [<method>] user DELETE <name> [misc. options] [targets]"
|
||||
"\n\tDelete specified user\n"));
|
||||
d_printf(_("\nnet [<method>] user INFO <name> [misc. options] [targets]"
|
||||
"\n\tList the domain groups of the specified user\n"));
|
||||
d_printf(_("\nnet [<method>] user ADD <name> [password] [-c container] "
|
||||
"[-F user flags] [misc. options]"
|
||||
" [targets]\n\tAdd specified user\n"));
|
||||
d_printf(_("\nnet [<method>] user RENAME <oldusername> <newusername>"
|
||||
" [targets]\n\tRename specified user\n\n"));
|
||||
|
||||
net_common_methods_usage(c, argc, argv);
|
||||
net_common_flags_usage(c, argc, argv);
|
||||
d_printf("\t-C or --comment=<comment>\tdescriptive comment "\
|
||||
"(for add only)\n");
|
||||
d_printf("\t-c or --container=<container>\tLDAP container, defaults "\
|
||||
"to cn=Users (for add in ADS only)\n");
|
||||
d_printf(_("\t-C or --comment=<comment>\tdescriptive comment "
|
||||
"(for add only)\n"));
|
||||
d_printf(_("\t-c or --container=<container>\tLDAP container, defaults "
|
||||
"to cn=Users (for add in ADS only)\n"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user