ldap_connect problem in PHP4
| From: | Salvador Ramirez | Date: | Wed, 15 Nov 2000 14:56:19 +0000 |
| Subject: | ldap_connect problem in PHP4 | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-4447@lists.php.net to get a copy of this message | ||
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@profc.udec.cl