[PHP-DB] ldap_connect problem in PHP4 From: Salvador Ramirez (sram <email protected>)
Date: 11/15/00

Hi everybody,

I have a problem using ldap_connect in PHP4. When I use :

 $ds = ldap_connect($server);

I get on $ds a false (or negative) value, typical when was not
possible to make the connection. However I'm sure on $server
is runnning a LDAP server and on the default port (389). I checked
this by using ldapsearch command at the same time when I'm trying
to execute the php script and also by a C program I made using the
OpenLDAP (the same library used by php) API for C.

I wonder how can I debug what php is trying to do at a lower level
to track this problem?

Thanks in advance,

---sram
     "Don't listen to what I say; listen to what I mean!" --Feynman
Salvador Ramirez Flandes PROFC, Universidad de Concepcion, CHILE
http://www.profc.udec.cl/~sram mailto:sram <email protected>

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