Re: [rt-users] REALLY Confused about RT Extension ExternalAuth and LDAP

2009-11-17 Thread Matthew Seaman
Ken Crocker wrote: To list, I'm not an internals/Unix Admin or tech. I've been the Admin for User Support for our RT 3.6.4 installation. We successfully use LDAP Authentication. I've just been given the responsibility to install 3.8.6 in VM (RHEL 5.3). I have some Unix help. However, I

Re: [rt-users] error on preferences page after upgrading from 3.8.5 to 3.8.6

2009-11-17 Thread Emmanuel Lacour
On Tue, Nov 17, 2009 at 12:32:09AM -0500, slamp slamp wrote: Error on preferences page: Can't locate object method date_format_full via package DateTime::Locale::en at /opt/rt3/bin/../lib/RT/Date.pm line 659. Error in the error_log: FastCGI: server /opt/rt3/bin/mason_handler.fcgi

[rt-users] DueDateInBusinessHours not working

2009-11-17 Thread Tony John , Bangalore
Hi Folks, Please find below the scrip and error log file which I got while executing the scrip: Description: Business Hours Condition: On Create Action: User Defined Template: Global template: Blank Stage: TransactionCreate Custom condition: Custom action preparation code: return

[rt-users] Update Ticket takes too long

2009-11-17 Thread Rui Vitor Figueiras Meireles
Hi. I finally have my RT installation configured and in production. For now everything seems to be ok, but it takes too long (about 10 seconds) whenever someones updates a ticket in the web interface (send a reply or a comment). This happens even without adding an attachment. However, all

[rt-users] Problems configuring fetchmail/rt-mailgate

2009-11-17 Thread colin4pm
Hi, RT was set up at my workplace, but not really used. I am trying to re-configure it for use now. I'm not familiar with RT. Basically, I'm just trying to set up an email address, to which emails can be sent, and for those emails to show up in RT as tickets. I've set up a new email address in

Re: [rt-users] DueDateInBusinessHours not working

2009-11-17 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi Tony, have you installed the the CPAN Module BUSINESS::HOURS ?? I think copy this to RT folder is not the correct way. Normally: perl -MCPAN -e 'install Business::Hours' should fix your problem Torsten Kuehne + Nagel (AG Co.) KG, Geschaeftsleitung: Hans-Georg Brinkmann (Vors.), Dirk

[rt-users] Filter mails from outside my own domain

2009-11-17 Thread Matias
Hi, I have a new RT installation (latest version) and I need to NOT autoreply mails coming from outside my domain, lets say @example.com. So, any internal user sending a mail to helpd...@example.com should get an autoreply and any user sending a mail from anything else should get nothing.

[rt-users] How to get TicketObj from a Ticket ID

2009-11-17 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi, i'm now searching since some hours how to get the TicketObj from a given Ticket ID. Normally from within a scrip i go this way: $self-TicketObj and i can work with all the Information (like $self-TicketObj-Status etc) Now i have only i Ticket ID stored in a variable and i'm searching a way

Re: [rt-users] binary attachment corrupted when RT mails them out

2009-11-17 Thread Mauricio Tavares
Here is an update in my sending corrupt attachments issue: o We got a 3MB test image and made a 600K and a 1.6G version of it. The 600K went fine but the 1.4G one got corrupted all the time. o So, we wrote a wrapper to make a copy of the email that is being sent from RT to the mail

Re: [rt-users] How to get TicketObj from a Ticket ID

2009-11-17 Thread Matt Zagrabelny
On Tue, 2009-11-17 at 15:33 +0100, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: Hi, i'm now searching since some hours how to get the TicketObj from a given Ticket ID. Normally from within a scrip i go this way: $self-TicketObj and i can work with all the Information (like

Re: [rt-users] How to get TicketObj from a Ticket ID

2009-11-17 Thread Jason A. Smith
On Tue, 2009-11-17 at 15:33 +0100, Brumm, Torsten / Kuehne + Nagel / Ham MI-ID wrote: Hi, i'm now searching since some hours how to get the TicketObj from a given Ticket ID. Normally from within a scrip i go this way: $self-TicketObj and i can work with all the Information (like

Re: [rt-users] How to get TicketObj from a Ticket ID

2009-11-17 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi Matt Jason, thanks for your support, but i cant get this running. I have tried both methods and both wont work. Here my Action Code: my $DepOnBy = $self-TicketObj-DependedOnBy; while( my $dep = $DepOnBy-Next ) { next unless( $dep-BaseURI-IsLocal ); my $orig = $dep-BaseObj-Id; my

[rt-users] Shredding users

2009-11-17 Thread G.Booth
Hi Got a quick query regarding the shredder. Im trying to move a users cases to a different user and then shred the first user, using: rt-shredder --plugin Users=name,user;status,any;replace_relations,user-old This does everything I want except it still shreds the tickets, whereas I only

Re: [rt-users] Question about changing the look and feel of RT

2009-11-17 Thread chris . p . canipe
Jake, Here's how I've changed the background: I copied /usr/local/rt3/share/html/NoAuth/css/web2/layout.css to /usr/local/rt3/local/html/NoAuth/css/web2/layout.css, commented out background: under body and created a new background entry: background: #8B; Chris elsif j...@elsif.net

Re: [rt-users] How to get TicketObj from a Ticket ID

2009-11-17 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Finally i got the error. outsite the while loop the $orig variable does not exsist. Thanks to all for the help. Torsten -Ursprüngliche Nachricht- Von: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] Im Auftrag von Brumm,Torsten / Kuehne +

Re: [rt-users] Shredding users

2009-11-17 Thread G.Booth
I guess your best bet would be to change the owner of the tickets first before running the shredder tool? Andy Hi Andy Id like to change the histroy in the ticket so user becomes user-old throughout, sadly changing the ticket owner doesnt do this :-[ regards Garry ps I tested this on

Re: [rt-users] Shredding users

2009-11-17 Thread Andy Millar
On Tue, 2009-11-17 at 15:05 +, G.Booth wrote: This does everything I want except it still shreds the tickets, whereas I only wanted to get rid of the original user account and preserver the tickets with another user. Does anybody know if theres a way to do this through the shredder

Re: [rt-users] Shredding users

2009-11-17 Thread Andy Millar
On Tue, 2009-11-17 at 15:50 +, G.Booth wrote: Id like to change the histroy in the ticket so user becomes user-old throughout, sadly changing the ticket owner doesnt do this :-[ Then I suspect shredder is the wrong tool. Have you considered just renaming all the users using the RT API?

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6

2009-11-17 Thread Barron, Josh
Hi Tom, There is only one my.cnf and it doesn't contain those sections with that line. From what I can determine mysql is set to listen to any address. When I forced a localhost connection, I was able to connect as both root and rt_user. -Josh -Original Message- From: Tom Lahti

[rt-users] Alternate email addresses for user accounts

2009-11-17 Thread Matt Adams
Folks: Is there any way to have alternate email addresses per user account? I read something about this on the wiki wish lists but couldn't find any more current information about it. We have staff members who may use more than one email address. Our LDAP tree, by which we are

Re: [rt-users] Alternate email addresses for user accounts

2009-11-17 Thread Matt Adams
Matt Adams wrote: We have staff members who may use more than one email address. Our LDAP tree, by which we are authenticating, already knows about these email addresses. For the sake of clarification, I'd even be good with a solution that didn't involve LDAP. -- Matt Adams Development

Re: [rt-users] Update Ticket takes too long

2009-11-17 Thread Ken Crocker
Rui, It could be a lot of things. For example, you could have a lng list of requestors and RT is trying to notify ALL of them. Could be you have a lot of watchers and a scrip that notify's them on everything. It takes any application much longer to perform I/O with other systems (like

[rt-users] RTx::WorkFlowBuilder Depends On Question

2009-11-17 Thread Foggi, Nicola
Hey Everyone, I'm working on setting up RTx::WorkFlowBuilder, I have the following in my RT_SiteConfig: Set($WorkflowBuilderStages, { 'approver1-approval' = { content = 'content', subject = 'Architect Approval for Request: {$Approving-Id} -

Re: [rt-users] Update Ticket takes too long

2009-11-17 Thread Rui Vitor Figueiras Meireles
Thank you. I believe it was a DNS problem. I have a scrip to send e-mail notifications to all members of a certain group whenever a new ticket is posted in a certain queue. However, there was only 1 member in that group! The process of sending the e-mail was taking too long probably because

[rt-users] Create Ticket Links via Scrip

2009-11-17 Thread Brumm, Torsten / Kuehne + Nagel / Ham MI-ID
Hi, another (hopefully) tiny problem. I'm trying to add a ticket link via scrip to a ticket. the link should be of Type Members (Creating a child link to an existing ticket) My Idea: $self-TicketObj-AddLink(Type='Members',Target=ID_OF_CHILD); but this is not working. I have tried with success

[rt-users] Error :is no longer a value for custom field

2009-11-17 Thread Tony John , Bangalore
Hi , Im trying to update a customfiled value using a scrip but evrytime I does it I gets this error is no longer a value for custom field value .Any help? Regards, Tony John DISCLAIMER:

Re: [rt-users] Shredding users

2009-11-17 Thread G.Booth
On Tue, 17 Nov 2009 08:30:49 -0800 Ken Crocker kfcroc...@lbl.gov wrote: G.Booth, You could also use the SQL native to your DataBase and do it manually. However, keep in mind that it is a RISKY business. You must be sure that whatever UserID you change the info to REALLY exists, or your

Re: [rt-users] Error :is no longer a value for custom field

2009-11-17 Thread Ken Crocker
Tony, A couple of questions first: 1) Does the Custom Field have Categories? 2) Does the Custom Field actually get updated with that value, regardless of error message? 3) what does your scrip code look like? I can't offer suggestions to code I cannot see. Kenn LBNL On 11/17/2009 9:52 AM,

