[turba] Problem with LDAP driver - SOLVED

Sasa Milic smilic@EUnet.yu
Fri, 21 Jun 2002 15:54:30 -0700


Solved !

I found a problem in php 4.2.1 ldap library, line 2030 in ldap.c.
Bug report sent to php.net.

Sasa

P.S. Am I the only one that uses php 4.2.1 with openldap ?



Sasa Milic wrote:
> 
> Hi,
> > I've installed Horde 2.0, IMP 3.0, Turba 1.0, and openldap.
> I'm able to query exchange address book via ldapsearch.
> 
> I've configured turba to use ldap, but it doesn't work.
> All it shows is a black screen. So I started to debug things,
> to see what is wrong. Found out that it hangs in lib/Driver/ldap.php,
> in constructor of Turba_Driver_ldap class, in line:
> 
>   if (!($this->ds = @ldap_connect($this->server, $this->port))) {
> 
> Obviously, it never finishes ldap_connect call, but why ?!