Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: aprilr [...] yelp.com
Cc:
AdminCc:

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



CC: bug-RT-Extension-LDAPImport [...] rt.cpan.org
Subject: Re: [rt-users] rtldapimport - Does not remove last person in a group
Date: Tue, 25 Sep 2012 12:20:06 -0700
To: rt-users [...] lists.bestpractical.com
From: Thomas Sibley <trs [...] bestpractical.com>
Yep, that looks like a bug. The importer skips groups with no members in LDAP, so it never gets to the point of updating the RT side. Thanks for the detailed report, I'm copying your mail to the rt.cpan.org queue for RT-Extension-LDAPImport: https://rt.cpan.org/Public/Dist/Display.html?Queue=RT-Extension-LDAPImport and will mark you as a requestor so you get an update whenever it's fixed down the road. On 09/25/2012 12:00 PM, April Rosenberg wrote: Show quoted text
> I am having some problems with rtldapimport. I have it run every hour > via a cron job, and it adds users to their groups w/o problem, and > mostly removes them with no problems. However, it doesn’t remove the > last member in the group. When I run rtldapimport I get: > > Imported 105/110 groups > Processing group rtPayrollQueueAccess > Found existing group rtPayrollQueueAccess to update > RT Field RT Value -> LDAP Value > Description unchanged => Payroll RT Queue Support Access > Name unchanged => rtPayrollQueueAccess > Processing group membership for rtPayrollQueueAccess > > [Tue Sep 25 18:52:01 2012] [warning]: No members found for > rtPayrollQueueAccess in Member_Attr > (/usr/local/share/request-tracker4/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:874) > > No members found for rtPayrollQueueAccess in Member_Attr > > However, when I browse to the group on the interface, it still lists > myself as a member. If I remove myself by hand and re-run the import it > does not re-add it.