Edit report at https://bugs.php.net/bug.php?id=61853&edit=1
ID: 61853
Comment by: etienne at lamaisondebarbie dot ch
Reported by: etienne at lamaisondebarbie dot ch
Summary: Use of non-deprecated functions
Status: Open
Type: Feature/Change Request
Package: LDAP related
Operating System: Debian testing
PHP Version: master-Git-2012-04-25 (Git)
Block user comment: N
Private report: N
New Comment:
I did a new patch that bundle both patch and use #ifdef. I'm not sure about LDAP_API_VERSION,
but > 2000 seems to be ok.
Also, in the original version used ldap_modify_ext_s, I changed to ldap_modify_s.
Previous Comments:
------------------------------------------------------------------------
[2012-04-26 09:29:04] pajoye@php.net
Hi!
The patch looks good.
However I would prefer to add some #ifdef and to use the old versions when an old
ldap client is used.
We may as well drop these old versions in php-next tho'.
------------------------------------------------------------------------
[2012-04-25 20:37:57] etienne at lamaisondebarbie dot ch
Description:
------------
This patch aims to remove usage of deprecated ldap function. I did change the php_ldap_do_search to
use ldap_search_ext and ldap_search_ext_s.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61853&edit=1