Hello,
I recently upgraded my irods servers from 4.3.4 to the latest 5.0.2 version using Debian packages. I don't have any problem with the Debian packages, servers and clients are ok once the environment.json file hase been updated.
We are using the pam_password auth scheme.
I used to provide the icommands on every nodes of my clusters (which are heterogeneous in term of OS version) through the Nix packages. But the latest version, while compiling correctly, leads to this error when using iinit (or any icommand)
$ iinit
Connecting as xxxxx#zzzzz to zzzzz.u-ga.fr:1247 ...
Level 0: JSON error occurred while authenticating user [xxxxx] [[json.exception.type_error.305] cannot use operator[] with a string argument with array]
What could cause that? How can I debug this? I tried export IRODS_LOG_LEVEL=9 and above, but I get nothing very useful:
[...]
DEBUG: load_plugin - calling plugin_factory() in [/nix/store/q9g68vm8if3jy2ckgncwvdk3a1xinmpz-irods-5.0.2/lib/irods/plugins/api/libirods_touch_client.so]
DEBUG: load_plugin - loaded [irods_touch_client]
DEBUG: captured env [irods_log_level]-[9]
DEBUG: load_plugin - calling plugin_factory() in [/nix/store/q9g68vm8if3jy2ckgncwvdk3a1xinmpz-irods-5.0.2/lib/irods/plugins/authentication/libirods_auth_plugin-pam_password_client.so]
DEBUG: load_plugin - loaded [irods_auth_plugin-pam_password_client]
Level 0: JSON error occurred while authenticating user [xxxxx] [[json.exception.type_error.305] cannot use operator[] with a string argument with array]
DEBUG: captured env [irods_log_level]-[9]
[...]
Here's my irods_environment.json file (working fine with the debian packages clients):
{
"irods_authentication_scheme": "pam_password",
"irods_client_server_negotiation": "request_server_negotiation",
"irods_client_server_policy": "CS_NEG_REQUIRE",
"irods_connection_pool_refresh_time_in_seconds": 300,
"irods_cwd": "/zzzzz/home/xxxxx",
"irods_default_hash_scheme": "SHA256",
"irods_default_number_of_transfer_threads": 4,
"irods_default_resource": "xxxx",
"irods_encryption_algorithm": "AES-256-CBC",
"irods_encryption_key_size": 32,
"irods_encryption_num_hash_rounds": 16,
"irods_encryption_salt_size": 8,
"irods_home": "/zzzzz/home/xxxxx",
"irods_host": "xxxxx.u-ga.fr",
"irods_port": 1247,
"irods_ssl_ca_certificate_file": "/etc/irods/chain.pem",
"irods_ssl_verify_server": "cert",
"irods_user_name": "xxxxx",
"irods_zone_name": "zzzzz"
}