Hello,

Getting this error when trying to log into Drupal via LDAP.
/usr/local/apache2/htdocs/drupal-5.1/sites/all/modules/ldap_integration/ldap_integration/LDAPInterface.php on line 114

Here's my info:
Druapl 5.1
PHP 5.2.1 compiled with LDAP support
Red Hat Linux 4 AS

From my php.info page:
LDAP Support enabled
RCS Version $Id: ldap.c,v 1.161.2.3.2.3 2007/01/05 15:06:55 iliaa Exp $
Total Links 0/unlimited

Note- I recompiled PHP to support LDAP after installing Drupal & the LDAP module. I don't know if that makes a difference or not. Any help is appreciated!

Let me know if you need more information.

Thanks!

Comments

Arbelo’s picture

Update- I have a test PHP LDAP script, which I was able to connect without error, so I think my LDAP installation is working OK. It seems like it's something with the LDAP module in drupal.

Also, I upgraded to Drupal 5.3 yesterday, but it didn't make a difference concerning the above error.

Arbelo’s picture

Ok, I got it work, though I'm not sure what the ramifications are for doing this way. In LDAPInterface.php (site/all/modules/ldap_integration/ldap_integration) I commented out all three instances of "ldap_set_option" I was then able to authenticate to both of our LDAP servers. Like I said, I don't know if this is going to cause problems down the road, but it works.

johnbarclay’s picture

Status: Active » Closed (won't fix)

Closing 5.x issues to clean out issue queue.