I received PHP segfaults when using TLS to connect to a MS AD system that did not happen to be using TLS. Also includes the patch I found was needed for some other TLS elements.

CommentFileSizeAuthor
ldap-segfault.patch1.48 KBrobb

Comments

johnbarclay’s picture

Assigned: Unassigned » johnbarclay
Status: Active » Closed (fixed)

this is just basic error catching. I took out the part of the patch

putenv('APTLS_REQCERT=never') or die('Failed to setup the env');

as this should be done on a per server basis; not for all use cases.