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

From: Date: Thu, 19 Oct 2000 20:58:48 +0000
Subject: Re: PHP 4.0 Bug #7349 Updated: ldap_add will not work under OpenLDAP 2.x
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-35564@lists.php.net to get a copy of this message
Yes, using ldapadd from the command line it works no problem on the same record that was rejected with PHP.
ID: 7349 Updated by: venaas Reported By: malmond@vt.edu Status: Feedback Bug Type: Unknown/Other Function Assigned To: venaas Comments: 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. Previous Comments: --------------------------------------------------------------------------- [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
-- Micah Almond Programmer Virginia-Maryland Regional College of Veterinary Medicine Blacksburg, VA (540)231-2315 malmond@vt.edu

« previous php.dev (#35564) next »