I just upgraded to this version of LDAP Integration, and when I type in the correct username and password, it works fine. When I type in an incorrect password, however, I get this every time:

Fatal error: Call to a member function on a non-object in modules/ldap_integration/ldapauth.module on line 662

Comments

micahw156’s picture

Just tried this on Drupal 5.7 with ldap_integration 5.x-1.3, using Novell eDirectory as LDAP server, and got the normal login failure message.

lego1974’s picture

I get the reported error with 5.x-1.3 on the following config:

drupal 5.3

DirServer : Fedora DS 1.1 running on CentOS 5.1

This error does not occur on Drupal 5.4 with the same LDAP configuration and same server

lego1974’s picture

I found that if I disable the "LDAP groups" module, save, then re-enable it, I get the normal failure screen. Odd.

klance’s picture

I was just skimming through some old issues and I thought I'd give this one a try again, and the problem appears to be gone now. I or my admin. might have done what lego1974 did without realizing that it fixed the problem. I wouldn't close it because clearly there's something funky going on there, but something about updating modules is causing the error to go away.

lias’s picture

Version: 5.x-1.3 » 5.x-1.x-dev

I'm using the latest 5.x-1.x dev version and drupal 5.7 on Win2003, php 5, mysql 5 and I get this error when logging in as a drupal db user with incorrect password:

[20-May-2008 09:36:28] PHP Fatal error:  Call to a member function setOption() on a non-object in D:\www\public_html\oomain\sites\all\modules\ldap_integration\ldapauth.module on line 662

The above results in a white blank screen. I've never enabled the ldap_groups module, just the ldapauth module.

When I login as a ldap user with incorrect password I get the usual "did you forget your password" screen which is correct but for some reason, users on drupal db get a blank screen when they input incorrect password.

lias’s picture

Wow, yes it does, thank you very much for the link cpugeniusmv!

scafmac’s picture

Status: Active » Closed (duplicate)

Existing issue link provided by cpugeniusmv in #6