[rt-users] Error while updating a custom filed value using scrip

2009-11-17 Thread Tony John , Bangalore
Hi , Im trying to update a customfiled value using a scrip but evrytime I does it I gets this error is no longer a value for custom field value .Any help? Regards, Tony John DISCLAIMER:

Re: [rt-users] Shredding users

2009-11-17 Thread Ken Crocker
G.Booth, Yep, that seems odd. I've done most of my changes to the USERS Table manually in the past. WAY too intense! I'm hoping to move over to shredder with the 3.8.6 version we're about to test. Kenn LBNL On 11/17/2009 9:56 AM, G.Booth wrote: On Tue, 17 Nov 2009 08:30:49 -0800 Ken

Re: [rt-users] Error :is no longer a value for custom field

2009-11-17 Thread Tony John , Bangalore
Hi, 1.Custom field is set as Select a value 2. Below mentioned is the history of actions Tue Nov 17 12:35:38 2009 Rukmangb - Deal Id 111 added # Tue Nov 17 12:35:38 2009 Rukmangb - Brand 111 added # Tue Nov 17 12:35:39 2009 RT_System - CI Ticket State CI New changed to CI Entry

Re: [rt-users] Error :is no longer a value for custom field

2009-11-17 Thread Ken Crocker
Tony, It looks like you're doing this on any create or modify transaction. So I'll assume you're happy with your condition. This is the way I would write the action: Custom Prep Code: # Set base values my $ticket = $self-TicketObj; my $cf_obj = RT::CustomField-new($RT::SystemUser); my

[rt-users] msmtp and Broken pipe

2009-11-17 Thread Mauricio Tavares
Since it seems that ssmtp cannot handle the emails with the attachments we were sending, I decided to give msmtp a try. So, I set it up following the wiki at http://wiki.bestpractical.com/view/msmtp and sent a test email. In /var/lo/syslog I got: Nov 17 15:06:08 tickets RT: About to commit

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6

2009-11-17 Thread Tom Lahti
Hi Tom, There is only one my.cnf and it doesn't contain those sections with that line. From what I can determine mysql is set to listen to any address. When I forced a localhost connection, I was able to connect as both root and rt_user. -Josh Huh. So you did: mysql -h localhost -u

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Tom Lahti
[Tue Nov 17 16:24:02 2009] [error] [client 216.222.31.30] Could not create '/opt/rt3/var/mason_data/obj/.__obj_create_marker': Permission denied\nStack:\n You need to look specifically at the permissions on /opt/rt3/var/mason_data/obj and verify that the user the web server runs as can write

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Barron, Josh
Thanks Tom, Looks like the permissions are set correctly: [r...@help01 rt3]# ls -l /opt/rt3/var/mason_data/ total 24 drwxrwxrwx 2 apache apache 4096 Oct 30 15:51 cache drwxrwxrwx 2 apache apache 4096 Oct 30 15:51 etc drwxrwxrwx 2 apache apache 4096 Nov 17 13:33 obj [r...@help01 rt3]# getfacl

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Tom Lahti
[Tue Nov 17 16:24:02 2009] [error] [client 216.222.31.30] Could not create '/opt/rt3/var/mason_data/obj/.__obj_create_marker': Permission Does the *file* .__obj_create_marker already exist in that location, with some un-overwritable permissions perhaps? Or perhaps its in use? lsof | grep

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Barron, Josh
That file does not exist in the new RT directory, nor is any file by that name in use anywhere from what I can see. I'm really baffled by this. -Josh -Original Message- From: Tom Lahti [mailto:t...@bitstatement.net] Sent: Tuesday, November 17, 2009 3:52 PM To: Barron, Josh Cc:

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE: mason_data directory

2009-11-17 Thread Stuart Browne
-Original Message- From: Barron, Josh That file does not exist in the new RT directory, nor is any file by that name in use anywhere from what I can see. I'm really baffled by this. SELinux isn't turned on by any chance is it? getenforce ausearch -m avc -ts today

Re: [rt-users] RT Upgrade failing from 3.6.6 to 3.8.6 UPDATE:mason_data directory

2009-11-17 Thread Barron, Josh
Looks like it is on: [r...@help01 jbarron]# /usr/sbin/getenforce Enforcing [r...@help01 jbarron]# /sbin/ausearch -m avc -ts today no matches -Original Message- From: Stuart Browne [mailto:stuart.bro...@ausregistry.com.au] Sent: Tuesday, November 17, 2009 6:04 PM To: Barron, Josh;