PHP 4.0 Bug #7349 Updated: ldap_add will not work under OpenLDAP 2.x
| From: | venaas@php.net | Date: | Thu, 19 Oct 2000 20:07:25 +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-35562@lists.php.net to get a copy of this message | ||
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