{"id":8832150,"date":"2017-02-21T21:07:36","date_gmt":"2017-02-21T21:07:36","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/ldaps-support-request\/"},"modified":"2017-02-21T21:07:36","modified_gmt":"2017-02-21T21:07:36","slug":"ldaps-support-request","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/ldaps-support-request\/","title":{"rendered":"LDAPS Support Request"},"content":{"rendered":"<p>I&#8217;m evaluating Authorizer as an all-in-one replacement to the grab-bag of authentication-related plugins we&#8217;re currently using in a large, shared WordPress environment on campus. For us it would replace:<br \/>\n&#8211; wpDirAuth, locally forked to allow LDAPS on a non-standard port<br \/>\n&#8211; theme-my-login (potentially, need to evaluate your theme support)<br \/>\n&#8211; limit-login-attempts-reloaded (though offers fewer options)<br \/>\nIt would also add CAS support, something we&#8217;ve missed since the old cas-authentication plugin went deprecated, and could make sites completely non-public, which might be nice for classes that use it.<\/p>\n<p>CAS support works beautifully with our CAS installation (though oddly only in 2.x compatibility mode, even though we&#8217;re running CAS 3.5.3). LDAP, however, does not. It appears your plugin attempts to use StartTLS, and there&#8217;s no option to use LDAPS, which is all our LDAP server supports. Is that a feature that might be added in a future version?<\/p>\n<p>I currently get this error:<br \/>\nPHP Warning:  ldap_start_tls(): Unable to start TLS: Can&#8217;t contact LDAP server in &lt;my site path&gt;\/plugins\/authorizer\/authorizer.php on line 1259, referer: &lt;my testing site URL&gt;<\/p>\n<p>Disabling TLS and trying to inject &#8220;ldaps:\/\/&#8221; into the LDAP hostname just times things out, and just disabling TLS doesn&#8217;t work because the server isn&#8217;t listening for unencrypted logins.<\/p>\n<p>If it helps or makes a difference, I&#8217;m running this on Red Hat Enterprise Linux 6 (so, HTTPD 2.2.15-56.el6_8.3, PHP 5.3.3-48.el6_8, all required PHP libraries installed and active)<\/p>\n","protected":false},"template":"","class_list":["post-8832150","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8832150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8832150\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8832150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}