PHP 4.0 Bug #7349 Updated: ldap_add will not work under OpenLDAP 2.x

From: Date: Sun, 12 Nov 2000 05:13:23 +0000
Subject: PHP 4.0 Bug #7349 Updated: ldap_add will not work under OpenLDAP 2.x
Groups: php.dev 
Request: Send a blank email to php-dev+get-37801@lists.php.net to get a copy of this message
ID: 7349 Updated by: sniper Reported By: malmond@vt.edu Status: Feedback Bug Type: LDAP related Assigned To: venaas Comments: Please try updating to PHP4.0.3pl1 and OpenLDAP to 2.0.7. I don't have any troubles with those versions with ldap_add(). --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-19 16:07:24] venaas@php.net Have you tried adding the entries with 2.0.4's ldapadd? If it works the bug is likely to be in PHP, if it doesn't work you should report it to the OpenLDAP people. There are some syntaxes that are valid in OpenLDAP 1 but not implemented in OpenLDAP 2 yet. Could you try to use PHP with OpenLDAP 2 to add entries into an OpenLDAP 1 server? If the syntax isn't implemented, it shouldn't work on x86 either though. --------------------------------------------------------------------------- [2000-10-19 15:42:59] malmond@vt.edu I am having problems with PHP 4.0.2 and OpenLDAP 2.0.4. When trying to add entries to the LDAP it always kicks out an error; ldap_error() reports "Invalid syntax". I know that this is not the case. I write the entries to a file and manually add them no problem. Nothing in the code has changed; the code works fine when talking to OpenLDAP 1.2.x but not for 2.0.x. (I recompiled, etc. to point to the new libraries). This seems to be a problem with the Linux PPC platform only; on x86 it seems to work okay (never have tested in full production). --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7349

« previous php.dev (#37801) next »