Re: [rt-users] Problem removing group members from groups.
Kevin, Not sure I follow you? Which user? mysql> select * from Principals where id = 14220; +---+---+--+--+ | id| PrincipalType | ObjectId | Disabled | +---+---+--+--+ | 14220 | Group |14220 |0 | +---+---+--+--+ mysql> select * from Groups where id = 14220; +---+--+-+-+---+--+ | id| Name | Description | Domain | Type | Instance | +---+--+-+-+---+--+ | 14220 | NULL | NULL| RT::Ticket-Role | Requestor | 2869 | +---+--+-+-+---+--+ -- From: "Kevin Falcone" Sent: Friday, March 11, 2011 6:10 AM To: Subject: Re: [rt-users] Problem removing group members from groups. Have the user remove their delegated rights before trying again? Also, don't use delegation. -kevin
[rt-users] Problem removing group members from groups.
I meant to add I was hoping this problem went away after upgrading to 3.8.9... It did not. However the upgrade to 3.8.9 was smooth- TY BP... From: Jason Maderios Sent: Friday, March 11, 2011 12:21 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] Problem removing group members from groups. Sill can not figure this out. I am logged in as super user and I am unable to remove a group as a member of another group. I am also unable to remove that group as watcher on a queue. All I get when trying to remove a group as a member of another group: Results a.. Member not deleted When trying to delete the group as a watcher of the queue: a.. Could not remove that principal as a AdminCc for this queue This is causing me grief with the email the members of the 2 queues are getting. They are ready to skin me alive! I am at the point of destroying both queues and rebuilding new ones which is a whole other can of worms with history and everything! In the logs: [Fri Mar 11 09:03:40 2011] [warning]: Unable to revoke delegated rights for principal 14220 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) [Fri Mar 11 09:03:40 2011] [error]: Failed to delete 18794 as a member of group 1963: Member not deleted (/opt/rt3/bin/../lib/RT/Queue_Overlay.pm:964) [Fri Mar 11 09:04:06 2011] [warning]: User not loaded. (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1573) [Fri Mar 11 09:04:06 2011] [warning]: Unable to revoke delegated rights for principal 14220 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) [Fri Mar 11 09:04:06 2011] [error]: Failed to delete 18794 as a member of group 1963: Member not deleted (/opt/rt3/bin/../lib/RT/Queue_Overlay.pm:964) [Fri Mar 11 09:08:39 2011] [warning]: User not loaded. (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1573) [Fri Mar 11 09:08:39 2011] [warning]: Unable to revoke delegated rights for principal 14220 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) [Fri Mar 11 09:08:39 2011] [error]: Failed to delete 18794 as a member of group 1963: Member not deleted (/opt/rt3/bin/../lib/RT/Queue_Overlay.pm:964) [Fri Mar 11 09:09:59 2011] [warning]: User not loaded. (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1573) [Fri Mar 11 09:09:59 2011] [warning]: Unable to revoke delegated rights for principal 30073 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) From: Jason Maderios Sent: Tuesday, November 09, 2010 10:37 AM To: Kenneth Crocker Subject: Re: [rt-users] Problem removing group members from groups. I am the super user. Jason Maderios From: Kenneth Crocker Sent: Tuesday, November 09, 2010 10:03 AM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Problem removing group members from groups. Jason, If you are a "SuperUser" (and I assume you are) you shouldn't be having that problem. If you are signed on with a userId that does not have certain rights (like ModifyQueueWatchers), you won't be able to remove those members. Kenn LBNL On Tue, Nov 9, 2010 at 10:13 AM, Jason Maderios wrote: All, I am still having an issue removing a a watcher from a queue. I can not remove the group as a member of another group or remove the watcher. I am also getting the error "Unable to revoke delegated rights for principal" when trying to remove one group out of another. Any help will be appreciated. Regards, Jason Maderios From: Jason Maderios Sent: Friday, October 29, 2010 10:24 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] Problem removing group members from groups. All, I am getting the following error: [Fri Oct 29 19:14:21 2010] [warning]: Unable to revoke delegated rights for principal 30073 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) When trying to remove a group as a member from another group. The goal of this is to remove the group from admincc. In RT/Admin/Edit the Group MTA I am unable to remove a Group that is a member of this group. The GUI error is "Member not deleted" The error log error is listed above. I have checked all group and queue permissions and they are all set to "No Value" There are no visible relation ships between the 2 queues. Any thoughts? Jason Maderios
[rt-users] Problem removing group members from groups.
Sill can not figure this out. I am logged in as super user and I am unable to remove a group as a member of another group. I am also unable to remove that group as watcher on a queue. All I get when trying to remove a group as a member of another group: Results a.. Member not deleted When trying to delete the group as a watcher of the queue: a.. Could not remove that principal as a AdminCc for this queue This is causing me grief with the email the members of the 2 queues are getting. They are ready to skin me alive! I am at the point of destroying both queues and rebuilding new ones which is a whole other can of worms with history and everything! In the logs: [Fri Mar 11 09:03:40 2011] [warning]: Unable to revoke delegated rights for principal 14220 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) [Fri Mar 11 09:03:40 2011] [error]: Failed to delete 18794 as a member of group 1963: Member not deleted (/opt/rt3/bin/../lib/RT/Queue_Overlay.pm:964) [Fri Mar 11 09:04:06 2011] [warning]: User not loaded. (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1573) [Fri Mar 11 09:04:06 2011] [warning]: Unable to revoke delegated rights for principal 14220 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) [Fri Mar 11 09:04:06 2011] [error]: Failed to delete 18794 as a member of group 1963: Member not deleted (/opt/rt3/bin/../lib/RT/Queue_Overlay.pm:964) [Fri Mar 11 09:08:39 2011] [warning]: User not loaded. (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1573) [Fri Mar 11 09:08:39 2011] [warning]: Unable to revoke delegated rights for principal 14220 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) [Fri Mar 11 09:08:39 2011] [error]: Failed to delete 18794 as a member of group 1963: Member not deleted (/opt/rt3/bin/../lib/RT/Queue_Overlay.pm:964) [Fri Mar 11 09:09:59 2011] [warning]: User not loaded. (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1573) [Fri Mar 11 09:09:59 2011] [warning]: Unable to revoke delegated rights for principal 30073 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) From: Jason Maderios Sent: Tuesday, November 09, 2010 10:37 AM To: Kenneth Crocker Subject: Re: [rt-users] Problem removing group members from groups. I am the super user. Jason Maderios From: Kenneth Crocker Sent: Tuesday, November 09, 2010 10:03 AM To: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Problem removing group members from groups. Jason, If you are a "SuperUser" (and I assume you are) you shouldn't be having that problem. If you are signed on with a userId that does not have certain rights (like ModifyQueueWatchers), you won't be able to remove those members. Kenn LBNL On Tue, Nov 9, 2010 at 10:13 AM, Jason Maderios wrote: All, I am still having an issue removing a a watcher from a queue. I can not remove the group as a member of another group or remove the watcher. I am also getting the error "Unable to revoke delegated rights for principal" when trying to remove one group out of another. Any help will be appreciated. Regards, Jason Maderios From: Jason Maderios Sent: Friday, October 29, 2010 10:24 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] Problem removing group members from groups. All, I am getting the following error: [Fri Oct 29 19:14:21 2010] [warning]: Unable to revoke delegated rights for principal 30073 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) When trying to remove a group as a member from another group. The goal of this is to remove the group from admincc. In RT/Admin/Edit the Group MTA I am unable to remove a Group that is a member of this group. The GUI error is "Member not deleted" The error log error is listed above. I have checked all group and queue permissions and they are all set to "No Value" There are no visible relation ships between the 2 queues. Any thoughts? Jason Maderios
Re: [rt-users] Problem removing group members from groups.
All, I am still having an issue removing a a watcher from a queue. I can not remove the group as a member of another group or remove the watcher. I am also getting the error "Unable to revoke delegated rights for principal" when trying to remove one group out of another. Any help will be appreciated. Regards, Jason Maderios From: Jason Maderios Sent: Friday, October 29, 2010 10:24 AM To: rt-users@lists.bestpractical.com Subject: [rt-users] Problem removing group members from groups. All, I am getting the following error: [Fri Oct 29 19:14:21 2010] [warning]: Unable to revoke delegated rights for principal 30073 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) When trying to remove a group as a member from another group. The goal of this is to remove the group from admincc. In RT/Admin/Edit the Group MTA I am unable to remove a Group that is a member of this group. The GUI error is "Member not deleted" The error log error is listed above. I have checked all group and queue permissions and they are all set to "No Value" There are no visible relation ships between the 2 queues. Any thoughts? Jason Maderios
[rt-users] Problem removing group members from groups.
All, I am getting the following error: [Fri Oct 29 19:14:21 2010] [warning]: Unable to revoke delegated rights for principal 30073 (/opt/rt3/bin/../lib/RT/GroupMember_Overlay.pm:342) When trying to remove a group as a member from another group. The goal of this is to remove the group from admincc. In RT/Admin/Edit the Group MTA I am unable to remove a Group that is a member of this group. The GUI error is "Member not deleted" The error log error is listed above. I have checked all group and queue permissions and they are all set to "No Value" There are no visible relation ships between the 2 queues. Any thoughts? Jason Maderios
[rt-users] Not changing LastUpdated with RT::Client::REST
All, Anyone know of a way to have edit's done with RT::Client::REST to not refresh LastUpdated? I would like the updated to be listed in History but not have it toggle the tickets LastUpdated time stamp. The tool I have written runs via cron and changes ticket priorities and sends reports via email based on certain ticket values. If it is easily doable I would like it to not update LastUpdated. Regards, Jason Maderios
[rt-users] Putting things into $rt/local/html
Does anyone know what is needed to be done to put pdf or other file types into local/html directories and be able to surf to them? Right now placing anything other than an html file results in: '<%' without matching '%>' at /opt/rt3/local/html/CustLtr/4183_ltr.pdf line 335 When you try to navigate to it. Regards, Jason Maderios RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
[rt-users] Adding files to /opt/rt3/local/html/CustLtr
I have written a scrip that creates a PDF and places it in /opt/rt3/local/html/CustLtr/{ticnum}ltr.pdf My intent was to create a custom field and place a link to this file and have it clickable. The problem I am running into is when I click the link I get the following: '<%' without matching '%>' at /opt/rt3/local/html/CustLtr/4183_ltr.pdf line 335I have tried editing /etc/httpd/conf.d/rt-ssl.confby adding:SetHandler defaultI would much rather have it work through RT auth instead of bypassing - But the matter is moot since that isn't working either.The question is how do I get Mason to do the right thing and handle PDF's or any other association I want to put in those directories? tia,Jason Maderios RT Training in Washington DC, USA on Oct 25 & 26 2010 Last one this year -- Learn how to get the most out of RT!
Re: [rt-users] RT 3.8.8 - Can a superuser reset a users password?
RT 3.8.8 - Can a superuser reset a users password?Yes this got me too. Supply the admin password From: Foggi, Nicola Sent: Friday, July 09, 2010 6:22 PM To: rt-users@lists.bestpractical.com Subject: [rt-users] RT 3.8.8 - Can a superuser reset a users password? Hey Everyone, So under 3.8.8 you need to know the old password for the user. If a user forgets the password, and an admin needs to reset it, it appears the admin has to also know the old password (as when i left it blank it told me to enter my current password). Maybe i'm missing something simple? Nicola Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Scrip to attach a file to the ticket.
Anyone have an example of how to add an attachment to a ticket via a scrip? The file is on the local file system to RT. The use is to attach a PDF letter to the ticket in certain circumstances. Another use is to attach a circuit design drawing... tia- Jason Maderios Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] WARNING yum update CentOS 5.5 & RT 3.8.8
All, I recently performed a yum update and it broke RT. httpd Error log barked about MIME::Tools unable to load a version of File::Test The real cause was an update to Scalar::Util Fix: Download Scalar::Util and perl Makefile.pl - make install ... Jason Maderios Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Help and Ideas needed for a special setup
What about putting a file in rt3/local. Have the scrip read the file pick the user ID first in the list. Write the list back out to the file putting the chosen person last. You could write the tool to skip a person with a comment in front of their ID - So if someone was off or for whatever reason you could not put them in "line". Use a simple CGI frontend to edit the page so that group could turn on and off people as they needed to so it does not become an admin nightmare. The same thing could be done in a table in the database instead of a file... Jason Maderios From: Todd Chapman Sent: Thursday, June 24, 2010 9:41 PM To: Torsten Brumm Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Help and Ideas needed for a special setup A scrip could check who owns the last ticket and give the new ticket to the next person in the list of possible owners. Sent from my iPhone On Jun 25, 2010, at 12:39 AM, Torsten Brumm wrote: Hi, today i got a request from a department, they need the following Setup: 1. Queue 2. 10 possible Ticket Owners They like to have the ticket given to the owners automatically by a round robin mechanism. I have no idea at the moment how to do this. Any hints or ideas? Thanks Torsten -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Setting LastUpdatedBy in a scrip
I tried that my ( $st, $msg ) = $self->TicketObj->SetSubject ("\($cftype - $cfphone\) $csubj", RecordTransaction => 0 ); But I still get: Sat Jun 19 11:57:25 2010 The RT System itself - Subject changed from (no value) to '( DSL- 5551212) ' For some reason the transaction still shows up From: Torsten Brumm Sent: Saturday, June 19, 2010 11:07 AM To: Jason Maderios Cc: rt-users@lists.bestpractical.com Subject: Re: [rt-users] Setting LastUpdatedBy in a scrip I have no idea about your scrip, but in most cases you can use RecordTransaction=0 (search the wiki for correct syntax) Torsten 2010/6/19 Jason Maderios All, I have scrips that update information in custom fields on each transaction on a ticket. The scrips work great however they always set LastUpdatedBy to RT_System. How can I set the LastUpdatedBy to the actual user working the ticket at the end of the scrip? Regards, Jason Maderios Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- MFG Torsten Brumm http://www.brumm.me http://www.elektrofeld.de Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Setting LastUpdatedBy in a scrip
All, I have scrips that update information in custom fields on each transaction on a ticket. The scrips work great however they always set LastUpdatedBy to RT_System. How can I set the LastUpdatedBy to the actual user working the ticket at the end of the scrip? Regards, Jason Maderios Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT email time
Juan, I believe that is correct behavior - Have you set the TZ in RT_Siteconfig? Example: Set($Timezone , 'America/Anchorage') Regards, Jason Maderios From: Juan N. DLC Sent: Thursday, June 03, 2010 5:48 AM To: RT-Users@lists.bestpractical.com Subject: Re: [rt-users] RT email time Jason, I have my system setup like it should for my area, even installed webmin to set the system clock and the hardware clock the same to see if that works and nothing. The problem is MySQL that is using UTC time instead AST like I want to. But thanks for the information you posted. On Wed, Jun 2, 2010 at 10:02 PM, Juan N. DLC wrote: Jason, Thank you for the input I will try this and give update later. On Wed, Jun 2, 2010 at 5:07 PM, Jason Maderios wrote: Juan, Time is a pain - Generally I do the following and it works well. 1. Set system clock to UTC 2. Set the correct timezone in the OS 3. Setup and run ntpd 4. Set the default Timezone according to RT Docs. In CentOS / RH world this is accomplished by running the setup utility. Ubuuntu search led me to : https://help.ubuntu.com/community/UbuntuTime I scanned the doc and it covers steps 1 to 3. Regards, Jason Maderios From: Juan N. DLC Sent: Wednesday, June 02, 2010 12:39 PM To: RT-Users@lists.bestpractical.com Subject: Re: [rt-users] RT email time I'm using postfix from box and relay with domain ms-exchange server. i did a sendmail test to my email and checked the Internet headers from email: for ; Wed, 2 Jun 2010 18:30:53 -0400 Received: by SRTHR31.xxx.com (Postfix, from userid 1001) id D227D48318; Thu, 3 Jun 2010 00:35:50 +0400 (AST) subject: time test Message-Id: <20100602203550.d227d48...@srthr31.xxx.com> Date: Thu, 3 Jun 2010 00:35:45 +0400 (AST) From: we...@xxx.com (weoms) To: undisclosed-recipients:; Return-Path: we...@xxx.com X-OriginalArrivalTime: 02 Jun 2010 20:35:56. (UTC) FILETIME=[33A39E00:01CB0293] On Wed, Jun 2, 2010 at 4:27 PM, Stefan Hornburg (Racke) wrote: On 06/02/2010 10:17 PM, Juan N. DLC wrote: Racke, we...@srthr31:~$ /bin/date +%Z AST That should be the correct timezone for Puerto Rico (GMT - 4). Do you have the same problem sending email for the command line (e.g. with mail from bds-mailx package)? Which email server are you using? Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT email time
Juan, Time is a pain - Generally I do the following and it works well. 1. Set system clock to UTC 2. Set the correct timezone in the OS 3. Setup and run ntpd 4. Set the default Timezone according to RT Docs. In CentOS / RH world this is accomplished by running the setup utility. Ubuuntu search led me to : https://help.ubuntu.com/community/UbuntuTime I scanned the doc and it covers steps 1 to 3. Regards, Jason Maderios From: Juan N. DLC Sent: Wednesday, June 02, 2010 12:39 PM To: RT-Users@lists.bestpractical.com Subject: Re: [rt-users] RT email time I'm using postfix from box and relay with domain ms-exchange server. i did a sendmail test to my email and checked the Internet headers from email: for ; Wed, 2 Jun 2010 18:30:53 -0400 Received: by SRTHR31.xxx.com (Postfix, from userid 1001) id D227D48318; Thu, 3 Jun 2010 00:35:50 +0400 (AST) subject: time test Message-Id: <20100602203550.d227d48...@srthr31.xxx.com> Date: Thu, 3 Jun 2010 00:35:45 +0400 (AST) From: we...@xxx.com (weoms) To: undisclosed-recipients:; Return-Path: we...@xxx.com X-OriginalArrivalTime: 02 Jun 2010 20:35:56. (UTC) FILETIME=[33A39E00:01CB0293] On Wed, Jun 2, 2010 at 4:27 PM, Stefan Hornburg (Racke) wrote: On 06/02/2010 10:17 PM, Juan N. DLC wrote: Racke, we...@srthr31:~$ /bin/date +%Z AST That should be the correct timezone for Puerto Rico (GMT - 4). Do you have the same problem sending email for the command line (e.g. with mail from bds-mailx package)? Which email server are you using? Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] example.com appearing in the headers of email.
Found it - Page 22&23 Set($Organization, "value"); What is the impact of changing this 3 weeks into deployment? Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Scrip silent update problem
All, I have a scrip that updates the subj line. I do not want this change noted in history. I am using RecordTransaction 0 in other scrips and they are working fine. Just not in this one. Any thoughts? --- Truncated Custom Action cleanup code -- my $csubj = $self->TicketObj->Subject; $csubj =~ s/^\(.*\)//; my ( $st, $msg ) = $self->TicketObj->SetSubject ("\($cftype - $cfphone\) $csubj", RecordTransaction => 0); unless ( $st ) { $RT::Logger->error("Coudln't change Subj: $msg"); return 0; } --- Truncated -- Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] example.com appearing in the headers of email.
We bought 4 copies for out organization. I will look again for what may be the cause. -- From: "Kevin Falcone" Sent: Wednesday, May 26, 2010 7:25 AM To: Subject: Re: [rt-users] example.com appearing in the headers of email. Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] example.com appearing in the headers of email.
All, I have Set( $rtname, 'my.domain.net'); in RT_Siteconfig. Email works fine to and from however if you show headers two tags: References: Message-ID: rt-3.8.8-19595-1274820490-1596.301-...@example.com are being set to example.com Anyone know how to fix this? Regards, Jason Maderios KPU Telecom Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com