This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Implemented
FS#191 Add TLS Support
ACL & Authentication
2005-03-09
An option should be added for starting TLS on a ldap connection.
Many Ldaps (including mine) are using TLS instead of SSL.
This is only supported on v3 Ldaps, so the code can safely be added after the ldap_set_option code (line 42):
<code>
if ($cnf['starttls']) {
if (!@ldap_start_tls($LDAP_CONNECTION)) {
msg('Starting TLS failed',-1);
if($cnf['debug'])
msg('LDAP errstr:
'.htmlspecialchars(ldap_error($LDAP_CONNECTION)),0);
}
}
}
</code>
Adding $conf['auth']['ldap']['starttls'] = 1;
to local.php will cause this code to execute.