Skip to content

Conversation

@kkthxbye-code
Copy link
Contributor

Fixes: #7751

When using the LDAP backend for auth, all API requests would refresh the user (local or LDAP created) from the LDAP server, causing performance issues. With this fix, the user is only refreshed when FIND_GROUP_PERMS is enabled.

I tested all combinations I could think of. Not sure if this change in logic warrants a warning in the release notes. The changes for different combinations of settings can be seen in the issue: #7751

@kkthxbye-code
Copy link
Contributor Author

Should also fix #6926

@jeremystretch jeremystretch merged commit d5f308d into netbox-community:develop Dec 3, 2021
@kkthxbye-code kkthxbye-code deleted the fix-7751 branch May 9, 2022 16:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Don't fetch LDAP user and groups on all API request when FIND_GROUP_PERMS is disabled

2 participants