[PHP-DEV] can't connect to LDAP Server From: Andre Konopka (andre.konopka <email protected>)
Date: 09/11/01

Hi,

I compiled PHP-4.06 with LDAP support (openldap-2.0.12) without any
problems, but I can't connect to my locally running LDAP server. slapd
and apache (apache_1.3.20) (with statically compiled PHP-Module) are
running on a HP-UX 11 box.

Here are my very simple two lines of code:

$ds=ldap_connect ("localhost");

print "connect result is ".$ds."<BR>";

If I try to show the results I got an error popup with

'Documents contained no data. Try again later, or contact the server's
administrator.'

If I comment out the 'connect' line the browser shows the line
'connect result is'

I started slapd with debugging level 65535 and I can see that there are
no connection requests from PHP.

Any idea?

Andre

-- 
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>