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

ldap-checker.py false positive fixed #408

Merged
merged 2 commits into from
Aug 27, 2024
Merged

Conversation

cauan
Copy link
Contributor

@cauan cauan commented Aug 26, 2024

run_ldap return code changed from False to None when errors are found to avoid false positives such as when connection fails.

run_ldap return code changed from False to None when errors are found to avoid false positives such as when connection fails.

Signed-off-by: Cauan <cauan@users.noreply.github.com>
@cauan
Copy link
Contributor Author

cauan commented Aug 26, 2024

image

@NeffIsBack
Copy link
Contributor

Thanks for the PR!
Wondering if it wouldn't also make sense to change line 145

@NeffIsBack NeffIsBack added the bug-fix This Pull Request fixes a bug label Aug 26, 2024
Changed catch all exception as suggesteed.

Signed-off-by: Cauan <cauan@users.noreply.github.com>
Copy link
Contributor

@NeffIsBack NeffIsBack left a comment

Choose a reason for hiding this comment

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

LGTM

@NeffIsBack NeffIsBack merged commit 62496a3 into Pennyw0rth:main Aug 27, 2024
5 checks passed
@mpgn mpgn added this to the v1.3.0 milestone Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This Pull Request fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants