-
Notifications
You must be signed in to change notification settings - Fork 9
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
bnc#965311 - yast ldap-server-ssl-check does not handle ldaps only ldap+starttls works #25
Conversation
…nce branch SLE-12-SP1
…ap+starttls works
…ap+starttls works
lc.bind(); | ||
exit(0); | ||
} catch (LDAPException e) { | ||
if (e.getResultCode() == 49) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not 42?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no error code 42. Error codes between 37 and 47 are not used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
42, 37, 49, 47 are meaningless numbers. INVALID_CREDENTIALS
is what makes code understandable.
/usr/include/LDAPResult.h: static const int INVALID_CREDENTIALS = 49;
…t returns "undefined method" error
That's strange, have you reverted the changes by accident? GitHub shows a nearly empty diff. |
@@ -1,5 +1,7 @@ | |||
require "yast/rake" | |||
|
|||
Yast::Tasks.submit_to :sle12sp1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is wrong. It is commit only for SLE12SP1 maintenance branch. Please revert this change.
https://bugzilla.suse.com/show_bug.cgi?id=965311