<table><tr><td style="">junghans created this revision.<br />junghans added a reviewer: mlaurent.<br />Restricted Application added a project: KDE PIM.<br />Restricted Application added a subscriber: KDE PIM.<br />junghans requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D11520">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This implements basic support for setting the TLS certificate request option (LDAP_OPT_X_TLS_REQUIRE_CERT) as well as a dedicated certificate<br />
file for checking server certificate (LDAP_OPT_X_TLS_CACERTFILE).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>TLS connection to LDAP server with self-signed certificate</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">scenario a) none of the new options set -> connection fails due to missing certificate to check against</li>
<li class="remarkup-list-item">scenario b) use LdapServer::TLSReqCertNever which makes the connection succeed</li>
<li class="remarkup-list-item">scenario c) use LdapServer::TLSReqCertHard and set tlsCACertFile which makes the connection succeed</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R178 PIM: KLDAP</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D11520">https://phabricator.kde.org/D11520</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/ldapconnection.cpp<br />
src/ldapserver.cpp<br />
src/ldapserver.h</div></div></div><br /><div><strong>To: </strong>junghans, mlaurent<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>