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

Fixes #17998 - Only print LDAP bind status if available #4167

Merged
merged 1 commit into from
Jan 10, 2017

Conversation

dLobatog
Copy link
Member

The ldap logger tries to call payload[:bind].status but it might not be
defined if the bind goes wrong in some LDAP sources.

This causes a 500 instead of logging the status of the bind. We should
only display payload[:bind].status if it's available.

@mention-bot
Copy link

@dLobatog, thanks for your PR! By analyzing the history of the files in this pull request, we identified @domcleal to be a potential reviewer.

The ldap logger tries to call payload[:bind].status but it might not be
defined if the bind goes wrong in some LDAP sources.

This causes a 500 instead of logging the status of the bind. We should
only display payload[:bind].status if it's available.
@dLobatog
Copy link
Member Author

Rebased to get the Nokogiri pinning

@tbrisker
Copy link
Member

Thanks @dLobatog !

ekohl added a commit to ekohl/foreman that referenced this pull request Jul 7, 2023
Fixes: c4bfd47 ("fixes theforeman#3725, theforeman#4167 - root password validations, remove default password")
ekohl added a commit to ekohl/foreman that referenced this pull request Jul 11, 2023
Fixes: c4bfd47 ("fixes theforeman#3725, theforeman#4167 - root password validations, remove default password")
ekohl added a commit to ekohl/foreman that referenced this pull request Oct 6, 2023
Fixes: c4bfd47 ("fixes theforeman#3725, theforeman#4167 - root password validations, remove default password")
ekohl added a commit that referenced this pull request Oct 9, 2023
Fixes: c4bfd47 ("fixes #3725, #4167 - root password validations, remove default password")
Griffin-Sullivan pushed a commit to Griffin-Sullivan/foreman that referenced this pull request Nov 21, 2023
Fixes: c4bfd47 ("fixes theforeman#3725, theforeman#4167 - root password validations, remove default password")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants