PHP 4.0 Bug #5197: Can't connect ldap server
| From: | xiangxb at itc dot com dot cn | Date: | Fri, 23 Jun 2000 03:43:15 +0000 |
| Subject: | PHP 4.0 Bug #5197: Can't connect ldap server | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-22120@lists.php.net to get a copy of this message | ||
From: xiangxb@itc.com.cn
Operating system: Red Hat Linux 6.1
PHP version: 4.0 Release Candidate 2
PHP Bug Type: LDAP related
Bug description: Can't connect ldap server
I use openldap version 1.2.8 as client in my system.
$ds=ldap_connect("202.106.185.51"), but $ds return NULL.
I test using openldap C function, it works good
as ldap_open ("202.106.185.51", 389). $ds=ldap_connect("202.106.185.51") also
works good in php3.
my configure file is:
/configure --disable-debug --with-apache=../apache_1.3.12
--with-config-file-path=/usr/local/apache/conf --with-oci8=/oracle/u01/app/oracle/product/8.1.5
--with-ldap=/usr/local/openldap