-
Notifications
You must be signed in to change notification settings - Fork 51
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
ssl config option for LDAP mapper has confusing values #7
Comments
Why not. The new code should not break existing configurations using ssl and tls in the configuration. Can you propose a patch? |
Before anything else I would like to reach an agreement what these configuration values actually mean.
Is that correct? |
No idea.You should check the source code. |
Source code is pretty clear in ldap_mapper.c starting line 1143: ssltls = scconf_get_str(blk,"ssl","off"); and default value at line 113: static ldap_ssl_options_t ssl_on = SSL_OFF; |
I could not find the documentation about Can you propose a patch? |
The "ssl" configuration option for LDAP mapper can take the following values:
based on the code in ldap_mapper.c
However documentation is not very clear what is the meaning of these values.
One could incorrectly assume (with the recent poodle attack) that ssl stands for "SSL 3.0" and tls stands for "TLS 1.x". This would be incorrect: ssl means in fact "LDAPS" and "tls" means "StartTLS".
Anyone involved with LDAP would immediately understand the exact meaning without examining source code for details.
So I suggest to rename "ssl" to "ldaps", "tls" to "starttls" or at least document these values properly.
The text was updated successfully, but these errors were encountered: