I have found a exclude user checking issue of field ldap_user_ldap_exclude.

Function "excludeUser" in Class "LdapUserConf"

   // Exclude users who have the field ldap_user_ldap_exclude set to 1.
    if (is_object($account) && $account->get('ldap_user_ldap_exclude')->getValue() == 1) {
      //@TODO: Verify that the above statement is correct.
      return TRUE;
    }

$account->get('ldap_user_ldap_exclude')->getValue() will be return all field values with array, so it will never be equal to 1.

Comments

everright created an issue. See original summary.

everright’s picture

everright’s picture

Status: Active » Needs review

  • grahl committed 9840e08 on 8.x-3.x authored by everright
    Issue #2826513 by everright: LDAP Users: Exclude users who have the...
grahl’s picture

Status: Needs review » Fixed

Clearly a bug, thank you for your fix!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.