Req #69471 [NEW]: php-ldap is using deprecated ldap functions
From: come dot bernigaud at opensides dot be
Operating system:
PHP version: 5.6.8RC1
Package: LDAP related
Bug Type: Feature/Change Request
Bug description:php-ldap is using deprecated ldap functions
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 bug report at https://bugs.php.net/bug.php?id=69471&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69471&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69471&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69471&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69471&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69471&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69471&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69471&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69471&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69471&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69471&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69471&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69471&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69471&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69471&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69471&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69471&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69471&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69471&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69471&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69471&r=mysqlcfg
Thread (8 messages)
- come dot bernigaud at opensides dot be