WordPress.org

Ready to get started?Download WordPress

Forums

Active Directory Integration
[resolved] Amendment to bulk update (2 posts)

  1. Stephen
    Member
    Posted 1 year ago #

    I found that bulk import (in v1.1.3) duplicated accounts that already existed because we are appending the account suffix to the username, but it matches existing users based on the SAM account name only. To fix this I altered the code in bulkimport.php as follows:

    ~line 220:
    users.user_login
    becomes:
    users.user_login, meta.meta_value

    ~line 237:
    $all_users[strtolower($user->user_login)] = $user->user_login;
    becomes: $all_users[strtolower($user->meta_value)] = $user->user_login;

    Then it seems to work as intended.

    http://wordpress.org/extend/plugins/active-directory-integration/

  2. glatze
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for your bug report. This issue (#0076) is fixed in development version 1.1.5dev: http://downloads.wordpress.org/plugin/active-directory-integration.zip

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.