Skip to content
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

Ensure misdefined active flags will not prevent user syncing #8525

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

uberbrady
Copy link
Collaborator

If an IT person were to inadvertently mis-define their ldap_active_flag flag in Snipe-IT, no LDAP users would've been able to log in. The isLdapSync() method would either return false, or raise an Exception.

Unfortunately, this is a very common misconfiguration, especially in Active Directory implementations. Previous Snipe-IT versions would loosely permit those misconfigurations and allow LDAP users to log in, regardless. Without fixing this, those misconfigured installations would suddenly stop permitting all LDAP logins.

@uberbrady uberbrady requested a review from snipe October 16, 2020 02:18
Copy link
Owner

@snipe snipe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty straightforward to me - thanks!

@uberbrady uberbrady merged commit 6b1f1a2 into snipe:develop Oct 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants