-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible issue with password_min_time in iRODS 4.3.1 #360
Comments
No, you're looking at the correct options. What makes you feel the adjustment for the zone is unelegant? |
If Metalnx or Jargon have some way of passing a value for the Time To Live (TTL) for the PAM authentication calls, that would be the preferred approach, I think. But I don't know enough about Metalnx to know whether that is exposed anywhere. |
I believe that would be a new metalnx option/property. |
Hi and thanks for the quick answers.
I think it feels unelegant for me for three reasons.
It works for now. I'd prefer a metalnx option for that though. Kind regards, Kaly |
Thanks for the feedback. We'll investigate the addition of dedicated options within Metalnx. |
Hi,
I'm using iRODS version 4.3.1 with metalnx latest (should be 2.6.1), both pretty new installed. I authenticate my users via PAM and LDAP.
After two minutes of being logged in, my regular users get the error "An unexpected error has happened. Please, contact your system administrator." when accessing Collections, Public or Trash. They were still logged into Metalnx but were locked out of iRODS. It doesn't happen with my admin account.
I've got this in the iRODS-log:
{"log_category":"api","log_level":"info","log_message":"rsAuthCheck: chlCheckAuth status = -827000","request_api_name":"AUTH_RESPONSE_AN","request_api_number":704,"request_api_version":"d","request_client_user":"$USERNAME","request_host":"$SOME_IP","request_proxy_user":"$USERNAME","request_release_version":"rods3.2","server_host":"$PROVIDER","server_pid":2170453,"server_timestamp":"2024-04-23T09:10:33.331Z","server_type":"agent","server_zone":"$ZONE"}
The first thing that I thought of that could match with the two minute time range was password_min_time (https://docs.irods.org/4.3.1/system_overview/configuration/#configuring-authentication-in-r_grid_configuration), and I think there was some tweaking with that in 4.3, so I gave it a shot:
iadmin set_grid_configuration authentication password_min_time 60
And now it happens every minute. So this setting seems to be the issue.
I've set it to an hour, which should be reasonably long enough for my users, but it feels unelegant. Is there a Metalnx setting I should use instead?
Kind regards
Kaly
The text was updated successfully, but these errors were encountered: