D28915: Use certificate handling code for both SSL and TLS

Tobias Junghans noreply at phabricator.kde.org
Sat Apr 18 14:33:35 BST 2020


junghans added a comment.


  Yes, I tested against Samba 4.7 with both SSL (LDAPS/port 636) and TLS. The CA certificate has been supplied via `LdapServer::setTLSCACertFile(...)` and verification enforced via `LdapServer::setTLSRequireCertificate(LdapServer::TLSReqCertHard)`.  Without this patch, only TLS works even when setting `LdapServer::TLSReqCertNever` since this option is ignored in the previous implementation for the SSL case. With this patch applied, SSL/LDAPS works fine too.

REPOSITORY
  R178 PIM: KLDAP

REVISION DETAIL
  https://phabricator.kde.org/D28915

To: junghans, mlaurent
Cc: kde-pim, fbampaloukas, dcaliste, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200418/de980088/attachment-0001.html>


More information about the kde-pim mailing list