Req #69471 [Asn]: php-ldap is using deprecated ldap functions

From: Date: Wed, 17 Jun 2015 13:54:25 +0000
Subject: Req #69471 [Asn]: php-ldap is using deprecated ldap functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-193611@lists.php.net to get a copy of this message
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)

« previous php.bugs (#193611) next »