LDAP - session length? #7192
Replies: 2 comments 6 replies
-
Please note this response was created using generative AI leveraging previously available information from the repository. This information may be helpful however it is our strong recommendation that you carefully consider the information before blindly applying it. Based on the information provided in the sources, there is no specific mention of an idle timeout setting directly within Authelia or LLDAP that would address the issue you're experiencing with binding times. However, there are a few considerations and configurations that might help optimize the performance:
If you continue to experience issues, it might be beneficial to look into more detailed logs from both Authelia and LLDAP to identify any specific bottlenecks or errors that could be contributing to the long bind times. This comment was generated by Glime. |
Beta Was this translation helpful? Give feedback.
-
So we don't do any pooling currently as there wasn't a clear benefit due to the frequency of connections made. We can experiment with one if you're interested in giving feedback. |
Beta Was this translation helpful? Give feedback.
-
"Binding" in (L)LDAP takes a significant time, probably due to the hashing algorithm / password verification. On a low powered device, this can be 2500ms, followed by one or two queries in the 1-2ms range. So I wonder, is there an idle timeout I have missed in Authelia or LLDAP. Are sessions actually pooled/re-used?
Am I missing something else here? LLDAP is just another container on the same host, exclusively used by Authelia.
Beta Was this translation helpful? Give feedback.
All reactions