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

STARTTLS support for LDAP #794

Closed
Quintus opened this issue Oct 25, 2015 · 7 comments
Closed

STARTTLS support for LDAP #794

Quintus opened this issue Oct 25, 2015 · 7 comments

Comments

@Quintus
Copy link

Quintus commented Oct 25, 2015

Hi everyone,

okay, I have an OpenLDAP server running here that I want to use for authentication. Problem: It does not allow unencrypted connections. It does not allow LDAPS either. It wants STARTTLS (RFC 4513) for connection.

The ejabberd docs state this:

Note that STARTTLS encryption is not supported.

Since the docs do not state any reasons for that I searched, but all I found was this ML thread from 2013, which seems to have yielded no result.

So what’s the state of STARTTLS support for LDAP authentication in ejabberd? I’m running ejabberd 15.09 on Debian Jessie, Erlang/OTP 17.3.

Greetings,
Marvin

@badlop
Copy link
Member

badlop commented Aug 1, 2017

As mentioned in the ejabberd Guide, the LDAP code supports only TLS encryption, not STARTTLS:

ldap_encrypt: none|tls: Type of connection encryption to the LDAP server. Allowed values are: none, tls. The value tls enables encryption by using LDAP over SSL. Note that STARTTLS encryption is not supported. The default value is: none.

@badlop badlop closed this as completed Aug 1, 2017
@Quintus
Copy link
Author

Quintus commented Aug 1, 2017 via email

@sbraz
Copy link

sbraz commented Nov 27, 2018

Hello @badlop, is it possible to reopen this? StartTLS support would be a useful feature.

@cromain
Copy link
Contributor

cromain commented Dec 20, 2018

STARTTLS is becoming obsolete in every software, and we support TLS. So we do not plan to spend efforts on STARTTLS.

@sbraz
Copy link

sbraz commented Dec 20, 2018

@cromain ldaps was never standardised, STARTTLS is the non-deprecated one:

ldaps:// is deprecated in favor of Start TLS [RFC2830]. OpenLDAP 2.0 supports both.

https://www.openldap.org/faq/data/cache/605.html

@zinid
Copy link
Contributor

zinid commented Dec 20, 2018

I wonder what should be standardized there. Also, are there LDAP servers without direct TLS support?

@lock
Copy link

lock bot commented Dec 20, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants