* @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 net_context *c,
* 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.
**/
/**
* 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(struct net_context *c, 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.
**/
/**
* 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)
+ * @return A shell status integer (0 for success).
**/
static int net_rpc_perform_oldjoin(struct net_context *c, 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)
+ * @return A shell status integer (0 for success).
**/
static int net_rpc_oldjoin(struct net_context *c, 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
+ * @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.
**/
*
* @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.
**/
/**
* 'net rpc info' 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_info(struct net_context *c, int argc, const char **argv)
}
/**
- * Fetch domain SID into the local secrets.tdb
+ * 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 thea 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.
**/
/**
* '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(struct net_context *c, 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.
**/
}
/**
- * 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 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_add(struct net_context *c, 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.
**/
}
/**
- * 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(struct net_context *c, 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(struct net_context *c, 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.
**/
}
/**
- * 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(struct net_context *c, 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 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.
**/
}
/**
- * 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)
**/
}
/**
- * 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.
**/
/**
* '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(struct net_context *c, int argc, const char **argv)
/****************************************************************************/
/**
- * 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.
**/
}
/**
- * 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.
**/
}
/**
- * 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.
*
- * @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.
**/
/**
* '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(struct net_context *c, 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.
+ * 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.
**/
}
/**
- * Delete a share on a remote RPC server
+ * Delete 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.
+ * 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.
**/
}
/**
- * Delete a share on a remote RPC server
+ * Delete a share on a remote RPC server.
*
- * @param domain_sid The domain sid acquired from the remote server
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param domain_sid The domain sid acquired from the remote server.
+ * @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_share_delete(struct net_context *c, int argc, const char **argv)
{
}
/**
- * List shares on a remote RPC server
+ * List shares 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.
**/
/***
* 'net rpc share list' entrypoint.
- * @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.
**/
static int rpc_share_list(struct net_context *c, int argc, const char **argv)
{
}
/**
- * Migrate shares from a remote RPC server to the local RPC server
+ * Migrate shares from a remote RPC server to the local RPC server.
*
* 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, destroyed on completion of the function.
- * @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 Normal NTSTATUS return.
**/
}
/**
- * Migrate shares from a rpc-server to another
+ * Migrate shares from a RPC server to another.
*
- * @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_share_migrate_shares(struct net_context *c, int argc,
const char **argv)
}
/**
- * Sync all files inside a remote share to another share (over smb)
+ * Sync all files inside a remote share to another share (over smb).
*
* 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.
**/
}
/**
- * Migrate share-ACLs from a remote RPC server to the local RPC srever
+ * Migrate share-ACLs from a remote RPC server to the local 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.
**/
}
/**
- * Migrate share-acls from a rpc-server to another
+ * Migrate share-acls from a RPC server to another.
*
- * @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_share_migrate_security(struct net_context *c, int argc,
const char **argv)
/**
* Migrate shares (including share-definitions, share-acls and files with acls/attrs)
- * from one server to another
+ * from one server to another.
*
- * @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_share_migrate_all(struct net_context *c, int argc,
/**
* 'net rpc share migrate' entrypoint.
- * @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.
**/
static int rpc_share_migrate(struct net_context *c, int argc, const char **argv)
{
}
/**
- * List shares on a remote RPC server, including the security descriptors
+ * List shares on a remote RPC server, including the security descriptors.
*
* 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.
**/
/**
* 'net rpc share' entrypoint.
- * @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.
**/
int net_rpc_share(struct net_context *c, int argc, const char **argv)
}
/**
- * Close a file on a remote RPC server
+ * Close a file 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 c A net_context structure
- * @param domain_sid The domain sid acquired from the remote server
+ * @param c A net_context structure.
+ * @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.
**/
}
/**
- * Close a file on a remote RPC server
+ * Close a file 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_file_close(struct net_context *c, int argc, const char **argv)
{
}
/**
- * List open files on a remote RPC server
+ * List open files 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 c A net_context structure
- * @param domain_sid The domain sid acquired from the remote server
+ * @param c A net_context structure.
+ * @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.
**/
}
/**
- * List files for a user on a remote RPC server
+ * List files for 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_file_user(struct net_context *c, int argc, const char **argv)
/**
* 'net rpc file' entrypoint.
- * @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.
**/
int net_rpc_file(struct net_context *c, int argc, const char **argv)
}
/**
- * ABORT the shutdown of a remote RPC Server over, initshutdown pipe
+ * ABORT the shutdown of a remote RPC Server, over initshutdown pipe.
*
* All parameters are provided by the run_rpc_command function, except for
* argc, argv which are passed through.
*
- * @param c A net_context structure
- * @param domain_sid The domain sid aquired from the remote server
+ * @param c A net_context structure.
+ * @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 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.
**/
}
/**
- * ABORT the shutdown of a remote RPC Server, over winreg pipe
+ * ABORT the shutdown of a remote RPC Server, over winreg pipe.
*
* All parameters are provided by the run_rpc_command function, except for
* argc, argv which are passed through.
*
- * @param c A net_context structure
- * @param domain_sid The domain sid aquired from the remote server
+ * @param c A net_context structure.
+ * @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 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.
**/
}
/**
- * ABORT the Shut down of a remote RPC server
+ * ABORT the shutdown of 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_shutdown_abort(struct net_context *c, int argc,
}
/**
- * Shut down a remote RPC Server via initshutdown pipe
+ * Shut down a remote RPC Server via initshutdown pipe.
*
* 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 c A net_context structure
- * @param domain_sid The domain sid aquired from the remote server
+ * @param c A net_context structure.
+ * @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.
**/
}
/**
- * Shut down a remote RPC Server via winreg pipe
+ * Shut down a remote RPC Server via winreg pipe.
*
* 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 c A net_context structure
- * @param domain_sid The domain sid aquired from the remote server
+ * @param c A net_context structure.
+ * @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.
**/
}
/**
- * Shut down a remote RPC server
+ * Shut down a remote RPC server.
*
- * @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).
**/
static int rpc_shutdown(struct net_context *c, int argc, const char **argv)
* All parameters (except for argc and argv) are passed by run_rpc_command
* function.
*
- * @param c A net_context structure
- * @param domain_sid The domain sid acquired from the server
+ * @param c A net_context structure.
+ * @param domain_sid The domain sid acquired from the 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 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 code
+ * @return normal NTSTATUS return code.
*/
static NTSTATUS rpc_trustdom_add_internals(struct net_context *c,
/**
* Create interdomain trust account for a remote domain.
*
- * @param argc standard argc
- * @param argv standard argv without initial components
+ * @param argc Standard argc.
+ * @param argv Standard argv without initial components.
*
- * @return Integer status (0 means success)
+ * @return Integer status (0 means success).
**/
static int rpc_trustdom_add(struct net_context *c, int argc, const char **argv)
* All parameters (except for argc and argv) are passed by run_rpc_command
* function.
*
- * @param c A net_context structure
- * @param domain_sid The domain sid acquired from the server
+ * @param c A net_context structure.
+ * @param domain_sid The domain sid acquired from the 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 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 code
+ * @return normal NTSTATUS return code.
*/
static NTSTATUS rpc_trustdom_del_internals(struct net_context *c,
/**
* Delete interdomain trust account for a remote domain.
*
- * @param argc standard argc
- * @param argv standard argv without initial components
+ * @param argc Standard argc.
+ * @param argv Standard argv without initial components.
*
- * @return Integer status (0 means success)
+ * @return Integer status (0 means success).
**/
static int rpc_trustdom_del(struct net_context *c, int argc, const char **argv)
* Establish trust relationship to a trusting domain.
* Interdomain account must already be created on remote PDC.
*
- * @param c A net_context structure
- * @param argc standard argc
- * @param argv standard argv without initial components
+ * @param c A net_context structure.
+ * @param argc Standard argc.
+ * @param argv Standard argv without initial components.
*
- * @return Integer status (0 means success)
+ * @return Integer status (0 means success).
**/
static int rpc_trustdom_establish(struct net_context *c, int argc,
}
/**
- * Revoke trust relationship to the remote domain
+ * Revoke trust relationship to the remote domain.
*
- * @param c A net_context structure
- * @param argc standard argc
- * @param argv standard argv without initial components
+ * @param c A net_context structure.
+ * @param argc Standard argc.
+ * @param argv Standard argv without initial components.
*
- * @return Integer status (0 means success)
+ * @return Integer status (0 means success).
**/
static int rpc_trustdom_revoke(struct net_context *c, int argc,
}
/**
- * Entrypoint for 'net rpc trustdom' code
+ * Entrypoint for 'net rpc trustdom' code.
*
- * @param argc standard argc
- * @param argv standard argv without initial components
+ * @param argc Standard argc.
+ * @param argv Standard argv without initial components.
*
- * @return Integer status (0 means success)
+ * @return Integer status (0 means success).
*/
static int rpc_trustdom(struct net_context *c, int argc, const char **argv)
}
/**
- * Migrate everything from a print-server
+ * Migrate everything from a print server.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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).
*
* The order is important !
- * To successfully add drivers the print-queues have to exist !
- * Applying ACLs should be the last step, because you're easily locked out
+ * To successfully add drivers the print queues have to exist !
+ * Applying ACLs should be the last step, because you're easily locked out.
*
**/
static int rpc_printer_migrate_all(struct net_context *c, int argc,
}
/**
- * Migrate print-drivers from a print-server
+ * Migrate print drivers from a print server.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_migrate_drivers(struct net_context *c, int argc,
const char **argv)
}
/**
- * Migrate print-forms from a print-server
+ * Migrate print-forms from a print-server.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_migrate_forms(struct net_context *c, int argc,
const char **argv)
}
/**
- * Migrate printers from a print-server
+ * Migrate printers from a print-server.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_migrate_printers(struct net_context *c, int argc,
const char **argv)
/**
* Migrate printer-ACLs from a print-server
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_migrate_security(struct net_context *c, int argc,
const char **argv)
}
/**
- * Migrate printer-settings from a print-server
+ * Migrate printer-settings from a print-server.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_migrate_settings(struct net_context *c, int argc,
const char **argv)
/**
* 'net rpc printer' entrypoint.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @param argc Standard main() style argc.
+ * @param argv Standard main() style argv. Initial components are already
+ * stripped.
**/
int rpc_printer_migrate(struct net_context *c, int argc, const char **argv)
/**
- * List printers on a remote RPC server
+ * List printers on a remote RPC server.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_list(struct net_context *c, int argc, const char **argv)
{
}
/**
- * List printer-drivers on a remote RPC server
+ * List printer-drivers on a remote RPC server.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_driver_list(struct net_context *c, int argc,
const char **argv)
}
/**
- * Publish printer in ADS via MSRPC
+ * Publish printer in ADS via MSRPC.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_publish_publish(struct net_context *c, int argc,
const char **argv)
}
/**
- * Update printer in ADS via MSRPC
+ * Update printer in ADS via MSRPC.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_publish_update(struct net_context *c, int argc, const char **argv)
{
}
/**
- * UnPublish printer in ADS via MSRPC
+ * UnPublish printer in ADS via MSRPC.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_publish_unpublish(struct net_context *c, int argc,
const char **argv)
}
/**
- * List published printers via MSRPC
+ * List published printers via MSRPC.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_publish_list(struct net_context *c, int argc,
const char **argv)
/**
- * Publish printer in ADS
+ * Publish printer in ADS.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @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_printer_publish(struct net_context *c, int argc,
const char **argv)
/**
* Display rpc printer help page.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @param argc Standard main() style argc.
+ * @param argv Standard main() style argv. Initial components are already
+ * stripped.
**/
int rpc_printer_usage(struct net_context *c, int argc, const char **argv)
{
/**
* 'net rpc printer' entrypoint.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @param argc Standard main() style argc.
+ * @param argv Standard main() style argv. Initial components are already
+ * stripped.
**/
int net_rpc_printer(struct net_context *c, int argc, const char **argv)
{
/**
* 'net rpc' entrypoint.
*
- * @param c A net_context structure
- * @param argc Standard main() style argc
- * @param argv Standard main() style argv. Initial components are already
- * stripped
+ * @param c A net_context structure.
+ * @param argc Standard main() style argc.
+ * @param argv Standard main() style argv. Initial components are already
+ * stripped.
**/
int net_rpc(struct net_context *c, int argc, const char **argv)