Req #69471 [Asn]: php-ldap is using deprecated ldap functions
Edit report at https://bugs.php.net/bug.php?id=69471&edit=1
ID: 69471
Updated by: mcmic@php.net
Reported by: come dot bernigaud at opensides dot be
Summary: php-ldap is using deprecated ldap functions
Status: Assigned
Type: Feature/Change Request
Package: LDAP related
PHP Version: 5.6.8RC1
Assigned To: mcmic
Block user comment: N
Private report: N
New Comment:
This first patch has been pushed.
All obsolete functions should be removed so that we can remove the -DLDAP_DEPRECATED=1 option
Previous Comments:
------------------------------------------------------------------------
[2015-04-16 17:04:02] come dot bernigaud at opensides dot be
Description:
------------
PHP-LDAPÂ is using several deprecated ldap functions from openldap, the attached patch replace
these calls by calls the new functions.
I did not remove the -DLDAP_DEPRECATED=1 because there are still some use of deprecated functions
after the patch.
This patch is derivated from http://markmail.org/message/66qafbxgaztux6df
, but I removed the parts which are not surrounded by #ifdef LDAP_API_FEATURE_X_OPENLDAP to be safe.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69471&edit=1
Thread (8 messages)