#18986 [Opn->Fbk]: Unable to bind to server
| From: | sniper@php.net | Date: | Tue, 20 Aug 2002 17:00:07 +0000 |
| Subject: | #18986 [Opn->Fbk]: Unable to bind to server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17316@lists.php.net to get a copy of this message | ||
ID: 18986
Updated by: sniper@php.net
Reported By: luoy@muohio.edu
-Status: Open
+Status: Feedback
Bug Type: LDAP related
Operating System: solaris 6
PHP Version: 4.2.2
New Comment:
Most likely a library clash..as you've got oracle support too, and it
has it's own ldap functions. Try pointing --with-ldap to the oracle
directory. (/opt/oracle/product/817/)
Previous Comments:
------------------------------------------------------------------------
[2002-08-20 09:59:29] luoy@muohio.edu
compiling and installation was successful. But a single running of LDAP
code failed.
configure options:
./configure --without-mysql --with-oci8
--with-apxs=/usr/local/apache/bin/apxs --with-ldap=/usr/local
--enable-xslt --with-xslt-sablot=/usr/local --with-iconv
--with-ssl=/usr/local/ssl --enable-libgcc
LDAP query test
Connecting ...connect result is Resource id #1
Binding ...
Warning: LDAP: Unable to bind to server: Can't contact LDAP server in
/home/luoy/public_html/ldap.php on line 12
Bind result is
...
From LDAP server side, we did not see bind request ( Ususally we can if
we use some native tools like ldapseach)
library dependence
[luoy@admsol03:/home/luoy/src/php-4.1.2]$ldd
/usr/local/apache/libexec/libphp4.so
libdl.so.1 => /usr/lib/libdl.so.1
libpam.so.1 => /usr/dt/lib/libpam.so.1
libsablot.so.0 => /usr/local/lib/libsablot.so.0
libexpat.so.0 => /usr/local/lib/libexpat.so.0
libsched.so.1 => /usr/lib/libsched.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libldap.so.2 => /usr/local/lib/libldap.so.2
liblber.so.2 => /usr/local/lib/liblber.so.2
libresolv.so.2 => /usr/lib/libresolv.so.2
libm.so.1 => /usr/lib/libm.so.1
libclntsh.so.8.0 =>
/opt/oracle/product/817/lib/libclntsh.so.8.0
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libwtc8.so => /opt/oracle/product/817/lib/libwtc8.so
libaio.so.1 => /usr/lib/libaio.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18986&edit=1