#12223 [NoF->Csd]: ldap rebind procedure implementation

From: Date: Fri, 20 Sep 2002 18:41:50 +0000
Subject: #12223 [NoF->Csd]: ldap rebind procedure implementation
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19902@lists.php.net to get a copy of this message
ID: 12223 Updated by: venaas@php.net Reported By: enrik@planb.de -Status: No Feedback +Status: Closed Bug Type: LDAP related Operating System: any PHP Version: 4.0.6 Assigned To: venaas New Comment: You need to use OpenLDAP 2.1.x. The OpenLDAP API had two parameters and was changed to three in 2.1. It's much more difficult to implement using the old two parameter call. I suggest you use the 2.1 API. Previous Comments: ------------------------------------------------------------------------ [2002-09-18 00:44:01] cbenedict@synhrgy.com 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? ------------------------------------------------------------------------ [2002-05-25 08:58:50] derick@php.net 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] venaas@php.net 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] enrik@planb.de 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

« previous php.bugs (#19902) next »