#25454 [Bgs->Csd]: ldap_bind produces an assertion error in cyrus.c

From: Date: Thu, 11 Sep 2003 06:33:56 +0000
Subject: #25454 [Bgs->Csd]: ldap_bind produces an assertion error in cyrus.c
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47429@lists.php.net to get a copy of this message
ID: 25454 User updated by: rolli at aum dot unibe dot ch Reported By: rolli at aum dot unibe dot ch -Status: Bogus +Status: Closed Bug Type: LDAP related Operating System: Linux-2.4 PHP Version: 4.3.3 New Comment: I have to apologize for this bug report. Everything is fine with PHP and ext/ldap and ext/cyrus. Sniper, you're right. The Problem was elsewhere. After diving deeper I realized that the sysadmin of the ldap-server has changed the certificates one day before I restarted with the project. Actually, with the binaries I got this: ldap_start_tls: Can't contact LDAP server (81) additional info: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE The certifactes are signed by selfsigned CA-Cert. So I fetched the CA-Cert and put it in /etc/openldap/ldap.conf. Now everything works again. But I'm wondering cause on the other server there is a 2.0.x OpenLDAP-Client and this one doesn't complain about the cert. Anyway the correct place for my problem would have been the mailing list. Sorry again. I closed the bug. Regards Michael Previous Comments: ------------------------------------------------------------------------ [2003-09-10 09:08:09] sniper@php.net So do the openldap binaries work or not??? I'm pretty sure this is not PHP bug at all as I could not reproduce this. ------------------------------------------------------------------------ [2003-09-10 03:45:36] rolli at aum dot unibe dot ch Actually it's an SuSE 8.2. All installed software packages are original SuSE rpms. The only thing I compile for myself is PHP and the related packages like pdflib, mnogosearch, imagick. ------------------------------------------------------------------------ [2003-09-09 15:35:56] sniper@php.net I tested your script and for me it just hangs in 'Binding..'. No assert error here. Did you recompile openldap after upgrading cyrus-sasl? ------------------------------------------------------------------------ [2003-09-09 13:15:12] sniper@php.net Nevermind the last comment, ldap_initialize() is just undocumented..had to read openldap sources a bit. :) ------------------------------------------------------------------------ [2003-09-09 13:09:17] sniper@php.net And where does it say that you can use multiple hosts in one connect? (FYI: This has absolutely NOTHING to do with ext/cyrus) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25454 -- Edit this bug report at http://bugs.php.net/?id=25454&edit=1

« previous php.bugs (#47429) next »