PHP 4.0 Bug #9828 Updated: LDAP: Object class violation

From: Date: Tue, 27 Mar 2001 09:07:36 +0000
Subject: PHP 4.0 Bug #9828 Updated: LDAP: Object class violation
Groups: php.dev 
Request: Send a blank email to php-dev+get-50026@lists.php.net to get a copy of this message
ID: 9828 Updated by: sniper Reported By: kcchung@school.net.hk Old-Status: Open Status: Feedback Bug Type: LDAP related Assigned To: Comments: 1. Please add the shortest possible script to reproduce this problem into this bug report 2. Check that the libphp4.so really is linked with the correct ldap libraries: 'ldd libphp4.so' --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-26 20:38:44] kcchung@school.net.hk The ldap server I am using is openldap 1.2.11 which is the current stable version. ldapadd works in command line. The most strange thing is php 4.0.3pl1 works for me but php 4.0.4pl1 doesn't. So I suspect the change from 4.0.3pl1 to 4.o.4pl1 has something wrong with ldap functions. --George Chung --------------------------------------------------------------------------- [2001-03-26 17:56:13] sniper@php.net Did you update your ldap libraries also? And does the same add work using the command line tools? --Jani --------------------------------------------------------------------------- [2001-03-18 21:46:12] kcchung@school.net.hk when using php-4.0.3, ldap_add function works very well. After upgrading to php-4.0.4pl1, ldap_add function didn't work again. A error occured and logged in apache error log, "LDAP: Object class violation". php config './configure' '--with-config-file-path=/usr/slocal/etc' '--with-apxs=/usr/slocal/apache-1.3.19/bin/apxs' '--with-ldap=/usr/local' '--with-mysql=/usr/slocal/mysql' '--without-gd' '--with-mcrypt' --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9828&edit=2

« previous php.dev (#50026) next »