Local users were unable to login with the default system-wide options. This is because of the following check....
if (!variable_get('ldap_login_process', LDAP_FIRST_LDAP)) {
where LDAP_FIRST_LDAP = 1
Problem is that, on install the default is actually LDAP_FIRST_DRUPAL, and the variable 'ldap_login_process' doesn't exist in the variables table. So unless the "System-wide options" form has been submitted, this defaults to checking only LDAP, not the expected default.
patch attatched.
| Comment | File | Size | Author |
|---|---|---|---|
| ldapauth.module_0.patch | 545 bytes | buchanae |
Comments
Comment #1
anner commentedIt appear that this leaves an unmatched {
It looks to me like perhaps you need to add a } between line 881 and 882
In addition to this, I still get the "Unrecognized username or password?" for my local users.
Comment #2
anner commentedI think this is fixed here:
http://drupal.org/node/132594
Comment #3
kreaper commentedanner
This patch (submitted in http://drupal.org/node/132594) is in the HEAD. Can you download that and see ? We will be releasing 5.x-1.3 soon that will contain this fix.
kreaper
Comment #4
johnbarclay commentedClosing 5.x issues to clean out issue queue.