On 2011-09-01, at 5:29 PM, Bluejay Adametz wrote: >> When I run the file in the CLI, I get a successful bind and connection to >> the ldap server - it works as expected. >> >> However, when I load the EXACT same code in a browser through apache, I get >> a "cannot bind" error. Here is some output I get, when I set >> "ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7);" in the code: > > Could selinux be preventing apache from connecting out? Try disabling > selinux to test: > setenforce 0 > and turn it back on after testing > setenforce 1
selinux has been disabled on this machine, so that doesn't work, unfortunately. :\ -Chris