Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000076Active Directory IntegrationBulk Importpublic2013-02-20 14:042013-02-20 14:40
Reportercst 
Assigned Tocst 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version1.1.4 
Target Version1.1.5Fixed in Version1.1.5 
Summary0000076: Amendment to bulk update
DescriptionI 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000112)
cst (administrator)
2013-02-20 14:40

resolved

- Issue History
Date Modified Username Field Change
2013-02-20 14:04 cst New Issue
2013-02-20 14:04 cst Status new => assigned
2013-02-20 14:04 cst Assigned To => cst
2013-02-20 14:40 cst Note Added: 0000112
2013-02-20 14:40 cst Status assigned => resolved
2013-02-20 14:40 cst Fixed in Version => 1.1.5
2013-02-20 14:40 cst Resolution open => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker