Subject: | LDAP Mapping different users to same id |
Date: | Mon, 15 Jun 2015 19:03:03 +0000 |
To: | "'bug-rt-extension-ldapimport [...] rt.cpan.org'" <bug-rt-extension-ldapimport [...] rt.cpan.org> |
From: | "Keen, Benjamin (SAIT Student)" <student1917 [...] ad.uconn.edu> |
Good afternoon,
I am currently facing the following issue. While running an LDAP import on rt 4.2.9 some users get mapped to the same id which results in missing users in the database.
Here is an example when I run an import with the debug option:
Processing user user1
User user1 already exists as 331333, updating their data
User user1: Name changed from 'user2' to user1
User user1: RealName changed from 'user1Name' to 'user2Name'
User user1: NickName changed from (no value) to 'user2NickName'
user1 already a member of Imported from LDAP
Imported 176104/326147 users
What could possibly be causing this error?
Here is the configuration that I am using for RT_SiteConfig:
Plugin("RT::Extension::LDAPImport");
Set($LDAPUpdateUsers, 1);
Set($LDAPHost,'host');
Set($LDAPUser,'user');
Set($LDAPPassword,'password');
Set($LDAPFilter,'(&(objectClass=person))');
Set($LDAPBase,'base');
Set($LDAPMapping, {Name => 'uid', # required
NickName => 'displayName',
Address1 => 'postalAddress',
Address2 => 'addres2',
EmailAddress => 'mail',
RealName => 'realName',
WorkPhone => 'telephoneNumber',
Organization => 'department'});
As a side note, uid's are unique.
Regards,