-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
PAM auth not working since irods upgrade to 4.3.X #34
Comments
I'm happy to help answer any questions since I am the main culprit behind the TTL changes in 4.3.1... :) |
Thank you for this fast reply.
Which gives into R_GRID_CONFIGURATION:
I made this configuration to have this wanted behavior: when the users do "iinit" whithout providing a ttl option, they are logged for 90 days (7776000 seconds). If the user provides a ttl, it can be as large as 360 days (31104000 seconds). But I don't understand why davrods complains and where do I have to configure something regarding the ttl... |
Actually, I think that Davrods internally generates a credential (as if it were using iinit) with a ttl that is probably bellow my minimal accepted value of 7776000 seconds. But I dont'k know how to change this and I hope that it's not hard-coded. |
I think that I get it. It's hard-coded... Line 86 in 2a3cb96
|
The real problem is the |
Check! That's it. So, I did |
To clarify, the default TTL (that is, when a TTL of 0 is provided) is the configured The problem in this case (at least as I see it) is that Davrods has a hard-coded TTL of 1 hour, which falls outside of the configured range of minimum and maximum TTL (3600 < 7776000). For your use case, Davrods would need to have a default TTL value of 0 like The notion of a default TTL value is interesting, but could lead to more tripping hazards (need to make sure default value is in range). I am still of the opinion that |
I think it is both, there should be a |
I upgraded my irods servers to 4.3.1 which are configured with PAM authentication. And then could no more authenticate with webdav.
I upgraded my docker-davrods container to 4.3.0_1.5.0 but no success.
When trying to authenticate, the log of the container reports:
I tried to change
PAM
topam_password
into the/etc/httpd/irods/irods_environment.json
(as it is a change of 4.2.x -> 4.3.x) with no more successThe text was updated successfully, but these errors were encountered: