Forget this. I have an even more interesting problem. When I am root, I can connect to LDAP like so:
[EMAIL PROTECTED]:~# telnet localhost 389 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. However, when I am su-ed to www-data, I am unable to connect: [EMAIL PROTECTED]:~# su - www-data [EMAIL PROTECTED]:~$ telnet localhost 389 Trying 127.0.0.1... telnet: Unable to connect to remote host: Connection refused What gives? For some reason, this only happens on a couple of Debian machines and not on other Debian machines. S. On 9/9/05, Thaths <[EMAIL PROTECTED]> wrote: > Hi, > > OpenLDAP, by default, these days seems to talk LDAP v3. But, php4-ldap > seems to talk LDAP v2. I know I can set this correct in my code by > adding > > ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3); > > But, I do not want to do this with all my programs. I was wondering > whether it is possible to set this option in php.ini. > > Thanks. > > Thaths > -- > "This is everybody's fault but mine!" -- Homer J. Simpson > -- "This is everybody's fault but mine!" -- Homer J. Simpson ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ linux-india-help mailing list linux-india-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-india-help