The branch, v3-2-test has been updated via 7c22fc6ebaa1a83213cbb7c08bea108264f89486 (commit) from 496d44d2f21661c85bf07e8eb7cae6298fefd900 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test - Log ----------------------------------------------------------------- commit 7c22fc6ebaa1a83213cbb7c08bea108264f89486 Author: Karolin Seeger <[EMAIL PROTECTED]> Date: Fri Jun 13 21:31:34 2008 +0200 net: Fix several typos in comments. -argc -> argv (where argv is meant) -destoyed -> destroyed -compleation -> completion -aquired -> acquired -Unify spelling of some words like rpc-server -> RPC server. -Add missing punctuation marks. Karolin ----------------------------------------------------------------------- Summary of changes: source/utils/net_rpc.c | 744 ++++++++++++++++++++++++------------------------ 1 files changed, 372 insertions(+), 372 deletions(-) Changeset truncated at 500 lines: diff --git a/source/utils/net_rpc.c b/source/utils/net_rpc.c index a271f55..9ff3baf 100644 --- a/source/utils/net_rpc.c +++ b/source/utils/net_rpc.c @@ -99,10 +99,10 @@ NTSTATUS net_get_remote_domain_sid(struct cli_state *cli, TALLOC_CTX *mem_ctx, * @param pipe_name the pipe to connect to (usually a PIPE_ constant) * @param conn_flag a NET_FLAG_ combination. Passed to * net_make_ipc_connection. - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped - * @return A shell status integer (0 for success) + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. + * @return A shell status integer (0 for success). */ int run_rpc_command(struct cli_state *cli_arg, @@ -202,14 +202,14 @@ int run_rpc_command(struct cli_state *cli_arg, * Force a change of the trust acccount password. * * 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 aquired from the remote server + * @param domain_sid The domain sid acquired from the remote server * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on compleation of the function. - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -229,11 +229,11 @@ static NTSTATUS rpc_changetrustpw_internals(const DOM_SID *domain_sid, /** * Force a change of the trust acccount password. * - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * - * @return A shell status integer (0 for success) + * @return A shell status integer (0 for success). **/ int net_rpc_changetrustpw(int argc, const char **argv) @@ -251,14 +251,14 @@ int net_rpc_changetrustpw(int argc, const char **argv) * 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. + * argc, argv which are passed through. * - * @param domain_sid The domain sid aquired from the remote server + * @param domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on compleation of the function. - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -327,9 +327,9 @@ static NTSTATUS rpc_oldjoin_internals(const DOM_SID *domain_sid, /** * Join a domain, the old way. * - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return A shell status integer (0 for success) **/ @@ -345,11 +345,11 @@ static int net_rpc_perform_oldjoin(int argc, const char **argv) /** * Join a domain, the old way. This function exists to allow * the message to be displayed when oldjoin was explicitly - * requested, but not when it was implied by "net rpc join" + * requested, but not when it was implied by "net rpc join". * - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return A shell status integer (0 for success) **/ @@ -366,10 +366,10 @@ static int net_rpc_oldjoin(int argc, const char **argv) } /** - * Basic usage function for 'net rpc join' - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * Basic usage function for 'net rpc join'. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. **/ static int rpc_join_usage(int argc, const char **argv) @@ -388,12 +388,12 @@ static int rpc_join_usage(int argc, const char **argv) /** * 'net rpc join' entrypoint. - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * Main 'net_rpc_join()' (where the admin username/password is used) is - * in net_rpc_join.c + * in net_rpc_join.c. * Try to just change the password, but if that doesn't work, use/prompt * for a username/password. **/ @@ -424,12 +424,12 @@ int net_rpc_join(int argc, const char **argv) * All parameters are provided by the run_rpc_command function, except for * argc, argv which are passed through. * - * @param domain_sid The domain sid acquired from the remote server + * @param domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -491,8 +491,8 @@ NTSTATUS rpc_info_internals(const DOM_SID *domain_sid, /** * 'net rpc info' entrypoint. * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argv Standard main() style argv. Initial components are already + * stripped. **/ int net_rpc_info(int argc, const char **argv) @@ -506,14 +506,14 @@ int net_rpc_info(int argc, const char **argv) * Fetch domain SID into the local secrets.tdb * * 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 domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -542,9 +542,9 @@ static NTSTATUS rpc_getsid_internals(const DOM_SID *domain_sid, /** * 'net rpc getsid' entrypoint. - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. **/ int net_rpc_getsid(int argc, const char **argv) @@ -557,9 +557,9 @@ int net_rpc_getsid(int argc, const char **argv) /****************************************************************************/ /** - * Basic usage function for 'net rpc user' + * Basic usage function for 'net rpc user'. * @param argc Standard main() style argc. - * @param argv Standard main() style argv. Initial components are already + * @param argv Standard main() style argv. Initial components are already * stripped. **/ @@ -569,11 +569,11 @@ static int rpc_user_usage(int argc, const char **argv) } /** - * Add a new user to a remote RPC server + * Add a new user to a remote RPC server. * - * @param argc Standard main() style argc + * @param argc Standard main() style argc. * @param argv Standard main() style argv. Initial components are already - * stripped + * stripped. * * @return A shell status integer (0 for success) **/ @@ -611,17 +611,17 @@ static int rpc_user_add(int argc, const char **argv) } /** - * Rename a user on a remote RPC server + * Rename a user on a remote RPC server. * * 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 domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -729,13 +729,13 @@ static NTSTATUS rpc_user_rename_internals(const DOM_SID *domain_sid, } /** - * Rename a user on a remote RPC server + * Rename a user on a remote RPC server. * - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * - * @return A shell status integer (0 for success) + * @return A shell status integer (0 for success). **/ static int rpc_user_rename(int argc, const char **argv) @@ -745,13 +745,13 @@ static int rpc_user_rename(int argc, const char **argv) } /** - * Delete a user from a remote RPC server + * Delete a user from a remote RPC server. * - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * - * @return A shell status integer (0 for success) + * @return A shell status integer (0 for success). **/ static int rpc_user_delete(int argc, const char **argv) @@ -779,17 +779,17 @@ static int rpc_user_delete(int argc, const char **argv) } /** - * Set a password for a user on a remote RPC server + * Set a password for a user on a remote RPC server. * * 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 domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -902,13 +902,13 @@ static NTSTATUS rpc_user_password_internals(const DOM_SID *domain_sid, } /** - * Set a user's password on a remote RPC server + * Set a user's password on a remote RPC server. * - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * - * @return A shell status integer (0 for success) + * @return A shell status integer (0 for success). **/ static int rpc_user_password(int argc, const char **argv) @@ -918,17 +918,17 @@ static int rpc_user_password(int argc, const char **argv) } /** - * List user's groups on a remote RPC server + * List user's groups on a remote RPC server. * * 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 domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. * @param argv Standard main() style argv. Initial components are already - * stripped + * stripped. * * @return Normal NTSTATUS return. **/ @@ -1032,13 +1032,13 @@ static NTSTATUS rpc_user_info_internals(const DOM_SID *domain_sid, } /** - * List a user's groups from a remote RPC server + * List a user's groups from a remote RPC server. * - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * - * @return A shell status integer (0 for success) + * @return A shell status integer (0 for success). **/ static int rpc_user_info(int argc, const char **argv) @@ -1048,17 +1048,17 @@ static int rpc_user_info(int argc, const char **argv) } /** - * List users on a remote RPC server + * List users on a remote RPC server. * * 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 domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -1140,9 +1140,9 @@ static NTSTATUS rpc_user_list_internals(const DOM_SID *domain_sid, /** * 'net rpc user' entrypoint. - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. **/ int net_rpc_user(int argc, const char **argv) @@ -1555,9 +1555,9 @@ struct rpc_sh_cmd *net_rpc_user_cmds(TALLOC_CTX *mem_ctx, /****************************************************************************/ /** - * Basic usage function for 'net rpc group' + * Basic usage function for 'net rpc group'. * @param argc Standard main() style argc. - * @param argv Standard main() style argv. Initial components are already + * @param argv Standard main() style argv. Initial components are already * stripped. **/ @@ -1567,17 +1567,17 @@ static int rpc_group_usage(int argc, const char **argv) } /** - * Delete group on a remote RPC server + * Delete group on a remote RPC server. * * 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 domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -2387,17 +2387,17 @@ static int rpc_group_delmem(int argc, const char **argv) } /** - * List groups on a remote RPC server + * List groups on a remote RPC server. * * 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 domain_sid The domain sid acquired from the remote server. * @param cli A cli_state connected to the server. - * @param mem_ctx Talloc context, destoyed on completion of the function. - * @param argc Standard main() style argc - * @param argv Standard main() style argv. Initial components are already - * stripped + * @param mem_ctx Talloc context, destroyed on completion of the function. + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. * * @return Normal NTSTATUS return. **/ @@ -2994,9 +2994,9 @@ static int rpc_group_rename(int argc, const char **argv) /** * 'net rpc group' entrypoint. - * @param argc Standard main() style argc - * @param argc Standard main() style argv. Initial components are already - * stripped + * @param argc Standard main() style argc. + * @param argv Standard main() style argv. Initial components are already + * stripped. **/ int net_rpc_group(int argc, const char **argv) @@ -3029,17 +3029,17 @@ static int rpc_share_usage(int argc, const char **argv) } /** - * Add a share on a remote RPC server + * Add a share on a remote RPC server. * * All parameters are provided by the run_rpc_command function, except for - * argc, argv which are passes through. -- Samba Shared Repository