SCIENTIFIC-LINUX-USERS Archives

September 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Christopher Tooley <[log in to unmask]>
Reply To:
Christopher Tooley <[log in to unmask]>
Date:
Thu, 1 Sep 2011 17:47:00 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (15 lines)
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

ATOM RSS1 RSS2