ID: 12223 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: LDAP related Operating System: any PHP Version: 4.0.6 Assigned To: venaas New Comment:
Attempted to use this function with php 4.2.2 and OpenLDAP 2.0.23-4 and it did not work. Apparently, changes to the OpenLDAP API function declaration of ldap_set_rebind_proc were made from 3 parameters to 2 causing the php function to be excluded from the build. Anyone have info on how to fix? Previous Comments: ------------------------------------------------------------------------ [2002-05-25 08:58:50] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2001-12-29 12:49:59] [EMAIL PROTECTED] There is now an experimental implementation. Please test it. It currently requires you to use the OpenLDAP HEAD library. ------------------------------------------------------------------------ [2001-07-18 04:21:41] [EMAIL PROTECTED] A ldap rebind procedure for automatical referral chase is not provided in php4. The solution of #9704 doesn't work for ldap_add et al., as these functions do not return a "ldap result". This is an inherent problem with synchronous ldap calls. I have written an implementation of ldap_set_rebind_proc registering a php rebind callback. A patch is available on request (or would it be ok to attach a 240-line patch here?). The patch is vs. ext/ldap/ldap.c 1.90 from CVS. Enrik ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=12223&edit=1