irods
4.2.8
About: iRODS (the integrated Rule Oriented Data System) is a distributed data-management system for creating data grids, digital libraries, persistent archives, and real-time data systems.
![]() ![]() |
#include "rodsDef.h"
#include "authenticate.h"
#include "rodsQuota.h"
#include "msParam.h"
#include "rcConnect.h"
#include "icatStructs.hpp"
#include "icatHighLevelRoutines.hpp"
#include "mid_level.hpp"
#include "low_level.hpp"
#include "irods_database_plugin.hpp"
#include "irods_database_constants.hpp"
#include "irods_postgres_object.hpp"
#include "irods_stacktrace.hpp"
#include "irods_catalog_properties.hpp"
#include "irods_sql_logger.hpp"
#include "irods_hierarchy_parser.hpp"
#include "irods_children_parser.hpp"
#include "irods_auth_object.hpp"
#include "irods_pam_auth_object.hpp"
#include "irods_auth_factory.hpp"
#include "irods_auth_plugin.hpp"
#include "irods_auth_manager.hpp"
#include "irods_auth_constants.hpp"
#include "irods_server_properties.hpp"
#include "irods_resource_manager.hpp"
#include "irods_virtual_path.hpp"
#include "irods_rs_comm_query.hpp"
#include "modAccessControl.h"
#include "checksum.hpp"
#include "rods.h"
#include "rcMisc.h"
#include "miscServerFunct.hpp"
#include <sstream>
#include <string>
#include <string_view>
#include <iostream>
#include <vector>
#include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
#include "irods_lexical_cast.hpp"
Go to the source code of this file.
Classes | |
class | postgres_database_plugin |
Macros | |
#define | AP_READ "read" |
#define | AP_WRITE "write" |
#define | AP_OWN "own" |
#define | AP_NULL "null" |
#define | PASSWORD_SCRAMBLE_PREFIX ".E_" |
#define | PASSWORD_KEY_ENV_VAR "IRODS_DATABASE_USER_PASSWORD_SALT" |
#define | PASSWORD_DEFAULT_KEY "a9_3fker" |
#define | MAX_HOST_STR 2700 |
#define | PATH_SEPARATOR irods::get_virtual_path_separator().c_str() |
#define | ACCESS_MAX |
#define | MINIMUM_COL_SIZE 50 |
Typedefs | |
using | leaf_bundle_t = irods::resource_manager::leaf_bundle_t |
Functions | |
int | get64RandomBytes (char *buf) |
int | icatApplyRule (rsComm_t *rsComm, char *ruleName, char *arg1) |
const std::string | ICSS_PROP ("irods_icss_property") |
const std::string | ZONE_PROP ("irods_zone_property") |
int | validateAndParseUserName (const char *fullUserNameIn, char *userName, char *userZone) |
irods::error | make_db_ptr (const irods::first_class_object_ptr &_fc, irods::postgres_object_ptr &_pg) |
int | _rollback (const char *functionName) |
irods::error | getLocalZone (irods::plugin_property_map &_prop_map, icatSessionStruct *_icss, std::string &_zone) |
int | get_object_count_of_resource_by_name (icatSessionStruct *_icss, const std::string &_resc_name, rodsLong_t &_count) |
irods::error | determine_user_has_modify_metadata_access (const std::string &_data_name, const std::string &_collection, const std::string &_user_name, const std::string &_zone) |
void | removeMetaMapAndAVU (char *dataObjNumber) |
static int | removeAVUs () |
int | _canConnectToCatalog (rsComm_t *_rsComm) |
static int | hostname_resolves_to_ipv4 (const char *_hostname) |
int | _resolveHostName (rsComm_t *_rsComm, const char *_hostAddress) |
irods::error | verify_non_root_vault_path (irods::plugin_context &_ctx, const std::string &path) |
irods::error | _childIsValid (irods::plugin_property_map &_prop_map, const std::string &_new_child) |
irods::error | _updateChildParent (const std::string &_child_resc_id, const std::string &_parent_resc_id, const std::string &_parent_child_context) |
int | _rescHasData (icatSessionStruct *_icss, const std::string &_resc_name, bool &_has_data) |
irods::error | validate_resource_name (std::string _resc_name) |
bool | _rescHasParentOrChild (char *rescId) |
bool | _userInRUserAuth (const char *userName, const char *zoneName, const char *auth_name) |
static bool | allowed_zone_char (const char _c) |
irods::error | validate_zone_name (std::string _zone_name) |
static int | _delColl (rsComm_t *rsComm, collInfo_t *collInfo) |
static irods::error | verify_auth_response (const char *_scheme, const char *_challenge, const char *_user_name, const char *_response) |
static int | icatDescramble (char *pw) |
static int | icatScramble (char *pw) |
int | decodePw (rsComm_t *rsComm, const char *in, char *out) |
int | convertTypeOption (const char *typeStr) |
rodsLong_t | checkAndGetObjectId (rsComm_t *rsComm, irods::plugin_property_map &_prop_map, const char *type, const char *name, const char *access) |
rodsLong_t | findAVU (const char *attribute, const char *value, const char *units) |
int | findOrInsertAVU (const char *attribute, const char *value, const char *units) |
std::string | makeEscapedPath (const std::string &inPath) |
int | _modInheritance (int inheritFlag, int recursiveFlag, const char *collIdStr, const char *pathName) |
int | setOverQuota (rsComm_t *rsComm) |
int | icatGetTicketUserId (irods::plugin_property_map &_prop_map, const char *userName, char *userIdStr) |
int | icatGetTicketGroupId (irods::plugin_property_map &_prop_map, const char *groupName, char *groupIdStr) |
static int | convert_hostname_to_dotted_decimal_ipv4_and_store_in_buffer (const char *_hostname, char *_buf) |
char * | convertHostToIp (const char *inputName) |
irods::error | db_start_op (irods::plugin_context &_ctx) |
irods::error | db_debug_op (irods::plugin_context &_ctx, const char *_mode) |
irods::error | db_open_op (irods::plugin_context &_ctx) |
irods::error | db_close_op (irods::plugin_context &_ctx) |
irods::error | db_check_and_get_object_id_op (irods::plugin_context &_ctx, const char *_type, const char *_name, const char *_access) |
irods::error | db_get_local_zone_op (irods::plugin_context &_ctx, std::string *_zone) |
irods::error | db_update_resc_obj_count_op (irods::plugin_context &_ctx, const std::string *_resc, int _delta) |
irods::error | db_mod_data_obj_meta_op (irods::plugin_context &_ctx, dataObjInfo_t *_data_obj_info, keyValPair_t *_reg_param) |
irods::error | db_reg_data_obj_op (irods::plugin_context &_ctx, dataObjInfo_t *_data_obj_info) |
irods::error | db_reg_replica_op (irods::plugin_context &_ctx, dataObjInfo_t *_src_data_obj_info, dataObjInfo_t *_dst_data_obj_info, keyValPair_t *_cond_input) |
irods::error | db_unreg_replica_op (irods::plugin_context &_ctx, dataObjInfo_t *_data_obj_info, keyValPair_t *_cond_input) |
irods::error | db_reg_rule_exec_op (irods::plugin_context &_ctx, ruleExecSubmitInp_t *_re_sub_inp) |
irods::error | db_mod_rule_exec_op (irods::plugin_context &_ctx, const char *_re_id, keyValPair_t *_reg_param) |
irods::error | db_del_rule_exec_op (irods::plugin_context &_ctx, const char *_re_id) |
static irods::error | extract_resource_properties_for_operations (const std::string &_resc_name, std::string &_resc_id, std::string &_resc_parent) |
irods::error | db_add_child_resc_op (irods::plugin_context &_ctx, std::map< std::string, std::string > *_resc_input) |
irods::error | db_reg_resc_op (irods::plugin_context &_ctx, std::map< std::string, std::string > *_resc_input) |
irods::error | db_del_child_resc_op (irods::plugin_context &_ctx, std::map< std::string, std::string > *_resc_input) |
irods::error | db_del_resc_op (irods::plugin_context &_ctx, const char *_resc_name, int _dry_run) |
irods::error | db_rollback_op (irods::plugin_context &_ctx) |
irods::error | db_commit_op (irods::plugin_context &_ctx) |
irods::error | db_del_user_re_op (irods::plugin_context &_ctx, userInfo_t *_user_info) |
irods::error | db_reg_coll_by_admin_op (irods::plugin_context &_ctx, collInfo_t *_coll_info) |
irods::error | db_reg_coll_op (irods::plugin_context &_ctx, collInfo_t *_coll_info) |
irods::error | db_mod_coll_op (irods::plugin_context &_ctx, collInfo_t *_coll_info) |
irods::error | db_reg_zone_op (irods::plugin_context &_ctx, const char *_zone_name, const char *_zone_type, const char *_zone_conn_info, const char *_zone_comment) |
irods::error | db_mod_zone_op (irods::plugin_context &_ctx, const char *_zone_name, const char *_option, const char *_option_value) |
irods::error | db_rename_coll_op (irods::plugin_context &_ctx, const char *_old_coll, const char *_new_coll) |
irods::error | db_mod_zone_coll_acl_op (irods::plugin_context &_ctx, const char *_access_level, const char *_user_name, const char *_path_name) |
irods::error | db_rename_local_zone_op (irods::plugin_context &_ctx, const char *_old_zone, const char *_new_zone) |
irods::error | db_del_zone_op (irods::plugin_context &_ctx, const char *_zone_name) |
irods::error | db_simple_query_op_vector (irods::plugin_context &_ctx, const char *_sql, std::vector< std::string > _bindVars, int _format, int *_control, char *_out_buf, int _max_out_buf) |
irods::error | db_simple_query_op (irods::plugin_context &_ctx, const char *_sql, const char *_arg1, const char *_arg2, const char *_arg3, const char *_arg4, int _format, int *_control, char *_out_buf, int _max_out_buf) |
irods::error | db_del_coll_by_admin_op (irods::plugin_context &_ctx, collInfo_t *_coll_info) |
irods::error | db_del_coll_op (irods::plugin_context &_ctx, collInfo_t *_coll_info) |
irods::error | db_check_auth_op (irods::plugin_context &_ctx, const char *_scheme, const char *_challenge, const char *_response, const char *_user_name, int *_user_priv_level, int *_client_priv_level) |
irods::error | db_make_temp_pw_op (irods::plugin_context &_ctx, char *_pw_value_to_hash, const char *_other_user) |
irods::error | db_make_limited_pw_op (irods::plugin_context &_ctx, int _ttl, char *_pw_value_to_hash) |
irods::error | db_update_pam_password_op (irods::plugin_context &_ctx, const char *_user_name, int _ttl, const char *_test_time, char **_irods_password) |
irods::error | db_mod_user_op (irods::plugin_context &_ctx, const char *_user_name, const char *_option, const char *_new_value) |
irods::error | db_mod_group_op (irods::plugin_context &_ctx, const char *_group_name, const char *_option, const char *_user_name, const char *_user_zone) |
irods::error | db_mod_resc_op (irods::plugin_context &_ctx, const char *_resc_name, const char *_option, const char *_option_value) |
irods::error | db_mod_resc_data_paths_op (irods::plugin_context &_ctx, const char *_resc_name, const char *_old_path, const char *_new_path, const char *_user_name) |
irods::error | db_mod_resc_freespace_op (irods::plugin_context &_ctx, const char *_resc_name, int _update_value) |
irods::error | db_reg_user_re_op (irods::plugin_context &_ctx, userInfo_t *_user_info) |
irods::error | db_set_avu_metadata_op (irods::plugin_context &_ctx, const char *_type, const char *_name, const char *_attribute, const char *_new_value, const char *_new_unit) |
irods::error | db_add_avu_metadata_wild_op (irods::plugin_context &_ctx, int _admin_mode, const char *_type, const char *_name, const char *_attribute, const char *_value, const char *_units) |
irods::error | db_add_avu_metadata_op (irods::plugin_context &_ctx, int _admin_mode, const char *_type, const char *_name, const char *_attribute, const char *_value, const char *_units) |
irods::error | db_mod_avu_metadata_op (irods::plugin_context &_ctx, const char *_type, const char *_name, const char *_attribute, const char *_value, const char *_unitsOrArg0, const char *_arg1, const char *_arg2, const char *_arg3) |
irods::error | db_del_avu_metadata_op (irods::plugin_context &_ctx, int _option, const char *_type, const char *_name, const char *_attribute, const char *_value, const char *_unit, int _nocommit) |
irods::error | db_copy_avu_metadata_op (irods::plugin_context &_ctx, const char *_type1, const char *_type2, const char *_name1, const char *_name2) |
irods::error | db_mod_access_control_resc_op (irods::plugin_context &_ctx, const int _recursive_flag, const char *_access_level, const char *_user_name, const char *_zone, const char *_resc_name) |
irods::error | db_mod_access_control_op (irods::plugin_context &_ctx, const int _recursive_flag, const char *_access_level, const char *_user_name, const char *_zone, const char *_path_name) |
irods::error | db_rename_object_op (irods::plugin_context &_ctx, rodsLong_t _obj_id, const char *_new_name) |
irods::error | db_move_object_op (irods::plugin_context &_ctx, rodsLong_t _obj_id, rodsLong_t _target_coll_id) |
irods::error | db_reg_token_op (irods::plugin_context &_ctx, const char *_name_space, const char *_name, const char *_value, const char *_value2, const char *_value3, const char *_comment) |
irods::error | db_del_token_op (irods::plugin_context &_ctx, const char *_name_space, const char *_name) |
irods::error | db_reg_server_load_op (irods::plugin_context &_ctx, const char *_host_name, const char *_resc_name, const char *_cpu_used, const char *_mem_used, const char *_swap_used, const char *_run_q_load, const char *_disk_space, const char *_net_input, const char *_net_output) |
irods::error | db_purge_server_load_op (irods::plugin_context &_ctx, const char *_seconds_ago) |
irods::error | db_reg_server_load_digest_op (irods::plugin_context &_ctx, const char *_resc_name, const char *_load_factor) |
irods::error | db_purge_server_load_digest_op (irods::plugin_context &_ctx, const char *_seconds_ago) |
irods::error | db_calc_usage_and_quota_op (irods::plugin_context &_ctx) |
irods::error | db_set_quota_op (irods::plugin_context &_ctx, const char *_type, const char *_name, const char *_resc_name, const char *_limit) |
irods::error | db_check_quota_op (irods::plugin_context &_ctx, const char *_user_name, const char *_resc_name, rodsLong_t *_user_quota, int *_quota_status) |
irods::error | db_del_unused_avus_op (irods::plugin_context &_ctx) |
irods::error | db_ins_rule_table_op (irods::plugin_context &_ctx, const char *_base_name, const char *_map_priority_str, const char *_rule_name, const char *_rule_head, const char *_rule_condition, const char *_rule_action, const char *_rule_recovery, const char *_rule_id_str, const char *_my_time) |
irods::error | db_ins_dvm_table_op (irods::plugin_context &_ctx, const char *_base_name, const char *_var_name, const char *_action, const char *_var_2_cmap, const char *_my_time) |
irods::error | db_ins_fnm_table_op (irods::plugin_context &_ctx, const char *_base_name, const char *_func_name, const char *_func_2_cmap, const char *_my_time) |
irods::error | db_ins_msrvc_table_op (irods::plugin_context &_ctx, const char *_module_name, const char *_msrvc_name, const char *_msrvc_signature, const char *_msrvc_version, const char *_msrvc_host, const char *_msrvc_location, const char *_msrvc_language, const char *_msrvc_type_name, const char *_msrvc_status, const char *_my_time) |
irods::error | db_version_rule_base_op (irods::plugin_context &_ctx, const char *_base_name, const char *_my_time) |
irods::error | db_version_dvm_base_op (irods::plugin_context &_ctx, const char *_base_name, const char *_my_time) |
irods::error | db_version_fnm_base_op (irods::plugin_context &_ctx, const char *_base_name, const char *_my_time) |
irods::error | db_add_specific_query_op (irods::plugin_context &_ctx, const char *_sql, const char *_alias) |
irods::error | db_del_specific_query_op (irods::plugin_context &_ctx, const char *_sql_or_alias) |
irods::error | db_specific_query_op (irods::plugin_context &_ctx, specificQueryInp_t *_spec_query_inp, genQueryOut_t *_result) |
irods::error | db_get_distinct_data_obj_count_on_resource_op (irods::plugin_context &_ctx, const char *_resc_name, long long *_count) |
irods::error | db_get_distinct_data_objs_missing_from_child_given_parent_op (irods::plugin_context &_ctx, const std::string *_parent, const std::string *_child, int _limit, dist_child_result_t *_results) |
irods::error | db_get_repl_list_for_leaf_bundles_op (irods::plugin_context &_ctx, rodsLong_t _count, size_t _child_index, const std::vector< leaf_bundle_t > *_bundles, const std::string *_invocation_timestamp, dist_child_result_t *_results) |
irods::error | db_get_hierarchy_for_resc_op (irods::plugin_context &_ctx, const std::string *_resc_name, const std::string *_zone_name, std::string *_hierarchy) |
irods::error | db_mod_ticket_op (irods::plugin_context &_ctx, const char *_op_name, const char *_ticket_string, const char *_arg3, const char *_arg4, const char *_arg5) |
irods::error | db_get_icss_op (irods::plugin_context &_ctx, icatSessionStruct **_icss) |
int | chl_gen_query_impl (genQueryInp_t, genQueryOut_t *) |
irods::error | db_gen_query_op (irods::plugin_context &_ctx, genQueryInp_t *_gen_query_inp, genQueryOut_t *_result) |
int | chl_gen_query_access_control_setup_impl (const char *, const char *, const char *, int, int) |
irods::error | db_gen_query_access_control_setup_op (irods::plugin_context &_ctx, const char *_user, const char *_zone, const char *_host, int _priv, int _control_flag) |
int | chl_gen_query_ticket_setup_impl (const char *, const char *) |
irods::error | db_gen_query_ticket_setup_op (irods::plugin_context &_ctx, const char *_ticket, const char *_client_addr) |
int | chl_general_update_impl (generalUpdateInp_t) |
irods::error | db_general_update_op (irods::plugin_context &_ctx, generalUpdateInp_t *_update_inp) |
irods::error | db_start_operation (irods::plugin_property_map &_props) |
irods::database * | plugin_factory (const std::string &_inst_name, const std::string &_context) |
Variables | |
irods::resource_manager | resc_mgr |
static char | prevChalSig [200] |
static rodsLong_t | MAX_PASSWORDS = 40 |
bool | irods_pam_auth_no_extend = false |
size_t | irods_pam_password_len = 20 |
char | irods_pam_password_min_time [64] = { "121" } |
char | irods_pam_password_max_time [64] = { "1209600" } |
char | irods_pam_password_default_time [64] = { "1209600" } |
size_t | log_sql_flg = 0 |
icatSessionStruct | icss |
int | logSQL |
int | creatingUserByGroupAdmin |
char | mySessionTicket [64] |
char | mySessionClientAddr [64] |
#define ACCESS_MAX |
Definition at line 9334 of file db_plugin.cpp.
#define AP_NULL "null" |
Definition at line 71 of file db_plugin.cpp.
#define AP_OWN "own" |
Definition at line 70 of file db_plugin.cpp.
#define AP_READ "read" |
Definition at line 68 of file db_plugin.cpp.
#define AP_WRITE "write" |
Definition at line 69 of file db_plugin.cpp.
#define MAX_HOST_STR 2700 |
Definition at line 87 of file db_plugin.cpp.
#define MINIMUM_COL_SIZE 50 |
Definition at line 13827 of file db_plugin.cpp.
#define PASSWORD_DEFAULT_KEY "a9_3fker" |
Definition at line 85 of file db_plugin.cpp.
#define PASSWORD_KEY_ENV_VAR "IRODS_DATABASE_USER_PASSWORD_SALT" |
Definition at line 84 of file db_plugin.cpp.
#define PASSWORD_SCRAMBLE_PREFIX ".E_" |
Definition at line 83 of file db_plugin.cpp.
#define PATH_SEPARATOR irods::get_virtual_path_separator().c_str() |
Definition at line 112 of file db_plugin.cpp.
Definition at line 54 of file db_plugin.cpp.
Definition at line 493 of file db_plugin.cpp.
References authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, icss, LOCAL_PRIV_USER_AUTH, rsComm_t::proxyUser, and icatSessionStruct::status.
Referenced by db_add_child_resc_op(), and db_del_child_resc_op().
irods::error _childIsValid | ( | irods::plugin_property_map & | _prop_map, |
const std::string & | _new_child | ||
) |
Definition at line 555 of file db_plugin.cpp.
References _rollback(), CAT_NO_ROWS_FOUND, CHILD_HAS_PARENT, CHILD_NOT_FOUND, cmlGetStringValueFromSql(), ERROR, getLocalZone(), icss, irods::log(), irods::sql_logger::log(), LOG_NOTICE, logSQL, MAX_NAME_LEN, irods::error::ok(), deploy_schemas_locally::parser, PASS, irods.pypyodbc::status, and SUCCESS.
|
static |
Definition at line 792 of file db_plugin.cpp.
References _rollback(), ACCESS_DELETE_OBJECT, ACCESS_MODIFY_OBJECT, addRErrorMsg(), AU_DELETE_COLL, CAT_COLLECTION_NOT_EMPTY, CAT_NO_ROWS_FOUND, CAT_UNKNOWN_COLLECTION, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlCheckDir(), cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), CollInfo::collName, icss, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, PATH_SEPARATOR, removeMetaMapAndAVU(), rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, and userInfo_t::userName.
Referenced by db_del_coll_op().
int _modInheritance | ( | int | inheritFlag, |
int | recursiveFlag, | ||
const char * | collIdStr, | ||
const char * | pathName | ||
) |
Definition at line 1398 of file db_plugin.cpp.
References _rollback(), AU_MOD_ACCESS_CONTROL_COLL, cllBindVarCount, cllBindVars, cmlAudit5(), cmlExecuteNoAnswerSql(), getNowStr(), icss, LOG_NOTICE, LOG_SQL, logSQL, makeEscapedPath(), rodsLog(), and irods.pypyodbc::status.
int _rescHasData | ( | icatSessionStruct * | _icss, |
const std::string & | _resc_name, | ||
bool & | _has_data | ||
) |
Definition at line 643 of file db_plugin.cpp.
References get_object_count_of_resource_by_name(), irods::sql_logger::log(), logSQL, and irods.pypyodbc::status.
Referenced by db_del_resc_op().
bool _rescHasParentOrChild | ( | char * | rescId | ) |
Definition at line 686 of file db_plugin.cpp.
References _rollback(), CAT_NO_ROWS_FOUND, cmlGetStringValueFromSql(), icss, irods::log(), irods::sql_logger::log(), LOG_NOTICE, logSQL, MAX_NAME_LEN, and irods.pypyodbc::status.
Referenced by db_del_resc_op().
Definition at line 524 of file db_plugin.cpp.
References addRErrorMsg(), hostname_resolves_to_ipv4(), rsComm_t::rError, and irods.pypyodbc::status.
Referenced by db_mod_resc_op(), and db_reg_resc_op().
int _rollback | ( | const char * | functionName | ) |
Definition at line 190 of file db_plugin.cpp.
References cmlExecuteNoAnswerSql(), icss, LOG_NOTICE, rodsLog(), and irods.pypyodbc::status.
Referenced by _childIsValid(), _delColl(), _modInheritance(), _rescHasParentOrChild(), _updateChildParent(), _userInRUserAuth(), checkAndGetObjectId(), db_add_avu_metadata_wild_op(), db_check_auth_op(), db_del_coll_by_admin_op(), db_del_coll_op(), db_del_resc_op(), db_del_rule_exec_op(), db_del_user_re_op(), db_del_zone_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_freespace_op(), db_mod_resc_op(), db_mod_rule_exec_op(), db_mod_user_op(), db_reg_coll_by_admin_op(), db_reg_coll_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_rule_exec_op(), db_reg_user_re_op(), db_reg_zone_op(), db_set_avu_metadata_op(), db_unreg_replica_op(), decodePw(), determine_user_has_modify_metadata_access(), and getLocalZone().
irods::error _updateChildParent | ( | const std::string & | _child_resc_id, |
const std::string & | _parent_resc_id, | ||
const std::string & | _parent_child_context | ||
) |
Definition at line 609 of file db_plugin.cpp.
References _rollback(), cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), ERROR, getNowStr(), icss, irods::sql_logger::log(), logSQL, irods.pypyodbc::status, and SUCCESS.
Referenced by db_add_child_resc_op(), and db_del_child_resc_op().
bool _userInRUserAuth | ( | const char * | userName, |
const char * | zoneName, | ||
const char * | auth_name | ||
) |
Definition at line 737 of file db_plugin.cpp.
References _rollback(), CAT_NO_ROWS_FOUND, cmlGetIntegerValueFromSql(), icss, irods::sql_logger::log(), logSQL, and irods.pypyodbc::status.
Referenced by db_mod_user_op().
|
static |
Definition at line 764 of file db_plugin.cpp.
Referenced by validate_zone_name().
rodsLong_t checkAndGetObjectId | ( | rsComm_t * | rsComm, |
irods::plugin_property_map & | _prop_map, | ||
const char * | type, | ||
const char * | name, | ||
const char * | access | ||
) |
Definition at line 1127 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_RESOURCE, CAT_INVALID_USER, CAT_NO_ROWS_FOUND, CAT_UNKNOWN_COLLECTION, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cmlCheckDataObjOnly(), cmlCheckDir(), cmlGetIntegerValueFromSql(), convertTypeOption(), getLocalZone(), icss, LOCAL_PRIV_USER_AUTH, LOG_SQL, logSQL, MAX_NAME_LEN, generate_iadmin_commands_for_41_to_42_upgrade::name, NAME_LEN, NULL, irods::error::ok(), PASS, PATH_SEPARATOR, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, type, userInfo_t::userName, and validateAndParseUserName().
Referenced by db_check_and_get_object_id_op(), and db_set_avu_metadata_op().
int chl_gen_query_access_control_setup_impl | ( | const char * | , |
const char * | , | ||
const char * | , | ||
int | , | ||
int | |||
) |
Definition at line 2243 of file general_query.cpp.
References accessControlControlFlag, accessControlPriv, accessControlUserName, accessControlZone, MAX_NAME_LEN, NULL, rstrcpy(), and USER_STRLEN_TOOLONG.
int chl_gen_query_impl | ( | genQueryInp_t | , |
genQueryOut_t * | |||
) |
Definition at line 2293 of file general_query.cpp.
References GenQueryOut::attriCnt, SqlResult::attriInx, AUTO_CLOSE, CAT_NO_ROWS_FOUND, CAT_NOT_OPEN, checkCondInputAccess(), chlGenQuery(), chlGetRcs(), cllBindVarCount, cllGetRowCount(), cmlFreeStatement(), cmlGetFirstRowFromSql(), cmlGetIntegerValueFromSqlV3(), cmlGetNextRowFromStatement(), GenQueryInp::condInput, GenQueryInp::continueInx, GenQueryOut::continueInx, debug, generateSpecialQuery(), generateSQL(), icss, InxIvalPair::inx, KeyValPair::len, SqlResult::len, LOG_NOTICE, LOG_SQL, logSQLGenQuery, MAX_SQL_SIZE_GQ, GenQueryInp::maxRows, MINIMUM_COL_SIZE, NULL, icatStmtStrct::numOfCols, GenQueryInp::options, QUOTA_QUERY, icatStmtStrct::resultValue, RETURN_TOTAL_ROW_COUNT, rodsLog(), GenQueryOut::rowCnt, GenQueryInp::rowOffset, GenQueryInp::selectInp, specialQueryIx(), GenQueryOut::sqlResult, irods.pypyodbc::status, icatSessionStruct::stmtPtr, SYS_MALLOC_ERR, GenQueryOut::totalRowCount, UNINITIALIZED_STATEMENT_NUMBER, and SqlResult::value.
int chl_gen_query_ticket_setup_impl | ( | const char * | , |
const char * | |||
) |
Definition at line 2278 of file general_query.cpp.
References LOG_NOTICE, rodsLog(), rstrcpy(), sessionClientAddr, sessionTicket, and USER_STRLEN_TOOLONG.
int chl_general_update_impl | ( | generalUpdateInp_t | ) |
Definition at line 184 of file general_update.cpp.
References CAT_INVALID_ARGUMENT, CAT_NOT_OPEN, chlGetRcs(), cmlExecuteNoAnswerSql(), firstCall, GENERAL_UPDATE_DELETE, GENERAL_UPDATE_INSERT, generalDelete(), generalInsert(), icatGeneralQuerySetup(), icss, LOG_NOTICE, LOG_SQL, logSQLGenUpdate, rodsLog(), irods.pypyodbc::status, tSQL, and GeneralUpdateInp::type.
|
static |
Definition at line 1774 of file db_plugin.cpp.
References getaddrinfo_with_retry().
Referenced by convertHostToIp().
char* convertHostToIp | ( | const char * | inputName | ) |
Definition at line 1790 of file db_plugin.cpp.
References convert_hostname_to_dotted_decimal_ipv4_and_store_in_buffer(), LOG_ERROR, NULL, rodsLog(), and irods.pypyodbc::status.
int convertTypeOption | ( | const char * | typeStr | ) |
Definition at line 1095 of file db_plugin.cpp.
Referenced by checkAndGetObjectId().
irods::error db_add_avu_metadata_op | ( | irods::plugin_context & | _ctx, |
int | _admin_mode, | ||
const char * | _type, | ||
const char * | _name, | ||
const char * | _attribute, | ||
const char * | _value, | ||
const char * | _units | ||
) |
Definition at line 9455 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_add_avu_metadata_wild_op | ( | irods::plugin_context & | _ctx, |
int | _admin_mode, | ||
const char * | _type, | ||
const char * | _name, | ||
const char * | _attribute, | ||
const char * | _value, | ||
const char * | _units | ||
) |
Definition at line 9341 of file db_plugin.cpp.
References _rollback(), AU_ADD_AVU_WILD_METADATA, CAT_INVALID_ARGUMENT, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), irods::error::code(), CODE, irods::plugin_context::comm(), determine_user_has_modify_metadata_access(), ERROR, findOrInsertAVU(), getNowStr(), icss, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), PASS, PATH_SEPARATOR, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_add_child_resc_op | ( | irods::plugin_context & | _ctx, |
std::map< std::string, std::string > * | _resc_input | ||
) |
Definition at line 3730 of file db_plugin.cpp.
References _canConnectToCatalog(), _updateChildParent(), addRErrorMsg(), CAT_INVALID_RESOURCE, CAT_INVALID_ZONE, CHILD_HAS_PARENT, CHILD_NOT_FOUND, cmlExecuteNoAnswerSql(), irods::error::code(), irods::plugin_context::comm(), ERROR, extract_resource_properties_for_operations(), getLocalZone(), icss, irods::children_parser::list(), irods::sql_logger::log(), logSQL, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rsComm_t::rError, irods::RESOURCE_CHILDREN(), irods::RESOURCE_NAME(), irods::RESOURCE_ZONE(), irods::children_parser::set_string(), irods.pypyodbc::status, SUCCESS, SYS_INVALID_INPUT_PARAM, SYS_RESC_DOES_NOT_EXIST, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_add_specific_query_op | ( | irods::plugin_context & | _ctx, |
const char * | _sql, | ||
const char * | _alias | ||
) |
Definition at line 13649 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_calc_usage_and_quota_op | ( | irods::plugin_context & | _ctx | ) |
Definition at line 12533 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_check_and_get_object_id_op | ( | irods::plugin_context & | _ctx, |
const char * | _type, | ||
const char * | _name, | ||
const char * | _access | ||
) |
Definition at line 2015 of file db_plugin.cpp.
References checkAndGetObjectId(), irods::plugin_context::comm(), ERROR, irods::error::ok(), PASS, irods::plugin_context::prop_map(), irods.pypyodbc::status, SUCCESS, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_check_auth_op | ( | irods::plugin_context & | _ctx, |
const char * | _scheme, | ||
const char * | _challenge, | ||
const char * | _response, | ||
const char * | _user_name, | ||
int * | _user_priv_level, | ||
int * | _client_priv_level | ||
) |
Definition at line 6511 of file db_plugin.cpp.
References _rollback(), ANONYMOUS_USER, CAT_INVALID_ARGUMENT, CAT_INVALID_AUTHENTICATION, CAT_INVALID_CLIENT_USER, CAT_INVALID_USER, CAT_NO_ROWS_FOUND, CAT_PASSWORD_EXPIRED, CAT_SUCCESS_BUT_WITH_NO_INFO, irods::CFG_DEF_TEMP_PASSWORD_LIFETIME(), irods::CFG_MAX_TEMP_PASSWORD_LIFETIME(), CHALLENGE_LEN, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), cmlGetMultiRowStringValuesFromSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), terminate_irods_processes::e, ERROR, error, getLocalZone(), getNowStr(), HASH_TYPE_MD5, HASH_TYPE_SHA1, icatDescramble(), icss, irods_pam_password_max_time, irods_pam_password_min_time, LOCAL_PRIV_USER_AUTH, LOCAL_USER_AUTH, LOG_ERROR, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_PASSWORD_LEN, MAX_PASSWORDS, NAME_LEN, NO_USER_AUTH, NULL, obfMakeOneWayHash(), irods::error::ok(), OK, PASS, prevChalSig, irods::plugin_context::prop_map(), REMOTE_USER_AUTH, RESPONSE_LEN, rodsLog(), userInfo_t::rodsZone, rstrcpy(), SHA1_FLAG_STRING, irods.pypyodbc::status, SUCCESS, userInfo_t::userName, irods::plugin_context::valid(), validateAndParseUserName(), and verify_auth_response().
Referenced by plugin_factory().
irods::error db_check_quota_op | ( | irods::plugin_context & | _ctx, |
const char * | _user_name, | ||
const char * | _resc_name, | ||
rodsLong_t * | _user_quota, | ||
int * | _quota_status | ||
) |
Definition at line 12798 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_close_op | ( | irods::plugin_context & | _ctx | ) |
Definition at line 1973 of file db_plugin.cpp.
References cmlClose(), CODE, ERROR, icss, irods::error::ok(), PASS, irods.pypyodbc::status, icatSessionStruct::status, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_commit_op | ( | irods::plugin_context & | _ctx | ) |
Definition at line 4353 of file db_plugin.cpp.
References cmlExecuteNoAnswerSql(), CODE, ERROR, icss, LOG_NOTICE, LOG_SQL, logSQL, irods::error::ok(), PASS, rodsLog(), irods.pypyodbc::status, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_copy_avu_metadata_op | ( | irods::plugin_context & | _ctx, |
const char * | _type1, | ||
const char * | _type2, | ||
const char * | _name1, | ||
const char * | _name2 | ||
) |
Definition at line 10278 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_debug_op | ( | irods::plugin_context & | _ctx, |
const char * | _mode | ||
) |
Definition at line 1829 of file db_plugin.cpp.
References CAT_INVALID_ARGUMENT, ERROR, logSQL, mode, irods::error::ok(), PASS, SUCCESS, irods::transform(), and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_del_avu_metadata_op | ( | irods::plugin_context & | _ctx, |
int | _option, | ||
const char * | _type, | ||
const char * | _name, | ||
const char * | _attribute, | ||
const char * | _value, | ||
const char * | _unit, | ||
int | _nocommit | ||
) |
Definition at line 9899 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_del_child_resc_op | ( | irods::plugin_context & | _ctx, |
std::map< std::string, std::string > * | _resc_input | ||
) |
Definition at line 4040 of file db_plugin.cpp.
References _canConnectToCatalog(), _updateChildParent(), CAT_INVALID_CHILD, cmlExecuteNoAnswerSql(), irods::plugin_context::comm(), ERROR, extract_resource_properties_for_operations(), getLocalZone(), icss, logSQL, irods::error::ok(), deploy_schemas_locally::parser, PASS, irods::plugin_context::prop_map(), irods::RESOURCE_CHILDREN(), irods::RESOURCE_NAME(), irods.pypyodbc::status, SUCCESS, SYS_INTERNAL_NULL_INPUT_ERR, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_del_coll_by_admin_op | ( | irods::plugin_context & | _ctx, |
collInfo_t * | _coll_info | ||
) |
Definition at line 6285 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), AU_DELETE_COLL_BY_ADMIN, authInfo_t::authFlag, userInfo_t::authInfo, CAT_COLLECTION_NOT_EMPTY, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_NO_ROWS_FOUND, CAT_UNKNOWN_COLLECTION, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit4(), cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), CollInfo::collName, irods::plugin_context::comm(), ERROR, icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), PASS, PATH_SEPARATOR, rsComm_t::proxyUser, removeMetaMapAndAVU(), rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_del_coll_op | ( | irods::plugin_context & | _ctx, |
collInfo_t * | _coll_info | ||
) |
Definition at line 6453 of file db_plugin.cpp.
References _delColl(), _rollback(), CAT_INVALID_ARGUMENT, cmlExecuteNoAnswerSql(), irods::plugin_context::comm(), ERROR, icss, LOG_NOTICE, LOG_SQL, logSQL, irods::error::ok(), PASS, rodsLog(), irods.pypyodbc::status, SUCCESS, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_del_resc_op | ( | irods::plugin_context & | _ctx, |
const char * | _resc_name, | ||
int | _dry_run | ||
) |
Definition at line 4129 of file db_plugin.cpp.
References _rescHasData(), _rescHasParentOrChild(), _rollback(), addRErrorMsg(), AU_DELETE_RESOURCE, authInfo_t::authFlag, userInfo_t::authInfo, BUNDLE_RESC, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_PSEUDO_RESC_MODIFY_DISALLOWED, CAT_RESOURCE_NOT_EMPTY, CAT_SUCCESS_BUT_WITH_NO_INFO, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), CODE, irods::plugin_context::comm(), ERROR, getLocalZone(), icss, LOCAL_PRIV_USER_AUTH, LOG_ERROR, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, removeMetaMapAndAVU(), rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_del_rule_exec_op | ( | irods::plugin_context & | _ctx, |
const char * | _re_id | ||
) |
Definition at line 3580 of file db_plugin.cpp.
References _rollback(), AU_DELETE_DELAYED_RULE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_NO_ACCESS_PERMISSION, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), CODE, irods::plugin_context::comm(), ERROR, icss, LOCAL_PRIV_USER_AUTH, LOCAL_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), PASS, rsComm_t::proxyUser, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_del_specific_query_op | ( | irods::plugin_context & | _ctx, |
const char * | _sql_or_alias | ||
) |
Definition at line 13751 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_del_token_op | ( | irods::plugin_context & | _ctx, |
const char * | _name_space, | ||
const char * | _name | ||
) |
Definition at line 12135 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_del_unused_avus_op | ( | irods::plugin_context & | _ctx | ) |
Definition at line 12889 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_del_user_re_op | ( | irods::plugin_context & | _ctx, |
userInfo_t * | _user_info | ||
) |
Definition at line 4392 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), AU_DELETE_USER_RE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_USER, CAT_NO_ROWS_FOUND, CAT_SUCCESS_BUT_WITH_NO_INFO, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), ERROR, getLocalZone(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, NAME_LEN, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, removeMetaMapAndAVU(), rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, rstrcpy(), irods.pypyodbc::status, SUCCESS, userInfo_t::userName, irods::plugin_context::valid(), and validateAndParseUserName().
Referenced by plugin_factory().
irods::error db_del_zone_op | ( | irods::plugin_context & | _ctx, |
const char * | _zone_name | ||
) |
Definition at line 5870 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), AU_DELETE_ZONE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_ZONE, CAT_NO_ROWS_FOUND, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), ERROR, icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), PASS, rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_gen_query_access_control_setup_op | ( | irods::plugin_context & | _ctx, |
const char * | _user, | ||
const char * | _zone, | ||
const char * | _host, | ||
int | _priv, | ||
int | _control_flag | ||
) |
Definition at line 15231 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_gen_query_op | ( | irods::plugin_context & | _ctx, |
genQueryInp_t * | _gen_query_inp, | ||
genQueryOut_t * | _result | ||
) |
Definition at line 15183 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_gen_query_ticket_setup_op | ( | irods::plugin_context & | _ctx, |
const char * | _ticket, | ||
const char * | _client_addr | ||
) |
Definition at line 15284 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_general_update_op | ( | irods::plugin_context & | _ctx, |
generalUpdateInp_t * | _update_inp | ||
) |
Definition at line 15332 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_get_distinct_data_obj_count_on_resource_op | ( | irods::plugin_context & | _ctx, |
const char * | _resc_name, | ||
long long * | _count | ||
) |
Definition at line 14069 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_get_distinct_data_objs_missing_from_child_given_parent_op | ( | irods::plugin_context & | _ctx, |
const std::string * | _parent, | ||
const std::string * | _child, | ||
int | _limit, | ||
dist_child_result_t * | _results | ||
) |
Definition at line 14132 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_get_hierarchy_for_resc_op | ( | irods::plugin_context & | _ctx, |
const std::string * | _resc_name, | ||
const std::string * | _zone_name, | ||
std::string * | _hierarchy | ||
) |
Definition at line 14332 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_get_icss_op | ( | irods::plugin_context & | _ctx, |
icatSessionStruct ** | _icss | ||
) |
Definition at line 15135 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_get_local_zone_op | ( | irods::plugin_context & | _ctx, |
std::string * | _zone | ||
) |
Definition at line 2049 of file db_plugin.cpp.
References getLocalZone(), icss, irods::error::ok(), PASS, irods::plugin_context::prop_map(), SUCCESS, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_get_repl_list_for_leaf_bundles_op | ( | irods::plugin_context & | _ctx, |
rodsLong_t | _count, | ||
size_t | _child_index, | ||
const std::vector< leaf_bundle_t > * | _bundles, | ||
const std::string * | _invocation_timestamp, | ||
dist_child_result_t * | _results | ||
) |
Definition at line 14229 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_ins_dvm_table_op | ( | irods::plugin_context & | _ctx, |
const char * | _base_name, | ||
const char * | _var_name, | ||
const char * | _action, | ||
const char * | _var_2_cmap, | ||
const char * | _my_time | ||
) |
Definition at line 13055 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_ins_fnm_table_op | ( | irods::plugin_context & | _ctx, |
const char * | _base_name, | ||
const char * | _func_name, | ||
const char * | _func_2_cmap, | ||
const char * | _my_time | ||
) |
Definition at line 13178 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_ins_msrvc_table_op | ( | irods::plugin_context & | _ctx, |
const char * | _module_name, | ||
const char * | _msrvc_name, | ||
const char * | _msrvc_signature, | ||
const char * | _msrvc_version, | ||
const char * | _msrvc_host, | ||
const char * | _msrvc_location, | ||
const char * | _msrvc_language, | ||
const char * | _msrvc_type_name, | ||
const char * | _msrvc_status, | ||
const char * | _my_time | ||
) |
Definition at line 13298 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_ins_rule_table_op | ( | irods::plugin_context & | _ctx, |
const char * | _base_name, | ||
const char * | _map_priority_str, | ||
const char * | _rule_name, | ||
const char * | _rule_head, | ||
const char * | _rule_condition, | ||
const char * | _rule_action, | ||
const char * | _rule_recovery, | ||
const char * | _rule_id_str, | ||
const char * | _my_time | ||
) |
Definition at line 12922 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_make_limited_pw_op | ( | irods::plugin_context & | _ctx, |
int | _ttl, | ||
char * | _pw_value_to_hash | ||
) |
Definition at line 7157 of file db_plugin.cpp.
References _rollback(), CAT_INVALID_ARGUMENT, CAT_INVALID_USER, CAT_NO_ROWS_FOUND, irods::CFG_DEF_TEMP_PASSWORD_LIFETIME(), rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), terminate_irods_processes::e, ERROR, error, get64RandomBytes(), getNowStr(), HASH_TYPE_DEFAULT, hashToStr(), icatDescramble(), icatScramble(), icss, irods_pam_password_max_time, irods_pam_password_min_time, LOG_NOTICE, LOG_SQL, logSQL, MAX_PASSWORD_LEN, MAX_SQL_SIZE, obfMakeOneWayHash(), irods::error::ok(), PAM_AUTH_PASSWORD_INVALID_TTL, PASS, RESPONSE_LEN, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, SUCCESS, tSQL, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_make_temp_pw_op | ( | irods::plugin_context & | _ctx, |
char * | _pw_value_to_hash, | ||
const char * | _other_user | ||
) |
Definition at line 6987 of file db_plugin.cpp.
References _rollback(), authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_USER, CAT_NO_ROWS_FOUND, irods::CFG_DEF_TEMP_PASSWORD_LIFETIME(), rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), terminate_irods_processes::e, ERROR, error, get64RandomBytes(), getNowStr(), HASH_TYPE_DEFAULT, hashToStr(), icatDescramble(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_PASSWORD_LEN, MAX_SQL_SIZE, NULL, obfMakeOneWayHash(), irods::error::ok(), PASS, rsComm_t::proxyUser, RESPONSE_LEN, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, SUCCESS, tSQL, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_mod_access_control_op | ( | irods::plugin_context & | _ctx, |
const int | _recursive_flag, | ||
const char * | _access_level, | ||
const char * | _user_name, | ||
const char * | _zone, | ||
const char * | _path_name | ||
) |
Definition at line 10563 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_mod_access_control_resc_op | ( | irods::plugin_context & | _ctx, |
const int | _recursive_flag, | ||
const char * | _access_level, | ||
const char * | _user_name, | ||
const char * | _zone, | ||
const char * | _resc_name | ||
) |
Definition at line 10382 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_mod_avu_metadata_op | ( | irods::plugin_context & | _ctx, |
const char * | _type, | ||
const char * | _name, | ||
const char * | _attribute, | ||
const char * | _value, | ||
const char * | _unitsOrArg0, | ||
const char * | _arg1, | ||
const char * | _arg2, | ||
const char * | _arg3 | ||
) |
Definition at line 9786 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_mod_coll_op | ( | irods::plugin_context & | _ctx, |
collInfo_t * | _coll_info | ||
) |
Definition at line 5042 of file db_plugin.cpp.
References ACCESS_MODIFY_OBJECT, addRErrorMsg(), AU_REGISTER_COLL, CAT_INVALID_ARGUMENT, CAT_NO_ACCESS_PERMISSION, CAT_UNKNOWN_COLLECTION, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlCheckDir(), cmlExecuteNoAnswerSql(), CollInfo::collInfo1, CollInfo::collInfo2, CollInfo::collModify, CollInfo::collName, CollInfo::collType, irods::plugin_context::comm(), ERROR, getNowStr(), icss, irods::is_privileged_client(), LOG_NOTICE, LOG_SQL, logSQL, irods::error::ok(), PASS, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, tSQL, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_mod_data_obj_meta_op | ( | irods::plugin_context & | _ctx, |
dataObjInfo_t * | _data_obj_info, | ||
keyValPair_t * | _reg_param | ||
) |
Definition at line 2088 of file db_plugin.cpp.
References _rollback(), ACCESS_DELETE_OBJECT, ACCESS_MODIFY_METADATA, ACCESS_OWN, ACCESS_READ_OBJECT, ACL_COLLECTION_KW, addRErrorMsg(), ADMIN_KW, ALL_KW, ALL_REPL_STATUS_KW, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_DATA_TYPE, CAT_NO_ACCESS_PERMISSION, CAT_SUCCESS_BUT_WITH_NO_INFO, CAT_UNKNOWN_COLLECTION, CAT_UNKNOWN_FILE, CHKSUM_KW, rsComm_t::clientUser, cmlCheckDataObjId(), cmlCheckDir(), cmlCheckNameToken(), cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), cmlModifySingleTable(), cmlTicketUpdateWriteBytes(), CODE, COLL_ID_KW, irods::plugin_context::comm(), DATA_COMMENTS_KW, DATA_CREATE_KW, DATA_EXPIRY_KW, DATA_MODE_KW, DATA_MODIFY_KW, DATA_NAME_KW, DATA_OWNER_KW, DATA_OWNER_ZONE_KW, DATA_SIZE_KW, DATA_TYPE_KW, DataObjInfo::dataId, ERROR, FILE_PATH_KW, DataObjInfo::flags, getLocalZone(), getValByKey(), irods::resource_manager::hier_to_leaf_id(), icss, LOCAL_PRIV_USER_AUTH, LOG_ERROR, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, mode, mySessionClientAddr, mySessionTicket, NAME_LEN, NEWLY_CREATED_COPY, NO_COMMIT_FLAG, NULL, DataObjInfo::objPath, irods::error::ok(), OLD_COPY, PASS, irods::plugin_context::prop_map(), REPL_NUM_KW, REPL_STATUS_KW, DataObjInfo::replNum, rsComm_t::rError, RESC_HIER_STR_KW, RESC_ID_KW, resc_mgr, RESC_NAME_KW, DataObjInfo::rescHier, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, STATUS_STRING_KW, userInfo_t::userName, irods::plugin_context::valid(), and VERSION_KW.
Referenced by plugin_factory().
irods::error db_mod_group_op | ( | irods::plugin_context & | _ctx, |
const char * | _group_name, | ||
const char * | _option, | ||
const char * | _user_name, | ||
const char * | _user_zone | ||
) |
Definition at line 7937 of file db_plugin.cpp.
References _rollback(), AU_MOD_GROUP, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INVALID_ARGUMENT, CAT_INVALID_GROUP, CAT_INVALID_USER, CAT_NO_ROWS_FOUND, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlCheckGroupAdminAccess(), cmlExecuteNoAnswerSql(), cmlGetGroupMemberCount(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), ERROR, getLocalZone(), getNowStr(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, NAME_LEN, NULL, irods::error::ok(), OK, PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rodsLog(), userInfo_t::rodsZone, rstrcpy(), irods.pypyodbc::status, SUCCESS, userInfo_t::userName, irods::plugin_context::valid(), and validateAndParseUserName().
Referenced by plugin_factory().
irods::error db_mod_resc_data_paths_op | ( | irods::plugin_context & | _ctx, |
const char * | _resc_name, | ||
const char * | _old_path, | ||
const char * | _new_path, | ||
const char * | _user_name | ||
) |
Definition at line 8605 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_RESOURCE, CAT_NO_ROWS_FOUND, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cllGetRowCount(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), ERROR, getLocalZone(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, NAME_LEN, NULL, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), irods.pypyodbc::status, SUCCESS, irods::plugin_context::valid(), and validateAndParseUserName().
Referenced by plugin_factory().
irods::error db_mod_resc_freespace_op | ( | irods::plugin_context & | _ctx, |
const char * | _resc_name, | ||
int | _update_value | ||
) |
Definition at line 8781 of file db_plugin.cpp.
References _rollback(), AU_MOD_RESC_FREE_SPACE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit4(), cmlExecuteNoAnswerSql(), irods::plugin_context::comm(), ERROR, getNowStr(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), PASS, rsComm_t::proxyUser, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, SUCCESS, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_mod_resc_op | ( | irods::plugin_context & | _ctx, |
const char * | _resc_name, | ||
const char * | _option, | ||
const char * | _option_value | ||
) |
Definition at line 8155 of file db_plugin.cpp.
References _resolveHostName(), _rollback(), addRErrorMsg(), AU_MOD_RESC, authInfo_t::authFlag, userInfo_t::authInfo, BUNDLE_RESC, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_RESOURCE, CAT_NO_ROWS_FOUND, CAT_PSEUDO_RESC_MODIFY_DISALLOWED, CAT_SUCCESS_BUT_WITH_NO_INFO, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), ERROR, getLocalZone(), getNowStr(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), OK, PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, SUCCESS, userInfo_t::userName, irods::plugin_context::valid(), and verify_non_root_vault_path().
Referenced by plugin_factory().
irods::error db_mod_rule_exec_op | ( | irods::plugin_context & | _ctx, |
const char * | _re_id, | ||
keyValPair_t * | _reg_param | ||
) |
Definition at line 3451 of file db_plugin.cpp.
References _rollback(), AU_MODIFY_DELAYED_RULE, CAT_INVALID_ARGUMENT, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), CODE, irods::plugin_context::comm(), ERROR, getValByKey(), icss, LOG_NOTICE, LOG_SQL, logSQL, MAX_SQL_SIZE, NULL, irods::error::ok(), PASS, rodsLog(), userInfo_t::rodsZone, rstrcat(), RULE_ESTIMATE_EXE_TIME_KW, RULE_EXE_ADDRESS_KW, RULE_EXE_FREQUENCY_KW, RULE_EXE_STATUS_KW, RULE_EXE_TIME_KW, RULE_LAST_EXE_TIME_KW, RULE_NAME_KW, RULE_NOTIFICATION_ADDR_KW, RULE_PRIORITY_KW, RULE_REI_FILE_PATH_KW, RULE_USER_NAME_KW, irods.pypyodbc::status, tSQL, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_mod_ticket_op | ( | irods::plugin_context & | _ctx, |
const char * | _op_name, | ||
const char * | _ticket_string, | ||
const char * | _arg3, | ||
const char * | _arg4, | ||
const char * | _arg5 | ||
) |
Definition at line 14430 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_mod_user_op | ( | irods::plugin_context & | _ctx, |
const char * | _user_name, | ||
const char * | _option, | ||
const char * | _new_value | ||
) |
Definition at line 7553 of file db_plugin.cpp.
References _rollback(), _userInRUserAuth(), addRErrorMsg(), AU_ADD_USER_AUTH_NAME, AU_DELETE_USER_AUTH_NAME, AU_MOD_USER_COMMENT, AU_MOD_USER_INFO, AU_MOD_USER_PASSWORD, AU_MOD_USER_TYPE, AU_MOD_USER_ZONE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_USER, CAT_INVALID_USER_TYPE, CAT_NO_ROWS_FOUND, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit1(), cmlCheckGroupAdminAccess(), cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), decodePw(), ERROR, getLocalZone(), getNowStr(), icatApplyRule(), icatScramble(), icss, irods_pam_password_max_time, irods_pam_password_min_time, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_PASSWORD_LEN, MAX_SQL_SIZE, NAME_LEN, NO_RULE_OR_MSI_FUNCTION_FOUND_ERR, irods::error::ok(), PASS, PASSWORD_EXCEEDS_MAX_SIZE, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, rstrcpy(), irods.pypyodbc::status, SUCCESS, tSQL, userInfo_t::userName, irods::plugin_context::valid(), and validateAndParseUserName().
Referenced by plugin_factory().
irods::error db_mod_zone_coll_acl_op | ( | irods::plugin_context & | _ctx, |
const char * | _access_level, | ||
const char * | _user_name, | ||
const char * | _path_name | ||
) |
Definition at line 5598 of file db_plugin.cpp.
References CAT_INVALID_ARGUMENT, chlModAccessControl(), rsComm_t::clientUser, CODE, irods::plugin_context::comm(), ERROR, NULL, irods::error::ok(), PASS, PATH_SEPARATOR, userInfo_t::rodsZone, irods.pypyodbc::status, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_mod_zone_op | ( | irods::plugin_context & | _ctx, |
const char * | _zone_name, | ||
const char * | _option, | ||
const char * | _option_value | ||
) |
Definition at line 5345 of file db_plugin.cpp.
References addRErrorMsg(), AU_MOD_ZONE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_ZONE, CAT_NO_ROWS_FOUND, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), ERROR, getLocalZone(), getNowStr(), icss, LOCAL_PRIV_USER_AUTH, irods::log(), LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), OK, PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, SUCCESS, userInfo_t::userName, irods::plugin_context::valid(), and validate_zone_name().
Referenced by plugin_factory().
irods::error db_move_object_op | ( | irods::plugin_context & | _ctx, |
rodsLong_t | _obj_id, | ||
rodsLong_t | _target_coll_id | ||
) |
Definition at line 11556 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_open_op | ( | irods::plugin_context & | _ctx | ) |
Definition at line 1880 of file db_plugin.cpp.
References irods::AUTH_PAM_SCHEME(), irods::catalog_properties::capture_if_needed(), irods::CFG_DB_PASSWORD_KW(), irods::CFG_DB_USERNAME_KW(), irods::CFG_PAM_NO_EXTEND_KW(), irods::CFG_PAM_PASSWORD_LENGTH_KW(), irods::CFG_PAM_PASSWORD_MAX_TIME_KW(), irods::CFG_PAM_PASSWORD_MIN_TIME_KW(), irods::CFG_PLUGIN_CONFIGURATION_KW(), cmlOpen(), CODE, icatSessionStruct::database_plugin_type, icatSessionStruct::databasePassword, icatSessionStruct::databaseUsername, DB_PASSWORD_LEN, DB_TYPENAME_LEN, DB_USERNAME_LEN, terminate_irods_processes::e, ERROR, error, icss, irods::catalog_properties::instance(), INVALID_ANY_CAST, irods_pam_auth_no_extend, irods_pam_password_default_time, irods_pam_password_len, irods_pam_password_max_time, irods_pam_password_min_time, LOG_DEBUG, LOG_SQL, logSQL, NAME_LEN, irods::error::ok(), PASS, irods::PLUGIN_TYPE_AUTHENTICATION(), irods::PLUGIN_TYPE_DATABASE(), rodsLog(), irods.pypyodbc::status, icatSessionStruct::status, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_purge_server_load_digest_op | ( | irods::plugin_context & | _ctx, |
const char * | _seconds_ago | ||
) |
Definition at line 12464 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_purge_server_load_op | ( | irods::plugin_context & | _ctx, |
const char * | _seconds_ago | ||
) |
Definition at line 12321 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_reg_coll_by_admin_op | ( | irods::plugin_context & | _ctx, |
collInfo_t * | _coll_info | ||
) |
Definition at line 4589 of file db_plugin.cpp.
References _rollback(), ACCESS_OWN, addRErrorMsg(), AU_REGISTER_COLL_BY_ADMIN, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_NO_ROWS_FOUND, CATALOG_ALREADY_HAS_ITEM_BY_THAT_NAME, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cllCurrentValueString(), cllNextValueString(), cmlAudit4(), cmlCheckGroupAdminAccess(), cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), CollInfo::collInfo1, CollInfo::collInfo2, CollInfo::collName, CollInfo::collOwnerName, CollInfo::collOwnerZone, CollInfo::collType, irods::plugin_context::comm(), creatingUserByGroupAdmin, ERROR, getLocalZone(), getNowStr(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_SQL_SIZE, NAME_LEN, irods::error::ok(), PASS, PATH_SEPARATOR, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, rstrcpy(), splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, tSQL, userInfo_t::userName, irods::plugin_context::valid(), and validateAndParseUserName().
Referenced by plugin_factory().
irods::error db_reg_coll_op | ( | irods::plugin_context & | _ctx, |
collInfo_t * | _coll_info | ||
) |
Definition at line 4804 of file db_plugin.cpp.
References _rollback(), ACCESS_MODIFY_OBJECT, ACCESS_OWN, addRErrorMsg(), AU_REGISTER_COLL, CAT_INVALID_ARGUMENT, CAT_NAME_EXISTS_AS_DATAOBJ, CAT_UNKNOWN_COLLECTION, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cllCurrentValueString(), cllNextValueString(), cmlAudit4(), cmlCheckDirAndGetInheritFlag(), cmlExecuteNoAnswerSql(), cmlGetCurrentSeqVal(), cmlGetIntegerValueFromSql(), CODE, CollInfo::collInfo1, CollInfo::collInfo2, CollInfo::collName, CollInfo::collType, irods::plugin_context::comm(), ERROR, getNowStr(), icss, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_SQL_SIZE, mySessionClientAddr, mySessionTicket, irods::error::ok(), PASS, PATH_SEPARATOR, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, tSQL, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_reg_data_obj_op | ( | irods::plugin_context & | _ctx, |
dataObjInfo_t * | _data_obj_info | ||
) |
Definition at line 2563 of file db_plugin.cpp.
References _rollback(), ACCESS_MODIFY_OBJECT, ACCESS_OWN, addRErrorMsg(), AU_REGISTER_DATA_OBJ, CAT_INVALID_ARGUMENT, CAT_INVALID_DATA_TYPE, CAT_NAME_EXISTS_AS_COLLECTION, CAT_NO_ACCESS_PERMISSION, CAT_UNKNOWN_COLLECTION, CATALOG_NOT_CONNECTED, DataObjInfo::chksum, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlCheckDirAndGetInheritFlag(), cmlCheckNameToken(), cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), cmlGetNextSeqVal(), irods::plugin_context::comm(), DataObjInfo::dataId, DataObjInfo::dataMode, DataObjInfo::dataModify, DataObjInfo::dataSize, DataObjInfo::dataType, ERROR, DataObjInfo::filePath, DataObjInfo::flags, getLocalZone(), getNowStr(), icss, LOG_ERROR, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, mySessionClientAddr, mySessionTicket, NO_COMMIT_FLAG, DataObjInfo::objPath, irods::error::ok(), PASS, irods::plugin_context::prop_map(), DataObjInfo::replNum, DataObjInfo::replStatus, rsComm_t::rError, DataObjInfo::rescId, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, userInfo_t::userName, irods::plugin_context::valid(), and DataObjInfo::version.
Referenced by plugin_factory().
irods::error db_reg_replica_op | ( | irods::plugin_context & | _ctx, |
dataObjInfo_t * | _src_data_obj_info, | ||
dataObjInfo_t * | _dst_data_obj_info, | ||
keyValPair_t * | _cond_input | ||
) |
Definition at line 2811 of file db_plugin.cpp.
References _rollback(), ACCESS_READ_OBJECT, ADMIN_KW, AU_REGISTER_DATA_REPLICA, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlCheckDataObjOnly(), cmlExecuteNoAnswerSql(), cmlFreeStatement(), cmlGetIntegerValueFromSql(), cmlGetOneRowFromSqlV2(), irods::plugin_context::comm(), DataObjInfo::dataId, DataObjInfo::dataMode, ERROR, DataObjInfo::filePath, getLocalZone(), getNowStr(), getValByKey(), icss, LOCAL_PRIV_USER_AUTH, LOG_ERROR, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_SQL_SIZE, nColumns, NULL, DataObjInfo::objPath, irods::error::ok(), PASS, irods::plugin_context::prop_map(), DataObjInfo::replNum, DataObjInfo::rescId, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, SYS_INVALID_INPUT_PARAM, tSQL, UNINITIALIZED_STATEMENT_NUMBER, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_reg_resc_op | ( | irods::plugin_context & | _ctx, |
std::map< std::string, std::string > * | _resc_input | ||
) |
Definition at line 3859 of file db_plugin.cpp.
References _resolveHostName(), _rollback(), addRErrorMsg(), AU_REGISTER_RESOURCE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_RESOURCE_NAME, CAT_INVALID_RESOURCE_TYPE, CAT_INVALID_ZONE, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetNextSeqVal(), CODE, irods::plugin_context::comm(), irods::EMPTY_RESC_HOST(), ERROR, getLocalZone(), getNowStr(), icss, LOCAL_PRIV_USER_AUTH, irods::log(), LOG_NOTICE, LOG_SQL, logSQL, MAX_SQL_SIZE, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rsComm_t::rError, irods::RESOURCE_CHILDREN(), irods::RESOURCE_CLASS(), irods::RESOURCE_CONTEXT(), irods::RESOURCE_LOCATION(), irods::RESOURCE_NAME(), irods::RESOURCE_PARENT(), irods::RESOURCE_PATH(), irods::RESOURCE_TYPE(), irods::RESOURCE_ZONE(), rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, SYS_INTERNAL_NULL_INPUT_ERR, userInfo_t::userName, irods::plugin_context::valid(), validate_resource_name(), and verify_non_root_vault_path().
Referenced by plugin_factory().
irods::error db_reg_rule_exec_op | ( | irods::plugin_context & | _ctx, |
ruleExecSubmitInp_t * | _re_sub_inp | ||
) |
Definition at line 3334 of file db_plugin.cpp.
References _rollback(), AU_REGISTER_DELAYED_RULE, CAT_INVALID_ARGUMENT, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetNextSeqVal(), irods::plugin_context::comm(), ERROR, ruleExecSubmitInp_t::estimateExeTime, ruleExecSubmitInp_t::exeAddress, ruleExecSubmitInp_t::exeFrequency, ruleExecSubmitInp_t::exeTime, getNowStr(), icss, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, NAME_LEN, ruleExecSubmitInp_t::notificationAddr, irods::error::ok(), PASS, ruleExecSubmitInp_t::priority, ruleExecSubmitInp_t::reiFilePath, rodsLog(), userInfo_t::rodsZone, ruleExecSubmitInp_t::ruleExecId, ruleExecSubmitInp_t::ruleName, irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, ruleExecSubmitInp_t::userName, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_reg_server_load_digest_op | ( | irods::plugin_context & | _ctx, |
const char * | _resc_name, | ||
const char * | _load_factor | ||
) |
Definition at line 12391 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_reg_server_load_op | ( | irods::plugin_context & | _ctx, |
const char * | _host_name, | ||
const char * | _resc_name, | ||
const char * | _cpu_used, | ||
const char * | _mem_used, | ||
const char * | _swap_used, | ||
const char * | _run_q_load, | ||
const char * | _disk_space, | ||
const char * | _net_input, | ||
const char * | _net_output | ||
) |
Definition at line 12235 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_reg_token_op | ( | irods::plugin_context & | _ctx, |
const char * | _name_space, | ||
const char * | _name, | ||
const char * | _value, | ||
const char * | _value2, | ||
const char * | _value3, | ||
const char * | _comment | ||
) |
Definition at line 11973 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_reg_user_re_op | ( | irods::plugin_context & | _ctx, |
userInfo_t * | _user_info | ||
) |
Definition at line 8881 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), AU_REGISTER_USER_RE, authInfo_t::authFlag, userInfo_t::authInfo, authInfo_t::authStr, CAT_INVALID_ARGUMENT, CAT_INVALID_USER_TYPE, CAT_INVALID_ZONE, CAT_NO_ROWS_FOUND, CATALOG_ALREADY_HAS_ITEM_BY_THAT_NAME, CATALOG_NOT_CONNECTED, chlModUser(), rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit4(), cmlCheckGroupAdminAccess(), cmlExecuteNoAnswerSql(), cmlGetNextSeqStr(), cmlGetStringValueFromSql(), CODE, irods::plugin_context::comm(), creatingUserByGroupAdmin, ERROR, getLocalZone(), getNowStr(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_SQL_SIZE, NAME_LEN, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, trimWS(), userInfo_t::userName, userInfo_t::userType, irods::plugin_context::valid(), and validateAndParseUserName().
Referenced by plugin_factory().
irods::error db_reg_zone_op | ( | irods::plugin_context & | _ctx, |
const char * | _zone_name, | ||
const char * | _zone_type, | ||
const char * | _zone_conn_info, | ||
const char * | _zone_comment | ||
) |
Definition at line 5220 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), AU_REGISTER_ZONE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cllNextValueString(), cmlAudit3(), cmlExecuteNoAnswerSql(), irods::plugin_context::comm(), ERROR, getNowStr(), icss, LOCAL_PRIV_USER_AUTH, irods::log(), LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_SQL_SIZE, irods::error::ok(), PASS, rsComm_t::proxyUser, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, tSQL, userInfo_t::userName, irods::plugin_context::valid(), and validate_zone_name().
Referenced by plugin_factory().
irods::error db_rename_coll_op | ( | irods::plugin_context & | _ctx, |
const char * | _old_coll, | ||
const char * | _new_coll | ||
) |
Definition at line 5533 of file db_plugin.cpp.
References ACCESS_OWN, CAT_INVALID_ARGUMENT, chlRenameObject(), rsComm_t::clientUser, cmlCheckDir(), CODE, irods::plugin_context::comm(), ERROR, icss, LOG_SQL, logSQL, irods::error::ok(), PASS, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_rename_local_zone_op | ( | irods::plugin_context & | _ctx, |
const char * | _old_zone, | ||
const char * | _new_zone | ||
) |
Definition at line 5657 of file db_plugin.cpp.
References AU_MOD_ZONE, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_INVALID_ZONE, CAT_NO_ROWS_FOUND, CAT_SUCCESS_BUT_WITH_NO_INFO, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), irods::plugin_context::comm(), ERROR, getLocalZone(), getNowStr(), icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rsComm_t::proxyUser, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_rename_object_op | ( | irods::plugin_context & | _ctx, |
rodsLong_t | _obj_id, | ||
const char * | _new_name | ||
) |
Definition at line 11184 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_rollback_op | ( | irods::plugin_context & | _ctx | ) |
Definition at line 4313 of file db_plugin.cpp.
References cmlExecuteNoAnswerSql(), CODE, ERROR, icss, LOG_NOTICE, LOG_SQL, logSQL, irods::error::ok(), PASS, rodsLog(), irods.pypyodbc::status, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_set_avu_metadata_op | ( | irods::plugin_context & | _ctx, |
const char * | _type, | ||
const char * | _name, | ||
const char * | _attribute, | ||
const char * | _new_value, | ||
const char * | _new_unit | ||
) |
Definition at line 9139 of file db_plugin.cpp.
References _rollback(), ACCESS_CREATE_METADATA, AU_ADD_AVU_METADATA, CAT_INVALID_ARGUMENT, CAT_NO_ROWS_FOUND, CATALOG_NOT_CONNECTED, checkAndGetObjectId(), chlAddAVUMetadata(), chlDeleteAVUMetadata(), rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlExecuteNoAnswerSql(), cmlGetMultiRowStringValuesFromSql(), CODE, irods::plugin_context::comm(), ERROR, getNowStr(), icss, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, NULL, irods::error::ok(), PASS, irods::plugin_context::prop_map(), rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, icatSessionStruct::status, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_set_quota_op | ( | irods::plugin_context & | _ctx, |
const char * | _type, | ||
const char * | _name, | ||
const char * | _resc_name, | ||
const char * | _limit | ||
) |
Definition at line 12614 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_simple_query_op | ( | irods::plugin_context & | _ctx, |
const char * | _sql, | ||
const char * | _arg1, | ||
const char * | _arg2, | ||
const char * | _arg3, | ||
const char * | _arg4, | ||
int | _format, | ||
int * | _control, | ||
char * | _out_buf, | ||
int | _max_out_buf | ||
) |
Definition at line 6255 of file db_plugin.cpp.
References db_simple_query_op_vector(), and NULL.
Referenced by plugin_factory().
irods::error db_simple_query_op_vector | ( | irods::plugin_context & | _ctx, |
const char * | _sql, | ||
std::vector< std::string > | _bindVars, | ||
int | _format, | ||
int * | _control, | ||
char * | _out_buf, | ||
int | _max_out_buf | ||
) |
Definition at line 5987 of file db_plugin.cpp.
References authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_NO_ROWS_FOUND, rsComm_t::clientUser, cmlFreeStatement(), cmlGetFirstRowFromSqlBV(), cmlGetNextRowFromStatement(), CODE, irods::plugin_context::comm(), ERROR, icss, LOCAL_PRIV_USER_AUTH, LOG_NOTICE, LOG_SQL, logSQL, icatStmtStrct::numOfCols, irods::error::ok(), OK, PASS, rsComm_t::proxyUser, icatStmtStrct::resultColName, icatStmtStrct::resultValue, rodsLog(), rstrcat(), irods.pypyodbc::status, icatSessionStruct::stmtPtr, SUCCESS, UNINITIALIZED_STATEMENT_NUMBER, and irods::plugin_context::valid().
Referenced by db_simple_query_op().
irods::error db_specific_query_op | ( | irods::plugin_context & | _ctx, |
specificQueryInp_t * | _spec_query_inp, | ||
genQueryOut_t * | _result | ||
) |
Definition at line 13827 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_start_op | ( | irods::plugin_context & | _ctx | ) |
Definition at line 1804 of file db_plugin.cpp.
References irods::error::ok(), PASS, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_start_operation | ( | irods::plugin_property_map & | _props | ) |
Definition at line 15375 of file db_plugin.cpp.
References SUCCESS.
Referenced by postgres_database_plugin::postgres_database_plugin().
irods::error db_unreg_replica_op | ( | irods::plugin_context & | _ctx, |
dataObjInfo_t * | _data_obj_info, | ||
keyValPair_t * | _cond_input | ||
) |
Definition at line 3080 of file db_plugin.cpp.
References _rollback(), ACCESS_DELETE_OBJECT, addRErrorMsg(), ADMIN_KW, ADMIN_RMTRASH_KW, AU_UNREGISTER_DATA_OBJ, authInfo_t::authFlag, userInfo_t::authInfo, CAT_INSUFFICIENT_PRIVILEGE_LEVEL, CAT_INVALID_ARGUMENT, CAT_SUCCESS_BUT_WITH_NO_INFO, CAT_UNKNOWN_FILE, CATALOG_NOT_CONNECTED, rsComm_t::clientUser, cllBindVarCount, cllBindVars, cmlAudit3(), cmlCheckDataObjOnly(), cmlExecuteNoAnswerSql(), cmlGetIntegerValueFromSql(), irods::plugin_context::comm(), DataObjInfo::dataId, ERROR, getLocalZone(), getValByKey(), icss, irods::resource_manager::leaf_id_to_hier(), LOCAL_PRIV_USER_AUTH, LOG_ERROR, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_SQL_SIZE, NULL, DataObjInfo::objPath, irods::error::ok(), PASS, irods::plugin_context::prop_map(), removeMetaMapAndAVU(), DataObjInfo::replNum, rsComm_t::rError, resc_mgr, DataObjInfo::rescHier, rodsLog(), userInfo_t::rodsZone, splitPathByKey(), irods.pypyodbc::status, icatSessionStruct::status, SUCCESS, tSQL, userInfo_t::userName, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_update_pam_password_op | ( | irods::plugin_context & | _ctx, |
const char * | _user_name, | ||
int | _ttl, | ||
const char * | _test_time, | ||
char ** | _irods_password | ||
) |
Definition at line 7335 of file db_plugin.cpp.
References CAT_INVALID_ARGUMENT, CAT_INVALID_USER, CAT_NO_ROWS_FOUND, cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), cmlGetStringValueFromSql(), cmlGetStringValuesFromSql(), ERROR, get64RandomBytes(), getLocalZone(), getNowStr(), icatDescramble(), icatScramble(), icss, irods_pam_auth_no_extend, irods_pam_password_default_time, irods_pam_password_len, irods_pam_password_max_time, irods_pam_password_min_time, LOG_DEBUG, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, MAX_PASSWORD_LEN, NULL, irods::error::ok(), PAM_AUTH_PASSWORD_INVALID_TTL, PASS, irods::plugin_context::prop_map(), rodsLog(), rstrcpy(), irods.pypyodbc::status, SUCCESS, and irods::plugin_context::valid().
Referenced by plugin_factory().
irods::error db_update_resc_obj_count_op | ( | irods::plugin_context & | _ctx, |
const std::string * | _resc, | ||
int | _delta | ||
) |
irods::error db_version_dvm_base_op | ( | irods::plugin_context & | _ctx, |
const char * | _base_name, | ||
const char * | _my_time | ||
) |
Definition at line 13529 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_version_fnm_base_op | ( | irods::plugin_context & | _ctx, |
const char * | _base_name, | ||
const char * | _my_time | ||
) |
Definition at line 13589 of file db_plugin.cpp.
Referenced by plugin_factory().
irods::error db_version_rule_base_op | ( | irods::plugin_context & | _ctx, |
const char * | _base_name, | ||
const char * | _my_time | ||
) |
Definition at line 13469 of file db_plugin.cpp.
Referenced by plugin_factory().
Definition at line 1035 of file db_plugin.cpp.
References _rollback(), addRErrorMsg(), CAT_INVALID_USER, CAT_NO_ROWS_FOUND, CAT_PASSWORD_ENCODING_ERROR, rsComm_t::clientUser, cmlGetStringValueFromSql(), icatDescramble(), icss, LOG_SQL, logSQL, MAX_PASSWORD_LEN, NULL, obfDecodeByKeyV2(), manual_cleanup::out, prevChalSig, rsComm_t::rError, rodsLog(), userInfo_t::rodsZone, irods.pypyodbc::status, and userInfo_t::userName.
Referenced by db_mod_user_op().
irods::error determine_user_has_modify_metadata_access | ( | const std::string & | _data_name, |
const std::string & | _collection, | ||
const std::string & | _user_name, | ||
const std::string & | _zone | ||
) |
Definition at line 294 of file db_plugin.cpp.
References _rollback(), CAT_NO_ACCESS_PERMISSION, CAT_NO_ROWS_FOUND, cmlGetIntegerValueFromSql(), CODE, ERROR, icss, LOG_DEBUG, rodsLog(), and irods.pypyodbc::status.
Referenced by db_add_avu_metadata_wild_op().
|
static |
Definition at line 3688 of file db_plugin.cpp.
References ERROR, INVALID_LEXICAL_CAST, irods::error::ok(), PASS, resc_mgr, irods::resource_manager::resolve(), irods::RESOURCE_ID(), irods::RESOURCE_PARENT(), and SUCCESS.
Referenced by db_add_child_resc_op(), and db_del_child_resc_op().
rodsLong_t findAVU | ( | const char * | attribute, |
const char * | value, | ||
const char * | units | ||
) |
Definition at line 1297 of file db_plugin.cpp.
References cmlGetIntegerValueFromSql(), icss, LOG_SQL, logSQL, rodsLog(), irods.pypyodbc::status, and get_irods_version::value.
Referenced by findOrInsertAVU().
int findOrInsertAVU | ( | const char * | attribute, |
const char * | value, | ||
const char * | units | ||
) |
Definition at line 1344 of file db_plugin.cpp.
References cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), cmlGetNextSeqVal(), findAVU(), getNowStr(), icss, LOG_NOTICE, LOG_SQL, logSQL, MAX_NAME_LEN, rodsLog(), irods.pypyodbc::status, and get_irods_version::value.
Referenced by db_add_avu_metadata_wild_op().
int get64RandomBytes | ( | char * | buf | ) |
Definition at line 1371 of file rcMisc.cpp.
Referenced by db_make_limited_pw_op(), db_make_temp_pw_op(), and db_update_pam_password_op().
int get_object_count_of_resource_by_name | ( | icatSessionStruct * | _icss, |
const std::string & | _resc_name, | ||
rodsLong_t & | _count | ||
) |
Definition at line 253 of file db_plugin.cpp.
References cmlGetIntegerValueFromSql(), irods::error::code(), irods::resource_manager::hier_to_leaf_id(), irods::log(), irods::error::ok(), PASS, resc_mgr, irods.pypyodbc::status, and SYS_RESC_DOES_NOT_EXIST.
Referenced by _rescHasData().
irods::error getLocalZone | ( | irods::plugin_property_map & | _prop_map, |
icatSessionStruct * | _icss, | ||
std::string & | _zone | ||
) |
Definition at line 213 of file db_plugin.cpp.
References _rollback(), cmlGetStringValueFromSql(), ERROR, irods::lookup_table< ValueType, KeyType, HashType >::get(), MAX_NAME_LEN, irods::error::ok(), PASS, irods::lookup_table< ValueType, KeyType, HashType >::set(), irods.pypyodbc::status, SUCCESS, and ZONE_PROP().
Referenced by _childIsValid(), checkAndGetObjectId(), db_add_child_resc_op(), db_check_auth_op(), db_del_child_resc_op(), db_del_resc_op(), db_del_user_re_op(), db_get_local_zone_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_op(), db_mod_user_op(), db_mod_zone_op(), db_reg_coll_by_admin_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_user_re_op(), db_rename_local_zone_op(), db_unreg_replica_op(), db_update_pam_password_op(), icatGetTicketGroupId(), and icatGetTicketUserId().
|
static |
Definition at line 509 of file db_plugin.cpp.
References getaddrinfo_with_retry().
Referenced by _resolveHostName().
Definition at line 213 of file rsUserAdmin.cpp.
References applyRuleArg(), rsComm_t::clientUser, LOG_DEBUG, NO_SAVE_REI, rsComm_t::proxyUser, rodsLog(), and irods.pypyodbc::status.
Referenced by db_mod_user_op().
|
static |
Definition at line 985 of file db_plugin.cpp.
References MAX_PASSWORD_LEN, NULL, obfDecodeByKey(), PASSWORD_DEFAULT_KEY, PASSWORD_KEY_ENV_VAR, and PASSWORD_SCRAMBLE_PREFIX.
Referenced by db_check_auth_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_update_pam_password_op(), and decodePw().
int icatGetTicketGroupId | ( | irods::plugin_property_map & | _prop_map, |
const char * | groupName, | ||
char * | groupIdStr | ||
) |
Definition at line 1728 of file db_plugin.cpp.
References CAT_INVALID_GROUP, CAT_NO_ROWS_FOUND, cmlGetStringValueFromSql(), irods::error::code(), getLocalZone(), icss, LOG_SQL, logSQL, NAME_LEN, irods::error::ok(), rodsLog(), rstrcpy(), irods.pypyodbc::status, and validateAndParseUserName().
int icatGetTicketUserId | ( | irods::plugin_property_map & | _prop_map, |
const char * | userName, | ||
char * | userIdStr | ||
) |
Definition at line 1682 of file db_plugin.cpp.
References CAT_INVALID_USER, CAT_NO_ROWS_FOUND, cmlGetStringValueFromSql(), irods::error::code(), getLocalZone(), icss, LOG_SQL, logSQL, NAME_LEN, irods::error::ok(), rodsLog(), rstrcpy(), irods.pypyodbc::status, and validateAndParseUserName().
|
static |
Definition at line 1015 of file db_plugin.cpp.
References MAX_PASSWORD_LEN, NULL, obfEncodeByKey(), PASSWORD_DEFAULT_KEY, PASSWORD_KEY_ENV_VAR, and PASSWORD_SCRAMBLE_PREFIX.
Referenced by db_make_limited_pw_op(), db_mod_user_op(), and db_update_pam_password_op().
const std::string ICSS_PROP | ( | "irods_icss_property" | ) |
Referenced by postgres_database_plugin::postgres_database_plugin().
irods::error make_db_ptr | ( | const irods::first_class_object_ptr & | _fc, |
irods::postgres_object_ptr & | _pg | ||
) |
Definition at line 162 of file db_plugin.cpp.
References ERROR, INVALID_DYNAMIC_CAST, SUCCESS, and SYS_INVALID_INPUT_PARAM.
std::string makeEscapedPath | ( | const std::string & | inPath | ) |
Definition at line 1392 of file db_plugin.cpp.
Referenced by _modInheritance().
irods::database* plugin_factory | ( | const std::string & | _inst_name, |
const std::string & | _context | ||
) |
Definition at line 15413 of file db_plugin.cpp.
References irods::plugin_base::add_operation(), irods::DATABASE_OP_ADD_AVU_METADATA(), irods::DATABASE_OP_ADD_AVU_METADATA_WILD(), irods::DATABASE_OP_ADD_CHILD_RESC(), irods::DATABASE_OP_ADD_SPECIFIC_QUERY(), irods::DATABASE_OP_CALC_USAGE_AND_QUOTA(), irods::DATABASE_OP_CHECK_AND_GET_OBJ_ID(), irods::DATABASE_OP_CHECK_AUTH(), irods::DATABASE_OP_CHECK_QUOTA(), irods::DATABASE_OP_CLOSE(), irods::DATABASE_OP_COMMIT(), irods::DATABASE_OP_COPY_AVU_METADATA(), irods::DATABASE_OP_DEBUG(), irods::DATABASE_OP_DEL_AVU_METADATA(), irods::DATABASE_OP_DEL_CHILD_RESC(), irods::DATABASE_OP_DEL_COLL(), irods::DATABASE_OP_DEL_COLL_BY_ADMIN(), irods::DATABASE_OP_DEL_RESC(), irods::DATABASE_OP_DEL_RULE_EXEC(), irods::DATABASE_OP_DEL_SPECIFIC_QUERY(), irods::DATABASE_OP_DEL_TOKEN(), irods::DATABASE_OP_DEL_UNUSED_AVUS(), irods::DATABASE_OP_DEL_USER_RE(), irods::DATABASE_OP_DEL_ZONE(), irods::DATABASE_OP_GEN_QUERY(), irods::DATABASE_OP_GEN_QUERY_ACCESS_CONTROL_SETUP(), irods::DATABASE_OP_GEN_QUERY_TICKET_SETUP(), irods::DATABASE_OP_GENERAL_UPDATE(), irods::DATABASE_OP_GET_DISTINCT_DATA_OBJ_COUNT_ON_RESOURCE(), irods::DATABASE_OP_GET_DISTINCT_DATA_OBJS_MISSING_FROM_CHILD_GIVEN_PARENT(), irods::DATABASE_OP_GET_HIERARCHY_FOR_RESC(), irods::DATABASE_OP_GET_LOCAL_ZONE(), irods::DATABASE_OP_GET_RCS(), irods::DATABASE_OP_GET_REPL_LIST_FOR_LEAF_BUNDLES(), irods::DATABASE_OP_INS_DVM_TABLE(), irods::DATABASE_OP_INS_FNM_TABLE(), irods::DATABASE_OP_INS_MSRVC_TABLE(), irods::DATABASE_OP_INS_RULE_TABLE(), irods::DATABASE_OP_MAKE_LIMITED_PW(), irods::DATABASE_OP_MAKE_TEMP_PW(), irods::DATABASE_OP_MOD_ACCESS_CONTROL(), irods::DATABASE_OP_MOD_ACCESS_CONTROL_RESC(), irods::DATABASE_OP_MOD_AVU_METADATA(), irods::DATABASE_OP_MOD_COLL(), irods::DATABASE_OP_MOD_DATA_OBJ_META(), irods::DATABASE_OP_MOD_GROUP(), irods::DATABASE_OP_MOD_RESC(), irods::DATABASE_OP_MOD_RESC_DATA_PATHS(), irods::DATABASE_OP_MOD_RESC_FREESPACE(), irods::DATABASE_OP_MOD_RULE_EXEC(), irods::DATABASE_OP_MOD_TICKET(), irods::DATABASE_OP_MOD_USER(), irods::DATABASE_OP_MOD_ZONE(), irods::DATABASE_OP_MOD_ZONE_COLL_ACL(), irods::DATABASE_OP_MOVE_OBJECT(), irods::DATABASE_OP_OPEN(), irods::DATABASE_OP_PURGE_SERVER_LOAD(), irods::DATABASE_OP_PURGE_SERVER_LOAD_DIGEST(), irods::DATABASE_OP_REG_COLL(), irods::DATABASE_OP_REG_COLL_BY_ADMIN(), irods::DATABASE_OP_REG_DATA_OBJ(), irods::DATABASE_OP_REG_REPLICA(), irods::DATABASE_OP_REG_RESC(), irods::DATABASE_OP_REG_RULE_EXEC(), irods::DATABASE_OP_REG_SERVER_LOAD(), irods::DATABASE_OP_REG_SERVER_LOAD_DIGEST(), irods::DATABASE_OP_REG_TOKEN(), irods::DATABASE_OP_REG_USER_RE(), irods::DATABASE_OP_REG_ZONE(), irods::DATABASE_OP_RENAME_COLL(), irods::DATABASE_OP_RENAME_LOCAL_ZONE(), irods::DATABASE_OP_RENAME_OBJECT(), irods::DATABASE_OP_ROLLBACK(), irods::DATABASE_OP_SET_AVU_METADATA(), irods::DATABASE_OP_SET_QUOTA(), irods::DATABASE_OP_SIMPLE_QUERY(), irods::DATABASE_OP_SPECIFIC_QUERY(), irods::DATABASE_OP_START(), irods::DATABASE_OP_UNREG_REPLICA(), irods::DATABASE_OP_UPDATE_PAM_PASSWORD(), irods::DATABASE_OP_UPDATE_RESC_OBJ_COUNT(), irods::DATABASE_OP_VERSION_DVM_BASE(), irods::DATABASE_OP_VERSION_FNM_BASE(), irods::DATABASE_OP_VERSION_RULE_BASE(), db_add_avu_metadata_op(), db_add_avu_metadata_wild_op(), db_add_child_resc_op(), db_add_specific_query_op(), db_calc_usage_and_quota_op(), db_check_and_get_object_id_op(), db_check_auth_op(), db_check_quota_op(), db_close_op(), db_commit_op(), db_copy_avu_metadata_op(), db_debug_op(), db_del_avu_metadata_op(), db_del_child_resc_op(), db_del_coll_by_admin_op(), db_del_coll_op(), db_del_resc_op(), db_del_rule_exec_op(), db_del_specific_query_op(), db_del_token_op(), db_del_unused_avus_op(), db_del_user_re_op(), db_del_zone_op(), db_gen_query_access_control_setup_op(), db_gen_query_op(), db_gen_query_ticket_setup_op(), db_general_update_op(), db_get_distinct_data_obj_count_on_resource_op(), db_get_distinct_data_objs_missing_from_child_given_parent_op(), db_get_hierarchy_for_resc_op(), db_get_icss_op(), db_get_local_zone_op(), db_get_repl_list_for_leaf_bundles_op(), db_ins_dvm_table_op(), db_ins_fnm_table_op(), db_ins_msrvc_table_op(), db_ins_rule_table_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_mod_access_control_op(), db_mod_access_control_resc_op(), db_mod_avu_metadata_op(), db_mod_coll_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_freespace_op(), db_mod_resc_op(), db_mod_rule_exec_op(), db_mod_ticket_op(), db_mod_user_op(), db_mod_zone_coll_acl_op(), db_mod_zone_op(), db_move_object_op(), db_open_op(), db_purge_server_load_digest_op(), db_purge_server_load_op(), db_reg_coll_by_admin_op(), db_reg_coll_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_rule_exec_op(), db_reg_server_load_digest_op(), db_reg_server_load_op(), db_reg_token_op(), db_reg_user_re_op(), db_reg_zone_op(), db_rename_coll_op(), db_rename_local_zone_op(), db_rename_object_op(), db_rollback_op(), db_set_avu_metadata_op(), db_set_quota_op(), db_simple_query_op(), db_specific_query_op(), db_start_op(), db_unreg_replica_op(), db_update_pam_password_op(), db_update_resc_obj_count_op(), db_version_dvm_base_op(), db_version_fnm_base_op(), db_version_rule_base_op(), error, and int().
|
static |
Definition at line 465 of file db_plugin.cpp.
References cllBindVarCount, cmlExecuteNoAnswerSql(), icss, LOG_DEBUG, LOG_SQL, logSQL, MAX_SQL_SIZE, rodsLog(), irods.pypyodbc::status, and tSQL.
void removeMetaMapAndAVU | ( | char * | dataObjNumber | ) |
Definition at line 442 of file db_plugin.cpp.
References cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), icss, LOG_SQL, logSQL, MAX_SQL_SIZE, rodsLog(), irods.pypyodbc::status, and tSQL.
Referenced by _delColl(), db_del_coll_by_admin_op(), db_del_resc_op(), db_del_user_re_op(), and db_unreg_replica_op().
Definition at line 1477 of file db_plugin.cpp.
References CAT_NO_ROWS_FOUND, CAT_SUCCESS_BUT_WITH_NO_INFO, cllBindVarCount, cllBindVars, cmlExecuteNoAnswerSql(), cmlFreeStatement(), cmlGetFirstRowFromSql(), cmlGetNextRowFromStatement(), getNowStr(), icss, LOG_SQL, logSQL, MAX_SQL_SIZE, icatStmtStrct::resultValue, rodsLog(), irods.pypyodbc::status, icatSessionStruct::stmtPtr, and UNINITIALIZED_STATEMENT_NUMBER.
irods::error validate_resource_name | ( | std::string | _resc_name | ) |
Definition at line 666 of file db_plugin.cpp.
References ERROR, SUCCESS, and SYS_INVALID_INPUT_PARAM.
Referenced by db_reg_resc_op().
irods::error validate_zone_name | ( | std::string | _zone_name | ) |
Definition at line 772 of file db_plugin.cpp.
References allowed_zone_char(), ERROR, NAME_LEN, SUCCESS, and SYS_INVALID_INPUT_PARAM.
Referenced by db_mod_zone_op(), and db_reg_zone_op().
int validateAndParseUserName | ( | const char * | fullUserNameIn, |
char * | userName, | ||
char * | userZone | ||
) |
Definition at line 122 of file db_plugin.cpp.
References NAME_LEN, NULL, SYS_INTERNAL_ERR, and USER_INVALID_USERNAME_FORMAT.
Referenced by checkAndGetObjectId(), db_check_auth_op(), db_del_user_re_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_user_op(), db_reg_coll_by_admin_op(), db_reg_user_re_op(), icatGetTicketGroupId(), and icatGetTicketUserId().
|
static |
Definition at line 931 of file db_plugin.cpp.
References irods::AUTH_AGENT_AUTH_VERIFY(), irods::auth_factory(), irods::AUTH_INTERFACE(), ERROR, irods::log(), irods::error::ok(), PASS, SUCCESS, and SYS_INVALID_INPUT_PARAM.
Referenced by db_check_auth_op().
irods::error verify_non_root_vault_path | ( | irods::plugin_context & | _ctx, |
const std::string & | path | ||
) |
Definition at line 544 of file db_plugin.cpp.
References addRErrorMsg(), CAT_INVALID_RESOURCE_VAULT_PATH, irods::plugin_context::comm(), ERROR, rsComm_t::rError, and SUCCESS.
Referenced by db_mod_resc_op(), and db_reg_resc_op().
const std::string ZONE_PROP | ( | "irods_zone_property" | ) |
Referenced by getLocalZone().
int creatingUserByGroupAdmin |
Definition at line 100 of file db_plugin.cpp.
Referenced by db_reg_coll_by_admin_op(), and db_reg_user_re_op().
icatSessionStruct icss |
Definition at line 97 of file db_plugin.cpp.
Referenced by _canConnectToCatalog(), _childIsValid(), _cllExecSqlNoResult(), _cllFreeStatementColumns(), _delColl(), _modInheritance(), _rescHasParentOrChild(), _rollback(), _updateChildParent(), _userInRUserAuth(), checkAndGetObjectId(), checkCondInputAccess(), checkObjIdByTicket(), chl_gen_query_impl(), chl_general_update_impl(), cllCloseEnv(), cllConnect(), cllDisconnect(), cllExecSqlNoResult(), cllExecSqlWithResult(), cllExecSqlWithResultBV(), cllFreeStatement(), cllGetRow(), cllGetRowCount(), cllOpenEnv(), cmlAudit1(), cmlAudit2(), cmlAudit3(), cmlAudit4(), cmlAudit5(), cmlCheckDataObjId(), cmlCheckDataObjOnly(), cmlCheckDataObjOwn(), cmlCheckDir(), cmlCheckDirAndGetInheritFlag(), cmlCheckDirId(), cmlCheckDirOwn(), cmlCheckGroupAdminAccess(), cmlCheckNameToken(), cmlCheckResc(), cmlCheckTicketRestrictions(), cmlCheckUserInGroup(), cmlClose(), cmlExecuteNoAnswerSql(), cmlFreeStatement(), cmlGetCurrentSeqVal(), cmlGetFirstRowFromSql(), cmlGetFirstRowFromSqlBV(), cmlGetGroupMemberCount(), cmlGetIntegerValueFromSql(), cmlGetIntegerValueFromSqlV3(), cmlGetMultiRowStringValuesFromSql(), cmlGetNextRowFromStatement(), cmlGetNextSeqStr(), cmlGetNextSeqVal(), cmlGetOneRowFromSql(), cmlGetOneRowFromSqlBV(), cmlGetOneRowFromSqlV2(), cmlGetOneRowFromSqlV3(), cmlGetStringValueFromSql(), cmlGetStringValuesFromSql(), cmlModifySingleTable(), cmlOpen(), cmlTest(), cmlTicketUpdateWriteBytes(), db_add_avu_metadata_wild_op(), db_add_child_resc_op(), db_check_auth_op(), db_close_op(), db_commit_op(), db_del_child_resc_op(), db_del_coll_by_admin_op(), db_del_coll_op(), db_del_resc_op(), db_del_rule_exec_op(), db_del_user_re_op(), db_del_zone_op(), db_get_local_zone_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_mod_coll_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_freespace_op(), db_mod_resc_op(), db_mod_rule_exec_op(), db_mod_user_op(), db_mod_zone_op(), db_open_op(), db_reg_coll_by_admin_op(), db_reg_coll_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_rule_exec_op(), db_reg_user_re_op(), db_reg_zone_op(), db_rename_coll_op(), db_rename_local_zone_op(), db_rollback_op(), db_set_avu_metadata_op(), db_simple_query_op_vector(), db_unreg_replica_op(), db_update_pam_password_op(), decodePw(), determine_user_has_modify_metadata_access(), findAVU(), findOrInsertAVU(), icatGetTicketGroupId(), icatGetTicketUserId(), postgres_database_plugin::postgres_database_plugin(), removeAVUs(), removeMetaMapAndAVU(), and setOverQuota().
bool irods_pam_auth_no_extend = false |
Definition at line 90 of file db_plugin.cpp.
Referenced by db_open_op(), and db_update_pam_password_op().
char irods_pam_password_default_time[ 64] = { "1209600" } |
Definition at line 94 of file db_plugin.cpp.
Referenced by db_open_op(), and db_update_pam_password_op().
size_t irods_pam_password_len = 20 |
Definition at line 91 of file db_plugin.cpp.
Referenced by db_open_op(), and db_update_pam_password_op().
char irods_pam_password_max_time[ 64] = { "1209600" } |
Definition at line 93 of file db_plugin.cpp.
Referenced by db_check_auth_op(), db_make_limited_pw_op(), db_mod_user_op(), db_open_op(), and db_update_pam_password_op().
char irods_pam_password_min_time[ 64] = { "121" } |
Definition at line 92 of file db_plugin.cpp.
Referenced by db_check_auth_op(), db_make_limited_pw_op(), db_mod_user_op(), db_open_op(), and db_update_pam_password_op().
size_t log_sql_flg = 0 |
Definition at line 96 of file db_plugin.cpp.
int logSQL |
This file contains most of the ICAT (iRODS Catalog) high Level functions. These, along with chlGeneralQuery, constitute the API between and Server (and microservices) and the ICAT code. Each of the API routine names start with 'chl' for Catalog High Level. Others are internal.
Also see icatGeneralQuery.cpp for chlGeneralQuery, the other ICAT high level API call.
Definition at line 38 of file icatHighLevelRoutines.cpp.
Referenced by _childIsValid(), _delColl(), _modInheritance(), _rescHasData(), _rescHasParentOrChild(), _updateChildParent(), _userInRUserAuth(), checkAndGetObjectId(), chlDebug(), db_add_avu_metadata_wild_op(), db_add_child_resc_op(), db_check_auth_op(), db_commit_op(), db_debug_op(), db_del_child_resc_op(), db_del_coll_by_admin_op(), db_del_coll_op(), db_del_resc_op(), db_del_rule_exec_op(), db_del_user_re_op(), db_del_zone_op(), db_make_limited_pw_op(), db_make_temp_pw_op(), db_mod_coll_op(), db_mod_data_obj_meta_op(), db_mod_group_op(), db_mod_resc_data_paths_op(), db_mod_resc_freespace_op(), db_mod_resc_op(), db_mod_rule_exec_op(), db_mod_user_op(), db_mod_zone_op(), db_open_op(), db_reg_coll_by_admin_op(), db_reg_coll_op(), db_reg_data_obj_op(), db_reg_replica_op(), db_reg_resc_op(), db_reg_rule_exec_op(), db_reg_user_re_op(), db_reg_zone_op(), db_rename_coll_op(), db_rename_local_zone_op(), db_rollback_op(), db_set_avu_metadata_op(), db_simple_query_op_vector(), db_unreg_replica_op(), db_update_pam_password_op(), decodePw(), findAVU(), findOrInsertAVU(), icatGetTicketGroupId(), icatGetTicketUserId(), removeAVUs(), removeMetaMapAndAVU(), and setOverQuota().
|
static |
Definition at line 72 of file db_plugin.cpp.
Referenced by db_check_auth_op().
char mySessionClientAddr[64] |
Definition at line 102 of file db_plugin.cpp.
Referenced by db_mod_data_obj_meta_op(), db_reg_coll_op(), and db_reg_data_obj_op().
char mySessionTicket[64] |
Definition at line 101 of file db_plugin.cpp.
Referenced by db_mod_data_obj_meta_op(), db_reg_coll_op(), and db_reg_data_obj_op().
|
static |
Definition at line 60 of file db_plugin.cpp.
Referenced by db_check_auth_op(), and decodePw().
irods::resource_manager resc_mgr |
Definition at line 31 of file irods_resource_manager.cpp.
Referenced by _rsBulkDataObjReg(), _rsDataObjCreateWithResc(), _rsPhyPathReg(), _rsProcStat(), add_resc_hier_name_to_query_out(), agentMain(), bulkProcAndRegSubfile(), checkDupReplica(), chkFilePathPerm(), chkOrphanFile(), createBunDirForBulkPut(), createEmptyRepl(), createPhyBundleDataObj(), dataObjOpenForRepl(), dataObjUnlinkS(), db_mod_data_obj_meta_op(), db_unreg_replica_op(), dirPathReg(), extract_resource_properties_for_operations(), filePathReg(), filePathRegRepl(), filePathTypeInResc(), fillBulkDataObjRegInp(), find_compound_resource_in_hierarchy(), get_coordinating_resources(), irods::get_host_for_hier_string(), irods::get_host_status_by_host_info(), irods::get_loc_for_hier_string(), get_object_count_of_resource_by_name(), get_resc_id_cond_for_hier_cond(), irods::get_resc_properties_as_kvp(), irods::get_resc_type_for_hier_string(), get_resource_array(), irods::get_resource_property(), get_server_reports(), irods::get_vault_path_for_hier_string(), getDataObjInfo(), getLeafRescPathName(), initDataObjInfoForRepl(), initDataObjInfoWithInp(), initServer(), initServerInfo(), irsPhyPathReg(), irods::is_hier_live(), matchCliVaultPath(), moveMountedCollDataObj(), open_for_prefer_archive_policy(), openSpecColl(), regSubfile(), repl_file_rebalance(), repl_object(), irods::request_vote_for_file_object(), irods::file_object::resolve(), resolve_hierarchy_for_resc_from_cond_input(), irods::resolve_resource_hierarchy(), irods::resource_redirect(), rsFileStat(), irods::set_resource_property(), setRescQuota(), specCollSubStat(), syncCollPhyPath(), irods::update_out_of_date_replicas(), and updatequotaOverrun().