#34533 [Opn->Fbk]: LDAP cannot connect when linked against Oracle LDAP libraries
| From: | tony2001@php.net | Date: | Fri, 16 Sep 2005 20:49:44 +0000 |
| Subject: | #34533 [Opn->Fbk]: LDAP cannot connect when linked against Oracle LDAP libraries | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370153@lists.php.net to get a copy of this message | ||
ID: 34533
Updated by: tony2001@php.net
Reported By: liamr at umich dot edu
-Status: Open
+Status: Feedback
Bug Type: Documentation problem
Operating System: linux 2.4.31
PHP Version: 5CVS-2005-09-16 (snap)
New Comment:
How exactly do you set it and what it's value when you're using full
installs?
Do you get any error messages or something?
Previous Comments:
------------------------------------------------------------------------
[2005-09-16 22:43:11] liamr at umich dot edu
I am setting ORACLE_HOME in my apache startup script. Doesn't help.
------------------------------------------------------------------------
[2005-09-16 22:36:09] sniper@php.net
I'm reclassifying this as documentation problem.
The solution is quite simple actually. If you'd use
the oracle database functions, they wouldn't work any better either.
You have to ALWAYS set the environment correctly when dealing with
Oracle.
For me, setting ORACLE_HOME was enough.
More information about these environment variables can be found at
http://www.php.net/oci8
There should be a note about this in the LDAP section of the manual..
------------------------------------------------------------------------
[2005-09-16 21:56:23] liamr at umich dot edu
It's not much more complicated, but here..
<pre>
<?php
if (!extension_loaded('ldap')) {
if (!dl('oracleldap.so')) {
exit;
}
}
echo( "<h3>LDAP query test</h3>" );
echo( "Connecting ..." );
$ds=ldap_connect('ldap.itd.umich.edu', 389);
print_r( $ds );
echo( "connect result is ".$ds."<p>" );
if ($ds) {
echo( "Binding ..." );
$r=ldap_bind($ds);
echo( "Bind result is ".$r."<p>" );
echo( "Closing connection" );
ldap_close( $ds );
} else {
echo( "<h4>Unable to connect to LDAP server</h4>" );
}
?>
</pre>
------------------------------------------------------------------------
[2005-09-16 21:25:49] sniper@php.net
Obviously the script you provided in your report is not the one you
used to generate that (useless) strace. Can you please show the code
you tried?
------------------------------------------------------------------------
[2005-09-16 20:37:35] liamr at umich dot edu
Description:
------------
ldap_connect() returns "Unable to connect to LDAP server" when linked
against Oracle LDAP libraries. I've tried this with PHP 4.3.11, 5.0.5,
5.1.0RC1, and a snapshot I downloaded today (php5-200509161630), all
against Oracle 8.1.7 (full install), 10.1.0.3 (full install), and
10.1.0.4 (instantclient w/ the LDAP headers copied from a full
install). Apache 1.3.33 on an LFS based distro running the 2.4.31
kernel.
Reproduce code:
---------------
$ds=ldap_connect('ldap.example.com', 389);
Expected result:
----------------
When the ldap extension is linked against openldap, the ldap_connect()
results in an LDAP connection.
Actual result:
--------------
When linked against Oracle's LDAP, the server is unable to establish a
connection. Looking at strace, it doesn't even query the network:
open("/usr/lib/php/extensions/no-debug-non-zts-20050617/ldap.so",
O_RDONLY) = 8
read(8,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300+\0\0004\0\0\00085\1\0\0\0\0\0004\0
\0\4\0(\0\"\0\37\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0xw\0\0xw\0\0\5\0\0\0\0\20\0\0\1\0\0\0\200w\0\0\200\207\0\0\200\207\0\0\240\5\0\0\274\5\0\0\6\0\0\0\0\20\0\0\2\0\0\0\f|\0\0\f\214\0\0\f\214\0\0\340\0\0\0\340\0\0\0\6\0\0\0\4\0\0\0P\345td\\w\0\0\\w\0\0\\w\0\0\34\0\0\0\34\0\0\0\4\0\0\0\4\0\0\0\203\0\0\0\233\0\0\0\0\0\0\0002\0\0\0A\0\0\0\0\0\0\0\226\0\0\0\0\0\0\0006\0\0\0\0\0\0\0q\0\0\0009\0\0\0|\0\0\0U\0\0\0%\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\214\0\0\0\210\0\0\0\0\0\0\0\215\0\0\0\0\0\0\0\0\0\0\0~\0\0\0\0\0\0\0\0\0\0\0v\0\0\0\231\0\0\0]\0\0\0\0\0\0\0\225\0\0\0\0\0\0\0[\0\0\0O\0\0\0\0\0\0\0\201\0\0\0008\0\0\0C\0\0\0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0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\37\0\0\0\0\0\0\0+\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0$\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0001\0\0\0!\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0:\0\0\0\0\0\0\0\0\0\0\0>\0\0\0.\0\0\!
0\0\0\0\0",
1024) = 1024
fstat64(8, {st_dev=makedev(8, 1), st_ino=1947378, st_mode=S_IFREG|0755,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=184,
st_size=86383, st_atime=2005/09/16-12:58:21,
st_mtime=2005/09/16-12:56:19, st_ctime=2005/09/16-12:56:28}) = 0
old_mmap(NULL, 36156, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0x42b59000
mprotect(0x42b61000, 3388, PROT_NONE) = 0
old_mmap(0x42b61000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
8, 0x7000) = 0x42b61000
close(8) = 0
open("/usr/local/oracle/lib/mmx/cmov/libclntsh.so.10.1", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/oracle/lib/mmx/cmov", 0xbfffa1d0) = -1 ENOENT (No
such file or directory)
open("/usr/local/oracle/lib/mmx/libclntsh.so.10.1", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/oracle/lib/mmx", 0xbfffa1d0) = -1 ENOENT (No such
file or directory)
open("/usr/local/oracle/lib/cmov/libclntsh.so.10.1", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/usr/local/oracle/lib/cmov", 0xbfffa1d0) = -1 ENOENT (No such
file or directory)
open("/usr/local/oracle/lib/libclntsh.so.10.1", O_RDONLY) = 8
read(8,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\267\17\0004\0\0\0\314\364\300\0\0\0\0\0004\0
\0\3\0(\0\33\0\30\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0
\250\0
\250\0\5\0\0\0\0\20\0\0\1\0\0\0`
\250\00\250\00\250\0xB\20\0004\236\21\0\6\0\0\0\0\20\0\0\2\0\0\0\304\310\267\0\304\330\267\0\304\330\267\0\0\1\0\0\0\1\0\0\6\0\0\0\4\0\0\0\21
\0\0\20=\0\0v0\0\0=0\0\0\372#\0\0\\(\0\0\323<\0\0<6\0\0\360.\0\0\0315\0\0t;\0\0A,\0\0B*\0\0\0\0\0\0\n9\0\0\344\25\0\0L+\0\0\0\0\0\0\17;\0\0\216\23\0\0\23\22\0\0\260\34\0\0\2727\0\0\21*\0\0\277$\0\0\r<\0\0\3129\0\0\3577\0\0\204\30\0\0\0\0\0\0p5\0\0\3000\0\0~;\0\0\0\0\0\0l\36\0\0\2312\0\0\0161\0\0\177\36\0\0\364\20\0\0[+\0\0\270/\0\0\3604\0\0\220\33\0\0007&\0\0c,\0\0r<\0\0\363\'\0\0\0\0\0\0O0\0\0\370\f\0\0J\23\0\0\210-\0\0\262:\0\0\3676\0\0\3118\0\0a\'\0\0\207\16\0\0\10\22\0\0Q8\0\0\252<\0\0\2070\0\0\3166\0\0\0\0\0\0\0\0\0\0\0\0\0\0-7\0\0\2157\0\0(7\0\0\0\0\0\0`&\0\0%2\0\0\271\23\0\0\240\t\0\0002\21\0\0\3552\0\0\0\0\0\0$\35\0\0G0\0\0\2400\0\0-/\0\0^7\0\0\3317\0\0\0\0\0\0\2723\0\0\251\0\0\0t8\0\0=\10\0\0\2310\0\0R6\0\0\354\25\0\0R:\0\0\0\0\0\0\0\0\0\0\0\0\0\0m(\0\00084\0\0\2703\0\0\2656\0\0\0\0\0\0\316\33\0\0\0\0\0\0i\35\0\0\"\f\0\0*\25\0\0\n\23\0\0\272$\0\0\323(\0\0\235\22\0\0N\22\0\0\0\0\0\0\0\0\0\0\264\31\0\0D0\0\0\3267\0\0]1\0\0\256\22\0\0\220:\0\0\356\36\0\0z:\0\0a&\0\0a#\!
0\0\236+\0\0\0\0\0\0Z4\0\0V;\0\0\0\0\0\0\325&\0\0(4\0\0003\t\0\0\0\0\0\0r4\0\0\16*\0\0
\27\0\0\266*\0\0^!\0\0\0\0\0\0\222\34\0\0\2308\0\0\2379\0\0K9\0\0\0\0\0\0U5\0\0\34<\0\0\0\0\0\0\261&\0\0\317&\0\0\3426\0\0\0\0\0\0\r7\0\0h(\0\0\3473\0\0n\2\0\0\\#\0\0\265!\0\0\253\36\0\0\0\0\0\0q\35\0\0\2159\0\0\0\0\0\0\34\33\0\0Z\r\0\0H!\0\0\306\34\0\0\'\33\0\0<2\0\0\2520\0\0\353&\0\0\242+\0\0\2328\0\0u3\0\0\252;\0\0\r;\0\0\0\0\0\0\273\1\0\00032\0\0\275*\0\0\213,\0\0!\7\0\0\6-\0\0\203\n\0\0>\20\0\0=\31\0\0\1;\0\0\236<\0\0\3277\0\0*\t\0\0\366\1\0\0w\33\0\0x\31\0\0)%\0\0j4\0\0Y5\0\0\272\20\0\0\234\36\0\0\30\1\0\0\320\26\0\0\35+\0\0\233;\0\0_\4\0\0\2115\0\0\0\0\0\0\17\35\0\0.2\0\0c%\0\0\343-\0\0\222\5\0\0\373\2\0\0\3<\0\0W4\0\0|#\0\0n8\0\0\0\0\0\0\254)\0\0\274/\0\0\323\16\0\0\325<\0\0\261\23\0\0X,\0\0x0\0\0",
1024) = 1024
fstat64(8, {st_dev=makedev(8, 1), st_ino=3189498, st_mode=S_IFREG|0755,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=26528,
st_size=13561755, st_atime=2005/09/16-12:58:21,
st_mtime=2005/07/11-17:41:31, st_ctime=2005/09/02-16:44:22}) = 0
old_mmap(NULL, 12177044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0x42b62000
mprotect(0x435e5000, 1154708, PROT_NONE) = 0
old_mmap(0x435e5000, 1069056, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 8, 0xa82000) = 0x435e5000
old_mmap(0x436ea000, 85652, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x436ea000
close(8) = 0
open("/ade/aime_104v07/oracle/lib/mmx/cmov/libnnz10.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/ade/aime_104v07/oracle/lib/mmx/cmov", 0xbfffa130) = -1 ENOENT
(No such file or directory)
open("/ade/aime_104v07/oracle/lib/mmx/libnnz10.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/ade/aime_104v07/oracle/lib/mmx", 0xbfffa130) = -1 ENOENT (No
such file or directory)
open("/ade/aime_104v07/oracle/lib/cmov/libnnz10.so", O_RDONLY) = -1
ENOENT (No such file or directory)
stat64("/ade/aime_104v07/oracle/lib/cmov", 0xbfffa130) = -1 ENOENT (No
such file or directory)
open("/ade/aime_104v07/oracle/lib/libnnz10.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
stat64("/ade/aime_104v07/oracle/lib", 0xbfffa130) = -1 ENOENT (No such
file or directory)
open("/usr/local/oracle/lib/libnnz10.so", O_RDONLY) = 8
read(8,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\254\4\0004\0\0\0\304%\34\0\0\0\0\0004\0
\0\3\0(\0\36\0\33\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\306\330\26\0\306\330\26\0\5\0\0\0\0\20\0\0\1\0\0\0\0\340\26\0\0\340\26\0\0\340\26\00006\2\0\334K\2\0\6\0\0\0\0\20\0\0\2\0\0\0\344\350\30\0\344\350\30\0\344\350\30\0\310\0\0\0\310\0\0\0\6\0\0\0\4\0\0\0\3\20\0\0\205\21\0\0*\3\0\0\v\17\0\0\374\1\0\0\0\0\0\0\n\t\0\0\275\2\0\0\220\6\0\0\26\6\0\0L\20\0\0V\t\0\0\215\1\0\0\0\0\0\0\241\f\0\0\372\16\0\0#\4\0\0\370\20\0\0\323\2\0\0\0\0\0\0\t\21\0\0?\f\0\0003\16\0\0\256\r\0\0+\r\0\0\0\0\0\0\0\0\0\0A\f\0\0\306\1\0\0\215\4\0\0\0\0\0\0\0\0\0\0\\\v\0\0\0\0\0\0\365\20\0\0\34\10\0\0\0\0\0\0\306\17\0\0\0\0\0\0\r\2\0\0\375\17\0\0\266\0\0\0\0\0\0\0_\5\0\0\0\0\0\0\f\f\0\0\0\0\0\0\0\0\0\0\355\t\0\0\0\0\0\0\0\0\0\0Z\f\0\0000\r\0\0\336\3\0\0\'\v\0\0\"\6\0\0\0\0\0\0\276\7\0\0\0\0\0\0002\0\0\0\320\16\0\0X\2\0\0\344\6\0\0=\6\0\0.\21\0\0\375\0\0\0M\20\0\0\355\v\0\0\36\1\0\0\225\20\0\0m\r\0\0\0\0\0\0\362\3\0\0\302\7\0\0\0\0\0\0/\17\0\0\0\0\0\0\240\t\0\0\34\16\0\0\0\0\0\0\'\21\0\0\354\20\0\0\275\10\0\0\3!
73\17\0\0\333\7\0\0\16\t\0\0\0\0\0\0\0\0\0\0\220\4\0\0!\t\0\0\337\16\0\0\0\0\0\0\0\0\0\0\v\v\0\0\0\0\0\0v\17\0\0\233\7\0\0\0\0\0\0g\3\0\0\367\10\0\0\0\0\0\0\0\0\0\0\207\v\0\0\347\v\0\0\0\0\0\0x\f\0\0\211\5\0\0\367\17\0\0u\f\0\0~\3\0\0\5\5\0\0-\f\0\0005\7\0\0\16\17\0\0\r\21\0\0\375\10\0\0\177\n\0\0\315\r\0\0\0\0\0\0\0\0\0\0h\2\0\0C\2\0\0\217\r\0\0R\r\0\0G\10\0\0\272\7\0\0\0\4\0\0D\4\0\0\237\6\0\0\0\0\0\0\333\f\0\0\21\7\0\0_\f\0\0\0\0\0\0\306\7\0\0-\7\0\0Z\r\0\0{\7\0\0\335\17\0\0\0\0\0\0,\10\0\0\0\0\0\0J\2\0\0\0\0\0\0\370\16\0\0l\10\0\0\214\f\0\0C\3\0\0\376\5\0\0\0\0\0\0f\4\0\0\24\r\0\0\0\0\0\0\202\21\0\0\202\r\0\0\222\4\0\0\257\10\0\0\200\6\0\0\233\5\0\0\27\3\0\0\244\0\0\0\0\0\0\0\232\v\0\0\0\0\0\0l\6\0\0\326\3\0\0\0\0\0\0\336\n\0\0\200\21\0\0\234\16\0\0K\t\0\0\217\t\0\0\35\10\0\0\341\v\0\0;\v\0\0Q\20\0\0\0\0\0\0\336\16\0\0\0\0\0\0\10\20\0\0\26\f\0\0\236\r\0\0\0\0\0\0\0\0\0\0\307\t\0\0\0\0\0\0\0\0\0\0g\7\0\0W\n\0\0\0\0\0\0009\17\0\0\22\1\0\0J\20\0\0\276\r\0\0\16\16\0\0\357\n\!
0\0\0\0\0\0\253\16\0\0\266\v\0\0\0\0\0\0\254\r\0\0\312\n\0\0\!
0\0\0\0\212\4\0\0\321\20\0\0U\20\0\0\207\20\0\0\356\t\0\0\0\0\0\0\370\4\0\0$\t\0\0\0\0\0\0\200\0\0\0\v\t\0\0m\2\0\0\0\0\0\0\307\r\0\0\0\0\0\0\314\f\0\0",
1024) = 1024
fstat64(8, {st_dev=makedev(8, 1), st_ino=3189499, st_mode=S_IFREG|0555,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=4216,
st_size=2150942, st_atime=2005/09/16-12:58:21,
st_mtime=2005/07/11-17:41:28, st_ctime=2005/09/02-16:44:22}) = 0
old_mmap(NULL, 1649628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0x436ff000
mprotect(0x4386d000, 150492, PROT_NONE) = 0
old_mmap(0x4386d000, 147456, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 8, 0x16e000) = 0x4386d000
old_mmap(0x43891000, 3036, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x43891000
close(8) = 0
mprotect(0x436ff000, 1499136, PROT_READ|PROT_WRITE) = 0
mprotect(0x436ff000, 1499136, PROT_READ|PROT_EXEC) = 0
mprotect(0x42b62000, 11022336, PROT_READ|PROT_WRITE) = 0
mprotect(0x42b62000, 11022336, PROT_READ|PROT_EXEC) = 0
mprotect(0x42b59000, 32768, PROT_READ|PROT_WRITE) = 0
mprotect(0x42b59000, 32768, PROT_READ|PROT_EXEC) = 0
old_mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x43892000
open("/etc/ld.so.cache", O_RDONLY) = 8
fstat64(8, {st_dev=makedev(8, 1), st_ino=2060730, st_mode=S_IFREG|0644,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=48,
st_size=20491, st_atime=2005/09/16-12:58:17,
st_mtime=2005/09/16-12:47:46, st_ctime=2005/09/16-12:47:46}) = 0
old_mmap(NULL, 20491, PROT_READ, MAP_PRIVATE, 8, 0) = 0x429d7000
close(8) = 0
open("/usr/local/oracle/lib/libociei.so", O_RDONLY) = 8
read(8,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\7\0\0004\0\0\0\374\272\324\3\0\0\0\0004\0
\0\3\0(\0\35\0\32\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\20\20\0\0\20\20\0\0\5\0\0\0\0\20\0\0\1\0\0\0
\20\0\0 \0\0
\0\0\240I\324\3\270I\324\3\6\0\0\0\0\20\0\0\2\0\0\0\204X\324\3\204h\324\3\204h\324\3\360\0\0\0\360\0\0\0\6\0\0\0\4\0\0\0%\0\0\0.\0\0\0\36\0\0\0#\0\0\0\0\0\0\0\0\0\0\0\33\0\0\0\0\0\0\0\0\0\0\0%\0\0\0,\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0-\0\0\0\0\0\0\0\"\0\0\0(\0\0\0\37\0\0\0\0\0\0\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0\0\0\0\0\204h\324\3\0\0\0\0\3\0\21\0\0\0\0\0ti\324\3\0\0\0\0\3\0\22\0\0\0\0\0|i\324\3\0\0\0\0\3\0\23\0\0\0\0\0\204i\324\3\0\0\0\0\3\0\24\0\0\0\0\0\300i\324\3\0\0\0\0\3\0\25\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\26\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\27\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\30\0\0\0\0\0\0\0\0\0\0\0\0\0\3\0\31\0\1\0\0\0\204h\324\3\0\0\0\0\21\0\361\377b\0\0\0\0\0\0\0\201\0\0\0\"\0\0\0\320\0\0\0\0\0\0\0\314\0\0\0\22\0\0\0+\1\0\0\360\v\0\0\244\1\0\0\22\0\n\0!\1\0\0\340\n\0\0\f\1\0\0\22\0\n\0/\0\0\0X\7\0\0\0\0\0\0\22\0\10\0J\0\0\0\0\0\0\0\254\0\0\0\"\0\0\0\223\0\0\0\n\n\0\0",
1024) = 1024
fstat64(8, {st_dev=makedev(8, 1), st_ino=3189501, st_mode=S_IFREG|0755,
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=125680,
st_size=64276352, st_atime=2005/09/16-12:58:21,
st_mtime=2005/07/11-17:41:27, st_ctime=2005/09/02-16:44:22}) = 0
old_mmap(NULL, 64252376, PROT_READ|PROT_EXEC, MAP_PRIVATE, 8, 0) =
0x438b5000
mprotect(0x438b7000, 64244184, PROT_NONE) = 0
old_mmap(0x438b7000, 64245760, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 8, 0x1000) = 0x438b7000
close(8) = 0
munmap(0x429d7000, 20491) = 0
brk(0) = 0x82b4000
brk(0x82b9000) = 0x82b9000
old_mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x475fc000
fcntl64(136917104, F_SETFD, FD_CLOEXEC) = -1 EBADF (Bad file
descriptor)
chdir("/usr/lib/php/extensions/no-debug-non-zts-20050617") = 0
alarm(60) = 60
alarm(0) = 60
munmap(0x42b59000, 36156) = 0
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0
umask(022) = 022
alarm(0) = 0
alarm(60) = 0
alarm(0) = 60
select(6, [5], NULL, NULL, {0, 0}) = 0 (Timeout)
write(5, "HTTP/1.1 200 OK\r\nDate: Fri, 16 Sep 2005 16:58:21
GMT\r\nServer: Apache\r\nKeep-Alive: timeout=5, max=50\r\nConnection:
Keep-Alive\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html;
charset=iso-8859-1\r\n\r\n71 \r\n<pre>\n<h3>LDAP query
test</h3>Connecting ...connect result is <p><h4>Unable to connect to
LDAP server</h4></pre>\n\r\n0\r\n\r\n", 325) = 325
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34533&edit=1