Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2000111

[PHP-DEV] PHP 4.0 Bug #7349 Updated: ldap_add will not work under OpenLDAP 2.x From: sniper <email protected>
Date: 11/12/00

ID: 7349
Updated by: sniper
Reported By: malmond <email protected>
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 <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>