WordPress.org

Ready to get started?Download WordPress

Forums

WPMU Ldap Authentication
LDAP password error different than default password error (1 post)

  1. yalet
    Member
    Posted 1 year ago #

    When logging in to wordpress, one can determine whether or not a given username has a record in LDAP by attempting to login as that user with an incorrect password. The error message produced when the user is present in LDAP is different than when the user is not present in LDAP.

    The relevant code is in lib/wpmu_ldap.functions.php :
    $errors->add('invalid_userpass', __('<strong>ERROR</strong>: Wrong username / password combination. LDAP Access Denied.'));

    To match the error if the user does not exist in LDAP, it should be:

    $errors->add('invalid_userpass', __('<strong>ERROR</strong>: Wrong username / password combination.'));

    http://wordpress.org/extend/plugins/wpmuldap/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.