Skip Menu |

This queue is for tickets about the RT-Extension-LDAPImport CPAN distribution.

Report information
The Basics
Id: 105246
Status: new
Priority: 0/
Queue: RT-Extension-LDAPImport

People
Owner: Nobody in particular
Requestors: student1917 [...] ad.uconn.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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,
Subject: [rt.cpan.org #105246] LDAP Mapping different users to same id
Date: Tue, 23 Jun 2015 20:14:43 +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>
So far it seems like the import works properly if, for the mapping, I only include the <Name => 'uid' field>. If I include the others then I have the same problem of distinct users being mapped to the same Id and overriding each other's information. Regards,