Forums

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

  1. Stephen
    Member
    Posted 4 months 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 3 months 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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.