From asallade at PTSOWA.ORG Tue Apr 1 00:24:37 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Mon, 31 Mar 2008 21:24:37 -0700 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <589c94400803312028w7097de9do9ad7296b3306cd41@mail.gmail.com> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <589c94400803312028w7097de9do9ad7296b3306cd41@mail.gmail.com> Message-ID: <33DEE66ED2E72346ABC638427A7701404BEFAD@PTSOEXCHANGE.PTSOWA.ORG> I tried to create a new page on the wiki, but got an apache error :( If anyone else would like to give it a go, feel free. This is a mod to the RT/Action/EscalatePriority.pm It will escalate priority towards Start Date instead of Due Date. Tickets with no Start Date will increase in Priority by 1 per day. Tickets that reach Final Priority will continue to increase by 1 per day. # BEGIN BPS TAGGED BLOCK {{{ # # COPYRIGHT: # # This software is Copyright (c) 1996-2007 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) # # # LICENSE: # # This work is made available to you under the terms of Version 2 of # the GNU General Public License. A copy of that license should have # been provided with this software, but in any event can be snarfed # from www.gnu.org. # # This work is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301 or visit their web page on the internet at # http://www.gnu.org/copyleft/gpl.html. # # # CONTRIBUTION SUBMISSION POLICY: # # (The following paragraph is not intended to limit the rights granted # to you to modify and distribute this software under the terms of # the GNU General Public License and is only of importance to you if # you choose to contribute your changes and enhancements to the # community by submitting them to Best Practical Solutions, LLC.) # # By intentionally submitting any modifications, corrections or # derivatives to this work, or any other work intended for use with # Request Tracker, to Best Practical Solutions, LLC, you confirm that # you are the copyright holder for those contributions and you grant # Best Practical Solutions, LLC a nonexclusive, worldwide, irrevocable, # royalty-free, perpetual, license to use, copy, create derivative # works based on those contributions, and sublicense and distribute # those contributions and any derivatives thereof. # # END BPS TAGGED BLOCK }}} =head1 NAME RT::Action::EscalatePriority =head1 DESCRIPTION EscalatePriority is a ScripAction which is NOT intended to be called per transaction. It's intended to be called by an RT escalation tool. One such tool is called rt-crontool and is located in $RTHOME/bin (see C for more details) EsclatePriority uses the following formula to change a ticket's priority: Priority = Priority + (( FinalPriority - Priority ) / ( DueDate-Today)) Unless the duedate is past, in which case priority gets bumped straight to final priority. In this way, priority is either increased or decreased toward the final priority as the ticket heads toward its due date. =cut package RT::Action::EscalatePriority; require RT::Action::Generic; use strict; use vars qw/@ISA/; @ISA=qw(RT::Action::Generic); #Do what we need to do and send it out. #What does this type of Action does # {{{ sub Describe sub Describe { my $self = shift; return (ref $self . " will move a ticket's priority toward its final priority."); } # }}} # {{{ sub Prepare sub Prepare { my $self = shift; if ($self->TicketObj->Priority() == $self->TicketObj->FinalPriority()) { # no update necessary. $self->{'prio'} = ($self->TicketObj->Priority + 1); return 1; } elsif ($self->TicketObj->Priority() > $self->TicketObj->FinalPriority()) { # no update necessary. $self->{'prio'} = ($self->TicketObj->Priority + 1); return 1; } #compute the number of days until the ticket is due my $due = $self->TicketObj->StartsObj(); # If we don't have a due date, adjust the priority by one # until we hit the final priority if ($due->Unix() < 1) { if ( $self->TicketObj->Priority > $self->TicketObj->FinalPriority ){ $self->{'prio'} = ($self->TicketObj->Priority + 1); return 1; } elsif ( $self->TicketObj->Priority < $self->TicketObj->FinalPriority ){ $self->{'prio'} = ($self->TicketObj->Priority + 1); return 1; } # otherwise the priority is at the final priority. we don't need to # Continue else { $self->{'prio'} = ($self->TicketObj->Priority + 1); return 1; } } # we've got a due date. now there are other things we should do else { my $diff_in_seconds = $due->Diff(time()); my $diff_in_days = int( $diff_in_seconds / 86400); #if we haven't hit the due date yet if ($diff_in_days > 0 ) { # compute the difference between the current priority and the # final priority my $prio_delta = $self->TicketObj->FinalPriority() - $self->TicketObj->Priority; my $inc_priority_by = int( $prio_delta / $diff_in_days ); #set the ticket's priority to that amount $self->{'prio'} = $self->TicketObj->Priority + $inc_priority_by; } #if $days is less than 1, set priority to final_priority else { $self->{'prio'} = $self->TicketObj->FinalPriority(); } } return 1; } # }}} sub Commit { my $self = shift; my ($val, $msg) = $self->TicketObj->SetPriority($self->{'prio'}); unless ($val) { $RT::Logger->debug($self . " $msg\n"); } } eval "require RT::Action::EscalatePriority_Vendor"; die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/EscalatePriority_Vendor.pm}); eval "require RT::Action::EscalatePriority_Local"; die $@ if ($@ && $@ !~ qr{^Can't locate RT/Action/EscalatePriority_Local.pm}); 1; _____ _____ Aaron Sallade' -----Original Message----- From: Ruslan Zakirov [mailto:ruz at bestpractical.com] Sent: Monday, March 31, 2008 8:29 PM To: Aaron Sallade Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Enhancements and workflows that we have added On Tue, Apr 1, 2008 at 3:54 AM, Aaron Sallade wrote: > Just in case these are of interest to anyone else- > [snip] > Altered Priority and Aging. We modified aging so that it ages towards > Starts instead of Due. We also made it so that priority will increase by > 1 for each day past the start date until it is resolved. Tickets with no > start date age with a priority increase of 1 per day. Several days ago I've update RT::Action::LinearEscalate [1] you should look at it and may be port changes into it and send us patches. This will be part of the RT 3.8.0 [snip] > > -Aaron [1] http://search.cpan.org/~ruz/RT-Action-LinearEscalate-0.06/lib/RT/Action/ LinearEscalate.pm -- Best regards, Ruslan. From stephen.a.cochran.lists at cahir.net Tue Apr 1 03:06:41 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Tue, 1 Apr 2008 03:06:41 -0400 Subject: [rt-users] ConvertMultiSelectToCheckboxes Message-ID: <26ECF0E3-6660-42C8-8FAF-79DDA802DCD1@cahir.net> Is anyone using this? The wiki page is fairly minimal and it didn't seem to have any effect, though I'm not sure if scriptactulous is required. Thanks, Steve From torsten.brumm at Kuehne-Nagel.com Tue Apr 1 07:23:02 2008 From: torsten.brumm at Kuehne-Nagel.com (Ham MI-ID, Torsten Brumm) Date: Tue, 1 Apr 2008 13:23:02 +0200 Subject: [rt-users] 500 Internal Server Error In-Reply-To: <183244a40803311312r40615f53m76d554eb24612ba2@mail.gmail.com> References: <183244a40803311312r40615f53m76d554eb24612ba2@mail.gmail.com> Message-ID: <16426EA38D57E74CB1DE5A6AE1DB03940116A7DE@w3hamboex11.ger.win.int.kn> At the beginning of the logfile, you must have some more detailed information, try restart and check for permission problems! Torsten K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: Klaus-Michael K?hne ________________________________ Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von joseph blase Gesendet: Montag, 31. M?rz 2008 22:12 An: rt-users at lists.bestpractical.com Betreff: [rt-users] 500 Internal Server Error Hi list, We had our RT systems working for quite sometimes until recently we notice that if we access it's Ticket button it's being redirected(if it's the right term) to https://helpdesk.domain.com/Search/Build.html and throw out this "500 Internal Server Error" and error logs contain as follow: [Mon Mar 31 05:29:34 2008] [error] [client 10.110.18.5] FastCGI: comm with server "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi" aborted: idle timeout (30 sec), referer: https://helpdesk.domain.com/ [Mon Mar 31 05:29:34 2008] [error] [client 10.110.18.5] FastCGI: incomplete headers (0 bytes) received from server "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi", referer: https://helpdesk.domain.com/ [Mon Mar 31 05:34:59 2008] [error] [client 10.110.18.5] FastCGI: comm with server "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi" aborted: idle timeout (30 sec), referer: https://helpdesk.domain.com/ [Mon Mar 31 05:34:59 2008] [error] [client 10.110.18.5] FastCGI: incomplete headers (0 bytes) received from server "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi", referer: https://helpdesk.domain.com/ Although there's some listing coming on on google search for same error,there's no concrete answer so might as well try my luck here. We're using: RT 3.6.1 on Apache/2.2.3 (Debian 4.0) mod_fastcgi/2.4.2 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server Thanks in advance, joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: From cmsilva at mobicomp.com Tue Apr 1 05:53:05 2008 From: cmsilva at mobicomp.com (Carlos Silva) Date: Tue, 01 Apr 2008 10:53:05 +0100 Subject: [rt-users] Defining custom attributes Message-ID: <47F20601.40405@mobicomp.com> I am trying to define a custom attribute for queues, but I can't find what I'm doing wrong, maybe some of you can help me. Here's my code: my $at = RT::Attributes->NewItem($session{'CurrentUser'}); $at->Create(ObjectType => "RT::Queue", ObjectId => $QueueObj->Id, Name => "Etc", Description => "Etc", Content => "Etc"); The requests fail with "Can't use string ("RT::Attributes") as a HASH ref while "strict refs" in use". Thank you for your time. Regards, Carlos Silva From todd at chaka.net Tue Apr 1 08:33:37 2008 From: todd at chaka.net (Todd Chapman) Date: Tue, 1 Apr 2008 08:33:37 -0400 Subject: [rt-users] Defining custom attributes In-Reply-To: <47F20601.40405@mobicomp.com> References: <47F20601.40405@mobicomp.com> Message-ID: <519782dc0804010533g206afed3l89b9702eef12ee64@mail.gmail.com> Too complex. Try: $QueueObj->AddAttribute( Name=> "Etc", Description => "Etc", Content => "Etc"); See RT::Record for more. On Tue, Apr 1, 2008 at 5:53 AM, Carlos Silva wrote: > I am trying to define a custom attribute for queues, but I can't find > what I'm doing wrong, maybe some of you can help me. > > Here's my code: > > my $at = RT::Attributes->NewItem($session{'CurrentUser'}); > $at->Create(ObjectType => "RT::Queue", ObjectId => $QueueObj->Id, Name > => "Etc", Description => "Etc", Content => "Etc"); > > The requests fail with "Can't use string ("RT::Attributes") as a HASH > ref while "strict refs" in use". > > Thank you for your time. > > Regards, > Carlos Silva > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Tue Apr 1 12:24:48 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 01 Apr 2008 09:24:48 -0700 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <47F261D0.3000103@lbl.gov> Aaron, We are VERY interested in what you have developed. Whether or not you post to the list, please send us what you have. It will be extremely appreciated. Also, do you have anything that increases the box size of a free-test CF?. Thanks in advance. Kenn LBNL On 3/31/2008 4:54 PM, Aaron Sallade wrote: > Just in case these are of interest to anyone else- > > Added a scrip and template that adds a reply to a DependedOnBy Parent > ticket when the child is resolved. Resolving a sub task (child) will add > a comment to the parent noting that the prerequisite is now complete, it > will also email the owner of the parent task. > > Set the Row count of custom fields by type and or customfield ID. In our > implementation, single select boxes have a row height of 1 (making them > a drop down box) and text areas have a row height of 6, and a specific > multi select is set to 7 so that no scrolling is needed to view its > options. > > Default values on custom fields. We modified the code so that the > "description" field in the custom field admin screen is used for the > default value of that custom field. This works regardless of the field > type, so for text, select boxes etc. > > Altered Priority and Aging. We modified aging so that it ages towards > Starts instead of Due. We also made it so that priority will increase by > 1 for each day past the start date until it is resolved. Tickets with no > start date age with a priority increase of 1 per day. > > We modified the "Timeline" module to use Start Date and Due Date as > opposed to Created and Resolved. This is more appropriate for project > management. We also added more verbose titles to the timeline items, > including ticket #'s. This creates a Project Management Gantt style > chart off of any search results where the tickets have at least a Starts > Date. > > Most of these are mods/hacks to the source code that we overlayed in the > /local folder. If anyone is interested in the details I will post them > to the list. > > -Aaron > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From JoopvandeWege at mococo.nl Tue Apr 1 13:11:33 2008 From: JoopvandeWege at mococo.nl (Joop van de Wege) Date: Tue, 01 Apr 2008 19:11:33 +0200 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <47F261D0.3000103@lbl.gov> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <47F261D0.3000103@lbl.gov> Message-ID: <47F26CC5.2070008@mococo.nl> Kenneth Crocker wrote: > Aaron, > > > We are VERY interested in what you have developed. Whether or not you > post to the list, please send us what you have. It will be extremely > appreciated. Also, do you have anything that increases the box size of a > free-test CF?. Thanks in advance. If you use Firefox there is an extension which does that, its called: Resizable Form Fields I don't have the url handy but googling for it or searching on the addon site of Firefox will turn it up. Joop From todd at chaka.net Tue Apr 1 13:36:43 2008 From: todd at chaka.net (Todd Chapman) Date: Tue, 1 Apr 2008 13:36:43 -0400 Subject: [rt-users] RT::Timeline error with 3.6.6 In-Reply-To: <33DEE66ED2E72346ABC638427A77014047A769@PTSOEXCHANGE.PTSOWA.ORG> References: <33DEE66ED2E72346ABC638427A77014047A769@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <519782dc0804011036s57123fd5y80a8f824557f3be7@mail.gmail.com> As Aaron stated in another thread, the answer was to install JSON and it's dependencies. On Fri, Mar 21, 2008 at 1:35 AM, Aaron Sallade wrote: > Does anyone have the RT::Timeline extension working with RT3.6.6? > > > > My CPAN Install went great, and the timeline UI renders, but it throws an > xml error and displays no data on the timeline. Any suggestions? > > > > Aaron > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Tue Apr 1 13:51:44 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 01 Apr 2008 10:51:44 -0700 Subject: [rt-users] A brief preview of what RT 3.8 is going to look like In-Reply-To: References: Message-ID: <47F27630.4040609@lbl.gov> Jesse, Other than the ability to change the "look", what are some of the other enhancements and features of 3.8.0? Kenn LBNL On 3/25/2008 4:31 PM, Jesse Vincent wrote: > http://fsck.com/~jesse/rt-3.8/ has screenshots of the new RT 3.8 theme > I've been working on over the past few days. > > Also, it's now much easier for you to create your own themes and styles > for RT. > > -jesse > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Tue Apr 1 14:07:41 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 01 Apr 2008 11:07:41 -0700 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <47F26CC5.2070008@mococo.nl> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <47F261D0.3000103@lbl.gov> <47F26CC5.2070008@mococo.nl> Message-ID: <47F279ED.1080301@lbl.gov> Joop, Thanks. I'll check that out. Kenn LBNL On 4/1/2008 10:11 AM, Joop van de Wege wrote: > Kenneth Crocker wrote: >> Aaron, >> >> >> We are VERY interested in what you have developed. Whether or not >> you post to the list, please send us what you have. It will be >> extremely appreciated. Also, do you have anything that increases the >> box size of a free-test CF?. Thanks in advance. > If you use Firefox there is an extension which does that, its called: > Resizable Form Fields > I don't have the url handy but googling for it or searching on the addon > site of Firefox will turn it up. > > Joop > From lgrella at acquiremedia.com Tue Apr 1 14:21:55 2008 From: lgrella at acquiremedia.com (lgrella) Date: Tue, 1 Apr 2008 11:21:55 -0700 (PDT) Subject: [rt-users] Problem with categories in custom fields In-Reply-To: <46F27A61.4000106@yahoo.com> References: <46A12DF2.4070700@ticketmaster.com> <46F02741.1050206@yahoo.com> <46F27A61.4000106@yahoo.com> Message-ID: <16420562.post@talk.nabble.com> Have you had any further input on this? I am experiencing the same thing in IE. Do you have a workaround? Thanks, Laura Mathew Snyder-3 wrote: > > Anyone have any input on this? > > Keep up with me and what I'm up to: http://theillien.blogspot.com > > > Mathew Snyder wrote: >> Chet Burgess wrote: >>> Greetings, >>> I had a user report a problem with categories in custom fields recently >>> that I have been unable to solve. I have looked through the wiki, the >>> bugs listed in rt, and the mailing lists and I have been unable to find >>> a solution to my problem. >>> >>> We have several custom fields that have been created as a type of >>> "Select one value", with a validation of "Mandatory". The problem is >>> that when a user creates a ticket, or updates an existing ticket, the >>> category that is associated with the name is not saved. As an example if >>> you created a custom filed with 2 values, each with a different name and >>> category, only the name is saved with the ticket. The category field >>> will be left as "-". >>> >>> This is causing a problem as some times we have the same name in >>> different categories (we have the same components within different >>> products and we use the custom fields to indicate which component and >>> product the ticket is for). >>> >>> I have been able to reproduce on both RT 3.6.1 which we run in >>> production and on RT 3.6.4 which we run in test. I have noticed that >>> when creating a new ticket in RT 3.6.4 with a custom field of this type >>> the following error is being logged. >>> >>> Jul 18 15:25:32 hostname RT: Use of uninitialized value in string eq at >>> /usr/local/rt/lib/RT/Record.pm line 1686. >>> (/usr/local/rt/lib/RT/Record.pm:1686) >>> >>> When updating an existing ticket the name value gets updated, but the >>> category does not get set and remains as just "-". The following message >>> appears in the "Results" section at the top of the page after clicking >>> "Save Changes" in both RT 3.6.1 and RT 3.6.4. >>> >>> User asked for an unknown update type for custom field >>> ChetTestSelectSingleValue for RT::Ticket object #6 >>> >>> As mentioned I have seen this problem in both RT 3.6.1 and RT 3.6.4. We >>> are running on RHEL 3 Update 8 with apache 1.3.31, Perl 5.8.4, mod_perl >>> 1.29, and mysql 4.0.18. >>> >>> Has anyone seen this before and/or know if there is something else I >>> need to do to enable this functionality? >>> >>> >> >> Did you ever get any input on this? I actually just ran into the same >> issue >> verified using both IE and Firefox on Windows and Linux. I have a couple >> other >> issues with it as well also on both 3.6.1 and 3.6.4. I'm running Fedora >> Core 5 >> and mysql 5.0.0.2 though. >> >> First, when using Firefox, selecting a category filters the second drop >> down >> (the one with the actual values) to just the values of that particular >> category >> (which I suspect to be the intended behaviour). However, in IE, this is >> not >> the case. Selecting the category does not run the filter on the second >> drop >> down. All categories and values are listed regardless of the category >> selected >> in the first drop down. >> >> Second, once a value has been assigned to a category, it is not possible >> to >> remove it by simply blanking out the category field. When testing this >> feature, >> I found that in order to remove the category from an item, I had to >> delete the >> item and then recreate it. After doing this, it would appear in the drop >> down >> list as not being associated with any category while all others which >> have not >> been changed still were. Attempting to simply set the category as blank >> resulted in it being repopulated with the category after hitting submit. >> >> Are there plans on fixing this with the next release? >> >> Mathew >> Keep up with me and what I'm up to: http://theillien.blogspot.com >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > -- View this message in context: http://www.nabble.com/Problem-with-categories-in-custom-fields-tp11716848p16420562.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From joseph.mailboxlist at gmail.com Tue Apr 1 14:22:45 2008 From: joseph.mailboxlist at gmail.com (joseph blase) Date: Wed, 2 Apr 2008 02:22:45 +0800 Subject: [rt-users] 500 Internal Server Error In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB03940116A7DE@w3hamboex11.ger.win.int.kn> References: <183244a40803311312r40615f53m76d554eb24612ba2@mail.gmail.com> <16426EA38D57E74CB1DE5A6AE1DB03940116A7DE@w3hamboex11.ger.win.int.kn> Message-ID: <183244a40804011122q253f6d5es8e5781febd4b8f93@mail.gmail.com> On Tue, Apr 1, 2008 at 7:23 PM, Ham MI-ID, Torsten Brumm < torsten.brumm at kuehne-nagel.com> wrote: > At the beginning of the logfile, you must have some more detailed > information, try restart and check for permission problems! > > Torsten > Hi Torsten, I restarted apache while tailing the logs but I doesn't spit out any error, what peculiar in our case though is it only give that 500 error code when you access the https://helpdesk.domain.com/Search/Build.html , that is after logging in selecting Tickets button. All the rest simple search/reply/update a ticket are working fine. Is there any timeout setting that I can change as what's this logs says? [Mon Mar 31 05:29:34 2008] [error] [client 10.110.18.5] FastCGI: comm with server "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi" aborted: idle timeout (30 sec), referer: https://helpdesk.domain.com/ Thanks for your time, --joseph > > K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann > (Vors.), Uwe Bielang (Stellv.), Dirk Blesius (Stellv.), Bruno Mang, Alfred > Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens > Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, > USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel > A.G., Sitz: Contern/Luxemburg, Gesch?ftsf?hrender Verwaltungsrat: > Klaus-Michael K?hne > > ------------------------------ > *Von:* rt-users-bounces at lists.bestpractical.com [mailto: > rt-users-bounces at lists.bestpractical.com] *Im Auftrag von *joseph blase > *Gesendet:* Montag, 31. M?rz 2008 22:12 > *An:* rt-users at lists.bestpractical.com > *Betreff:* [rt-users] 500 Internal Server Error > > Hi list, > > We had our RT systems working for quite sometimes until recently we notice > that if we access it's Ticket button it's being redirected(if it's the > right term) to https://helpdesk.domain.com/Search/Build.html and throw out > this "500 Internal Server Error" and error logs contain as follow: > > [Mon Mar 31 05:29:34 2008] [error] [client 10.110.18.5] FastCGI: comm with > server "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi" aborted: > idle timeout (30 sec), referer: https://helpdesk.domain.com/ > [Mon Mar 31 05:29:34 2008] [error] [client 10.110.18.5] FastCGI: > incomplete headers (0 bytes) received from server > "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi", referer: > https://helpdesk.domain.com/ > [Mon Mar 31 05:34:59 2008] [error] [client 10.110.18.5] FastCGI: comm with > server "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi" aborted: > idle timeout (30 sec), referer: https://helpdesk.domain.com/ > [Mon Mar 31 05:34:59 2008] [error] [client 10.110.18.5] FastCGI: > incomplete headers (0 bytes) received from server > "/usr/share/request-tracker3.6/libexec/mason_handler.fcgi", referer: > https://helpdesk.domain.com/ > > Although there's some listing coming on on google search for same > error,there's no concrete answer so might as well try my luck here. > > We're using: > > RT 3.6.1 > on > Apache/2.2.3 (Debian 4.0) mod_fastcgi/2.4.2 mod_ssl/2.2.3 OpenSSL/0.9.8c > mod_perl/2.0.2 Perl/v5.8.8 Server > > > Thanks in advance, > > joseph > -------------- next part -------------- An HTML attachment was scrubbed... URL: From todd at chaka.net Tue Apr 1 14:25:07 2008 From: todd at chaka.net (Todd Chapman) Date: Tue, 1 Apr 2008 14:25:07 -0400 Subject: [rt-users] Problem with categories in custom fields In-Reply-To: <16420562.post@talk.nabble.com> References: <46A12DF2.4070700@ticketmaster.com> <46F02741.1050206@yahoo.com> <46F27A61.4000106@yahoo.com> <16420562.post@talk.nabble.com> Message-ID: <519782dc0804011125n3e0d700ey642ca567209b9f80@mail.gmail.com> I find the implementation of categories lacking. Don't use them if the values are not unique across all categories. On Tue, Apr 1, 2008 at 2:21 PM, lgrella wrote: > > Have you had any further input on this? I am experiencing the same thing > in > IE. Do you have a workaround? > > Thanks, > Laura > > Mathew Snyder-3 wrote: > > > > Anyone have any input on this? > > > > Keep up with me and what I'm up to: http://theillien.blogspot.com > > > > > > Mathew Snyder wrote: > >> Chet Burgess wrote: > >>> Greetings, > >>> I had a user report a problem with categories in custom fields > recently > >>> that I have been unable to solve. I have looked through the wiki, the > >>> bugs listed in rt, and the mailing lists and I have been unable to > find > >>> a solution to my problem. > >>> > >>> We have several custom fields that have been created as a type of > >>> "Select one value", with a validation of "Mandatory". The problem is > >>> that when a user creates a ticket, or updates an existing ticket, the > >>> category that is associated with the name is not saved. As an example > if > >>> you created a custom filed with 2 values, each with a different name > and > >>> category, only the name is saved with the ticket. The category field > >>> will be left as "-". > >>> > >>> This is causing a problem as some times we have the same name in > >>> different categories (we have the same components within different > >>> products and we use the custom fields to indicate which component and > >>> product the ticket is for). > >>> > >>> I have been able to reproduce on both RT 3.6.1 which we run in > >>> production and on RT 3.6.4 which we run in test. I have noticed that > >>> when creating a new ticket in RT 3.6.4 with a custom field of this > type > >>> the following error is being logged. > >>> > >>> Jul 18 15:25:32 hostname RT: Use of uninitialized value in string eq > at > >>> /usr/local/rt/lib/RT/Record.pm line 1686. > >>> (/usr/local/rt/lib/RT/Record.pm:1686) > >>> > >>> When updating an existing ticket the name value gets updated, but > the > >>> category does not get set and remains as just "-". The following > message > >>> appears in the "Results" section at the top of the page after clicking > >>> "Save Changes" in both RT 3.6.1 and RT 3.6.4. > >>> > >>> User asked for an unknown update type for custom field > >>> ChetTestSelectSingleValue for RT::Ticket object #6 > >>> > >>> As mentioned I have seen this problem in both RT 3.6.1 and RT 3.6.4. > We > >>> are running on RHEL 3 Update 8 with apache 1.3.31, Perl 5.8.4, > mod_perl > >>> 1.29, and mysql 4.0.18. > >>> > >>> Has anyone seen this before and/or know if there is something else I > >>> need to do to enable this functionality? > >>> > >>> > >> > >> Did you ever get any input on this? I actually just ran into the same > >> issue > >> verified using both IE and Firefox on Windows and Linux. I have a > couple > >> other > >> issues with it as well also on both 3.6.1 and 3.6.4. I'm running > Fedora > >> Core 5 > >> and mysql 5.0.0.2 though. > >> > >> First, when using Firefox, selecting a category filters the second drop > >> down > >> (the one with the actual values) to just the values of that particular > >> category > >> (which I suspect to be the intended behaviour). However, in IE, this > is > >> not > >> the case. Selecting the category does not run the filter on the second > >> drop > >> down. All categories and values are listed regardless of the category > >> selected > >> in the first drop down. > >> > >> Second, once a value has been assigned to a category, it is not > possible > >> to > >> remove it by simply blanking out the category field. When testing this > >> feature, > >> I found that in order to remove the category from an item, I had to > >> delete the > >> item and then recreate it. After doing this, it would appear in the > drop > >> down > >> list as not being associated with any category while all others which > >> have not > >> been changed still were. Attempting to simply set the category as > blank > >> resulted in it being repopulated with the category after hitting > submit. > >> > >> Are there plans on fixing this with the next release? > >> > >> Mathew > >> Keep up with me and what I'm up to: http://theillien.blogspot.com > >> _______________________________________________ > >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > >> > >> Community help: http://wiki.bestpractical.com > >> Commercial support: sales at bestpractical.com > >> > >> > >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > >> Buy a copy at http://rtbook.bestpractical.com > >> > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > > > > > -- > View this message in context: > http://www.nabble.com/Problem-with-categories-in-custom-fields-tp11716848p16420562.html > Sent from the Request Tracker - User mailing list archive at Nabble.com. > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Tue Apr 1 14:46:57 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 01 Apr 2008 11:46:57 -0700 Subject: [rt-users] Question on display of dates on queries Message-ID: <47F28321.7050202@lbl.gov> To all, A user came to me with a good question; how do I get the due date, or any other date field, to display ONLY the date and drop the time? I had no answer. Anyone? Also in the Query arena, I noticed that the ticket "owner" is listed as a field that can be displayed, but NOT as a field to sort by. Anyone? Thanks in advance. Kenn LBNL From asallade at PTSOWA.ORG Tue Apr 1 14:47:21 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 1 Apr 2008 11:47:21 -0700 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <47F261D0.3000103@lbl.gov> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <47F261D0.3000103@lbl.gov> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF00F@PTSOEXCHANGE.PTSOWA.ORG> For the width of freetext boxes etc, as well as the height - Copy your/share/html/elements/EditCustomField to local/html/elements/EditCustomField and add the following changes. Put this after $EditComponent = "EditCustomField$Type" unless $m->comp_exists($EditComponent); # My custom field formatting overlays=============== If ($Type eq "Text") { $Rows = 6; $Columns = 20; } elsif ($Type eq "Wikitext") { $Rows = 8; $Columns = 15; } elsif ($Type eq "Select") { $Rows = 1; $Columns = 10; } # CustomField id # 14 is the specific ID of a field that I want to have unique display If (CustomField->Id == 14) { $Rows = 7; } # End of my overlay================================= Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Tuesday, April 01, 2008 9:25 AM To: Aaron Sallade Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Enhancements and workflows that we have added Aaron, We are VERY interested in what you have developed. Whether or not you post to the list, please send us what you have. It will be extremely appreciated. Also, do you have anything that increases the box size of a free-test CF?. Thanks in advance. Kenn LBNL On 3/31/2008 4:54 PM, Aaron Sallade wrote: > Just in case these are of interest to anyone else- > > Added a scrip and template that adds a reply to a DependedOnBy Parent > ticket when the child is resolved. Resolving a sub task (child) will add > a comment to the parent noting that the prerequisite is now complete, it > will also email the owner of the parent task. > > Set the Row count of custom fields by type and or customfield ID. In our > implementation, single select boxes have a row height of 1 (making them > a drop down box) and text areas have a row height of 6, and a specific > multi select is set to 7 so that no scrolling is needed to view its > options. > > Default values on custom fields. We modified the code so that the > "description" field in the custom field admin screen is used for the > default value of that custom field. This works regardless of the field > type, so for text, select boxes etc. > > Altered Priority and Aging. We modified aging so that it ages towards > Starts instead of Due. We also made it so that priority will increase by > 1 for each day past the start date until it is resolved. Tickets with no > start date age with a priority increase of 1 per day. > > We modified the "Timeline" module to use Start Date and Due Date as > opposed to Created and Resolved. This is more appropriate for project > management. We also added more verbose titles to the timeline items, > including ticket #'s. This creates a Project Management Gantt style > chart off of any search results where the tickets have at least a Starts > Date. > > Most of these are mods/hacks to the source code that we overlayed in the > /local folder. If anyone is interested in the details I will post them > to the list. > > -Aaron > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From sholmes42 at mac.com Tue Apr 1 15:28:48 2008 From: sholmes42 at mac.com (Steve Holmes) Date: Tue, 1 Apr 2008 15:28:48 -0400 Subject: [rt-users] Question on display of dates on queries In-Reply-To: <47F28321.7050202@lbl.gov> References: <47F28321.7050202@lbl.gov> Message-ID: <43be87180804011228s7ea09707tbb24273ae3b36589@mail.gmail.com> Back on January 24 I asked: > I want to change the date format (for Due) in the search results page such > that it doesn't display the time. I.e. I want something like: Tue Jan 22 > 2007. I'm sure that if I can find the relevant source code snippet I can > figure out how to change it, but I can't seem to find it. > I got a reply from Emmanuel Lacour (thanks Emmanuel): Seems to be here: share/html/Elements//RT__Ticket/ColumnMap, line 287 Unfortunately, when I looked there I wasn't smart enough to figure out how to do what I wanted (and didn't have time to pursue it). If you do get it to work, please educate the rest of us :-). Thanks, Steve Holmes On Tue, Apr 1, 2008 at 2:46 PM, Kenneth Crocker wrote: > To all, > > > A user came to me with a good question; how do I get the due date, > or > any other date field, to display ONLY the date and drop the time? I had > no answer. Anyone? > Also in the Query arena, I noticed that the ticket "owner" is > listed as > a field that can be displayed, but NOT as a field to sort by. Anyone? > Thanks in advance. > > > Kenn > LBNL > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Tue Apr 1 16:10:09 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 01 Apr 2008 13:10:09 -0700 Subject: [rt-users] Question on display of dates on queries In-Reply-To: <43be87180804011228s7ea09707tbb24273ae3b36589@mail.gmail.com> References: <47F28321.7050202@lbl.gov> <43be87180804011228s7ea09707tbb24273ae3b36589@mail.gmail.com> Message-ID: <47F296A1.6020405@lbl.gov> Steve, I'll check it out and if I can get it to work, I'll certainly pass it on. Kenn LBNL On 4/1/2008 12:28 PM, Steve Holmes wrote: > Back on January 24 I asked: > > I want to change the date format (for Due) in the search results > page such that it doesn't display the time. I.e. I want something > like: Tue Jan 22 2007. I'm sure that if I can find the relevant > source code snippet I can figure out how to change it, but I can't > seem to find it. > > > I got a reply from Emmanuel Lacour (thanks Emmanuel): > > Seems to be here: > > share/html/Elements//RT__Ticket/ColumnMap, line 287 > > > Unfortunately, when I looked there I wasn't smart enough to figure out > how to do what I wanted (and didn't have time to pursue it). > If you do get it to work, please educate the rest of us :-). > > Thanks, > Steve Holmes > > > On Tue, Apr 1, 2008 at 2:46 PM, Kenneth Crocker > wrote: > > To all, > > > A user came to me with a good question; how do I get the due > date, or > any other date field, to display ONLY the date and drop the time? I had > no answer. Anyone? > Also in the Query arena, I noticed that the ticket "owner" is > listed as > a field that can be displayed, but NOT as a field to sort by. Anyone? > Thanks in advance. > > > Kenn > LBNL > From sturner at MIT.EDU Tue Apr 1 16:25:41 2008 From: sturner at MIT.EDU (Stephen Turner) Date: Tue, 01 Apr 2008 16:25:41 -0400 Subject: [rt-users] Question on display of dates on queries In-Reply-To: <47F296A1.6020405@lbl.gov> References: <47F28321.7050202@lbl.gov> <43be87180804011228s7ea09707tbb24273ae3b36589@mail.gmail.com> <47F296A1.6020405@lbl.gov> Message-ID: <6.2.3.4.2.20080401161904.04e093e0@po14.mit.edu> At Tuesday 4/1/2008 04:10 PM, Kenneth Crocker wrote: >Steve, > > > I'll check it out and if I can get it to work, I'll > certainly pass it on. > > >Kenn >LBNL Here's what we've done to display different date formats on the search results: 1. New callback: $RT_HOME/local/html/Callbacks/xxxxx/Elements/RT__Ticket/ColumnMap Contents of this callback: <%ARGS> $COLUMN_MAP => undef <%init> $COLUMN_MAP->{'CreatedShort'} = { title => 'Created', attribute => 'Created', value => sub { return ("Not set") if ($_[0]->CreatedObj->Unix <= 0); my ($date, $time) = split(' ', $_[0]->CreatedObj->ISO); my ($y, $m, $d) = split ('-', $date); return "$m/$d/$y"; } }; 2. In html/Search/Elements/BuildFormatString, find the definition of @fields and add "CreatedShort" to it: e.g. before: my @fields = qw( id Status ExtendedStatus Subject QueueName after: my @fields = qw( id Status ExtendedStatus Subject CreatedShort QueueName The callback will format the field as MM/DD/YY. The mod to BuildFormatString will make "CreatedShort" appear in Query Builder in the list of fields that can be added to the results. I only showed the part of our mods that provide a shortened "Created" date - you can extend this for any of the ticket dates. Steve From KFCrocker at lbl.gov Tue Apr 1 19:46:17 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 01 Apr 2008 16:46:17 -0700 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF00F@PTSOEXCHANGE.PTSOWA.ORG> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <47F261D0.3000103@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF00F@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <47F2C949.4030201@lbl.gov> Aaron, I just put in those changes and I get a syntax error on $Type. The error message says the folowing: "Error during compilation of /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField: syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 79, near ") {" Global symbol "$Columns" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 81, line 361. syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 82, near "} elsif" Global symbol "$Type" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 82, line 361. Global symbol "$Rows" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 83, line 361. Global symbol "$Columns" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 84, line 361. syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 85, near "; }" I'm not sure why it doesn't like $Type. Any ideas? I'm not real experienced at perl. Just learning. Thanks. Kenn LBNL On 4/1/2008 11:47 AM, Aaron Sallade wrote: > For the width of freetext boxes etc, as well as the height - > > Copy your/share/html/elements/EditCustomField to > local/html/elements/EditCustomField and add the following changes. > > Put this after > $EditComponent = "EditCustomField$Type" unless > $m->comp_exists($EditComponent); > > > # My custom field formatting overlays=============== > If ($Type eq "Text") { > $Rows = 6; > $Columns = 20; > } elsif ($Type eq "Wikitext") { > $Rows = 8; > $Columns = 15; > } elsif ($Type eq "Select") { > $Rows = 1; > $Columns = 10; > } > > # CustomField id # 14 is the specific ID of a field that I want to have > unique display > If (CustomField->Id == 14) { > $Rows = 7; > } > > # End of my overlay================================= > > > > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Tuesday, April 01, 2008 9:25 AM > To: Aaron Sallade > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Enhancements and workflows that we have added > > Aaron, > > > We are VERY interested in what you have developed. Whether or > not you > post to the list, please send us what you have. It will be extremely > appreciated. Also, do you have anything that increases the box size of a > > free-test CF?. Thanks in advance. > > > Kenn > LBNL > > On 3/31/2008 4:54 PM, Aaron Sallade wrote: >> Just in case these are of interest to anyone else- >> >> Added a scrip and template that adds a reply to a DependedOnBy Parent >> ticket when the child is resolved. Resolving a sub task (child) will > add >> a comment to the parent noting that the prerequisite is now complete, > it >> will also email the owner of the parent task. >> >> Set the Row count of custom fields by type and or customfield ID. In > our >> implementation, single select boxes have a row height of 1 (making > them >> a drop down box) and text areas have a row height of 6, and a specific >> multi select is set to 7 so that no scrolling is needed to view its >> options. >> >> Default values on custom fields. We modified the code so that the >> "description" field in the custom field admin screen is used for the >> default value of that custom field. This works regardless of the field >> type, so for text, select boxes etc. >> >> Altered Priority and Aging. We modified aging so that it ages towards >> Starts instead of Due. We also made it so that priority will increase > by >> 1 for each day past the start date until it is resolved. Tickets with > no >> start date age with a priority increase of 1 per day. >> >> We modified the "Timeline" module to use Start Date and Due Date as >> opposed to Created and Resolved. This is more appropriate for project >> management. We also added more verbose titles to the timeline items, >> including ticket #'s. This creates a Project Management Gantt style >> chart off of any search results where the tickets have at least a > Starts >> Date. >> >> Most of these are mods/hacks to the source code that we overlayed in > the >> /local folder. If anyone is interested in the details I will post them >> to the list. >> >> -Aaron >> >> >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > > From gevans at hcc.net Tue Apr 1 20:03:23 2008 From: gevans at hcc.net (Greg Evans) Date: Tue, 1 Apr 2008 17:03:23 -0700 Subject: [rt-users] A hopefully quick question... Message-ID: <006901c89454$f86f0c10$1200a8c0@hcc.local> I implemented SHowStatusInCOlor from the wiki today (http://wiki.bestpractical.com/view/ShowStatusInColor) and it is quite handy for what we are doing here. Now I would also like to color the queue names in a similar fashion. I used the first implementation shown on the Wiki page (instead of the CSS version) and then thought, OK easy enough I can just change this around a bit and do the same thing on the "Queue" column. As everyone is well aware I consider myself a newb, and definitey NOT a perl hacker or even close to resembling one, though I do have a copy of the Perl books from O'Reilly, so maybe someday :) Anyway, after my success with the status coloring, I did this and it doesn't work :/ Can anyone tell me what I did wrong :) I have a sneaky suspicion that it involves the whole $Ticket->Queue bit, and I was admittedly just guessing that $Ticket->Queue would be proper. sub queueInColor { my $Ticket = shift; my $queue = $Ticket->Queue; my $qcolor = undef; if ($queue eq 'queue1') { $qcolor = "#660099"; } elsif ($queue eq ' queue2') { $qcolor = "#000090"; } elsif ($queue eq ' queue3') { $qcolor = "#999999"; } elsif ($queue eq ' queue4') { $qcolor = "#FF6600"; } elsif ($queue eq ' queue5') { $qcolor = "#009000"; } elsif ($queue eq ' queue6') { $qcolor = "#900000"; } elsif ($queue eq ' queue7') { $qcolor = "#AA8000"; } elsif ($queue eq ' queue8') { $qcolor = "#000000"; } elsif ($queue eq ' queue9') { $qcolor = "#996633"; } $queue = loc($queue); if ($qcolor) { $queue = "$queue" } return \"$queue"; } Queue names have been changed to protect the innocent ;) As always, any insight is appreciated. Thanks in advance, Greg Evans Hood Canal Communications (360) 898-2481 ext.212 From asallade at PTSOWA.ORG Tue Apr 1 20:38:50 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 1 Apr 2008 17:38:50 -0700 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <47F2C949.4030201@lbl.gov> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <47F261D0.3000103@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF00F@PTSOEXCHANGE.PTSOWA.ORG> <47F2C949.4030201@lbl.gov> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF073@PTSOEXCHANGE.PTSOWA.ORG> Can you send me a copy of your EditCustomField file? Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Tuesday, April 01, 2008 4:46 PM To: Aaron Sallade Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Enhancements and workflows that we have added Aaron, I just put in those changes and I get a syntax error on $Type. The error message says the folowing: "Error during compilation of /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField: syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 79, near ") {" Global symbol "$Columns" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 81, line 361. syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 82, near "} elsif" Global symbol "$Type" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 82, line 361. Global symbol "$Rows" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 83, line 361. Global symbol "$Columns" requires explicit package name at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 84, line 361. syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 85, near "; }" I'm not sure why it doesn't like $Type. Any ideas? I'm not real experienced at perl. Just learning. Thanks. Kenn LBNL On 4/1/2008 11:47 AM, Aaron Sallade wrote: > For the width of freetext boxes etc, as well as the height - > > Copy your/share/html/elements/EditCustomField to > local/html/elements/EditCustomField and add the following changes. > > Put this after > $EditComponent = "EditCustomField$Type" unless > $m->comp_exists($EditComponent); > > > # My custom field formatting overlays=============== > If ($Type eq "Text") { > $Rows = 6; > $Columns = 20; > } elsif ($Type eq "Wikitext") { > $Rows = 8; > $Columns = 15; > } elsif ($Type eq "Select") { > $Rows = 1; > $Columns = 10; > } > > # CustomField id # 14 is the specific ID of a field that I want to have > unique display > If (CustomField->Id == 14) { > $Rows = 7; > } > > # End of my overlay================================= > > > > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Tuesday, April 01, 2008 9:25 AM > To: Aaron Sallade > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Enhancements and workflows that we have added > > Aaron, > > > We are VERY interested in what you have developed. Whether or > not you > post to the list, please send us what you have. It will be extremely > appreciated. Also, do you have anything that increases the box size of a > > free-test CF?. Thanks in advance. > > > Kenn > LBNL > > On 3/31/2008 4:54 PM, Aaron Sallade wrote: >> Just in case these are of interest to anyone else- >> >> Added a scrip and template that adds a reply to a DependedOnBy Parent >> ticket when the child is resolved. Resolving a sub task (child) will > add >> a comment to the parent noting that the prerequisite is now complete, > it >> will also email the owner of the parent task. >> >> Set the Row count of custom fields by type and or customfield ID. In > our >> implementation, single select boxes have a row height of 1 (making > them >> a drop down box) and text areas have a row height of 6, and a specific >> multi select is set to 7 so that no scrolling is needed to view its >> options. >> >> Default values on custom fields. We modified the code so that the >> "description" field in the custom field admin screen is used for the >> default value of that custom field. This works regardless of the field >> type, so for text, select boxes etc. >> >> Altered Priority and Aging. We modified aging so that it ages towards >> Starts instead of Due. We also made it so that priority will increase > by >> 1 for each day past the start date until it is resolved. Tickets with > no >> start date age with a priority increase of 1 per day. >> >> We modified the "Timeline" module to use Start Date and Due Date as >> opposed to Created and Resolved. This is more appropriate for project >> management. We also added more verbose titles to the timeline items, >> including ticket #'s. This creates a Project Management Gantt style >> chart off of any search results where the tickets have at least a > Starts >> Date. >> >> Most of these are mods/hacks to the source code that we overlayed in > the >> /local folder. If anyone is interested in the details I will post them >> to the list. >> >> -Aaron >> >> >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > > From alexsm at gmail.com Tue Apr 1 21:02:15 2008 From: alexsm at gmail.com (Alex Moura) Date: Tue, 1 Apr 2008 22:02:15 -0300 Subject: [rt-users] rtx-shredder mysql optimization Message-ID: Hello, I'd like to ask the mysql experts for any tips that would help improving rtx-shredder performance. There database are already has indexes in an attempt to improve the performence: CREATE INDEX objectcf_type_id on ObjectCustomFieldValues(Objectid, ObjectType); CREATE INDEX acl_type_id on ACL(Objectid, ObjectType); CREATE INDEX acl_princid on ACL(PrincipalId); Right now, the removal of only one ticket takes between 1:33min. and 1:40min., in the lastest measurements. $ /usr/bin/time -h sudo ./rtx-shredder --plugin 'Tickets=status,deleted;queue,general;limit,1' Next objects would be deleted: RT::Ticket-37203 object Do you want to proceed? [y/N] y 1m33,81s real 1,13s user 0,17s sys ------------------ Last weekend, removing 2.000 tickets took two days: $ /usr/bin/time -h sudo ./rtx-shredder --plugin 'Tickets=status,deleted;queue,general;limit,2000' 2d1h9m24,94s real 11m35,93s user 47,71s sys The strange part is that four months ago, removing 7.000 tickets too half of this time in another mysql instance running in the very same hardware: # /usr/bin/time -h ./rtx-shredder --plugin 'Tickets=status,deleted;queue,general;limit,7000' 21h59m55,19s real 53m14,32s user 1m22,57s sys Relevant info: O.S.: FreeBSD-6.2-RELEASE / RT Version: 3.6.5 (installed via FreeBSD ports) / MySQL version: 5.0.51 / Mason: 1.35 / Apache: 1.3.37 (w/ mod_ssl-2.8.28) / Hardware: Dell PowerEdge 2850, CPU: Intel Xeon 3GHz, RAM: 2GB ------------------------- # mysql-duplicate-key-checker --databases rt3 DATABASE TABLE ENGINE OBJECT TYPE STRUCT PARENT COLUMNS rt3 Attachments MyISAM Attachments1 KEY BTREE NULL `Parent` rt3 Attachments MyISAM Attachments3 KEY BTREE NULL `Parent`,`TransactionId` rt3 CachedGroupMembers MyISAM DisGrouMem KEY BTREE NULL `GroupId`,`MemberId`,`Disabled` rt3 CachedGroupMembers MyISAM GrouMem KEY BTREE NULL `GroupId`,`MemberId` rt3 ObjectCustomFieldValues MyISAM TicketCustomFieldValues1 KEY BTREE NULL `CustomField`,`ObjectId`,`Content` rt3 ObjectCustomFieldValues MyISAM TicketCustomFieldValues2 KEY BTREE NULL `CustomField`,`ObjectId` rt3 Tickets MyISAM PRIMARY KEY BTREE NULL `id` rt3 Tickets MyISAM Tickets4 KEY BTREE NULL `id`,`Status` rt3 Tickets MyISAM Tickets5 KEY BTREE NULL `id`,`EffectiveId` rt3 Tickets MyISAM Tickets3 KEY BTREE NULL `EffectiveId` rt3 Tickets MyISAM Tickets6 KEY BTREE NULL `EffectiveId`,`Type` rt3 Users MyISAM PRIMARY KEY BTREE NULL `id` rt3 Users MyISAM Users3 KEY BTREE NULL `id`,`EmailAddress` rt3 Users MyISAM Users1 KEY BTREE NULL `Name` rt3 Users MyISAM Users2 KEY BTREE NULL `Name` ------------------------- The database still have more than 72.278 tickets to be removed. And I'd appreciate any tips that can help improving the removal performance, so we won't have to wait weeks before this cleanup ends. Thanks in advance, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexsm at gmail.com Tue Apr 1 21:23:17 2008 From: alexsm at gmail.com (Alex Moura) Date: Tue, 1 Apr 2008 22:23:17 -0300 Subject: [rt-users] rtx-shredder mysql optimization In-Reply-To: References: Message-ID: Another bit of information about the issue that may help is the following "top" display, _during_ a rtx-shredder running and after it finished: The next "top" output was captured with a running rtx-shredder (removing a single ticket): -------------------------- last pid: 51170; load averages: 0.80, 0.54, 0.38 up 20+21:41:21 22:20:35 69 processes: 2 running, 67 sleeping CPU states: 28.5% user, 0.0% nice, 2.0% system, 0.0% interrupt, 69.6%idle Mem: 1796M Active, 782M Inact, 262M Wired, 149M Cache, 112M Buf, 522M Free Swap: 4070M Total, 1100K Used, 4069M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 48990 mysql 10 20 0 447M 60432K kserel 0 4:18 93.60% mysqld 2245 www 1 4 0 163M 156M accept 2 30:08 0.00% perl 2131 www 1 4 0 185M 170M accept 0 28:34 0.00% perl 2174 www 1 4 0 180M 169M accept 2 28:30 0.00% perl 2058 www 1 4 0 174M 163M accept 0 27:23 0.00% perl -------------------------- The next 'top' output was captured two minutes after rtx-shredder finished removing a single ticket: last pid: 51575; load averages: 0.19, 0.41, 0.35 up 20+21:43:19 22:22:33 61 processes: 1 running, 60 sleeping CPU states: % user, % nice, % system, % interrupt, % idle Mem: 1769M Active, 783M Inact, 260M Wired, 149M Cache, 112M Buf, 550M Free Swap: 4070M Total, 1096K Used, 4069M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 2245 www 1 4 0 163M 156M accept 2 30:08 0.00% perl 2131 www 1 4 0 185M 170M accept 0 28:34 0.00% perl 2174 www 1 4 0 180M 169M accept 2 28:30 0.00% perl 2058 www 1 4 0 174M 163M accept 0 27:23 0.00% perl 2066 www 1 4 0 162M 155M accept 0 26:29 0.00% perl 48990 mysql 10 20 0 443M 58028K kserel 0 4:24 0.00% mysqld 2067 nobody 1 96 0 14420K 13536K select 0 0:47 0.00% perl 1919 root 1 96 0 8612K 5876K select 0 0:41 0.00% httpd -------------------------- Thanks, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Tue Apr 1 21:26:23 2008 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Wed, 2 Apr 2008 05:26:23 +0400 Subject: [rt-users] rtx-shredder mysql optimization In-Reply-To: References: Message-ID: <589c94400804011826t73c3a0d8g43e9ca582411ebda@mail.gmail.com> http://search.cpan.org/~ruz/RTx-Shredder-0.07/lib/RTx/Shredder.pm#Database_indexes On Wed, Apr 2, 2008 at 5:02 AM, Alex Moura wrote: > Hello, > > I'd like to ask the mysql experts for any tips that would help improving > rtx-shredder performance. > > There database are already has indexes in an attempt to improve the > performence: > > CREATE INDEX objectcf_type_id on ObjectCustomFieldValues(Objectid, > ObjectType); > CREATE INDEX acl_type_id on ACL(Objectid, ObjectType); > CREATE INDEX acl_princid on ACL(PrincipalId); > > Right now, the removal of only one ticket takes between 1:33min. and > 1:40min., in the lastest measurements. > > $ /usr/bin/time -h sudo ./rtx-shredder --plugin > 'Tickets=status,deleted;queue,general;limit,1' > Next objects would be deleted: > RT::Ticket-37203 object > Do you want to proceed? [y/N] y > 1m33,81s real 1,13s user 0,17s sys > ------------------ > > Last weekend, removing 2.000 tickets took two days: > > $ /usr/bin/time -h sudo ./rtx-shredder --plugin > 'Tickets=status,deleted;queue,general;limit,2000' > 2d1h9m24,94s real 11m35,93s user 47,71s sys > > > The strange part is that four months ago, removing 7.000 tickets too half of > this time in another mysql instance running in the very same hardware: > > # /usr/bin/time -h ./rtx-shredder --plugin > 'Tickets=status,deleted;queue,general;limit,7000' > 21h59m55,19s real 53m14,32s user 1m22,57s sys > > Relevant info: > O.S.: FreeBSD-6.2-RELEASE / RT Version: 3.6.5 (installed via FreeBSD ports) > / MySQL version: 5.0.51 / Mason: 1.35 / Apache: 1.3.37 (w/ mod_ssl-2.8.28) / > Hardware: Dell PowerEdge 2850, CPU: Intel Xeon 3GHz, RAM: 2GB > > ------------------------- > # mysql-duplicate-key-checker --databases rt3 > > DATABASE TABLE ENGINE OBJECT TYPE STRUCT PARENT COLUMNS > rt3 Attachments MyISAM Attachments1 KEY BTREE NULL > `Parent` > rt3 Attachments MyISAM Attachments3 KEY BTREE NULL > `Parent`,`TransactionId` > rt3 CachedGroupMembers MyISAM DisGrouMem KEY BTREE NULL > `GroupId`,`MemberId`,`Disabled` > rt3 CachedGroupMembers MyISAM GrouMem KEY BTREE NULL > `GroupId`,`MemberId` > rt3 ObjectCustomFieldValues MyISAM TicketCustomFieldValues1 KEY > BTREE NULL `CustomField`,`ObjectId`,`Content` > rt3 ObjectCustomFieldValues MyISAM TicketCustomFieldValues2 KEY > BTREE NULL `CustomField`,`ObjectId` > rt3 Tickets MyISAM PRIMARY KEY BTREE NULL `id` > rt3 Tickets MyISAM Tickets4 KEY BTREE NULL > `id`,`Status` > rt3 Tickets MyISAM Tickets5 KEY BTREE NULL > `id`,`EffectiveId` > rt3 Tickets MyISAM Tickets3 KEY BTREE NULL > `EffectiveId` > rt3 Tickets MyISAM Tickets6 KEY BTREE NULL > `EffectiveId`,`Type` > rt3 Users MyISAM PRIMARY KEY BTREE NULL `id` > rt3 Users MyISAM Users3 KEY BTREE NULL `id`,`EmailAddress` > rt3 Users MyISAM Users1 KEY BTREE NULL `Name` > rt3 Users MyISAM Users2 KEY BTREE NULL `Name` > ------------------------- > > The database still have more than 72.278 tickets to be removed. And I'd > appreciate any tips that can help improving the removal performance, so we > won't have to wait weeks before this cleanup ends. > > Thanks in advance, > > Alex > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. From cwfox at us.fujitsu.com Tue Apr 1 22:37:59 2008 From: cwfox at us.fujitsu.com (Camron W. Fox) Date: Tue, 01 Apr 2008 16:37:59 -1000 Subject: [rt-users] Multiple TLDs with CanonicalizeEmailAddressMatch Message-ID: <47F2F187.9030008@us.fujitsu.com> Alle, Is it possible to match multiple TLDs with CanonicalizeEmailAddressMatch. We have several "from" addresses that allowed internally (domain1.ac.jp, domain2.org, domain3.org). I'd like everything to be re-written to fakedomain.domain3.org, as it is what the world sees on outgoing mail. Best Regards, Camron -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu America, INC. E-mail: cwfox at us.fujitsu.com From ruz at bestpractical.com Wed Apr 2 01:56:39 2008 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Wed, 2 Apr 2008 09:56:39 +0400 Subject: [rt-users] [PATCH] sorting by custom fields In-Reply-To: <589c94400803312051u27032f89k7f7532afdfff244a@mail.gmail.com> References: <589c94400803312051u27032f89k7f7532afdfff244a@mail.gmail.com> Message-ID: <589c94400804012256x63c73a9akbceaaf3f90722b03@mail.gmail.com> Hi, new fixed version of DBIx::SearchBuilder on its way to the CPAN. Tested with Pg 8.3, mysql 5.0, some SQLite and Oracle 10. Test on other DBs please. On Tue, Apr 1, 2008 at 7:51 AM, Ruslan Zakirov wrote: > Hi, users, > > Last few days I was hacking on a solution and have something for you to try. > > 1) New release of DBIx::SearchBuilder. You can download it from the > CPAN near you soon or using > http://pause.cpan.org/incoming/DBIx-SearchBuilder-1.52.tar.gz . > > I really recommend you to run make test against your DB server before > installing it. Do the following: > > perl Makefile.PL > make > SB_TEST_MYSQL=db_to_test_in SB_TEST_MYSQL_USER=test_user > SB_TEST_MYSQL_PASS=password make test > > Where "db_to_test" is the name of the DB you're going to test against, > test files will create temporary tables in that DB. To run it safe use > clean DB or DB you use for other experiments, *DON"T RUN TESTS ON > ANY DB THAT HAS PRODUCTION DATA*. > > Other valid prefixes for ENV vars are SB_TEST_ORACLE, SB_TEST_PG and > SB_TEST_SQLITE. > > Once it succeeded you can run `make install` command. > After installing you have to stop and start your web server > to apply the changes. > > 2) As well I attach patch for RT that should add link to titles of > custom field columns in search results. So you can click those to order > by a CF and change ordering. To see the change you have to purge mason > cache, just drop me a note if you don't know how. > > After installing sorting should be correct in almost all > situations, but I know at least one issue when it's not true. The order > is wrong when you sort by CF X, limit search by this CF and it can > have multiple values. I'm working on a fix for this. > > Waiting for your feedback. > > -- > Best regards, Ruslan. > -- Best regards, Ruslan. From Ton.Hoogstraten at ingram.nl Wed Apr 2 04:04:06 2008 From: Ton.Hoogstraten at ingram.nl (Hoogstraten, Ton) Date: Wed, 2 Apr 2008 10:04:06 +0200 Subject: [rt-users] A hopefully quick question... In-Reply-To: <006901c89454$f86f0c10$1200a8c0@hcc.local> Message-ID: <891469DFBBD7364EB24DEEB101767D86032AAA@nlutxch101.corporate.ingrammicro.com> Greg, Try this: My $queue = $Ticket->QueueObj->Name; Cheers, Ton -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Greg Evans Sent: Wednesday, April 02, 2008 2:03 AM To: 'RT Users' Subject: [rt-users] A hopefully quick question... I implemented SHowStatusInCOlor from the wiki today (http://wiki.bestpractical.com/view/ShowStatusInColor) and it is quite handy for what we are doing here. Now I would also like to color the queue names in a similar fashion. I used the first implementation shown on the Wiki page (instead of the CSS version) and then thought, OK easy enough I can just change this around a bit and do the same thing on the "Queue" column. As everyone is well aware I consider myself a newb, and definitey NOT a perl hacker or even close to resembling one, though I do have a copy of the Perl books from O'Reilly, so maybe someday :) Anyway, after my success with the status coloring, I did this and it doesn't work :/ Can anyone tell me what I did wrong :) I have a sneaky suspicion that it involves the whole $Ticket->Queue bit, and I was admittedly just guessing that $Ticket->Queue would be proper. sub queueInColor { my $Ticket = shift; my $queue = $Ticket->Queue; my $qcolor = undef; if ($queue eq 'queue1') { $qcolor = "#660099"; } elsif ($queue eq ' queue2') { $qcolor = "#000090"; } elsif ($queue eq ' queue3') { $qcolor = "#999999"; } elsif ($queue eq ' queue4') { $qcolor = "#FF6600"; } elsif ($queue eq ' queue5') { $qcolor = "#009000"; } elsif ($queue eq ' queue6') { $qcolor = "#900000"; } elsif ($queue eq ' queue7') { $qcolor = "#AA8000"; } elsif ($queue eq ' queue8') { $qcolor = "#000000"; } elsif ($queue eq ' queue9') { $qcolor = "#996633"; } $queue = loc($queue); if ($qcolor) { $queue = "$queue" } return \"$queue"; } Queue names have been changed to protect the innocent ;) As always, any insight is appreciated. Thanks in advance, Greg Evans Hood Canal Communications (360) 898-2481 ext.212 _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com From andrew.fay at hotmail.co.uk Wed Apr 2 05:50:21 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Wed, 2 Apr 2008 09:50:21 +0000 Subject: [rt-users] Welcome to the "RT-Users" mailing list (Digest mode) In-Reply-To: References: Message-ID: Hi, I am running RT 3.6.4 on ubuntu, most of our end users use outlook 2000/2003 to email our support address which adds the tickets to request tracker. The problem I am having is that if the user has an HTML signature which most of them do, at the bottom of the first response from RT it says ------------------------------------------------------------------------ This transaction appears to have no content and sometimes it mangles the signature of the person that sent the request at the bottom of request trackers response, How would I go about sorting this? I am hoping other people use outlook to send to request tracker! ^_^ Cheers, Andy _________________________________________________________________ Welcome to the next generation of Windows Live http://www.windowslive.co.uk/get-live -------------- next part -------------- An HTML attachment was scrubbed... URL: From albert.czarnecki at eo.pl Wed Apr 2 06:53:02 2008 From: albert.czarnecki at eo.pl (Albert Czarnecki) Date: Wed, 02 Apr 2008 12:53:02 +0200 Subject: [rt-users] RT-3.6.1-4 - DB connection problem Message-ID: <47F3658E.7080503@eo.pl> Hi I'm using debian etch and RT version 3.6.1-4 , now I have problem to connect DB, when I run from shell: perl /usr/share/request-tracker3.6/libexec/mason_handler.fcgi I get some error: DBI connect('dbname=rt_test;host=192.168.1.11;port=3306','rt_test',...) failed: received invalid response to SSL negotiation: F at /usr/share/perl5/DBIx/SearchBuilder/Handle.pm line 106 Connect Failed received invalid response to SSL negotiation: F Someone know where is the problem? The databases have off ssl connection, Can I off ssl connection in RT config? Regards, Albert From justin.hayes at orbisuk.com Wed Apr 2 07:18:30 2008 From: justin.hayes at orbisuk.com (Justin Hayes) Date: Wed, 2 Apr 2008 12:18:30 +0100 Subject: [rt-users] Archiving the Attachments Table Message-ID: Hi, Our attachments table is currently taking up 2.3gb and is easily the largest table in our RT 3.6.3 DB. I know that that table contains both the text of comments/replies as well as the files that are attached to tickets. Has anyone looked at archiving this table? Ideally I'd like to keep textual comment/replies but remove attached files. I'd also like to do it in a way that would mean I could get them back later if needed. Any ideas? Justin ------------------------------------------------------ Justin Hayes Support Manager justin.hayes at orbisuk.com From weser at osp-dd.de Wed Apr 2 09:18:55 2008 From: weser at osp-dd.de (Benjamin Weser) Date: Wed, 02 Apr 2008 15:18:55 +0200 Subject: [rt-users] Archiving the Attachments Table In-Reply-To: References: Message-ID: <47F387BF.7020804@osp-dd.de> Why don't you make a general backup of your mysql database (you can also export this table only) and then use the Shredder to get rid of the attachments? Justin Hayes schrieb: > Hi, > > Our attachments table is currently taking up 2.3gb and is easily the > largest table in our RT 3.6.3 DB. > > I know that that table contains both the text of comments/replies as > well as the files that are attached to tickets. > > Has anyone looked at archiving this table? Ideally I'd like to keep > textual comment/replies but remove attached files. I'd also like to do > it in a way that would mean I could get them back later if needed. > > Any ideas? > > Justin > > ------------------------------------------------------ > Justin Hayes > Support Manager > justin.hayes at orbisuk.com > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From justin.hayes at orbisuk.com Wed Apr 2 09:28:36 2008 From: justin.hayes at orbisuk.com (Justin Hayes) Date: Wed, 2 Apr 2008 14:28:36 +0100 Subject: [rt-users] Archiving the Attachments Table In-Reply-To: <47F387BF.7020804@osp-dd.de> References: <47F387BF.7020804@osp-dd.de> Message-ID: Thanks I'll take a look at the Shredder - I was thinking about deleting rows using SQL but if there's an extension to do it I'll use that. However am I easily going to be able to get files back from the backup if I need them? The files are stored as data in a column of that table. If 3 months down the line I need a file from a Ticket, will I be able to find out which row I need in my backup if the Shredder has removed it from the live RT? Also will I be able to out the data back into a file? Or are you suggesting setting up an archive install of RT and having that run off the backup. So I have a live streamlined install and a bloated backup install. Cheers, Justin ------------------------------------------------------ Justin Hayes Support Manager justin.hayes at orbisuk.com On 2 Apr 2008, at 14:18, Benjamin Weser wrote: > Why don't you make a general backup of your mysql database (you can > also > export this table only) and then use the Shredder to get rid of the > attachments? > > Justin Hayes schrieb: >> Hi, >> >> Our attachments table is currently taking up 2.3gb and is easily the >> largest table in our RT 3.6.3 DB. >> >> I know that that table contains both the text of comments/replies as >> well as the files that are attached to tickets. >> >> Has anyone looked at archiving this table? Ideally I'd like to keep >> textual comment/replies but remove attached files. I'd also like to >> do >> it in a way that would mean I could get them back later if needed. >> >> Any ideas? >> >> Justin >> >> ------------------------------------------------------ >> Justin Hayes >> Support Manager >> justin.hayes at orbisuk.com >> >> >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Wed Apr 2 12:14:01 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 02 Apr 2008 09:14:01 -0700 Subject: [rt-users] Enhancements and workflows that we have added In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF073@PTSOEXCHANGE.PTSOWA.ORG> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <47F261D0.3000103@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF00F@PTSOEXCHANGE.PTSOWA.ORG> <47F2C949.4030201@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF073@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <47F3B0C9.4050108@lbl.gov> Aaron, Sure. Thanks for asking. The following is a copy of the code just above what your addition is to just below: *********** beginning copy ************** my $EditComponent = "EditCustomField$Type"; $m->comp('/Elements/Callback', _CallbackName => 'EditComponentName', Name => \$ EditComponent, CustomField => $CustomField, Object => $Object ); $EditComponent = "EditCustomField$Type" unless $m->comp_exists($EditComponent); # Custom Field formatting overlays=============== If ($Type eq "Text") { $Rows = 6; $Columns = 20; } elsif ($Type eq "Wikitext") { $Rows = 8; $Columns = 15; } elsif ($Type eq "Select") { $Rows = 1; $Columns = 10; } # end of custom overlay code return $m->comp( $EditComponent, %ARGS, Rows => $Rows, Cols => $Cols, Default => $Default, Object => $Object, Values => $Values, MaxValues => $MaxValues, Multiple => ($MaxValues != 1), NamePrefix => $NamePrefix, CustomField => $CustomField, ); I included the befor and after code just in case I accidently erased or modified something I was supposed to. Thanks for your help. Kenn LBNL On 4/1/2008 5:38 PM, Aaron Sallade wrote: > Can you send me a copy of your EditCustomField file? > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Tuesday, April 01, 2008 4:46 PM > To: Aaron Sallade > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Enhancements and workflows that we have added > > Aaron, > > > I just put in those changes and I get a syntax error on $Type. > The > error message says the folowing: > > "Error during compilation of > /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField: > syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField > line 79, near ") {" > Global symbol "$Columns" requires explicit package name at > /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 81, > line 361. > syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField > line 82, near "} elsif" > Global symbol "$Type" requires explicit package name at > /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 82, > line 361. > Global symbol "$Rows" requires explicit package name at > /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 83, > line 361. > Global symbol "$Columns" requires explicit package name at > /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField line 84, > line 361. > syntax error at /apps/rt/rt-3.6.4/local/html/Elements/EditCustomField > line 85, near "; > }" > > I'm not sure why it doesn't like $Type. Any ideas? I'm not real > experienced at perl. Just learning. Thanks. > > Kenn > LBNL > > On 4/1/2008 11:47 AM, Aaron Sallade wrote: >> For the width of freetext boxes etc, as well as the height - >> >> Copy your/share/html/elements/EditCustomField to >> local/html/elements/EditCustomField and add the following changes. >> >> Put this after >> $EditComponent = "EditCustomField$Type" unless >> $m->comp_exists($EditComponent); >> >> >> # My custom field formatting overlays=============== >> If ($Type eq "Text") { >> $Rows = 6; >> $Columns = 20; >> } elsif ($Type eq "Wikitext") { >> $Rows = 8; >> $Columns = 15; >> } elsif ($Type eq "Select") { >> $Rows = 1; >> $Columns = 10; >> } >> >> # CustomField id # 14 is the specific ID of a field that I want to > have >> unique display >> If (CustomField->Id == 14) { >> $Rows = 7; >> } >> >> # End of my overlay================================= >> >> >> >> >> Aaron Sallade' >> Application Manager >> PTSO of Washington >> "Shared Technology for Community Health" >> (206) 613-8938 Desk >> (206) 521-8833 Main >> (206) 613-5078 Fax >> asallade at ptsowa.org >> >> >> -----Original Message----- >> From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] >> Sent: Tuesday, April 01, 2008 9:25 AM >> To: Aaron Sallade >> Cc: rt-users at lists.bestpractical.com >> Subject: Re: [rt-users] Enhancements and workflows that we have added >> >> Aaron, >> >> >> We are VERY interested in what you have developed. Whether or >> not you >> post to the list, please send us what you have. It will be extremely >> appreciated. Also, do you have anything that increases the box size of > a >> free-test CF?. Thanks in advance. >> >> >> Kenn >> LBNL >> >> On 3/31/2008 4:54 PM, Aaron Sallade wrote: >>> Just in case these are of interest to anyone else- >>> >>> Added a scrip and template that adds a reply to a DependedOnBy Parent >>> ticket when the child is resolved. Resolving a sub task (child) will >> add >>> a comment to the parent noting that the prerequisite is now complete, >> it >>> will also email the owner of the parent task. >>> >>> Set the Row count of custom fields by type and or customfield ID. In >> our >>> implementation, single select boxes have a row height of 1 (making >> them >>> a drop down box) and text areas have a row height of 6, and a > specific >>> multi select is set to 7 so that no scrolling is needed to view its >>> options. >>> >>> Default values on custom fields. We modified the code so that the >>> "description" field in the custom field admin screen is used for the >>> default value of that custom field. This works regardless of the > field >>> type, so for text, select boxes etc. >>> >>> Altered Priority and Aging. We modified aging so that it ages towards >>> Starts instead of Due. We also made it so that priority will increase >> by >>> 1 for each day past the start date until it is resolved. Tickets with >> no >>> start date age with a priority increase of 1 per day. >>> >>> We modified the "Timeline" module to use Start Date and Due Date as >>> opposed to Created and Resolved. This is more appropriate for project >>> management. We also added more verbose titles to the timeline items, >>> including ticket #'s. This creates a Project Management Gantt style >>> chart off of any search results where the tickets have at least a >> Starts >>> Date. >>> >>> Most of these are mods/hacks to the source code that we overlayed in >> the >>> /local folder. If anyone is interested in the details I will post > them >>> to the list. >>> >>> -Aaron >>> >>> >>> >>> _______________________________________________ >>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >>> >>> Community help: http://wiki.bestpractical.com >>> Commercial support: sales at bestpractical.com >>> >>> >>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >>> Buy a copy at http://rtbook.bestpractical.com >>> >> > > From Hossein.Rafighi at triumf.ca Wed Apr 2 11:29:45 2008 From: Hossein.Rafighi at triumf.ca (Hossein Rafighi) Date: Wed, 02 Apr 2008 08:29:45 -0700 Subject: [rt-users] RT Update and Bulk Update In-Reply-To: <589c94400803312028w7097de9do9ad7296b3306cd41@mail.gmail.com> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <589c94400803312028w7097de9do9ad7296b3306cd41@mail.gmail.com> Message-ID: <47F3A669.7050608@triumf.ca> Hi all, I have a question regarding RT update verses Bulk Update. If we don?t wish a message to be sent to a Cc or Bcc member of any given ticket we have to check a box in front of their name(s) and then click on ?Save changes? button, then click on the ?Update Ticket? to accomplish this which is not a big deal, unless we went wrong during the installation. However, the ?Save changes? button is not available in Bulk Update. Is this by design? If not, can it be added? Is there any other way script or otherwise to achieve this? We are using RT 3.6.4 Many thanks in advance for your replies, Hossein -- _____ _____ _____ _ _ _ _ ____ Hossein Rafighi |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca From KFCrocker at lbl.gov Wed Apr 2 13:16:56 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 02 Apr 2008 10:16:56 -0700 Subject: [rt-users] RT Update and Bulk Update In-Reply-To: <47F3A669.7050608@triumf.ca> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <589c94400803312028w7097de9do9ad7296b3306cd41@mail.gmail.com> <47F3A669.7050608@triumf.ca> Message-ID: <47F3BF88.2010901@lbl.gov> Hossein, UH, actually, I thought that clicking the "Update" button for "Bulk Update" (after one has made the type of changes they want to happen to a bunch of tickets, un-checking any ticket that is NOT to be changed) WAS, in fact, a "Save Changes" button. It may not say it but IT certainly ACTS like it. Do you just want to change the Title on the button? The action/results are the same so I don't really understand the problem. Kenn LBNL On 4/2/2008 8:29 AM, Hossein Rafighi wrote: > Hi all, > > I have a question regarding RT update verses Bulk Update. If we don?t > wish a message to be sent to a Cc or Bcc member of any given ticket we > have to check a box in front of their name(s) and then click on ?Save > changes? button, then click on the ?Update Ticket? to accomplish this > which is not a big deal, unless we went wrong during the installation. > However, the ?Save changes? button is not available in Bulk Update. Is > this by design? If not, can it be added? Is there any other way script > or otherwise to achieve this? We are using RT 3.6.4 > > Many thanks in advance for your replies, > Hossein > From jsmoriss at mvlan.net Wed Apr 2 13:49:07 2008 From: jsmoriss at mvlan.net (Jean-Sebastien Morisset) Date: Wed, 2 Apr 2008 17:49:07 +0000 Subject: [rt-users] How to reset Preferences -> Search options? Message-ID: <20080402174907.GB8910@zaphod.mvlan.net> Hi everyone, Is there a way to reset the user's Preferences -> Search options to the $DefaultSearchResultFormat? A "Defaults" button on the SearchOptions.html page, for example, could be handy. Thansk, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator From koteras at hotmail.com Wed Apr 2 14:31:10 2008 From: koteras at hotmail.com (Gary & Gina Koteras) Date: Wed, 2 Apr 2008 18:31:10 +0000 Subject: [rt-users] autoreply template content Message-ID: Hello, It doesn't look like I have privs to the autoreply global template. Would anybody be able to email me the content of that template so I can see how it is setup? thanks, Gary _________________________________________________________________ More immediate than e-mail? Get instant access with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsmoriss at mvlan.net Wed Apr 2 14:35:35 2008 From: jsmoriss at mvlan.net (Jean-Sebastien Morisset) Date: Wed, 2 Apr 2008 18:35:35 +0000 Subject: [rt-users] How to reset Preferences -> Search options? In-Reply-To: <20080402174907.GB8910@zaphod.mvlan.net> References: <20080402174907.GB8910@zaphod.mvlan.net> Message-ID: <20080402183535.GA29272@zaphod.mvlan.net> On Wed, Apr 02, 2008 at 05:49:07PM +0000, Jean-Sebastien Morisset wrote: > Hi everyone, > > Is there a way to reset the user's Preferences -> Search options to the > $DefaultSearchResultFormat? A "Defaults" button on the > SearchOptions.html page, for example, could be handy. I've been able to add the button, but it screws up the display some: # diff ./share/html/Prefs/SearchOptions.html ./local/html/Prefs/SearchOptions.html 67a68,75 >
> value="<%$RT::DefaultSearchResultFormat%>" /> > /> > /> > value="50" /> > <& /Elements/Submit, Name => 'SavePreferences', Label => > loc('Reset to Defaults') &> >
> Any idea how I can tuck the "Save Changes" and "Reset to Defaults" button together? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator From jsmoriss at mvlan.net Wed Apr 2 14:52:30 2008 From: jsmoriss at mvlan.net (Jean-Sebastien Morisset) Date: Wed, 2 Apr 2008 18:52:30 +0000 Subject: [rt-users] How to reset Preferences -> Search options? In-Reply-To: <20080402183535.GA29272@zaphod.mvlan.net> References: <20080402174907.GB8910@zaphod.mvlan.net> <20080402183535.GA29272@zaphod.mvlan.net> Message-ID: <20080402185230.GB29272@zaphod.mvlan.net> On Wed, Apr 02, 2008 at 06:35:35PM +0000, Jean-Sebastien Morisset wrote: > On Wed, Apr 02, 2008 at 05:49:07PM +0000, Jean-Sebastien Morisset wrote: >> Hi everyone, >> >> Is there a way to reset the user's Preferences -> Search options to the >> $DefaultSearchResultFormat? A "Defaults" button on the >> SearchOptions.html page, for example, could be handy. > > I've been able to add the button, but it screws up the display some: > > # diff ./share/html/Prefs/SearchOptions.html > ./local/html/Prefs/SearchOptions.html > 67a68,75 >>
>> > value="<%$RT::DefaultSearchResultFormat%>" /> >> > /> >> > /> >> > value="50" /> >> <& /Elements/Submit, Name => 'SavePreferences', Label => >> loc('Reset to Defaults') &> >>
>> > > Any idea how I can tuck the "Save Changes" and "Reset to Defaults" > button together? So this isn't pretty, but it works. # diff ./share/html/Prefs/SearchOptions.html ./local/html/Prefs/SearchOptions.html 65c65,68 < <& /Elements/Submit, Name => 'SavePreferences', Label => loc('Save Changes') &> --- >
>
> >
66a70,78 >
>
> value="<%$RT::DefaultSearchResultFormat%>" /> > /> > /> > value="50" /> > >
>
js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator From Hossein.Rafighi at triumf.ca Wed Apr 2 15:18:19 2008 From: Hossein.Rafighi at triumf.ca (Hossein Rafighi) Date: Wed, 02 Apr 2008 12:18:19 -0700 Subject: [rt-users] RT Update and Bulk Update In-Reply-To: <47F3BF88.2010901@lbl.gov> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <589c94400803312028w7097de9do9ad7296b3306cd41@mail.gmail.com> <47F3A669.7050608@triumf.ca> <47F3BF88.2010901@lbl.gov> Message-ID: <47F3DBFB.4050006@triumf.ca> No. What I want is a way NOT to send email to "Admin Cc" or "Cc" people when ticket(s) are resolved through Bulk Update. I tried "Remove Admin Cc:" but to no avail. I can easily accomplish this when I am resolving tickets individually by checking the boxes next to Admin Cc and Cc names and then clicking on "Save changes" button, but the "Save changes" button is not available in Bulk Update and I don't know how else to do a bulk update without sending email to Admin Cc and Cc people. Cheers, Hossein Kenneth Crocker wrote: > Hossein, > > > UH, actually, I thought that clicking the "Update" button for > "Bulk Update" (after one has made the type of changes they want to > happen to a bunch of tickets, un-checking any ticket that is NOT to be > changed) WAS, in fact, a "Save Changes" button. It may not say it but > IT certainly ACTS like it. Do you just want to change the Title on the > button? The action/results are the same so I don't really understand > the problem. > > > Kenn > LBNL > > On 4/2/2008 8:29 AM, Hossein Rafighi wrote: >> Hi all, >> >> I have a question regarding RT update verses Bulk Update. If we don?t >> wish a message to be sent to a Cc or Bcc member of any given ticket >> we have to check a box in front of their name(s) and then click on >> ?Save changes? button, then click on the ?Update Ticket? to >> accomplish this which is not a big deal, unless we went wrong during >> the installation. However, the ?Save changes? button is not available >> in Bulk Update. Is this by design? If not, can it be added? Is there >> any other way script or otherwise to achieve this? We are using RT 3.6.4 >> >> Many thanks in advance for your replies, >> Hossein >> > -- _____ _____ _____ _ _ _ _ ____ Hossein Rafighi |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca From KFCrocker at lbl.gov Wed Apr 2 15:27:15 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 02 Apr 2008 12:27:15 -0700 Subject: [rt-users] RT Update and Bulk Update In-Reply-To: <47F3DBFB.4050006@triumf.ca> References: <47EBFFBD.1090007@lbl.gov> <000b01c8904a$af2e5cd0$6914a8c0@voyager> <47EC142C.1020706@lbl.gov> <589c94400803271451sf836c99yf662b0c71b54bd5@mail.gmail.com> <47F16F99.8090006@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BEF9A@PTSOEXCHANGE.PTSOWA.ORG> <589c94400803312028w7097de9do9ad7296b3306cd41@mail.gmail.com> <47F3A669.7050608@triumf.ca> <47F3BF88.2010901@lbl.gov> <47F3DBFB.4050006@triumf.ca> Message-ID: <47F3DE13.5080805@lbl.gov> Hossein, AAHH! Now I understand. I thought you were just talking about the way it updates. You want THAT without the automatic email when the ticket status is changed. HHHMM. I wonder if there is a way to identify when the transaction is coming from bulk update? Then you could use that in your scrips for resolve, etc. I'mnot sure how to do that. sorry. Kenn LBNL On 4/2/2008 12:18 PM, Hossein Rafighi wrote: > No. What I want is a way NOT to send email to "Admin Cc" or "Cc" people > when ticket(s) are resolved through Bulk Update. I tried "Remove Admin > Cc:" but to no avail. I can easily accomplish this when I am resolving > tickets individually by checking the boxes next to Admin Cc and Cc names > and then clicking on "Save changes" button, but the "Save changes" > button is not available in Bulk Update and I don't know how else to do a > bulk update without sending email to Admin Cc and Cc people. > > > Cheers, > Hossein > > > Kenneth Crocker wrote: >> Hossein, >> >> >> UH, actually, I thought that clicking the "Update" button for >> "Bulk Update" (after one has made the type of changes they want to >> happen to a bunch of tickets, un-checking any ticket that is NOT to be >> changed) WAS, in fact, a "Save Changes" button. It may not say it but >> IT certainly ACTS like it. Do you just want to change the Title on the >> button? The action/results are the same so I don't really understand >> the problem. >> >> >> Kenn >> LBNL >> >> On 4/2/2008 8:29 AM, Hossein Rafighi wrote: >>> Hi all, >>> >>> I have a question regarding RT update verses Bulk Update. If we don?t >>> wish a message to be sent to a Cc or Bcc member of any given ticket >>> we have to check a box in front of their name(s) and then click on >>> ?Save changes? button, then click on the ?Update Ticket? to >>> accomplish this which is not a big deal, unless we went wrong during >>> the installation. However, the ?Save changes? button is not available >>> in Bulk Update. Is this by design? If not, can it be added? Is there >>> any other way script or otherwise to achieve this? We are using RT 3.6.4 >>> >>> Many thanks in advance for your replies, >>> Hossein >>> >> > From npereira at protus.com Wed Apr 2 15:45:50 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 2 Apr 2008 15:45:50 -0400 Subject: [rt-users] installing on RHEL4 Message-ID: <21044E8C915A7E43B90A1056127160F116AAA9@EXMAIL.protus.org> Is there an up to date install instruction apart from: http://wiki.bestpractical.com/view/RHEL4InstallGuide I see a RPM rt-3.6.6-1.noarch.rpm but it's missing a WACK load of dependencies.... How do I install this RPM and satisfy all dependencies? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From mike.peachey at jennic.com Wed Apr 2 15:50:56 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 02 Apr 2008 20:50:56 +0100 Subject: [rt-users] installing on RHEL4 In-Reply-To: <21044E8C915A7E43B90A1056127160F116AAA9@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AAA9@EXMAIL.protus.org> Message-ID: <47F3E3A0.5040805@jennic.com> Nelson Pereira wrote: > Is there an up to date install instruction apart from: > > http://wiki.bestpractical.com/view/RHEL4InstallGuide > > > I see a RPM rt-3.6.6-1.noarch.rpm but it?s missing a WACK load of > dependencies?. > > How do I install this RPM and satisfy all dependencies? Personally I would recommend ditching the RPM and the RHEL-specific installation and doing a manual installation. There a number of reasons why this would be preferable, least of all that your RT directory structure will remain separate from the rest of your OS and make life that much more simple for you. Aside from that, Red Hat packaged software is asking for trouble as they seem to like to change the defaults that developers have worked on carefully to whatever they think they should be. It is for this reason, for example, that you should be careful if you upgrade your Perl installation via RPM because the Red Hat defaults cause RT to break in attempting to use Scalar::Util. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From stephen.a.cochran.lists at cahir.net Wed Apr 2 23:22:50 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Wed, 2 Apr 2008 23:22:50 -0400 Subject: [rt-users] Self Service Permissions Message-ID: Our unprivileged users can't see the queue names (we have multiple queues) in the Self Service interface, the field is just blank. What permission is needed to see that field? Currently set up with: unprivileged: CreateTicket SeeQueue requester: ReplyToTicket ShowTicket Thanks, Steve From stephen.a.cochran.lists at cahir.net Wed Apr 2 23:42:34 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Wed, 2 Apr 2008 23:42:34 -0400 Subject: [rt-users] Due Date in Ticket Creation Page Message-ID: Has anyone hacked the Create ticket form to show the due date? Can easily create a custom field that shows on the entry form, but seems silly since the ticket object already has a due date. In the archives I noticed a lot posts referencing using PHP etc as a front end and just having the forms send mail to RT to be processed in. Is that typical, ie what most people do to provide a more flexible interface (ajax, etc)? Thanks, Steve From ruz at bestpractical.com Thu Apr 3 02:31:50 2008 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Thu, 3 Apr 2008 10:31:50 +0400 Subject: [rt-users] Due Date in Ticket Creation Page In-Reply-To: References: Message-ID: <589c94400804022331x59874dd4y74e41db7e2a6ea11@mail.gmail.com> It's already there. You just have to click show advanced there on ticket create page. On Thu, Apr 3, 2008 at 7:42 AM, Stephen Cochran wrote: > > Has anyone hacked the Create ticket form to show the due date? Can > easily create a custom field that shows on the entry form, but seems > silly since the ticket object already has a due date. > > > In the archives I noticed a lot posts referencing using PHP etc as a > front end and just having the forms send mail to RT to be processed > in. Is that typical, ie what most people do to provide a more flexible > interface (ajax, etc)? > > Thanks, > Steve > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. From weser at osp-dd.de Thu Apr 3 04:07:44 2008 From: weser at osp-dd.de (Benjamin Weser) Date: Thu, 03 Apr 2008 10:07:44 +0200 Subject: [rt-users] insert blank columns in query builder Message-ID: <47F49050.2070501@osp-dd.de> Hi list, is there a way to add a blank column to the shown column at "Display Columns" in the Query Builder? There is one as default at ShowColumns but there is no chance to add another one from Add Columns. Did I miss anything or is this not possible yet? I have not found anything at the list or the wiki about this issue... Cheers, Ben From terence at deeproot.co.in Thu Apr 3 04:40:49 2008 From: terence at deeproot.co.in (Terence Monteiro) Date: Thu, 3 Apr 2008 14:10:49 +0530 Subject: [rt-users] Editing Custom Fields using CLI In-Reply-To: <20070706161442.GF27590@it.is.rice.edu> References: <1AC37FBEF7856646AC61A9F285BC14CC03CA85C9@mtn-exch1.sumtotalsystems.com> <3354428D-C141-48D5-91C4-7157C38F0182@bestpractical.com> <1AC37FBEF7856646AC61A9F285BC14CC03CA8882@mtn-exch1.sumtotalsystems.com> <20070706141808.GB27590@it.is.rice.edu> <1AC37FBEF7856646AC61A9F285BC14CC03CA88B9@mtn-exch1.sumtotalsystems.com> <20070706144724.GC27590@it.is.rice.edu> <1AC37FBEF7856646AC61A9F285BC14CC03CA88C2@mtn-exch1.sumtotalsystems.com> <20070706145944.GD27590@it.is.rice.edu> <1AC37FBEF7856646AC61A9F285BC14CC03CA8908@mtn-exch1.sumtotalsystems.com> <20070706161442.GF27590@it.is.rice.edu> Message-ID: <20080403141049.64f3b339@teribox.holyfamily.in> Hi, I'm using RT 3.6.4, which I had installed using the ubuntu repositiries. I'm using mysql as the backend DBMS. I have a custom field "Month of application", which I want to set while creating tickets. The queue I want to create tickets in has this custom field as one of its fields. The record for this custom field in the CustomFields table has an id = 31 I found a message on the mailing list saying that editing requires you to give the id, so I tried: rt create -t ticket set Queue="Applications" CF-31="April, 2008" # Invalid custom field name (31) # Ticket 3620 created. I also tried using the following methods, but none seems to work: rt create -t ticket set Queue="Applications" CF.{"Month of application"}="April, 2008" rt create -t ticket set Queue="Applications" 'CF.{Month of application}'="April, 2008" rt create -t ticket set Queue="Applications" CF-{"Month of application"}="April, 2008" Each time I got a message like: rt: edit: Unrecognised argument 'CF-{"Month of application"}=August, 2007'. rt: For help, run 'rt help create'. rt: For help, run 'rt help ticket'. I checked the source of the rt command line. It seems to be expecting a string without spaces as the field matching the pattern - [a-zA-Z][a-zA-Z0-9_-]* so it seems to me that if there is a way to assign custom fields having spaces in them from the CLI, there should be some way to identify the custom field without supplying spaces. Any comments, Jesse, Ruslan, Kenneth, anyone? -- Regards, Terence. From mavsol.rt1 at gmail.com Thu Apr 3 04:47:50 2008 From: mavsol.rt1 at gmail.com (Armaghan Saqib) Date: Thu, 03 Apr 2008 13:47:50 +0500 Subject: [rt-users] How can customer (requester) set the priority of tickets. Message-ID: <47F499B6.2070806@gmail.com> We allow our customers to keep sending their requirements as new tickets. Some times we need to prioritize the work of a specific customer and ask customer to let us know his/her priorities. Is it possible that the customer who is requester can login to the self service interface and update the relative priority of his tickets? Is there some other way this can be accomplished. Thanks and regards Armaghan -- Purpose-built SQL-Ledger Hosting http://www.ledger123.com/ Free trial available. -- From torsten.brumm at Kuehne-Nagel.com Thu Apr 3 05:03:03 2008 From: torsten.brumm at Kuehne-Nagel.com (Ham MI-ID, Torsten Brumm) Date: Thu, 3 Apr 2008 11:03:03 +0200 Subject: [rt-users] [ERROR] Request-URI Too Large In-Reply-To: <47F499B6.2070806@gmail.com> References: <47F499B6.2070806@gmail.com> Message-ID: <16426EA38D57E74CB1DE5A6AE1DB03940119F4B3@w3hamboex11.ger.win.int.kn> Hi RT Users, Just tried to export my users (Configuration -> Users -> Download as TAB delimited File) and got this error: Request-URI Too Large The requested URL's length exceeds the capacity limit for this server. Any idea how to fix this? Is this a error from RT (why the URL is so long) or can i change something at the webserver? Thanks Torsten K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: Klaus-Michael K?hne From andrew.fay at hotmail.co.uk Thu Apr 3 06:05:59 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Thu, 3 Apr 2008 10:05:59 +0000 Subject: [rt-users] LDAP Message-ID: hello, I am running ubuntu 7.10 with RT 3.6.4 with a mysql database and postfix, I am trying to allow for LDAP authentication with our windows 2000 server that has active directory on it, I have followed this guide : http://wiki.bestpractical.com/view/LDAP from new installations, but I am getting nothing, Any ideas? where would I find a log for LDAP ? I can't find any logs for request-tracker for that matter.. in /var/log/request-tracker3.6 there are no files and in /var/log/syslog it only has log in info for RT, Any help would be greatly appreciated, Cheers, Andy _________________________________________________________________ The next generation of Windows Live is here http://www.windowslive.co.uk/get-live -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Thu Apr 3 06:17:06 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 03 Apr 2008 11:17:06 +0100 Subject: [rt-users] LDAP In-Reply-To: References: Message-ID: <47F4AEA2.9060509@jennic.com> andrew fay wrote: > hello, > > I am running ubuntu 7.10 with RT 3.6.4 with a mysql database and postfix, > > I am trying to allow for LDAP authentication with our windows 2000 > server that has active directory on it, > > I have followed this guide : > http://wiki.bestpractical.com/view/LDAP > > from new installations, but I am getting nothing, > > Any ideas? Which method of the three are you using? > where would I find a log for LDAP ? I can't find any logs for > request-tracker for that matter.. in /var/log/request-tracker3.6 there > are no files and in /var/log/syslog it only has log in info for RT, It kinda depends on your distribution.. I generally install RT manually and therefore the logs sit neatly in $RTHOME/var/log/rt.log Have you set the LogToFileNamed option in RT_SiteConfig.pm? > Any help would be greatly appreciated, You're welcome to stop by #rt on irc.perl.org where I'm happy to provide interactive assistance. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From andrew.fay at hotmail.co.uk Thu Apr 3 06:27:29 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Thu, 3 Apr 2008 10:27:29 +0000 Subject: [rt-users] LDAP In-Reply-To: <47F4AEA2.9060509@jennic.com> References: <47F4AEA2.9060509@jennic.com> Message-ID: Hi Mike, I was trying to get in to the irc room but my workplace's firewall is preventing this at the moment so until I can get access into the router I cannot do that at the moment unfortunatly! I am pretty much following the guide for new installs half way down the page - ========================================================== 1. Copy the code from LdapUserLocalOverlay into [=${RTHOME}/local/lib/RT/User_Local.pm] (if it doesn't exist, create it) 2. Copy the config settings from LdapSiteConfigSettings into [=${RTHOME}/etc/RT_SiteConfig.pm] (I'd put it at the end, but it shouldn't matter) Note Active Directory users should use LdapSiteConfigSettingsForActiveDirectory as a template. 3. Customize the configuration settings; pay careful attention to LdapAttrMap, which is a hash reference to map RT's attributes to the appropriate fields of your LDAP schema. *It's very unlikely that the LdapAttrMap shown in LdapSiteConfigSettings will work for you without customization! In particular, ActiveDirectory users should map:* Name => 'sAMAccountName' ================================================================= I have used LdapSiteConfigSettingsForActiveDirectory for my settings in RT_SiteConfig.pmas for the log file : I installed RT via the Synaotic package manager as I am learning to use linux as I go, What is the excat line I need to put in RT_SiteConfig.pm for the log ? I never had a LogToFileNamed variable in there to begin with for some reason ? Cheers, Andy > Date: Thu, 3 Apr 2008 11:17:06 +0100 > From: mike.peachey at jennic.com > To: andrew.fay at hotmail.co.uk; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] LDAP > > andrew fay wrote: > > hello, > > > > I am running ubuntu 7.10 with RT 3.6.4 with a mysql database and postfix, > > > > I am trying to allow for LDAP authentication with our windows 2000 > > server that has active directory on it, > > > > I have followed this guide : > > http://wiki.bestpractical.com/view/LDAP > > > > from new installations, but I am getting nothing, > > > > Any ideas? > > Which method of the three are you using? > > > where would I find a log for LDAP ? I can't find any logs for > > request-tracker for that matter.. in /var/log/request-tracker3.6 there > > are no files and in /var/log/syslog it only has log in info for RT, > > It kinda depends on your distribution.. I generally install RT manually > and therefore the logs sit neatly in $RTHOME/var/log/rt.log > > Have you set the LogToFileNamed option in RT_SiteConfig.pm? > > > Any help would be greatly appreciated, > > You're welcome to stop by #rt on irc.perl.org where I'm happy to provide > interactive assistance. > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ _________________________________________________________________ Win 100?s of Virgin Experience days with BigSnapSearch.com http://www.bigsnapsearch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.fay at hotmail.co.uk Thu Apr 3 06:38:37 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Thu, 3 Apr 2008 10:38:37 +0000 Subject: [rt-users] LDAP In-Reply-To: <47F4AEA2.9060509@jennic.com> References: <47F4AEA2.9060509@jennic.com> Message-ID: oh i think i misunderstood the method part there, I have Set($AuthMethods, ['LDAP', 'Internal']); Set up as my method, is this ok to access another machine with active directory on our internal network ? Cheers, Andy > Date: Thu, 3 Apr 2008 11:17:06 +0100 > From: mike.peachey at jennic.com > To: andrew.fay at hotmail.co.uk; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] LDAP > > andrew fay wrote: > > hello, > > > > I am running ubuntu 7.10 with RT 3.6.4 with a mysql database and postfix, > > > > I am trying to allow for LDAP authentication with our windows 2000 > > server that has active directory on it, > > > > I have followed this guide : > > http://wiki.bestpractical.com/view/LDAP > > > > from new installations, but I am getting nothing, > > > > Any ideas? > > Which method of the three are you using? > > > where would I find a log for LDAP ? I can't find any logs for > > request-tracker for that matter.. in /var/log/request-tracker3.6 there > > are no files and in /var/log/syslog it only has log in info for RT, > > It kinda depends on your distribution.. I generally install RT manually > and therefore the logs sit neatly in $RTHOME/var/log/rt.log > > Have you set the LogToFileNamed option in RT_SiteConfig.pm? > > > Any help would be greatly appreciated, > > You're welcome to stop by #rt on irc.perl.org where I'm happy to provide > interactive assistance. > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ _________________________________________________________________ Welcome to the next generation of Windows Live http://www.windowslive.co.uk/get-live -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Thu Apr 3 06:39:11 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 03 Apr 2008 11:39:11 +0100 Subject: [rt-users] LDAP In-Reply-To: References: <47F4AEA2.9060509@jennic.com> Message-ID: <47F4B3CF.2050006@jennic.com> andrew fay wrote: > Hi Mike, > > I was trying to get in to the irc room but my workplace's firewall is > preventing this at the moment so until I can get access into the router > I cannot do that at the moment unfortunatly! Ok. > > I am pretty much following the guide for new installs half way down the > page - > Might I recommend that you give my extension a go instead? I'm certainly better placed to help you with it. In case it's not clear enough, the LDAP page on the wiki contains three solutions. Apache Auth, My Extension and Jim Meyer's overlay code on which my extension is based. > I installed RT via the Synaotic package manager as I am learning to use > linux as I go, This is generally not the best way to do it as it also means you are a couple of versions out of date, but it will still work. > > What is the excat line I need to put in RT_SiteConfig.pm for the log ? Set($LogToSyslog, ''); Set($LogToFile, 'debug'); Set($LogDir, '/var/log/rt'); Set($LogToFileNamed , "rt.log"); These can be found in RT_Config.pm which you should review as soon as you can as it contains all of the options you can set. RT_SiteConfig.pm is just used to override the defaults in RT_Config.pm > > I never had a LogToFileNamed variable in there to begin with for some > reason ? Because you didn't put one in there yourself. RT_SiteConfig.pm depends on you to make the necessary overrides from RT_Config.pm -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Thu Apr 3 06:40:29 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 03 Apr 2008 11:40:29 +0100 Subject: [rt-users] LDAP In-Reply-To: References: <47F4AEA2.9060509@jennic.com> Message-ID: <47F4B41D.6070401@jennic.com> andrew fay wrote: > oh i think i misunderstood the method part there, > > I have > > Set($AuthMethods, ['LDAP', 'Internal']); > > Set up as my method, is this ok to access another machine with active > directory on our internal network ? Yes, but it's not what I meant by method.. see the post I just fired off a second a go (when it turns up on the list) regarding the three methods on the LDAP wiki page. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From andrew.fay at hotmail.co.uk Thu Apr 3 08:55:05 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Thu, 3 Apr 2008 12:55:05 +0000 Subject: [rt-users] LDAP In-Reply-To: <47F4B41D.6070401@jennic.com> References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> Message-ID: Hi Mike, I have installed the ExternalAuth extention, I now get this error on trying to log in : What do you think ? Cheers, Andy ============================== System error error: install_driver(DBI_DRIVER) failed: Can't locate DBD/DBI_DRIVER.pm in @INC (@INC contains: /usr/local/share/request-tracker3.6/lib /usr/share/request-tracker3.6/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /etc/apache2) at (eval 279) line 3. Stack: [(eval 279):3] [/usr/lib/perl5/DBI.pm:614] [/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:1088] [/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:760] [/usr/share/request-tracker3.6/html/Callbacks/ExternalAuth/autohandler/Auth:61] [/usr/share/request-tracker3.6/html/Elements/Callback:85] [/usr/share/request-tracker3.6/html/autohandler:240] Perhaps the DBD::DBI_DRIVER perl module hasn't been fully installed, or perhaps the capitalisation of 'DBI_DRIVER' isn't right. Available drivers: DBM, ExampleP, File, Gofer, Pg, Proxy, Sponge, mysql. at /usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm line 1088 context: ... 98: # whether they should generate a full stack trace (confess() and cluck()) 99: # or simply report the caller's package (croak() and carp()), respectively. 100: # confess() and croak() die, carp() and cluck() warn. 101: 102: sub croak { die shortmess @_ } 103: sub confess { die longmess @_ } 104: sub carp { warn shortmess @_ } 105: sub cluck { warn longmess @_ } 106: ... code stack: /usr/share/perl/5.8/Carp.pm:102 /usr/lib/perl5/DBI.pm:768 /usr/lib/perl5/DBI.pm:614 /usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:1088 /usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:760 /usr/share/request-tracker3.6/html/Callbacks/ExternalAuth/autohandler/Auth:61 /usr/share/request-tracker3.6/html/Elements/Callback:85 /usr/share/request-tracker3.6/html/autohandler:240 raw error ============================= > Date: Thu, 3 Apr 2008 11:40:29 +0100 > From: mike.peachey at jennic.com > To: andrew.fay at hotmail.co.uk; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] LDAP > > andrew fay wrote: > > oh i think i misunderstood the method part there, > > > > I have > > > > Set($AuthMethods, ['LDAP', 'Internal']); > > > > Set up as my method, is this ok to access another machine with active > > directory on our internal network ? > > Yes, but it's not what I meant by method.. see the post I just fired off > a second a go (when it turns up on the list) regarding the three methods > on the LDAP wiki page. > > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ _________________________________________________________________ Amazing prizes every hour with Live Search Big Snap http://www.bigsnapsearch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Thu Apr 3 09:03:58 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 03 Apr 2008 14:03:58 +0100 Subject: [rt-users] LDAP In-Reply-To: References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> Message-ID: <47F4D5BE.3040208@jennic.com> andrew fay wrote: > Hi Mike, > > I have installed the ExternalAuth extention, > > I now get this error on trying to log in : > > What do you think ? It would appear that you haven't modified the ExternalSettings from the default. You need to remove the example MySQL configuration. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From andrew.fay at hotmail.co.uk Thu Apr 3 09:26:37 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Thu, 3 Apr 2008 13:26:37 +0000 Subject: [rt-users] LDAP In-Reply-To: <47F4D5BE.3040208@jennic.com> References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> <47F4D5BE.3040208@jennic.com> Message-ID: Hi, I just left that there for reference, but it is removed now.. almost there, When I log in with an active directory user now i am getting this in the RT.log [Thu Apr 3 13:19:43 2008] [debug]: Attempting to use external auth service: My_LDAP (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:63) [Thu Apr 3 13:19:48 2008] [critical]: RT::User::_GetBoundLdapObj : Cannot connect to albex.albyn.local (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:1026) [Thu Apr 3 13:19:48 2008] [info]: RT::User::IsExternalPassword External Auth Failed: fjones (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:294) [Thu Apr 3 13:19:48 2008] [debug]: RT::User::IsPassword External auth FAILED (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:360) [Thu Apr 3 13:19:48 2008] [info]: RT::User::IsInternalPassword AUTH FAILED (no passwd): fjones (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:305) [Thu Apr 3 13:19:48 2008] [debug]: RT::User::IsPassword Internal auth FAILED (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:366) albex being the server that active directory is on and albyn.local being the domain, my ldap settings are : { # AN EXAMPLE LDAP SERVICE 'My_LDAP' => { ## GENERIC SECTION # The type of service (db/ldap/cookie) 'type' => 'ldap', # Should the service be used for authentication? 'auth' => 1, # Should the service be used for information? 'info' => 1, # The server hosting the service 'server' => 'albex.albyn.local', ## SERVICE-SPECIFIC SECTION # The LDAP search base 'base' => 'ou=aber,dc=albyn,dc=local', # The filter to use to match RT-Users 'filter' => '(FILTER_STRING)', # The filter that will only match disabled users 'd_filter' => '(FILTER_STRING)', # Should we try to use TLS to encrypt connections? 'tls' => 0, # What other args should I pass to Net::LDAP->new($host, at args)? 'net_ldap_args' => [ version => 3 ], # Does authentication depend on group membership? What group name? 'group' => 'GROUP_NAME', # What is the attribute for the group object that determines membership? 'group_attr' => 'GROUP_ATTR', ## RT ATTRIBUTE MATCHING SECTION # The list of RT attributes that uniquely identify a user 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Organization' => 'physicalDeliveryOfficeName', 'RealName' => 'cn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos' => 'sAMAccountName', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } } } Thanks for the help, It is much appreciated I am quite new to all of this! Andy > Date: Thu, 3 Apr 2008 14:03:58 +0100 > From: mike.peachey at jennic.com > To: andrew.fay at hotmail.co.uk; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] LDAP > > andrew fay wrote: > > Hi Mike, > > > > I have installed the ExternalAuth extention, > > > > I now get this error on trying to log in : > > > > What do you think ? > > It would appear that you haven't modified the ExternalSettings from the > default. > > You need to remove the example MySQL configuration. > > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ _________________________________________________________________ Get Hotmail on your mobile. Text MSN to 63463 now! http://mobile.uk.msn.com/pc/mail.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew.fay at hotmail.co.uk Thu Apr 3 09:37:06 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Thu, 3 Apr 2008 13:37:06 +0000 Subject: [rt-users] LDAP In-Reply-To: <47F4D5BE.3040208@jennic.com> References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> <47F4D5BE.3040208@jennic.com> Message-ID: I think our server requires a user to authenticate before performing LDAP searches.. where can I enter this info ? Cheers, Andy > Date: Thu, 3 Apr 2008 14:03:58 +0100 > From: mike.peachey at jennic.com > To: andrew.fay at hotmail.co.uk; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] LDAP > > andrew fay wrote: > > Hi Mike, > > > > I have installed the ExternalAuth extention, > > > > I now get this error on trying to log in : > > > > What do you think ? > > It would appear that you haven't modified the ExternalSettings from the > default. > > You need to remove the example MySQL configuration. > > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ _________________________________________________________________ Win 100?s of Virgin Experience days with BigSnapSearch.com http://www.bigsnapsearch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Thu Apr 3 09:51:58 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 03 Apr 2008 14:51:58 +0100 Subject: [rt-users] LDAP In-Reply-To: References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> <47F4D5BE.3040208@jennic.com> Message-ID: <47F4E0FE.8010902@jennic.com> andrew fay wrote: > Hi, > > I just left that there for reference, but it is removed now.. almost there, > > When I log in with an active directory user now i am getting this in the > RT.log > > [Thu Apr 3 13:19:43 2008] [debug]: Attempting to use external auth > service: My_LDAP > (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:63) > [Thu Apr 3 13:19:48 2008] [critical]: RT::User::_GetBoundLdapObj : > Cannot connect to albex.albyn.local The problem ^^ > my ldap settings are : > > # The filter to use to match RT-Users > 'filter' => '(FILTER_STRING)', > > # The filter that will only match disabled users > 'd_filter' => '(FILTER_STRING)', You must replace FILTER_STRING with a valid LDAP filter. For Active Directory where you want all users to match and disabled users in active directory should be disabled in RT: 'filter' => '(objectclass=Person)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', > # Does authentication depend on group membership? What group name? > > 'group' => 'GROUP_NAME', > > # What is the > attribute for the group object that determines membership? > > 'group_attr' => 'GROUP_ATTR', If you don't plan on using the group attributes, you should remove them from the config altogether. > I think our server requires a user to authenticate before performing > LDAP searches.. where can I enter this info ? It seems I forgot to add these to the default config as our server allows anonymous searches. inside the ldap config, add lines for user and pass: 'user' => 'ldap_username_for_rt', 'pass' => 'ldap_password_for_rt', -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Thu Apr 3 10:22:38 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 03 Apr 2008 15:22:38 +0100 Subject: [rt-users] LDAP In-Reply-To: <47F4E0FE.8010902@jennic.com> References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> <47F4D5BE.3040208@jennic.com> <47F4E0FE.8010902@jennic.com> Message-ID: <47F4E82E.8060405@jennic.com> Mike Peachey wrote: > andrew fay wrote: > > It seems I forgot to add these to the default config as our server > allows anonymous searches. RT-Authen-ExternalAuth-0.04 has just been uploaded to CPAN with the new example config options, although it's of little use to you now :) I have credited you in the changelog though :p -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From andrew.fay at hotmail.co.uk Thu Apr 3 10:42:53 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Thu, 3 Apr 2008 14:42:53 +0000 Subject: [rt-users] LDAP In-Reply-To: <47F4E82E.8060405@jennic.com> References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> <47F4D5BE.3040208@jennic.com> <47F4E0FE.8010902@jennic.com> <47F4E82E.8060405@jennic.com> Message-ID: heh, I am still trying to get this set up! looking good though, cheers, > Date: Thu, 3 Apr 2008 15:22:38 +0100 > From: mike.peachey at jennic.com > To: andrew.fay at hotmail.co.uk > CC: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] LDAP > > Mike Peachey wrote: > > andrew fay wrote: > > > > It seems I forgot to add these to the default config as our server > > allows anonymous searches. > > RT-Authen-ExternalAuth-0.04 has just been uploaded to CPAN with the new > example config options, although it's of little use to you now :) > > I have credited you in the changelog though :p > > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ _________________________________________________________________ Get Hotmail on your mobile. Text MSN to 63463 now! http://mobile.uk.msn.com/pc/mail.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Thu Apr 3 10:56:09 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 3 Apr 2008 10:56:09 -0400 Subject: [rt-users] New install (second chance) Message-ID: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> Hi, Trying this install again but this time with a RHEL4 box. Downloaded the tar.gz, unpacked, installed all perl modules, testdeps all is fine... Then: Here is the output of ./configure and ./make install Can someone tell me what my problem is and how to fix it? [root at netnet-ems rt-3.6.6]# [root at netnet-ems rt-3.6.6]# [root at netnet-ems rt-3.6.6]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for perl... /usr/bin/perl checking for chosen layout... RT3 checking if user www exists... not found checking if user www-data exists... not found checking if user apache exists... found checking if group www exists... not found checking if group www-data exists... not found checking if group apache exists... found checking if group rt3 exists... not found checking if group rt exists... not found checking if group apache exists... found checking if database name is valid... yes configure: creating ./config.status config.status: creating sbin/rt-dump-database config.status: creating sbin/rt-setup-database config.status: creating sbin/rt-test-dependencies config.status: creating bin/mason_handler.fcgi config.status: creating bin/mason_handler.scgi config.status: creating bin/standalone_httpd config.status: creating bin/rt-crontool config.status: creating bin/rt-mailgate config.status: creating bin/rt config.status: creating Makefile config.status: creating etc/RT_Config.pm config.status: creating lib/RT.pm config.status: creating bin/mason_handler.svc config.status: creating bin/webmux.pl [root at netnet-ems rt-3.6.6]# make install mkdir -p //opt/rt3/etc cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm //opt/rt3/etc/RT_SiteConfig.pm chgrp apache //opt/rt3/etc/RT_Config.pm chown root //opt/rt3/etc/RT_Config.pm chgrp apache //opt/rt3/etc/RT_SiteConfig.pm chown root //opt/rt3/etc/RT_SiteConfig.pm Installed configuration. about to install rt in /opt/rt3 mkdir -p //opt/rt3/var/log mkdir -p //opt/rt3/var/mason_data mkdir -p //opt/rt3/var/mason_data/cache mkdir -p //opt/rt3/var/mason_data/etc mkdir -p //opt/rt3/var/mason_data/obj mkdir -p //opt/rt3/var/session_data mkdir -p //opt/rt3/share/html mkdir -p //opt/rt3/local/html mkdir -p //opt/rt3/local/etc mkdir -p //opt/rt3/local/lib mkdir -p //opt/rt3/local/po [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib cp -rp lib/* //opt/rt3/lib mkdir -p //opt/rt3/etc cp -rp \ etc/acl.* \ etc/initialdata \ etc/schema.* \ //opt/rt3/etc mkdir -p //opt/rt3/bin chmod +x bin/rt-mailgate \ bin/rt-crontool cp -rp \ bin/rt-mailgate \ bin/mason_handler.fcgi \ bin/mason_handler.scgi \ bin/standalone_httpd \ bin/mason_handler.svc \ bin/rt \ bin/webmux.pl \ bin/rt-crontool \ //opt/rt3/bin mkdir -p //opt/rt3/sbin chmod +x \ sbin/rt-dump-database \ sbin/rt-setup-database \ sbin/rt-test-dependencies cp -rp \ sbin/rt-dump-database \ sbin/rt-setup-database \ sbin/rt-test-dependencies \ //opt/rt3/sbin [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html cp -rp ./html/* //opt/rt3/share/html cp -rp ./local/html/* //opt/rt3/local/html cp: cannot stat `./local/html/*': No such file or directory make: [local-install] Error 1 (ignored) cp -rp ./local/po/* //opt/rt3/local/po cp: cannot stat `./local/po/*': No such file or directory make: [local-install] Error 1 (ignored) cp -rp ./local/etc/* //opt/rt3/local/etc cp: cannot stat `./local/etc/*': No such file or directory make: [local-install] Error 1 (ignored) # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc make: [doc-install] Error 1 (ignored) [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc cp -rp ./README //opt/rt3/share/doc # Make the libraries readable chmod 0755 //opt/rt3 chown -R root //opt/rt3/lib chgrp -R bin //opt/rt3/lib chmod -R u+rwX,go-w,go+rX //opt/rt3/lib chmod 0755 //opt/rt3/bin chmod 0755 //opt/rt3/bin chmod 0755 //opt/rt3/etc chmod 0500 //opt/rt3/etc/* #TODO: the config file should probably be able to have its # owner set separately from the binaries. chown -R root //opt/rt3/etc chgrp -R apache //opt/rt3/etc chmod 0550 //opt/rt3/etc/RT_Config.pm chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm # Make the interfaces executable chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc # Make the web ui readable by all. chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ //opt/rt3/local/html \ //opt/rt3/local/po chown -R root //opt/rt3/share/html \ //opt/rt3/local/html chgrp -R bin //opt/rt3/share/html \ //opt/rt3/local/html # Make the web ui's data dir writable chmod 0770 //opt/rt3/var/mason_data \ //opt/rt3/var/session_data chown -R apache //opt/rt3/var/mason_data \ //opt/rt3/var/session_data chgrp -R apache //opt/rt3/var/mason_data \ //opt/rt3/var/session_data Congratulations. RT has been installed. You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. (You will definitely need to set RT's database password in /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be very dangerous. Note that you do not have to manually add a database user or set up a database for RT. These actions will be taken care of in the next step.) After that, you need to initialize RT's database by running 'make initialize-database' [root at netnet-ems rt-3.6.6]# make initialize-database /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root --prompt-for-dba-password In order to create or update your RT database,this script needs to connect to your mysql instance on localhost as root. Please specify that user's database password below. If the user has no database password, just press return. Password: Now creating a database for RT. Creating mysql database rt3. Now populating database schema. Creating database schema. Transactions not supported by database at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1668, line 463. make: *** [initialize-database] Error 2 [root at netnet-ems rt-3.6.6]# Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From barnesaw at ucrwcu.rwc.uc.edu Thu Apr 3 11:12:47 2008 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Thu, 03 Apr 2008 11:12:47 -0400 Subject: [rt-users] New install (second chance) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> Message-ID: <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> # cat README | grep configure 2 Run the "configure" script. ./configure --help to see the list of options ./configure (with the flags you want) Nelson Pereira wrote: > > Hi, > > > > Trying this install again but this time with a RHEL4 box. > > Downloaded the tar.gz, unpacked, installed all perl modules, testdeps > all is fine? Then: > > Here is the output of ./configure and ./make install > > Can someone tell me what my problem is and how to fix it? > > > > > > [root at netnet-ems rt-3.6.6]# > > [root at netnet-ems rt-3.6.6]# > > [root at netnet-ems rt-3.6.6]# ./configure > > checking for a BSD-compatible install... /usr/bin/install -c > > checking for gawk... gawk > > checking for perl... /usr/bin/perl > > checking for chosen layout... RT3 > > checking if user www exists... not found > > checking if user www-data exists... not found > > checking if user apache exists... found > > checking if group www exists... not found > > checking if group www-data exists... not found > > checking if group apache exists... found > > checking if group rt3 exists... not found > > checking if group rt exists... not found > > checking if group apache exists... found > > checking if database name is valid... yes > > configure: creating ./config.status > > config.status: creating sbin/rt-dump-database > > config.status: creating sbin/rt-setup-database > > config.status: creating sbin/rt-test-dependencies > > config.status: creating bin/mason_handler.fcgi > > config.status: creating bin/mason_handler.scgi > > config.status: creating bin/standalone_httpd > > config.status: creating bin/rt-crontool > > config.status: creating bin/rt-mailgate > > config.status: creating bin/rt > > config.status: creating Makefile > > config.status: creating etc/RT_Config.pm > > config.status: creating lib/RT.pm > > config.status: creating bin/mason_handler.svc > > config.status: creating bin/webmux.pl > > [root at netnet-ems rt-3.6.6]# make install > > mkdir -p //opt/rt3/etc > > cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm > > [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm > //opt/rt3/etc/RT_SiteConfig.pm > > chgrp apache //opt/rt3/etc/RT_Config.pm > > chown root //opt/rt3/etc/RT_Config.pm > > chgrp apache //opt/rt3/etc/RT_SiteConfig.pm > > chown root //opt/rt3/etc/RT_SiteConfig.pm > > Installed configuration. about to install rt in /opt/rt3 > > mkdir -p //opt/rt3/var/log > > mkdir -p //opt/rt3/var/mason_data > > mkdir -p //opt/rt3/var/mason_data/cache > > mkdir -p //opt/rt3/var/mason_data/etc > > mkdir -p //opt/rt3/var/mason_data/obj > > mkdir -p //opt/rt3/var/session_data > > mkdir -p //opt/rt3/share/html > > mkdir -p //opt/rt3/local/html > > mkdir -p //opt/rt3/local/etc > > mkdir -p //opt/rt3/local/lib > > mkdir -p //opt/rt3/local/po > > [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib > > cp -rp lib/* //opt/rt3/lib > > mkdir -p //opt/rt3/etc > > cp -rp \ > > etc/acl.* \ > > etc/initialdata \ > > etc/schema.* \ > > //opt/rt3/etc > > mkdir -p //opt/rt3/bin > > chmod +x bin/rt-mailgate \ > > bin/rt-crontool > > cp -rp \ > > bin/rt-mailgate \ > > bin/mason_handler.fcgi \ > > bin/mason_handler.scgi \ > > bin/standalone_httpd \ > > bin/mason_handler.svc \ > > bin/rt \ > > bin/webmux.pl \ > > bin/rt-crontool \ > > //opt/rt3/bin > > mkdir -p //opt/rt3/sbin > > chmod +x \ > > sbin/rt-dump-database \ > > sbin/rt-setup-database \ > > sbin/rt-test-dependencies > > cp -rp \ > > sbin/rt-dump-database \ > > sbin/rt-setup-database \ > > sbin/rt-test-dependencies \ > > //opt/rt3/sbin > > [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html > > cp -rp ./html/* //opt/rt3/share/html > > cp -rp ./local/html/* //opt/rt3/local/html > > cp: cannot stat `./local/html/*': No such file or directory > > make: [local-install] Error 1 (ignored) > > cp -rp ./local/po/* //opt/rt3/local/po > > cp: cannot stat `./local/po/*': No such file or directory > > make: [local-install] Error 1 (ignored) > > cp -rp ./local/etc/* //opt/rt3/local/etc > > cp: cannot stat `./local/etc/*': No such file or directory > > make: [local-install] Error 1 (ignored) > > # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir > > [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc > > make: [doc-install] Error 1 (ignored) > > [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc > > cp -rp ./README //opt/rt3/share/doc > > # Make the libraries readable > > chmod 0755 //opt/rt3 > > chown -R root //opt/rt3/lib > > chgrp -R bin //opt/rt3/lib > > chmod -R u+rwX,go-w,go+rX //opt/rt3/lib > > chmod 0755 //opt/rt3/bin > > chmod 0755 //opt/rt3/bin > > chmod 0755 //opt/rt3/etc > > chmod 0500 //opt/rt3/etc/* > > #TODO: the config file should probably be able to have its > > # owner set separately from the binaries. > > chown -R root //opt/rt3/etc > > chgrp -R apache //opt/rt3/etc > > chmod 0550 //opt/rt3/etc/RT_Config.pm > > chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm > > # Make the interfaces executable > > chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > > chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > > chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > > # Make the web ui readable by all. > > chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ > > //opt/rt3/local/html \ > > //opt/rt3/local/po > > chown -R root //opt/rt3/share/html \ > > //opt/rt3/local/html > > chgrp -R bin //opt/rt3/share/html \ > > //opt/rt3/local/html > > # Make the web ui's data dir writable > > chmod 0770 //opt/rt3/var/mason_data \ > > //opt/rt3/var/session_data > > chown -R apache //opt/rt3/var/mason_data \ > > //opt/rt3/var/session_data > > chgrp -R apache //opt/rt3/var/mason_data \ > > //opt/rt3/var/session_data > > Congratulations. RT has been installed. > > > > > > You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. > > > > (You will definitely need to set RT's database password in > > /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be > > very dangerous. Note that you do not have to manually add a > > database user or set up a database for RT. These actions will be > > taken care of in the next step.) > > > > After that, you need to initialize RT's database by running > > 'make initialize-database' > > [root at netnet-ems rt-3.6.6]# make initialize-database > > /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba > root --prompt-for-dba-password > > In order to create or update your RT database,this script needs to > connect to your mysql instance on localhost as root. > > Please specify that user's database password below. If the user has no > database > > password, just press return. > > > > Password: > > Now creating a database for RT. > > Creating mysql database rt3. > > Now populating database schema. > > Creating database schema. > > Transactions not supported by database at > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line > 1668, line 463. > > make: *** [initialize-database] Error 2 > > [root at netnet-ems rt-3.6.6]# > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > www.MyFax.com > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From npereira at protus.com Thu Apr 3 11:46:51 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 3 Apr 2008 11:46:51 -0400 Subject: [rt-users] New install (second chance) In-Reply-To: <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> Message-ID: <21044E8C915A7E43B90A1056127160F116AB40@EXMAIL.protus.org> I don't even know what flags to use...?!? Nelson Pereira Refer your friends and colleagues to MyFax! Click here for more information. www.MyFax.com -----Original Message----- From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Sent: Thursday, April 03, 2008 11:13 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] New install (second chance) # cat README | grep configure 2 Run the "configure" script. ./configure --help to see the list of options ./configure (with the flags you want) Nelson Pereira wrote: > > Hi, > > > > Trying this install again but this time with a RHEL4 box. > > Downloaded the tar.gz, unpacked, installed all perl modules, testdeps > all is fine... Then: > > Here is the output of ./configure and ./make install > > Can someone tell me what my problem is and how to fix it? > > > > > > [root at netnet-ems rt-3.6.6]# > > [root at netnet-ems rt-3.6.6]# > > [root at netnet-ems rt-3.6.6]# ./configure > > checking for a BSD-compatible install... /usr/bin/install -c > > checking for gawk... gawk > > checking for perl... /usr/bin/perl > > checking for chosen layout... RT3 > > checking if user www exists... not found > > checking if user www-data exists... not found > > checking if user apache exists... found > > checking if group www exists... not found > > checking if group www-data exists... not found > > checking if group apache exists... found > > checking if group rt3 exists... not found > > checking if group rt exists... not found > > checking if group apache exists... found > > checking if database name is valid... yes > > configure: creating ./config.status > > config.status: creating sbin/rt-dump-database > > config.status: creating sbin/rt-setup-database > > config.status: creating sbin/rt-test-dependencies > > config.status: creating bin/mason_handler.fcgi > > config.status: creating bin/mason_handler.scgi > > config.status: creating bin/standalone_httpd > > config.status: creating bin/rt-crontool > > config.status: creating bin/rt-mailgate > > config.status: creating bin/rt > > config.status: creating Makefile > > config.status: creating etc/RT_Config.pm > > config.status: creating lib/RT.pm > > config.status: creating bin/mason_handler.svc > > config.status: creating bin/webmux.pl > > [root at netnet-ems rt-3.6.6]# make install > > mkdir -p //opt/rt3/etc > > cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm > > [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm > //opt/rt3/etc/RT_SiteConfig.pm > > chgrp apache //opt/rt3/etc/RT_Config.pm > > chown root //opt/rt3/etc/RT_Config.pm > > chgrp apache //opt/rt3/etc/RT_SiteConfig.pm > > chown root //opt/rt3/etc/RT_SiteConfig.pm > > Installed configuration. about to install rt in /opt/rt3 > > mkdir -p //opt/rt3/var/log > > mkdir -p //opt/rt3/var/mason_data > > mkdir -p //opt/rt3/var/mason_data/cache > > mkdir -p //opt/rt3/var/mason_data/etc > > mkdir -p //opt/rt3/var/mason_data/obj > > mkdir -p //opt/rt3/var/session_data > > mkdir -p //opt/rt3/share/html > > mkdir -p //opt/rt3/local/html > > mkdir -p //opt/rt3/local/etc > > mkdir -p //opt/rt3/local/lib > > mkdir -p //opt/rt3/local/po > > [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib > > cp -rp lib/* //opt/rt3/lib > > mkdir -p //opt/rt3/etc > > cp -rp \ > > etc/acl.* \ > > etc/initialdata \ > > etc/schema.* \ > > //opt/rt3/etc > > mkdir -p //opt/rt3/bin > > chmod +x bin/rt-mailgate \ > > bin/rt-crontool > > cp -rp \ > > bin/rt-mailgate \ > > bin/mason_handler.fcgi \ > > bin/mason_handler.scgi \ > > bin/standalone_httpd \ > > bin/mason_handler.svc \ > > bin/rt \ > > bin/webmux.pl \ > > bin/rt-crontool \ > > //opt/rt3/bin > > mkdir -p //opt/rt3/sbin > > chmod +x \ > > sbin/rt-dump-database \ > > sbin/rt-setup-database \ > > sbin/rt-test-dependencies > > cp -rp \ > > sbin/rt-dump-database \ > > sbin/rt-setup-database \ > > sbin/rt-test-dependencies \ > > //opt/rt3/sbin > > [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html > > cp -rp ./html/* //opt/rt3/share/html > > cp -rp ./local/html/* //opt/rt3/local/html > > cp: cannot stat `./local/html/*': No such file or directory > > make: [local-install] Error 1 (ignored) > > cp -rp ./local/po/* //opt/rt3/local/po > > cp: cannot stat `./local/po/*': No such file or directory > > make: [local-install] Error 1 (ignored) > > cp -rp ./local/etc/* //opt/rt3/local/etc > > cp: cannot stat `./local/etc/*': No such file or directory > > make: [local-install] Error 1 (ignored) > > # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir > > [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc > > make: [doc-install] Error 1 (ignored) > > [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc > > cp -rp ./README //opt/rt3/share/doc > > # Make the libraries readable > > chmod 0755 //opt/rt3 > > chown -R root //opt/rt3/lib > > chgrp -R bin //opt/rt3/lib > > chmod -R u+rwX,go-w,go+rX //opt/rt3/lib > > chmod 0755 //opt/rt3/bin > > chmod 0755 //opt/rt3/bin > > chmod 0755 //opt/rt3/etc > > chmod 0500 //opt/rt3/etc/* > > #TODO: the config file should probably be able to have its > > # owner set separately from the binaries. > > chown -R root //opt/rt3/etc > > chgrp -R apache //opt/rt3/etc > > chmod 0550 //opt/rt3/etc/RT_Config.pm > > chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm > > # Make the interfaces executable > > chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > > chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > > chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > > # Make the web ui readable by all. > > chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ > > //opt/rt3/local/html \ > > //opt/rt3/local/po > > chown -R root //opt/rt3/share/html \ > > //opt/rt3/local/html > > chgrp -R bin //opt/rt3/share/html \ > > //opt/rt3/local/html > > # Make the web ui's data dir writable > > chmod 0770 //opt/rt3/var/mason_data \ > > //opt/rt3/var/session_data > > chown -R apache //opt/rt3/var/mason_data \ > > //opt/rt3/var/session_data > > chgrp -R apache //opt/rt3/var/mason_data \ > > //opt/rt3/var/session_data > > Congratulations. RT has been installed. > > > > > > You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. > > > > (You will definitely need to set RT's database password in > > /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be > > very dangerous. Note that you do not have to manually add a > > database user or set up a database for RT. These actions will be > > taken care of in the next step.) > > > > After that, you need to initialize RT's database by running > > 'make initialize-database' > > [root at netnet-ems rt-3.6.6]# make initialize-database > > /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba > root --prompt-for-dba-password > > In order to create or update your RT database,this script needs to > connect to your mysql instance on localhost as root. > > Please specify that user's database password below. If the user has no > database > > password, just press return. > > > > Password: > > Now creating a database for RT. > > Creating mysql database rt3. > > Now populating database schema. > > Creating database schema. > > Transactions not supported by database at > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line > 1668, line 463. > > make: *** [initialize-database] Error 2 > > [root at netnet-ems rt-3.6.6]# > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > www.MyFax.com > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From gleduc at mail.sdsu.edu Thu Apr 3 11:52:15 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Thu, 03 Apr 2008 08:52:15 -0700 Subject: [rt-users] Due Date in Ticket Creation Page In-Reply-To: References: Message-ID: <6.2.1.2.2.20080403083551.023bf1a8@mail.sdsu.edu> Hi Steve, We use both the RT web piece and php front ends; the choice for us depends on who is creating the ticket. If a queue has tickets that are primarily created by users, we use php. This lets me do a lot of sanity-checking on the data before a ticket ever gets created. For queues whose tickets are entered by our staff, we use RT's web piece - saves the hassle and potential security issues of writing an unnecessary php app. Using php also helps us mitigate the effects of spam; if an incoming e-mail arrives at a queue that is only supposed to get php messages then it must be in a specific format. If the format is wrong, or if it comes from the wrong address, then we just delete the ticket in the OnCreate scrip and it goes away without anyone getting bogus notifications. Regards, Gene At 08:42 PM 4/2/2008, Stephen Cochran wrote: > > >In the archives I noticed a lot posts referencing using PHP etc as a >front end and just having the forms send mail to RT to be processed >in. Is that typical, ie what most people do to provide a more flexible >interface (ajax, etc)? > >Thanks, >Steve -- Gene LeDuc, GSEC Security Analyst San Diego State University From barnesaw at ucrwcu.rwc.uc.edu Thu Apr 3 11:55:02 2008 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Thu, 03 Apr 2008 11:55:02 -0400 Subject: [rt-users] New install (second chance) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AB40@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB40@EXMAIL.protus.org> Message-ID: <47F4FDD6.5030008@ucrwcu.rwc.uc.edu> my configure was: ./configure --prefix=/usr/local/rt3 --with-web-user=apache --with-web-group=apache --with-db-rt-pass=xxxxxxxxx --with-mysql That installs in /usr/local/rt3, that apache is the user and group that runs my webserver, specifies the password that rt_user connects to the database with, using mysql. A full list of options is available with ./configure --help Nelson Pereira wrote: > I don't even know what flags to use...?!? > > > > Nelson Pereira > > Refer your friends and colleagues to MyFax! > Click here for more information. www.MyFax.com > > -----Original Message----- > From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] > Sent: Thursday, April 03, 2008 11:13 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] New install (second chance) > > # cat README | grep configure > 2 Run the "configure" script. > ./configure --help to see the list of options > ./configure (with the flags you want) > > > Nelson Pereira wrote: > >> Hi, >> >> >> >> Trying this install again but this time with a RHEL4 box. >> >> Downloaded the tar.gz, unpacked, installed all perl modules, testdeps >> all is fine... Then: >> >> Here is the output of ./configure and ./make install >> >> Can someone tell me what my problem is and how to fix it? >> >> >> >> >> >> [root at netnet-ems rt-3.6.6]# >> >> [root at netnet-ems rt-3.6.6]# >> >> [root at netnet-ems rt-3.6.6]# ./configure >> >> checking for a BSD-compatible install... /usr/bin/install -c >> >> checking for gawk... gawk >> >> checking for perl... /usr/bin/perl >> >> checking for chosen layout... RT3 >> >> checking if user www exists... not found >> >> checking if user www-data exists... not found >> >> checking if user apache exists... found >> >> checking if group www exists... not found >> >> checking if group www-data exists... not found >> >> checking if group apache exists... found >> >> checking if group rt3 exists... not found >> >> checking if group rt exists... not found >> >> checking if group apache exists... found >> >> checking if database name is valid... yes >> >> configure: creating ./config.status >> >> config.status: creating sbin/rt-dump-database >> >> config.status: creating sbin/rt-setup-database >> >> config.status: creating sbin/rt-test-dependencies >> >> config.status: creating bin/mason_handler.fcgi >> >> config.status: creating bin/mason_handler.scgi >> >> config.status: creating bin/standalone_httpd >> >> config.status: creating bin/rt-crontool >> >> config.status: creating bin/rt-mailgate >> >> config.status: creating bin/rt >> >> config.status: creating Makefile >> >> config.status: creating etc/RT_Config.pm >> >> config.status: creating lib/RT.pm >> >> config.status: creating bin/mason_handler.svc >> >> config.status: creating bin/webmux.pl >> >> [root at netnet-ems rt-3.6.6]# make install >> >> mkdir -p //opt/rt3/etc >> >> cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm >> >> [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm >> //opt/rt3/etc/RT_SiteConfig.pm >> >> chgrp apache //opt/rt3/etc/RT_Config.pm >> >> chown root //opt/rt3/etc/RT_Config.pm >> >> chgrp apache //opt/rt3/etc/RT_SiteConfig.pm >> >> chown root //opt/rt3/etc/RT_SiteConfig.pm >> >> Installed configuration. about to install rt in /opt/rt3 >> >> mkdir -p //opt/rt3/var/log >> >> mkdir -p //opt/rt3/var/mason_data >> >> mkdir -p //opt/rt3/var/mason_data/cache >> >> mkdir -p //opt/rt3/var/mason_data/etc >> >> mkdir -p //opt/rt3/var/mason_data/obj >> >> mkdir -p //opt/rt3/var/session_data >> >> mkdir -p //opt/rt3/share/html >> >> mkdir -p //opt/rt3/local/html >> >> mkdir -p //opt/rt3/local/etc >> >> mkdir -p //opt/rt3/local/lib >> >> mkdir -p //opt/rt3/local/po >> >> [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib >> >> cp -rp lib/* //opt/rt3/lib >> >> mkdir -p //opt/rt3/etc >> >> cp -rp \ >> >> etc/acl.* \ >> >> etc/initialdata \ >> >> etc/schema.* \ >> >> //opt/rt3/etc >> >> mkdir -p //opt/rt3/bin >> >> chmod +x bin/rt-mailgate \ >> >> bin/rt-crontool >> >> cp -rp \ >> >> bin/rt-mailgate \ >> >> bin/mason_handler.fcgi \ >> >> bin/mason_handler.scgi \ >> >> bin/standalone_httpd \ >> >> bin/mason_handler.svc \ >> >> bin/rt \ >> >> bin/webmux.pl \ >> >> bin/rt-crontool \ >> >> //opt/rt3/bin >> >> mkdir -p //opt/rt3/sbin >> >> chmod +x \ >> >> sbin/rt-dump-database \ >> >> sbin/rt-setup-database \ >> >> sbin/rt-test-dependencies >> >> cp -rp \ >> >> sbin/rt-dump-database \ >> >> sbin/rt-setup-database \ >> >> sbin/rt-test-dependencies \ >> >> //opt/rt3/sbin >> >> [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html >> >> cp -rp ./html/* //opt/rt3/share/html >> >> cp -rp ./local/html/* //opt/rt3/local/html >> >> cp: cannot stat `./local/html/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> cp -rp ./local/po/* //opt/rt3/local/po >> >> cp: cannot stat `./local/po/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> cp -rp ./local/etc/* //opt/rt3/local/etc >> >> cp: cannot stat `./local/etc/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a >> > dir > >> [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc >> >> make: [doc-install] Error 1 (ignored) >> >> [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc >> >> cp -rp ./README //opt/rt3/share/doc >> >> # Make the libraries readable >> >> chmod 0755 //opt/rt3 >> >> chown -R root //opt/rt3/lib >> >> chgrp -R bin //opt/rt3/lib >> >> chmod -R u+rwX,go-w,go+rX //opt/rt3/lib >> >> chmod 0755 //opt/rt3/bin >> >> chmod 0755 //opt/rt3/bin >> >> chmod 0755 //opt/rt3/etc >> >> chmod 0500 //opt/rt3/etc/* >> >> #TODO: the config file should probably be able to have its >> >> # owner set separately from the binaries. >> >> chown -R root //opt/rt3/etc >> >> chgrp -R apache //opt/rt3/etc >> >> chmod 0550 //opt/rt3/etc/RT_Config.pm >> >> chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm >> >> # Make the interfaces executable >> >> chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> # Make the web ui readable by all. >> >> chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ >> >> //opt/rt3/local/html \ >> >> //opt/rt3/local/po >> >> chown -R root //opt/rt3/share/html \ >> >> //opt/rt3/local/html >> >> chgrp -R bin //opt/rt3/share/html \ >> >> //opt/rt3/local/html >> >> # Make the web ui's data dir writable >> >> chmod 0770 //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> chown -R apache //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> chgrp -R apache //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> Congratulations. RT has been installed. >> >> >> >> >> >> You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. >> >> >> >> (You will definitely need to set RT's database password in >> >> /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be >> >> very dangerous. Note that you do not have to manually add a >> >> database user or set up a database for RT. These actions will be >> >> taken care of in the next step.) >> >> >> >> After that, you need to initialize RT's database by running >> >> 'make initialize-database' >> >> [root at netnet-ems rt-3.6.6]# make initialize-database >> >> /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba >> root --prompt-for-dba-password >> >> In order to create or update your RT database,this script needs to >> connect to your mysql instance on localhost as root. >> >> Please specify that user's database password below. If the user has no >> > > >> database >> >> password, just press return. >> >> >> >> Password: >> >> Now creating a database for RT. >> >> Creating mysql database rt3. >> >> Now populating database schema. >> >> Creating database schema. >> >> Transactions not supported by database at >> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line >> 1668, line 463. >> >> make: *** [initialize-database] Error 2 >> >> [root at netnet-ems rt-3.6.6]# >> >> >> >> >> >> *Nelson Pereira* >> Senior Network Administrator >> >> Protus IP Solutions Inc. >> npereira at protus.com >> phone: 613.733.0000 ext.528 >> MyFax: 613.822.5083 >> www.myfax.com >> >> Refer your friends and colleagues to MyFax! >> Click here for more information. >> >> >> >> >> www.MyFax.com >> >> >> >> >> > ------------------------------------------------------------------------ > >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> From npereira at protus.com Thu Apr 3 12:08:44 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 3 Apr 2008 12:08:44 -0400 Subject: [rt-users] New install (second chance) In-Reply-To: <47F4FDD6.5030008@ucrwcu.rwc.uc.edu> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB40@EXMAIL.protus.org> <47F4FDD6.5030008@ucrwcu.rwc.uc.edu> Message-ID: <21044E8C915A7E43B90A1056127160F116AB51@EXMAIL.protus.org> Ok, the install seems to have gone well with : ./configure --with-web-user=apache --with-web-group=apache --with-mysql But now the make initialize-database reports errors...: [root at netnet-ems rt-3.6.6]# make initialize-database /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root --prompt-for-dba-password In order to create or update your RT database,this script needs to connect to your mysql instance on localhost as root. Please specify that user's database password below. If the user has no database password, just press return. Password: Now creating a database for RT. Creating mysql database rt3. Now populating database schema. Creating database schema. Transactions not supported by database at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1668, line 463. make: *** [initialize-database] Error 2 [root at netnet-ems rt-3.6.6]# I am running MySQL, here is what phpinfo states: mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 5.0.42 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. www.MyFax.com -----Original Message----- From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Sent: Thursday, April 03, 2008 11:55 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] New install (second chance) my configure was: ./configure --prefix=/usr/local/rt3 --with-web-user=apache --with-web-group=apache --with-db-rt-pass=xxxxxxxxx --with-mysql That installs in /usr/local/rt3, that apache is the user and group that runs my webserver, specifies the password that rt_user connects to the database with, using mysql. A full list of options is available with ./configure --help Nelson Pereira wrote: > I don't even know what flags to use...?!? > > > > Nelson Pereira > > Refer your friends and colleagues to MyFax! > Click here for more information. www.MyFax.com > > -----Original Message----- > From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] > Sent: Thursday, April 03, 2008 11:13 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] New install (second chance) > > # cat README | grep configure > 2 Run the "configure" script. > ./configure --help to see the list of options > ./configure (with the flags you want) > > > Nelson Pereira wrote: > >> Hi, >> >> >> >> Trying this install again but this time with a RHEL4 box. >> >> Downloaded the tar.gz, unpacked, installed all perl modules, testdeps >> all is fine... Then: >> >> Here is the output of ./configure and ./make install >> >> Can someone tell me what my problem is and how to fix it? >> >> >> >> >> >> [root at netnet-ems rt-3.6.6]# >> >> [root at netnet-ems rt-3.6.6]# >> >> [root at netnet-ems rt-3.6.6]# ./configure >> >> checking for a BSD-compatible install... /usr/bin/install -c >> >> checking for gawk... gawk >> >> checking for perl... /usr/bin/perl >> >> checking for chosen layout... RT3 >> >> checking if user www exists... not found >> >> checking if user www-data exists... not found >> >> checking if user apache exists... found >> >> checking if group www exists... not found >> >> checking if group www-data exists... not found >> >> checking if group apache exists... found >> >> checking if group rt3 exists... not found >> >> checking if group rt exists... not found >> >> checking if group apache exists... found >> >> checking if database name is valid... yes >> >> configure: creating ./config.status >> >> config.status: creating sbin/rt-dump-database >> >> config.status: creating sbin/rt-setup-database >> >> config.status: creating sbin/rt-test-dependencies >> >> config.status: creating bin/mason_handler.fcgi >> >> config.status: creating bin/mason_handler.scgi >> >> config.status: creating bin/standalone_httpd >> >> config.status: creating bin/rt-crontool >> >> config.status: creating bin/rt-mailgate >> >> config.status: creating bin/rt >> >> config.status: creating Makefile >> >> config.status: creating etc/RT_Config.pm >> >> config.status: creating lib/RT.pm >> >> config.status: creating bin/mason_handler.svc >> >> config.status: creating bin/webmux.pl >> >> [root at netnet-ems rt-3.6.6]# make install >> >> mkdir -p //opt/rt3/etc >> >> cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm >> >> [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm >> //opt/rt3/etc/RT_SiteConfig.pm >> >> chgrp apache //opt/rt3/etc/RT_Config.pm >> >> chown root //opt/rt3/etc/RT_Config.pm >> >> chgrp apache //opt/rt3/etc/RT_SiteConfig.pm >> >> chown root //opt/rt3/etc/RT_SiteConfig.pm >> >> Installed configuration. about to install rt in /opt/rt3 >> >> mkdir -p //opt/rt3/var/log >> >> mkdir -p //opt/rt3/var/mason_data >> >> mkdir -p //opt/rt3/var/mason_data/cache >> >> mkdir -p //opt/rt3/var/mason_data/etc >> >> mkdir -p //opt/rt3/var/mason_data/obj >> >> mkdir -p //opt/rt3/var/session_data >> >> mkdir -p //opt/rt3/share/html >> >> mkdir -p //opt/rt3/local/html >> >> mkdir -p //opt/rt3/local/etc >> >> mkdir -p //opt/rt3/local/lib >> >> mkdir -p //opt/rt3/local/po >> >> [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib >> >> cp -rp lib/* //opt/rt3/lib >> >> mkdir -p //opt/rt3/etc >> >> cp -rp \ >> >> etc/acl.* \ >> >> etc/initialdata \ >> >> etc/schema.* \ >> >> //opt/rt3/etc >> >> mkdir -p //opt/rt3/bin >> >> chmod +x bin/rt-mailgate \ >> >> bin/rt-crontool >> >> cp -rp \ >> >> bin/rt-mailgate \ >> >> bin/mason_handler.fcgi \ >> >> bin/mason_handler.scgi \ >> >> bin/standalone_httpd \ >> >> bin/mason_handler.svc \ >> >> bin/rt \ >> >> bin/webmux.pl \ >> >> bin/rt-crontool \ >> >> //opt/rt3/bin >> >> mkdir -p //opt/rt3/sbin >> >> chmod +x \ >> >> sbin/rt-dump-database \ >> >> sbin/rt-setup-database \ >> >> sbin/rt-test-dependencies >> >> cp -rp \ >> >> sbin/rt-dump-database \ >> >> sbin/rt-setup-database \ >> >> sbin/rt-test-dependencies \ >> >> //opt/rt3/sbin >> >> [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html >> >> cp -rp ./html/* //opt/rt3/share/html >> >> cp -rp ./local/html/* //opt/rt3/local/html >> >> cp: cannot stat `./local/html/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> cp -rp ./local/po/* //opt/rt3/local/po >> >> cp: cannot stat `./local/po/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> cp -rp ./local/etc/* //opt/rt3/local/etc >> >> cp: cannot stat `./local/etc/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a >> > dir > >> [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc >> >> make: [doc-install] Error 1 (ignored) >> >> [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc >> >> cp -rp ./README //opt/rt3/share/doc >> >> # Make the libraries readable >> >> chmod 0755 //opt/rt3 >> >> chown -R root //opt/rt3/lib >> >> chgrp -R bin //opt/rt3/lib >> >> chmod -R u+rwX,go-w,go+rX //opt/rt3/lib >> >> chmod 0755 //opt/rt3/bin >> >> chmod 0755 //opt/rt3/bin >> >> chmod 0755 //opt/rt3/etc >> >> chmod 0500 //opt/rt3/etc/* >> >> #TODO: the config file should probably be able to have its >> >> # owner set separately from the binaries. >> >> chown -R root //opt/rt3/etc >> >> chgrp -R apache //opt/rt3/etc >> >> chmod 0550 //opt/rt3/etc/RT_Config.pm >> >> chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm >> >> # Make the interfaces executable >> >> chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> # Make the web ui readable by all. >> >> chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ >> >> //opt/rt3/local/html \ >> >> //opt/rt3/local/po >> >> chown -R root //opt/rt3/share/html \ >> >> //opt/rt3/local/html >> >> chgrp -R bin //opt/rt3/share/html \ >> >> //opt/rt3/local/html >> >> # Make the web ui's data dir writable >> >> chmod 0770 //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> chown -R apache //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> chgrp -R apache //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> Congratulations. RT has been installed. >> >> >> >> >> >> You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. >> >> >> >> (You will definitely need to set RT's database password in >> >> /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be >> >> very dangerous. Note that you do not have to manually add a >> >> database user or set up a database for RT. These actions will be >> >> taken care of in the next step.) >> >> >> >> After that, you need to initialize RT's database by running >> >> 'make initialize-database' >> >> [root at netnet-ems rt-3.6.6]# make initialize-database >> >> /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba >> root --prompt-for-dba-password >> >> In order to create or update your RT database,this script needs to >> connect to your mysql instance on localhost as root. >> >> Please specify that user's database password below. If the user has no >> > > >> database >> >> password, just press return. >> >> >> >> Password: >> >> Now creating a database for RT. >> >> Creating mysql database rt3. >> >> Now populating database schema. >> >> Creating database schema. >> >> Transactions not supported by database at >> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line >> 1668, line 463. >> >> make: *** [initialize-database] Error 2 >> >> [root at netnet-ems rt-3.6.6]# >> >> >> >> >> >> *Nelson Pereira* >> Senior Network Administrator >> >> Protus IP Solutions Inc. >> npereira at protus.com >> phone: 613.733.0000 ext.528 >> MyFax: 613.822.5083 >> www.myfax.com >> >> Refer your friends and colleagues to MyFax! >> Click here for more information. >> >> >> >> >> www.MyFax.com >> >> >> >> >> > ------------------------------------------------------------------------ > >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> From gleduc at mail.sdsu.edu Thu Apr 3 12:09:10 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Thu, 03 Apr 2008 09:09:10 -0700 Subject: [rt-users] [ERROR] Request-URI Too Large In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB03940119F4B3@w3hamboex11.ger.w in.int.kn> References: <47F499B6.2070806@gmail.com> <16426EA38D57E74CB1DE5A6AE1DB03940119F4B3@w3hamboex11.ger.win.int.kn> Message-ID: <6.2.1.2.2.20080403090242.0238fa78@mail.sdsu.edu> This looks like an RT design error. For some reason it is passing a list containing every user's id via the URL. If the list of users is long enough you will certainly break something. Since you can't select which users to dump into the file (other than including disabled users), there's really no reason to have to pass the user list to the handler - it will always dump either all users or all users that aren't disabled. Regards, Gene At 02:03 AM 4/3/2008, Ham MI-ID, Torsten Brumm wrote: >Hi RT Users, > >Just tried to export my users (Configuration -> Users -> Download as TAB >delimited File) and got this error: > >Request-URI Too Large > >The requested URL's length exceeds the capacity limit for this server. > >Any idea how to fix this? Is this a error from RT (why the URL is so long) >or can i change something at the webserver? > >Thanks > >Torsten > >K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann >(Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred >Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens >Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, >USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel >A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: >Klaus-Michael K?hne -- Gene LeDuc, GSEC Security Analyst San Diego State University From mike.peachey at jennic.com Thu Apr 3 12:11:40 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 03 Apr 2008 17:11:40 +0100 Subject: [rt-users] LDAP In-Reply-To: References: <47F4AEA2.9060509@jennic.com> <47F4B41D.6070401@jennic.com> <47F4D5BE.3040208@jennic.com> <47F4E0FE.8010902@jennic.com> <47F4E82E.8060405@jennic.com> Message-ID: <47F501BC.9040105@jennic.com> andrew fay wrote: > got it working! > > now we have a new IT support system! > > many thanks, > No problem. I'm so pleased my extension has been helpful. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From barry.byrne at wbtsystems.com Thu Apr 3 12:11:52 2008 From: barry.byrne at wbtsystems.com (Barry Byrne) Date: Thu, 3 Apr 2008 17:11:52 +0100 Subject: [rt-users] New install (second chance) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> Message-ID: <017f01c895a5$6e0da6b0$c5010c0a@wbt.wbtsystems.com> Some googling would suggest that there's a DBD mysql was compiled against an older version of MySQL client library. Recompiling DBD::mysql seems to fix the problem. Don't know that that's the problem here, but may be worth looking at. - barry _____ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: 03 April 2008 15:56 To: rt-users at lists.bestpractical.com Subject: [rt-users] New install (second chance) Hi, Trying this install again but this time with a RHEL4 box. Downloaded the tar.gz, unpacked, installed all perl modules, testdeps all is fine. Then: Here is the output of ./configure and ./make install Can someone tell me what my problem is and how to fix it? [root at netnet-ems rt-3.6.6]# [root at netnet-ems rt-3.6.6]# [root at netnet-ems rt-3.6.6]# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking for gawk... gawk checking for perl... /usr/bin/perl checking for chosen layout... RT3 checking if user www exists... not found checking if user www-data exists... not found checking if user apache exists... found checking if group www exists... not found checking if group www-data exists... not found checking if group apache exists... found checking if group rt3 exists... not found checking if group rt exists... not found checking if group apache exists... found checking if database name is valid... yes configure: creating ./config.status config.status: creating sbin/rt-dump-database config.status: creating sbin/rt-setup-database config.status: creating sbin/rt-test-dependencies config.status: creating bin/mason_handler.fcgi config.status: creating bin/mason_handler.scgi config.status: creating bin/standalone_httpd config.status: creating bin/rt-crontool config.status: creating bin/rt-mailgate config.status: creating bin/rt config.status: creating Makefile config.status: creating etc/RT_Config.pm config.status: creating lib/RT.pm config.status: creating bin/mason_handler.svc config.status: creating bin/webmux.pl [root at netnet-ems rt-3.6.6]# make install mkdir -p //opt/rt3/etc cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm //opt/rt3/etc/RT_SiteConfig.pm chgrp apache //opt/rt3/etc/RT_Config.pm chown root //opt/rt3/etc/RT_Config.pm chgrp apache //opt/rt3/etc/RT_SiteConfig.pm chown root //opt/rt3/etc/RT_SiteConfig.pm Installed configuration. about to install rt in /opt/rt3 mkdir -p //opt/rt3/var/log mkdir -p //opt/rt3/var/mason_data mkdir -p //opt/rt3/var/mason_data/cache mkdir -p //opt/rt3/var/mason_data/etc mkdir -p //opt/rt3/var/mason_data/obj mkdir -p //opt/rt3/var/session_data mkdir -p //opt/rt3/share/html mkdir -p //opt/rt3/local/html mkdir -p //opt/rt3/local/etc mkdir -p //opt/rt3/local/lib mkdir -p //opt/rt3/local/po [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib cp -rp lib/* //opt/rt3/lib mkdir -p //opt/rt3/etc cp -rp \ etc/acl.* \ etc/initialdata \ etc/schema.* \ //opt/rt3/etc mkdir -p //opt/rt3/bin chmod +x bin/rt-mailgate \ bin/rt-crontool cp -rp \ bin/rt-mailgate \ bin/mason_handler.fcgi \ bin/mason_handler.scgi \ bin/standalone_httpd \ bin/mason_handler.svc \ bin/rt \ bin/webmux.pl \ bin/rt-crontool \ //opt/rt3/bin mkdir -p //opt/rt3/sbin chmod +x \ sbin/rt-dump-database \ sbin/rt-setup-database \ sbin/rt-test-dependencies cp -rp \ sbin/rt-dump-database \ sbin/rt-setup-database \ sbin/rt-test-dependencies \ //opt/rt3/sbin [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html cp -rp ./html/* //opt/rt3/share/html cp -rp ./local/html/* //opt/rt3/local/html cp: cannot stat `./local/html/*': No such file or directory make: [local-install] Error 1 (ignored) cp -rp ./local/po/* //opt/rt3/local/po cp: cannot stat `./local/po/*': No such file or directory make: [local-install] Error 1 (ignored) cp -rp ./local/etc/* //opt/rt3/local/etc cp: cannot stat `./local/etc/*': No such file or directory make: [local-install] Error 1 (ignored) # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a dir [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc make: [doc-install] Error 1 (ignored) [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc cp -rp ./README //opt/rt3/share/doc # Make the libraries readable chmod 0755 //opt/rt3 chown -R root //opt/rt3/lib chgrp -R bin //opt/rt3/lib chmod -R u+rwX,go-w,go+rX //opt/rt3/lib chmod 0755 //opt/rt3/bin chmod 0755 //opt/rt3/bin chmod 0755 //opt/rt3/etc chmod 0500 //opt/rt3/etc/* #TODO: the config file should probably be able to have its # owner set separately from the binaries. chown -R root //opt/rt3/etc chgrp -R apache //opt/rt3/etc chmod 0550 //opt/rt3/etc/RT_Config.pm chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm # Make the interfaces executable chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc # Make the web ui readable by all. chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ //opt/rt3/local/html \ //opt/rt3/local/po chown -R root //opt/rt3/share/html \ //opt/rt3/local/html chgrp -R bin //opt/rt3/share/html \ //opt/rt3/local/html # Make the web ui's data dir writable chmod 0770 //opt/rt3/var/mason_data \ //opt/rt3/var/session_data chown -R apache //opt/rt3/var/mason_data \ //opt/rt3/var/session_data chgrp -R apache //opt/rt3/var/mason_data \ //opt/rt3/var/session_data Congratulations. RT has been installed. You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. (You will definitely need to set RT's database password in /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be very dangerous. Note that you do not have to manually add a database user or set up a database for RT. These actions will be taken care of in the next step.) After that, you need to initialize RT's database by running 'make initialize-database' [root at netnet-ems rt-3.6.6]# make initialize-database /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root --prompt-for-dba-password In order to create or update your RT database,this script needs to connect to your mysql instance on localhost as root. Please specify that user's database password below. If the user has no database password, just press return. Password: Now creating a database for RT. Creating mysql database rt3. Now populating database schema. Creating database schema. Transactions not supported by database at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1668, line 463. make: *** [initialize-database] Error 2 [root at netnet-ems rt-3.6.6]# Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. www.MyFax.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: not available URL: From gleduc at mail.sdsu.edu Thu Apr 3 13:04:22 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Thu, 03 Apr 2008 10:04:22 -0700 Subject: [rt-users] Error in Configuration>Users>Download as a tab-delimited file Message-ID: <6.2.1.2.2.20080403095239.0239a3e0@mail.sdsu.edu> RT v3.6.3 I was just looking through my apache error log and found a bunch of these when I tried downloading the users into a tab-delimited file: [Thu Apr 3 15:58:13 2008] [err]: RT::User=HASH(0x23443f4) was created without a CurrentUser 1 (/opt/local/lib/RT/Base.pm:92) These 2 lines were repeated for the number of users that were in the download. In my case there were only 5 users, so these lines repeated 5 times. The hash value stayed the same. When I did a second run I got 10 more lines in the error log, but with another hash value. Regards, Gene -- Gene LeDuc, GSEC Security Analyst San Diego State University From gleduc at mail.sdsu.edu Thu Apr 3 13:07:28 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Thu, 03 Apr 2008 10:07:28 -0700 Subject: [rt-users] [ERROR] Request-URI Too Large In-Reply-To: <6.2.1.2.2.20080403090242.0238fa78@mail.sdsu.edu> References: <47F499B6.2070806@gmail.com> <16426EA38D57E74CB1DE5A6AE1DB03940119F4B3@w3hamboex11.ger.win.int.kn> <6.2.1.2.2.20080403090242.0238fa78@mail.sdsu.edu> Message-ID: <6.2.1.2.2.20080403100533.0239a9b8@mail.sdsu.edu> Oops, now I see why the user list needs to be passed to the handler (results of a search may not contain _all_ users). At 09:09 AM 4/3/2008, Gene LeDuc wrote: >This looks like an RT design error. For some reason it is passing a list >containing every user's id via the URL. If the list of users is long >enough you will certainly break something. Since you can't select which >users to dump into the file (other than including disabled users), there's >really no reason to have to pass the user list to the handler - it will >always dump either all users or all users that aren't disabled. > >Regards, >Gene > >At 02:03 AM 4/3/2008, Ham MI-ID, Torsten Brumm wrote: > >Hi RT Users, > > > >Just tried to export my users (Configuration -> Users -> Download as TAB > >delimited File) and got this error: > > > >Request-URI Too Large > > > >The requested URL's length exceeds the capacity limit for this server. > > > >Any idea how to fix this? Is this a error from RT (why the URL is so long) > >or can i change something at the webserver? > > > >Thanks > > > >Torsten > > > >K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann > >(Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred > >Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens > >Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, > >USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel > >A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: > >Klaus-Michael K?hne -- Gene LeDuc, GSEC Security Analyst San Diego State University From npereira at protus.com Thu Apr 3 13:10:48 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 3 Apr 2008 13:10:48 -0400 Subject: [rt-users] New install (second chance) In-Reply-To: <017f01c895a5$6e0da6b0$c5010c0a@wbt.wbtsystems.com> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <017f01c895a5$6e0da6b0$c5010c0a@wbt.wbtsystems.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AB6A@EXMAIL.protus.org> How do I recompile all perl modules needed by RT ? I just removed everything and reinstalled LAMP. Now I need to recompile all perl modules with the versions of apache, and mysql installed. Thanks From KFCrocker at lbl.gov Thu Apr 3 13:17:07 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 03 Apr 2008 10:17:07 -0700 Subject: [rt-users] Self Service Permissions In-Reply-To: References: Message-ID: <47F51113.1040500@lbl.gov> Stephen, I could easily be mistaken, but I thought self-service referred to email requests. I don't even know how someone could SEE anything from an email request. I thought one had to use the WebUI to SEE anything in RT. Kenn LBNL On 4/2/2008 8:22 PM, Stephen Cochran wrote: > Our unprivileged users can't see the queue names (we have multiple > queues) in the Self Service interface, the field is just blank. What > permission is needed to see that field? Currently set up with: > > unprivileged: > CreateTicket > SeeQueue > > requester: > ReplyToTicket > ShowTicket > > Thanks, > Steve > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From KFCrocker at lbl.gov Thu Apr 3 13:29:46 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 03 Apr 2008 10:29:46 -0700 Subject: [rt-users] How can customer (requester) set the priority of tickets. In-Reply-To: <47F499B6.2070806@gmail.com> References: <47F499B6.2070806@gmail.com> Message-ID: <47F5140A.3040608@lbl.gov> Armaghan, The only way I know of to allow a "requestor" to see what is on their ticket is to grant "SeeQueue" and "ShowTicket" globally to the role "Requestor". As to modifying a ticket. Well, We usually don't let anyone do that to a ticket except the owner, but if you wanted to do that, then also grant "ModifyTicket" globally to the role "Requestor" as well. The only drawback to the last right is that granting the "ModifyTicket" right means the requestor can modify a BUNCH of other fields. We got around that by creating a Custom Field named "Need-By Date" to all tickets, set the format to only allow mm/dd/yyyy and then granted the "ModifyCustomField" and "SeeCustomField" rights to the user-defined groups that contain a sub-set of customers that are allowed to be requestors for a particular queue (we have over 75 support-specific queues). Hope this helps. Kenn LBNL On 4/3/2008 1:47 AM, Armaghan Saqib wrote: > We allow our customers to keep sending their requirements as new > tickets. Some times we need to prioritize the work of a specific > customer and ask customer to let us know his/her priorities. > > Is it possible that the customer who is requester can login to the self > service interface and update the relative priority of his tickets? > > Is there some other way this can be accomplished. > > Thanks and regards > > Armaghan > From torsten.brumm at Kuehne-Nagel.com Thu Apr 3 13:41:17 2008 From: torsten.brumm at Kuehne-Nagel.com (Ham MI-ID, Torsten Brumm) Date: Thu, 3 Apr 2008 19:41:17 +0200 Subject: [rt-users] [ERROR] Request-URI Too Large Message-ID: <16426EA38D57E74CB1DE5A6AE1DB0394F93190@w3hamboex11.ger.win.int.kn> Hi gene, What does this mean exactly? No chance to export all uiser? Now workaround (dump from the db?) Torsten K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: Klaus-Michael K?hne -----Original Message----- From: Gene LeDuc To: Ham MI-ID, Torsten Brumm CC: rt Users Sent: Thu Apr 03 19:07:28 2008 Subject: Re: [rt-users] [ERROR] Request-URI Too Large Oops, now I see why the user list needs to be passed to the handler (results of a search may not contain _all_ users). At 09:09 AM 4/3/2008, Gene LeDuc wrote: >This looks like an RT design error. For some reason it is passing a list >containing every user's id via the URL. If the list of users is long >enough you will certainly break something. Since you can't select which >users to dump into the file (other than including disabled users), there's >really no reason to have to pass the user list to the handler - it will >always dump either all users or all users that aren't disabled. > >Regards, >Gene > >At 02:03 AM 4/3/2008, Ham MI-ID, Torsten Brumm wrote: > >Hi RT Users, > > > >Just tried to export my users (Configuration -> Users -> Download as TAB > >delimited File) and got this error: > > > >Request-URI Too Large > > > >The requested URL's length exceeds the capacity limit for this server. > > > >Any idea how to fix this? Is this a error from RT (why the URL is so long) > >or can i change something at the webserver? > > > >Thanks > > > >Torsten > > > >K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann > >(Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred > >Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens > >Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, > >USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel > >A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: > >Klaus-Michael K?hne -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From torsten.brumm at Kuehne-Nagel.com Thu Apr 3 13:44:25 2008 From: torsten.brumm at Kuehne-Nagel.com (Ham MI-ID, Torsten Brumm) Date: Thu, 3 Apr 2008 19:44:25 +0200 Subject: [rt-users] How can customer (requester) set the priority oftickets. Message-ID: <16426EA38D57E74CB1DE5A6AE1DB0394F93191@w3hamboex11.ger.win.int.kn> Be carefull to grant modifyticket to a external. They can do too much with the ticket. What about the idea to define some keywords with the customer and pars the mails from the customer for this and set the prio by a script? I think i saw something like this at the wiki. Torsten K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: Klaus-Michael K?hne -----Original Message----- From: rt-users-bounces at lists.bestpractical.com To: Armaghan Saqib CC: rt Users Sent: Thu Apr 03 19:29:46 2008 Subject: Re: [rt-users] How can customer (requester) set the priority oftickets. Armaghan, The only way I know of to allow a "requestor" to see what is on their ticket is to grant "SeeQueue" and "ShowTicket" globally to the role "Requestor". As to modifying a ticket. Well, We usually don't let anyone do that to a ticket except the owner, but if you wanted to do that, then also grant "ModifyTicket" globally to the role "Requestor" as well. The only drawback to the last right is that granting the "ModifyTicket" right means the requestor can modify a BUNCH of other fields. We got around that by creating a Custom Field named "Need-By Date" to all tickets, set the format to only allow mm/dd/yyyy and then granted the "ModifyCustomField" and "SeeCustomField" rights to the user-defined groups that contain a sub-set of customers that are allowed to be requestors for a particular queue (we have over 75 support-specific queues). Hope this helps. Kenn LBNL On 4/3/2008 1:47 AM, Armaghan Saqib wrote: > We allow our customers to keep sending their requirements as new > tickets. Some times we need to prioritize the work of a specific > customer and ask customer to let us know his/her priorities. > > Is it possible that the customer who is requester can login to the self > service interface and update the relative priority of his tickets? > > Is there some other way this can be accomplished. > > Thanks and regards > > Armaghan > _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From torsten.brumm at Kuehne-Nagel.com Thu Apr 3 13:49:35 2008 From: torsten.brumm at Kuehne-Nagel.com (Ham MI-ID, Torsten Brumm) Date: Thu, 3 Apr 2008 19:49:35 +0200 Subject: [rt-users] New install (second chance) Message-ID: <16426EA38D57E74CB1DE5A6AE1DB0394F93192@w3hamboex11.ger.win.int.kn> Lamp? Is a linux apache mysql and php correct? Why you don't use the ones from your distro? Btw, i don't think you need to recompile or reinstall all the modules, only the ones for apache?!? Do you have some more infos about your installation? Torsten K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: Klaus-Michael K?hne -----Original Message----- From: rt-users-bounces at lists.bestpractical.com To: Barry Byrne ; rt-users at lists.bestpractical.com Sent: Thu Apr 03 19:10:48 2008 Subject: Re: [rt-users] New install (second chance) How do I recompile all perl modules needed by RT ? I just removed everything and reinstalled LAMP. Now I need to recompile all perl modules with the versions of apache, and mysql installed. Thanks _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpfraser at mynetstream.com Thu Apr 3 13:47:23 2008 From: mpfraser at mynetstream.com (Mark Fraser) Date: Thu, 3 Apr 2008 13:47:23 -0400 Subject: [rt-users] Error in log of fresh install of RT 3.6.6 Message-ID: <00c401c895b2$c6085010$a606a8c0@servicexp> I just finished installing RT 3.6.6 on a clean Linux system yesterday. I still have some configuration to do. I noticed that it was generating the following log entries with the last line showing an error. Without parsing the code myself, I do not know why this error is occurring and if it is of any great significance. Apr 3 13:11:01 tracker RT: #5/119 - Scrip 3 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) Apr 3 13:11:02 tracker RT: sent To: djackson at fednews.com (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) Apr 3 13:11:02 tracker RT: #5/119 - Scrip 4 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) Apr 3 13:11:02 tracker RT: No recipients found. Not sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) Apr 3 13:11:02 tracker RT: #5/119 - Scrip 15 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) Apr 3 13:11:02 tracker RT: sent To: djackson at fednews.com (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) Apr 3 13:11:02 tracker RT: #5/119 - Scrip 16 (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) Apr 3 13:11:02 tracker RT: No recipients found. Not sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) Apr 3 13:11:02 tracker RT: Ticket 5 created in queue 'Support' by djackson at fednews.com (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:756) Apr 3 13:19:27 tracker RT: Argument ".0.27" isn't numeric in numeric eq (==) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm line 87. (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm:87) I will answer any questions in reply and any ideas would be appreciated. Respectfully, Mark P. Fraser -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Thu Apr 3 14:04:05 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 3 Apr 2008 14:04:05 -0400 Subject: [rt-users] New install (second chance) In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB0394F93192@w3hamboex11.ger.win.int.kn> References: <16426EA38D57E74CB1DE5A6AE1DB0394F93192@w3hamboex11.ger.win.int.kn> Message-ID: <21044E8C915A7E43B90A1056127160F116AB7D@EXMAIL.protus.org> I thought maybe re0installing perl modules could fix this issue Im just tired... Trying to get this to work and nothing seems to work for me even though I follow the docs to the T. Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. ________________________________ From: Ham MI-ID, Torsten Brumm [mailto:torsten.brumm at Kuehne-Nagel.com] Sent: Thursday, April 03, 2008 1:50 PM To: Nelson Pereira; barry.byrne at wbtsystems.com; rt-users at lists.bestpractical.com Subject: AW: Re: [rt-users] New install (second chance) Lamp? Is a linux apache mysql and php correct? Why you don't use the ones from your distro? Btw, i don't think you need to recompile or reinstall all the modules, only the ones for apache?!? Do you have some more infos about your installation? Torsten -----Original Message----- From: rt-users-bounces at lists.bestpractical.com To: Barry Byrne ; rt-users at lists.bestpractical.com Sent: Thu Apr 03 19:10:48 2008 Subject: Re: [rt-users] New install (second chance) How do I recompile all perl modules needed by RT ? I just removed everything and reinstalled LAMP. Now I need to recompile all perl modules with the versions of apache, and mysql installed. Thanks _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Dirk Blesius (Stellv.), Bruno Mang, Alfred Manke, Christian Marnett? (Stellv.), Mark Reinhardt (Stellv.), Jens Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel A.G., Sitz: Contern/Luxemburg, Gesch?ftsf?hrender Verwaltungsrat: Klaus-Michael K?hne -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From torsten.brumm at googlemail.com Thu Apr 3 14:13:35 2008 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Thu, 3 Apr 2008 20:13:35 +0200 Subject: [rt-users] New install (second chance) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AB51@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB40@EXMAIL.protus.org> <47F4FDD6.5030008@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB51@EXMAIL.protus.org> Message-ID: Hi Nelson, just googled for your error message. are you sure you enabled mysql with innodb support??? Btw, can you explain more in detail how you have done your setup? is the mysql from the lamp or from the distro? how does your my.cnf looks like? Torsten 2008/4/3, Nelson Pereira : > > Ok, the install seems to have gone well with : > > ./configure --with-web-user=apache --with-web-group=apache --with-mysql > > > But now the make initialize-database reports errors...: > > [root at netnet-ems rt-3.6.6]# make initialize-database > /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root > --prompt-for-dba-password > In order to create or update your RT database,this script needs to > connect to your mysql instance on localhost as root. > Please specify that user's database password below. If the user has no > database > password, just press return. > > Password: > Now creating a database for RT. > Creating mysql database rt3. > Now populating database schema. > Creating database schema. > Transactions not supported by database at > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line > 1668, line 463. > make: *** [initialize-database] Error 2 > [root at netnet-ems rt-3.6.6]# > > > > I am running MySQL, here is what phpinfo states: > mysql > MySQL Support enabled > Active Persistent Links 0 > Active Links 0 > Client API version 5.0.42 > MYSQL_MODULE_TYPE external > MYSQL_SOCKET /var/lib/mysql/mysql.sock > MYSQL_INCLUDE -I/usr/include/mysql > MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient > > > > > > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > > Refer your friends and colleagues to MyFax! > Click here for more information. www.MyFax.com > > -----Original Message----- > From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] > > Sent: Thursday, April 03, 2008 11:55 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] New install (second chance) > > my configure was: > ./configure --prefix=/usr/local/rt3 --with-web-user=apache > --with-web-group=apache --with-db-rt-pass=xxxxxxxxx --with-mysql > > That installs in /usr/local/rt3, that apache is the user and group that > runs my webserver, specifies the password that rt_user connects to the > database with, using mysql. > > A full list of options is available with ./configure --help > > > Nelson Pereira wrote: > > I don't even know what flags to use...?!? > > > > > > > > Nelson Pereira > > > > Refer your friends and colleagues to MyFax! > > Click here for more information. www.MyFax.com > > > > -----Original Message----- > > From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] > > Sent: Thursday, April 03, 2008 11:13 AM > > To: Nelson Pereira > > Cc: rt-users at lists.bestpractical.com > > Subject: Re: [rt-users] New install (second chance) > > > > # cat README | grep configure > > 2 Run the "configure" script. > > ./configure --help to see the list of options > > ./configure (with the flags you want) > > > > > > Nelson Pereira wrote: > > > >> Hi, > >> > >> > >> > >> Trying this install again but this time with a RHEL4 box. > >> > >> Downloaded the tar.gz, unpacked, installed all perl modules, testdeps > > >> all is fine... Then: > >> > >> Here is the output of ./configure and ./make install > >> > >> Can someone tell me what my problem is and how to fix it? > >> > >> > >> > >> > >> > >> [root at netnet-ems rt-3.6.6]# > >> > >> [root at netnet-ems rt-3.6.6]# > >> > >> [root at netnet-ems rt-3.6.6]# ./configure > >> > >> checking for a BSD-compatible install... /usr/bin/install -c > >> > >> checking for gawk... gawk > >> > >> checking for perl... /usr/bin/perl > >> > >> checking for chosen layout... RT3 > >> > >> checking if user www exists... not found > >> > >> checking if user www-data exists... not found > >> > >> checking if user apache exists... found > >> > >> checking if group www exists... not found > >> > >> checking if group www-data exists... not found > >> > >> checking if group apache exists... found > >> > >> checking if group rt3 exists... not found > >> > >> checking if group rt exists... not found > >> > >> checking if group apache exists... found > >> > >> checking if database name is valid... yes > >> > >> configure: creating ./config.status > >> > >> config.status: creating sbin/rt-dump-database > >> > >> config.status: creating sbin/rt-setup-database > >> > >> config.status: creating sbin/rt-test-dependencies > >> > >> config.status: creating bin/mason_handler.fcgi > >> > >> config.status: creating bin/mason_handler.scgi > >> > >> config.status: creating bin/standalone_httpd > >> > >> config.status: creating bin/rt-crontool > >> > >> config.status: creating bin/rt-mailgate > >> > >> config.status: creating bin/rt > >> > >> config.status: creating Makefile > >> > >> config.status: creating etc/RT_Config.pm > >> > >> config.status: creating lib/RT.pm > >> > >> config.status: creating bin/mason_handler.svc > >> > >> config.status: creating bin/webmux.pl > >> > >> [root at netnet-ems rt-3.6.6]# make install > >> > >> mkdir -p //opt/rt3/etc > >> > >> cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm > >> > >> [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm > >> //opt/rt3/etc/RT_SiteConfig.pm > >> > >> chgrp apache //opt/rt3/etc/RT_Config.pm > >> > >> chown root //opt/rt3/etc/RT_Config.pm > >> > >> chgrp apache //opt/rt3/etc/RT_SiteConfig.pm > >> > >> chown root //opt/rt3/etc/RT_SiteConfig.pm > >> > >> Installed configuration. about to install rt in /opt/rt3 > >> > >> mkdir -p //opt/rt3/var/log > >> > >> mkdir -p //opt/rt3/var/mason_data > >> > >> mkdir -p //opt/rt3/var/mason_data/cache > >> > >> mkdir -p //opt/rt3/var/mason_data/etc > >> > >> mkdir -p //opt/rt3/var/mason_data/obj > >> > >> mkdir -p //opt/rt3/var/session_data > >> > >> mkdir -p //opt/rt3/share/html > >> > >> mkdir -p //opt/rt3/local/html > >> > >> mkdir -p //opt/rt3/local/etc > >> > >> mkdir -p //opt/rt3/local/lib > >> > >> mkdir -p //opt/rt3/local/po > >> > >> [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib > >> > >> cp -rp lib/* //opt/rt3/lib > >> > >> mkdir -p //opt/rt3/etc > >> > >> cp -rp \ > >> > >> etc/acl.* \ > >> > >> etc/initialdata \ > >> > >> etc/schema.* \ > >> > >> //opt/rt3/etc > >> > >> mkdir -p //opt/rt3/bin > >> > >> chmod +x bin/rt-mailgate \ > >> > >> bin/rt-crontool > >> > >> cp -rp \ > >> > >> bin/rt-mailgate \ > >> > >> bin/mason_handler.fcgi \ > >> > >> bin/mason_handler.scgi \ > >> > >> bin/standalone_httpd \ > >> > >> bin/mason_handler.svc \ > >> > >> bin/rt \ > >> > >> bin/webmux.pl \ > >> > >> bin/rt-crontool \ > >> > >> //opt/rt3/bin > >> > >> mkdir -p //opt/rt3/sbin > >> > >> chmod +x \ > >> > >> sbin/rt-dump-database \ > >> > >> sbin/rt-setup-database \ > >> > >> sbin/rt-test-dependencies > >> > >> cp -rp \ > >> > >> sbin/rt-dump-database \ > >> > >> sbin/rt-setup-database \ > >> > >> sbin/rt-test-dependencies \ > >> > >> //opt/rt3/sbin > >> > >> [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html > >> > >> cp -rp ./html/* //opt/rt3/share/html > >> > >> cp -rp ./local/html/* //opt/rt3/local/html > >> > >> cp: cannot stat `./local/html/*': No such file or directory > >> > >> make: [local-install] Error 1 (ignored) > >> > >> cp -rp ./local/po/* //opt/rt3/local/po > >> > >> cp: cannot stat `./local/po/*': No such file or directory > >> > >> make: [local-install] Error 1 (ignored) > >> > >> cp -rp ./local/etc/* //opt/rt3/local/etc > >> > >> cp: cannot stat `./local/etc/*': No such file or directory > >> > >> make: [local-install] Error 1 (ignored) > >> > >> # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a > >> > > dir > > > >> [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc > >> > >> make: [doc-install] Error 1 (ignored) > >> > >> [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc > >> > >> cp -rp ./README //opt/rt3/share/doc > >> > >> # Make the libraries readable > >> > >> chmod 0755 //opt/rt3 > >> > >> chown -R root //opt/rt3/lib > >> > >> chgrp -R bin //opt/rt3/lib > >> > >> chmod -R u+rwX,go-w,go+rX //opt/rt3/lib > >> > >> chmod 0755 //opt/rt3/bin > >> > >> chmod 0755 //opt/rt3/bin > >> > >> chmod 0755 //opt/rt3/etc > >> > >> chmod 0500 //opt/rt3/etc/* > >> > >> #TODO: the config file should probably be able to have its > >> > >> # owner set separately from the binaries. > >> > >> chown -R root //opt/rt3/etc > >> > >> chgrp -R apache //opt/rt3/etc > >> > >> chmod 0550 //opt/rt3/etc/RT_Config.pm > >> > >> chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm > >> > >> # Make the interfaces executable > >> > >> chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > >> > >> chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > >> > >> chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > >> > >> # Make the web ui readable by all. > >> > >> chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ > >> > >> //opt/rt3/local/html \ > >> > >> //opt/rt3/local/po > >> > >> chown -R root //opt/rt3/share/html \ > >> > >> //opt/rt3/local/html > >> > >> chgrp -R bin //opt/rt3/share/html \ > >> > >> //opt/rt3/local/html > >> > >> # Make the web ui's data dir writable > >> > >> chmod 0770 //opt/rt3/var/mason_data \ > >> > >> //opt/rt3/var/session_data > >> > >> chown -R apache //opt/rt3/var/mason_data \ > >> > >> //opt/rt3/var/session_data > >> > >> chgrp -R apache //opt/rt3/var/mason_data \ > >> > >> //opt/rt3/var/session_data > >> > >> Congratulations. RT has been installed. > >> > >> > >> > >> > >> > >> You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. > >> > >> > >> > >> (You will definitely need to set RT's database password in > >> > >> /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could > be > >> > >> very dangerous. Note that you do not have to manually add a > >> > >> database user or set up a database for RT. These actions will be > >> > >> taken care of in the next step.) > >> > >> > >> > >> After that, you need to initialize RT's database by running > >> > >> 'make initialize-database' > >> > >> [root at netnet-ems rt-3.6.6]# make initialize-database > >> > >> /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba > >> root --prompt-for-dba-password > >> > >> In order to create or update your RT database,this script needs to > >> connect to your mysql instance on localhost as root. > >> > >> Please specify that user's database password below. If the user has > no > >> > > > > > >> database > >> > >> password, just press return. > >> > >> > >> > >> Password: > >> > >> Now creating a database for RT. > >> > >> Creating mysql database rt3. > >> > >> Now populating database schema. > >> > >> Creating database schema. > >> > >> Transactions not supported by database at > >> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line > >> 1668, line 463. > >> > >> make: *** [initialize-database] Error 2 > >> > >> [root at netnet-ems rt-3.6.6]# > >> > >> > >> > >> > >> > >> *Nelson Pereira* > >> Senior Network Administrator > >> > >> Protus IP Solutions Inc. > >> npereira at protus.com > >> phone: 613.733.0000 ext.528 > >> MyFax: 613.822.5083 > >> www.myfax.com > >> > >> Refer your friends and colleagues to MyFax! > >> Click here for more information. > >> > >> > >> > >> > >> www.MyFax.com > >> > >> > >> > >> > >> > > > ------------------------------------------------------------------------ > > > >> _______________________________________________ > >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > >> > >> Community help: http://wiki.bestpractical.com > >> Commercial support: sales at bestpractical.com > >> > >> > >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > >> Buy a copy at http://rtbook.bestpractical.com > >> > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > 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.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: From barry.byrne at wbtsystems.com Thu Apr 3 14:41:46 2008 From: barry.byrne at wbtsystems.com (Barry Byrne) Date: Thu, 3 Apr 2008 19:41:46 +0100 Subject: [rt-users] New install (second chance) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AB6A@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <017f01c895a5$6e0da6b0$c5010c0a@wbt.wbtsystems.com> <21044E8C915A7E43B90A1056127160F116AB6A@EXMAIL.protus.org> Message-ID: <003801c895ba$5f2cb400$0201a8c0@wbt.wbtsystems.com> > -----Original Message----- > From: Nelson Pereira [mailto:npereira at protus.com] > Sent: 03 April 2008 18:11 > To: Barry Byrne; rt-users at lists.bestpractical.com > Subject: RE: [rt-users] New install (second chance) > > How do I recompile all perl modules needed by RT ? > > I just removed everything and reinstalled LAMP. > Now I need to recompile all perl modules with the versions of apache, > and mysql installed. > > Thanks Nelson, Firstly, I don't think you'll have to recompile all your modules. If my suggestion was right about the DBD:Mysql module being compiled against the wrong libraries, then you'll probably only need to recompile this one. However, I don't know that for certain, just what I found from googling, your error. So this could be completely unnecessary. I can't say exactly how to compile it on your system, as I've no idea how it was installed (packages, source, initial distribution, etc.) and I don't have a redhat box to check on the setup, but it's probably something like: cd /source/dir/for/module perl Makefile.PL make test make install You should also read the README file in the directory, and read the output of: perl Makefile.PL --help If there are more than one set of MySQL client libraries on the system, you may have to point it at the correct ones, but with a bit of luck it should work. Personally, I use FreeBSD primarily, so I'm flying blind in my suggestions for use on Redhat/Centos, but hopefully, someone will correct me if I'm wrong. - Barry From npereira at protus.com Thu Apr 3 14:43:20 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 3 Apr 2008 14:43:20 -0400 Subject: [rt-users] New install (second chance) In-Reply-To: References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB40@EXMAIL.protus.org> <47F4FDD6.5030008@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB51@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116AB86@EXMAIL.protus.org> I'm not sure... I'm having a big cryssis here with my Cisco 6500's so I have to drop this until Monday probably, So Monday, I will re-install RHEL4 on it with mysql and PHP from RHEL4 and I'll start from scratch again... Talk to you later Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. ________________________________ From: Torsten Brumm [mailto:torsten.brumm at googlemail.com] Sent: Thursday, April 03, 2008 2:14 PM To: Nelson Pereira Cc: Drew Barnes; rt-users at lists.bestpractical.com Subject: Re: [rt-users] New install (second chance) Hi Nelson, just googled for your error message. are you sure you enabled mysql with innodb support??? Btw, can you explain more in detail how you have done your setup? is the mysql from the lamp or from the distro? how does your my.cnf looks like? Torsten 2008/4/3, Nelson Pereira : Ok, the install seems to have gone well with : ./configure --with-web-user=apache --with-web-group=apache --with-mysql But now the make initialize-database reports errors...: [root at netnet-ems rt-3.6.6]# make initialize-database /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root --prompt-for-dba-password In order to create or update your RT database,this script needs to connect to your mysql instance on localhost as root. Please specify that user's database password below. If the user has no database password, just press return. Password: Now creating a database for RT. Creating mysql database rt3. Now populating database schema. Creating database schema. Transactions not supported by database at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1668, line 463. make: *** [initialize-database] Error 2 [root at netnet-ems rt-3.6.6]# I am running MySQL, here is what phpinfo states: mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 5.0.42 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. www.MyFax.com -----Original Message----- From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Sent: Thursday, April 03, 2008 11:55 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] New install (second chance) my configure was: ./configure --prefix=/usr/local/rt3 --with-web-user=apache --with-web-group=apache --with-db-rt-pass=xxxxxxxxx --with-mysql That installs in /usr/local/rt3, that apache is the user and group that runs my webserver, specifies the password that rt_user connects to the database with, using mysql. A full list of options is available with ./configure --help Nelson Pereira wrote: > I don't even know what flags to use...?!? > > > > Nelson Pereira > > Refer your friends and colleagues to MyFax! > Click here for more information. www.MyFax.com > > -----Original Message----- > From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] > Sent: Thursday, April 03, 2008 11:13 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] New install (second chance) > > # cat README | grep configure > 2 Run the "configure" script. > ./configure --help to see the list of options > ./configure (with the flags you want) > > > Nelson Pereira wrote: > >> Hi, >> >> >> >> Trying this install again but this time with a RHEL4 box. >> >> Downloaded the tar.gz, unpacked, installed all perl modules, testdeps >> all is fine... Then: >> >> Here is the output of ./configure and ./make install >> >> Can someone tell me what my problem is and how to fix it? >> >> >> >> >> >> [root at netnet-ems rt-3.6.6]# >> >> [root at netnet-ems rt-3.6.6]# >> >> [root at netnet-ems rt-3.6.6]# ./configure >> >> checking for a BSD-compatible install... /usr/bin/install -c >> >> checking for gawk... gawk >> >> checking for perl... /usr/bin/perl >> >> checking for chosen layout... RT3 >> >> checking if user www exists... not found >> >> checking if user www-data exists... not found >> >> checking if user apache exists... found >> >> checking if group www exists... not found >> >> checking if group www-data exists... not found >> >> checking if group apache exists... found >> >> checking if group rt3 exists... not found >> >> checking if group rt exists... not found >> >> checking if group apache exists... found >> >> checking if database name is valid... yes >> >> configure: creating ./config.status >> >> config.status: creating sbin/rt-dump-database >> >> config.status: creating sbin/rt-setup-database >> >> config.status: creating sbin/rt-test-dependencies >> >> config.status: creating bin/mason_handler.fcgi >> >> config.status: creating bin/mason_handler.scgi >> >> config.status: creating bin/standalone_httpd >> >> config.status: creating bin/rt-crontool >> >> config.status: creating bin/rt-mailgate >> >> config.status: creating bin/rt >> >> config.status: creating Makefile >> >> config.status: creating etc/RT_Config.pm >> >> config.status: creating lib/RT.pm >> >> config.status: creating bin/mason_handler.svc >> >> config.status: creating bin/webmux.pl >> >> [root at netnet-ems rt-3.6.6]# make install >> >> mkdir -p //opt/rt3/etc >> >> cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm >> >> [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm >> //opt/rt3/etc/RT_SiteConfig.pm >> >> chgrp apache //opt/rt3/etc/RT_Config.pm >> >> chown root //opt/rt3/etc/RT_Config.pm >> >> chgrp apache //opt/rt3/etc/RT_SiteConfig.pm >> >> chown root //opt/rt3/etc/RT_SiteConfig.pm >> >> Installed configuration. about to install rt in /opt/rt3 >> >> mkdir -p //opt/rt3/var/log >> >> mkdir -p //opt/rt3/var/mason_data >> >> mkdir -p //opt/rt3/var/mason_data/cache >> >> mkdir -p //opt/rt3/var/mason_data/etc >> >> mkdir -p //opt/rt3/var/mason_data/obj >> >> mkdir -p //opt/rt3/var/session_data >> >> mkdir -p //opt/rt3/share/html >> >> mkdir -p //opt/rt3/local/html >> >> mkdir -p //opt/rt3/local/etc >> >> mkdir -p //opt/rt3/local/lib >> >> mkdir -p //opt/rt3/local/po >> >> [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib >> >> cp -rp lib/* //opt/rt3/lib >> >> mkdir -p //opt/rt3/etc >> >> cp -rp \ >> >> etc/acl.* \ >> >> etc/initialdata \ >> >> etc/schema.* \ >> >> //opt/rt3/etc >> >> mkdir -p //opt/rt3/bin >> >> chmod +x bin/rt-mailgate \ >> >> bin/rt-crontool >> >> cp -rp \ >> >> bin/rt-mailgate \ >> >> bin/mason_handler.fcgi \ >> >> bin/mason_handler.scgi \ >> >> bin/standalone_httpd \ >> >> bin/mason_handler.svc \ >> >> bin/rt \ >> >> bin/webmux.pl \ >> >> bin/rt-crontool \ >> >> //opt/rt3/bin >> >> mkdir -p //opt/rt3/sbin >> >> chmod +x \ >> >> sbin/rt-dump-database \ >> >> sbin/rt-setup-database \ >> >> sbin/rt-test-dependencies >> >> cp -rp \ >> >> sbin/rt-dump-database \ >> >> sbin/rt-setup-database \ >> >> sbin/rt-test-dependencies \ >> >> //opt/rt3/sbin >> >> [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html >> >> cp -rp ./html/* //opt/rt3/share/html >> >> cp -rp ./local/html/* //opt/rt3/local/html >> >> cp: cannot stat `./local/html/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> cp -rp ./local/po/* //opt/rt3/local/po >> >> cp: cannot stat `./local/po/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> cp -rp ./local/etc/* //opt/rt3/local/etc >> >> cp: cannot stat `./local/etc/*': No such file or directory >> >> make: [local-install] Error 1 (ignored) >> >> # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a >> > dir > >> [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc >> >> make: [doc-install] Error 1 (ignored) >> >> [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc >> >> cp -rp ./README //opt/rt3/share/doc >> >> # Make the libraries readable >> >> chmod 0755 //opt/rt3 >> >> chown -R root //opt/rt3/lib >> >> chgrp -R bin //opt/rt3/lib >> >> chmod -R u+rwX,go-w,go+rX //opt/rt3/lib >> >> chmod 0755 //opt/rt3/bin >> >> chmod 0755 //opt/rt3/bin >> >> chmod 0755 //opt/rt3/etc >> >> chmod 0500 //opt/rt3/etc/* >> >> #TODO: the config file should probably be able to have its >> >> # owner set separately from the binaries. >> >> chown -R root //opt/rt3/etc >> >> chgrp -R apache //opt/rt3/etc >> >> chmod 0550 //opt/rt3/etc/RT_Config.pm >> >> chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm >> >> # Make the interfaces executable >> >> chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc >> >> # Make the web ui readable by all. >> >> chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ >> >> //opt/rt3/local/html \ >> >> //opt/rt3/local/po >> >> chown -R root //opt/rt3/share/html \ >> >> //opt/rt3/local/html >> >> chgrp -R bin //opt/rt3/share/html \ >> >> //opt/rt3/local/html >> >> # Make the web ui's data dir writable >> >> chmod 0770 //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> chown -R apache //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> chgrp -R apache //opt/rt3/var/mason_data \ >> >> //opt/rt3/var/session_data >> >> Congratulations. RT has been installed. >> >> >> >> >> >> You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. >> >> >> >> (You will definitely need to set RT's database password in >> >> /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could be >> >> very dangerous. Note that you do not have to manually add a >> >> database user or set up a database for RT. These actions will be >> >> taken care of in the next step.) >> >> >> >> After that, you need to initialize RT's database by running >> >> 'make initialize-database' >> >> [root at netnet-ems rt-3.6.6]# make initialize-database >> >> /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba >> root --prompt-for-dba-password >> >> In order to create or update your RT database,this script needs to >> connect to your mysql instance on localhost as root. >> >> Please specify that user's database password below. If the user has no >> > > >> database >> >> password, just press return. >> >> >> >> Password: >> >> Now creating a database for RT. >> >> Creating mysql database rt3. >> >> Now populating database schema. >> >> Creating database schema. >> >> Transactions not supported by database at >> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line >> 1668, line 463. >> >> make: *** [initialize-database] Error 2 >> >> [root at netnet-ems rt-3.6.6]# >> >> >> >> >> >> *Nelson Pereira* >> Senior Network Administrator >> >> Protus IP Solutions Inc. >> npereira at protus.com >> phone: 613.733.0000 ext.528 >> MyFax: 613.822.5083 >> www.myfax.com >> >> Refer your friends and colleagues to MyFax! >> Click here for more information. >> >> >> >> >> www.MyFax.com >> >> >> >> >> > ------------------------------------------------------------------------ > >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com 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.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From KFCrocker at lbl.gov Thu Apr 3 14:49:59 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 03 Apr 2008 11:49:59 -0700 Subject: [rt-users] Error in log of fresh install of RT 3.6.6 In-Reply-To: <00c401c895b2$c6085010$a606a8c0@servicexp> References: <00c401c895b2$c6085010$a606a8c0@servicexp> Message-ID: <47F526D7.7000306@lbl.gov> Mark, A couple of those entries are just informational. The ones that said "Not Sending" are alerting you to the fact that a scrip was enacted, probably a notification scrip, and for one or more reasons, it did NOT send any email to anyone. The reasons for not sending an email could be the recipient (like an added "cc" when you clicked "reply") was privileged, or the scrip that was enacted was "Notify Requestor" and you didn't have a scrip for "others" and when you added a "cc", you created an other, or if YOU were the requestor and you got into the ticket and hit "reply" RT won't "notify" the user that caused the transaction to initiate (RT figures if you did the work, it would be redundant to TELL you that you did the work. In that case you want the action to be "Autoreply"). Anyway, that's what those are. Nothing to worry about. The LAST one, however, seems to be telling you that someone tried to create a query that was comparing to fields that were not of the same type, like comparing an alpha field (like name) to a numeric field (like time or a quantity field or something). The search failed because of it. Hope this helps. Kenn LBNL On 4/3/2008 10:47 AM, Mark Fraser wrote: > I just finished installing RT 3.6.6 on a clean Linux system yesterday. I > still have some configuration to do. I noticed that it was generating > the following log entries with the last line showing an error. Without > parsing the code myself, I do not know why this error is occurring and > if it is of any great significance. > > > Apr 3 13:11:01 tracker RT: > #5/119 - Scrip 3 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > sent To: > djackson at fednews.com > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) > > Apr 3 13:11:02 tracker RT: > #5/119 - Scrip 4 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > No recipients found. Not > sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) > > Apr 3 13:11:02 tracker RT: > #5/119 - Scrip 15 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > sent To: > djackson at fednews.com > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) > > Apr 3 13:11:02 tracker RT: > #5/119 - Scrip 16 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > No recipients found. Not > sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) > > Apr 3 13:11:02 tracker RT: Ticket 5 created in queue 'Support' by > djackson at fednews.com > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:756) > > Apr 3 13:19:27 tracker RT: Argument ".0.27" isn't numeric in numeric eq > (==) at > /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm line > 87. (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm:87) > > I will answer any questions in reply and any ideas would be appreciated. > > Respectfully, > > Mark P. Fraser > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From torsten.brumm at googlemail.com Thu Apr 3 15:08:06 2008 From: torsten.brumm at googlemail.com (Torsten Brumm) Date: Thu, 3 Apr 2008 21:08:06 +0200 Subject: [rt-users] New install (second chance) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AB86@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AB28@EXMAIL.protus.org> <47F4F3EF.3090507@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB40@EXMAIL.protus.org> <47F4FDD6.5030008@ucrwcu.rwc.uc.edu> <21044E8C915A7E43B90A1056127160F116AB51@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AB86@EXMAIL.protus.org> Message-ID: Why PHP RT is PERL !!!! 2008/4/3, Nelson Pereira : > > I'm not sure? I'm having a big cryssis here with my Cisco 6500's so I > have to drop this until Monday probably, > > So Monday, I will re-install RHEL4 on it with mysql and PHP from RHEL4 and > I'll start from scratch again? > > > > Talk to you later > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > [image: www.MyFax.com] > > > ------------------------------ > > *From:* Torsten Brumm [mailto:torsten.brumm at googlemail.com] > *Sent:* Thursday, April 03, 2008 2:14 PM > *To:* Nelson Pereira > *Cc:* Drew Barnes; rt-users at lists.bestpractical.com > *Subject:* Re: [rt-users] New install (second chance) > > > > Hi Nelson, > > just googled for your error message. are you sure you enabled mysql with > innodb support??? > > Btw, can you explain more in detail how you have done your setup? > > is the mysql from the lamp or from the distro? how does your my.cnf looks > like? > > Torsten > > 2008/4/3, Nelson Pereira : > > Ok, the install seems to have gone well with : > > ./configure --with-web-user=apache --with-web-group=apache --with-mysql > > > But now the make initialize-database reports errors...: > > [root at netnet-ems rt-3.6.6]# make initialize-database > /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba root > --prompt-for-dba-password > In order to create or update your RT database,this script needs to > connect to your mysql instance on localhost as root. > Please specify that user's database password below. If the user has no > database > password, just press return. > > Password: > Now creating a database for RT. > Creating mysql database rt3. > Now populating database schema. > Creating database schema. > Transactions not supported by database at > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line > 1668, line 463. > make: *** [initialize-database] Error 2 > [root at netnet-ems rt-3.6.6]# > > > > I am running MySQL, here is what phpinfo states: > mysql > MySQL Support enabled > Active Persistent Links 0 > Active Links 0 > Client API version 5.0.42 > MYSQL_MODULE_TYPE external > MYSQL_SOCKET /var/lib/mysql/mysql.sock > MYSQL_INCLUDE -I/usr/include/mysql > MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient > > > > > > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > > Refer your friends and colleagues to MyFax! > Click here for more information. www.MyFax.com > > -----Original Message----- > From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] > > Sent: Thursday, April 03, 2008 11:55 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] New install (second chance) > > my configure was: > ./configure --prefix=/usr/local/rt3 --with-web-user=apache > --with-web-group=apache --with-db-rt-pass=xxxxxxxxx --with-mysql > > That installs in /usr/local/rt3, that apache is the user and group that > runs my webserver, specifies the password that rt_user connects to the > database with, using mysql. > > A full list of options is available with ./configure --help > > > Nelson Pereira wrote: > > I don't even know what flags to use...?!? > > > > > > > > Nelson Pereira > > > > Refer your friends and colleagues to MyFax! > > Click here for more information. www.MyFax.com > > > > -----Original Message----- > > From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] > > Sent: Thursday, April 03, 2008 11:13 AM > > To: Nelson Pereira > > Cc: rt-users at lists.bestpractical.com > > Subject: Re: [rt-users] New install (second chance) > > > > # cat README | grep configure > > 2 Run the "configure" script. > > ./configure --help to see the list of options > > ./configure (with the flags you want) > > > > > > Nelson Pereira wrote: > > > >> Hi, > >> > >> > >> > >> Trying this install again but this time with a RHEL4 box. > >> > >> Downloaded the tar.gz, unpacked, installed all perl modules, testdeps > > >> all is fine... Then: > >> > >> Here is the output of ./configure and ./make install > >> > >> Can someone tell me what my problem is and how to fix it? > >> > >> > >> > >> > >> > >> [root at netnet-ems rt-3.6.6]# > >> > >> [root at netnet-ems rt-3.6.6]# > >> > >> [root at netnet-ems rt-3.6.6]# ./configure > >> > >> checking for a BSD-compatible install... /usr/bin/install -c > >> > >> checking for gawk... gawk > >> > >> checking for perl... /usr/bin/perl > >> > >> checking for chosen layout... RT3 > >> > >> checking if user www exists... not found > >> > >> checking if user www-data exists... not found > >> > >> checking if user apache exists... found > >> > >> checking if group www exists... not found > >> > >> checking if group www-data exists... not found > >> > >> checking if group apache exists... found > >> > >> checking if group rt3 exists... not found > >> > >> checking if group rt exists... not found > >> > >> checking if group apache exists... found > >> > >> checking if database name is valid... yes > >> > >> configure: creating ./config.status > >> > >> config.status: creating sbin/rt-dump-database > >> > >> config.status: creating sbin/rt-setup-database > >> > >> config.status: creating sbin/rt-test-dependencies > >> > >> config.status: creating bin/mason_handler.fcgi > >> > >> config.status: creating bin/mason_handler.scgi > >> > >> config.status: creating bin/standalone_httpd > >> > >> config.status: creating bin/rt-crontool > >> > >> config.status: creating bin/rt-mailgate > >> > >> config.status: creating bin/rt > >> > >> config.status: creating Makefile > >> > >> config.status: creating etc/RT_Config.pm > >> > >> config.status: creating lib/RT.pm > >> > >> config.status: creating bin/mason_handler.svc > >> > >> config.status: creating bin/webmux.pl > >> > >> [root at netnet-ems rt-3.6.6]# make install > >> > >> mkdir -p //opt/rt3/etc > >> > >> cp etc/RT_Config.pm //opt/rt3/etc/RT_Config.pm > >> > >> [ -f //opt/rt3/etc/RT_SiteConfig.pm ] || cp etc/RT_SiteConfig.pm > >> //opt/rt3/etc/RT_SiteConfig.pm > >> > >> chgrp apache //opt/rt3/etc/RT_Config.pm > >> > >> chown root //opt/rt3/etc/RT_Config.pm > >> > >> chgrp apache //opt/rt3/etc/RT_SiteConfig.pm > >> > >> chown root //opt/rt3/etc/RT_SiteConfig.pm > >> > >> Installed configuration. about to install rt in /opt/rt3 > >> > >> mkdir -p //opt/rt3/var/log > >> > >> mkdir -p //opt/rt3/var/mason_data > >> > >> mkdir -p //opt/rt3/var/mason_data/cache > >> > >> mkdir -p //opt/rt3/var/mason_data/etc > >> > >> mkdir -p //opt/rt3/var/mason_data/obj > >> > >> mkdir -p //opt/rt3/var/session_data > >> > >> mkdir -p //opt/rt3/share/html > >> > >> mkdir -p //opt/rt3/local/html > >> > >> mkdir -p //opt/rt3/local/etc > >> > >> mkdir -p //opt/rt3/local/lib > >> > >> mkdir -p //opt/rt3/local/po > >> > >> [ -d //opt/rt3/lib ] || mkdir -p //opt/rt3/lib > >> > >> cp -rp lib/* //opt/rt3/lib > >> > >> mkdir -p //opt/rt3/etc > >> > >> cp -rp \ > >> > >> etc/acl.* \ > >> > >> etc/initialdata \ > >> > >> etc/schema.* \ > >> > >> //opt/rt3/etc > >> > >> mkdir -p //opt/rt3/bin > >> > >> chmod +x bin/rt-mailgate \ > >> > >> bin/rt-crontool > >> > >> cp -rp \ > >> > >> bin/rt-mailgate \ > >> > >> bin/mason_handler.fcgi \ > >> > >> bin/mason_handler.scgi \ > >> > >> bin/standalone_httpd \ > >> > >> bin/mason_handler.svc \ > >> > >> bin/rt \ > >> > >> bin/webmux.pl \ > >> > >> bin/rt-crontool \ > >> > >> //opt/rt3/bin > >> > >> mkdir -p //opt/rt3/sbin > >> > >> chmod +x \ > >> > >> sbin/rt-dump-database \ > >> > >> sbin/rt-setup-database \ > >> > >> sbin/rt-test-dependencies > >> > >> cp -rp \ > >> > >> sbin/rt-dump-database \ > >> > >> sbin/rt-setup-database \ > >> > >> sbin/rt-test-dependencies \ > >> > >> //opt/rt3/sbin > >> > >> [ -d //opt/rt3/share/html ] || mkdir -p //opt/rt3/share/html > >> > >> cp -rp ./html/* //opt/rt3/share/html > >> > >> cp -rp ./local/html/* //opt/rt3/local/html > >> > >> cp: cannot stat `./local/html/*': No such file or directory > >> > >> make: [local-install] Error 1 (ignored) > >> > >> cp -rp ./local/po/* //opt/rt3/local/po > >> > >> cp: cannot stat `./local/po/*': No such file or directory > >> > >> make: [local-install] Error 1 (ignored) > >> > >> cp -rp ./local/etc/* //opt/rt3/local/etc > >> > >> cp: cannot stat `./local/etc/*': No such file or directory > >> > >> make: [local-install] Error 1 (ignored) > >> > >> # RT 3.0.0 - RT 3.0.2 would accidentally create a file instead of a > >> > > dir > > > >> [ -f //opt/rt3/share/doc ] && rm //opt/rt3/share/doc > >> > >> make: [doc-install] Error 1 (ignored) > >> > >> [ -d //opt/rt3/share/doc ] || mkdir -p //opt/rt3/share/doc > >> > >> cp -rp ./README //opt/rt3/share/doc > >> > >> # Make the libraries readable > >> > >> chmod 0755 //opt/rt3 > >> > >> chown -R root //opt/rt3/lib > >> > >> chgrp -R bin //opt/rt3/lib > >> > >> chmod -R u+rwX,go-w,go+rX //opt/rt3/lib > >> > >> chmod 0755 //opt/rt3/bin > >> > >> chmod 0755 //opt/rt3/bin > >> > >> chmod 0755 //opt/rt3/etc > >> > >> chmod 0500 //opt/rt3/etc/* > >> > >> #TODO: the config file should probably be able to have its > >> > >> # owner set separately from the binaries. > >> > >> chown -R root //opt/rt3/etc > >> > >> chgrp -R apache //opt/rt3/etc > >> > >> chmod 0550 //opt/rt3/etc/RT_Config.pm > >> > >> chmod 0550 //opt/rt3/etc/RT_SiteConfig.pm > >> > >> # Make the interfaces executable > >> > >> chown root //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > >> > >> chgrp apache //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > >> > >> chmod 0755 //opt/rt3/bin/webmux.pl //opt/rt3/bin/rt-mailgate > >> //opt/rt3/bin/rt //opt/rt3/bin/rt-crontool > >> //opt/rt3/bin/standalone_httpd //opt/rt3/bin/mason_handler.scgi > >> //opt/rt3/bin/mason_handler.fcgi //opt/rt3/bin/mason_handler.svc > >> > >> # Make the web ui readable by all. > >> > >> chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html \ > >> > >> //opt/rt3/local/html \ > >> > >> //opt/rt3/local/po > >> > >> chown -R root //opt/rt3/share/html \ > >> > >> //opt/rt3/local/html > >> > >> chgrp -R bin //opt/rt3/share/html \ > >> > >> //opt/rt3/local/html > >> > >> # Make the web ui's data dir writable > >> > >> chmod 0770 //opt/rt3/var/mason_data \ > >> > >> //opt/rt3/var/session_data > >> > >> chown -R apache //opt/rt3/var/mason_data \ > >> > >> //opt/rt3/var/session_data > >> > >> chgrp -R apache //opt/rt3/var/mason_data \ > >> > >> //opt/rt3/var/session_data > >> > >> Congratulations. RT has been installed. > >> > >> > >> > >> > >> > >> You must now configure RT by editing /opt/rt3/etc/RT_SiteConfig.pm. > >> > >> > >> > >> (You will definitely need to set RT's database password in > >> > >> /opt/rt3/etc/RT_SiteConfig.pm before continuing. Not doing so could > be > >> > >> very dangerous. Note that you do not have to manually add a > >> > >> database user or set up a database for RT. These actions will be > >> > >> taken care of in the next step.) > >> > >> > >> > >> After that, you need to initialize RT's database by running > >> > >> 'make initialize-database' > >> > >> [root at netnet-ems rt-3.6.6]# make initialize-database > >> > >> /usr/bin/perl //opt/rt3/sbin/rt-setup-database --action init --dba > >> root --prompt-for-dba-password > >> > >> In order to create or update your RT database,this script needs to > >> connect to your mysql instance on localhost as root. > >> > >> Please specify that user's database password below. If the user has > no > >> > > > > > >> database > >> > >> password, just press return. > >> > >> > >> > >> Password: > >> > >> Now creating a database for RT. > >> > >> Creating mysql database rt3. > >> > >> Now populating database schema. > >> > >> Creating database schema. > >> > >> Transactions not supported by database at > >> /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line > >> 1668, line 463. > >> > >> make: *** [initialize-database] Error 2 > >> > >> [root at netnet-ems rt-3.6.6]# > >> > >> > >> > >> > >> > >> *Nelson Pereira* > >> Senior Network Administrator > >> > >> Protus IP Solutions Inc. > >> npereira at protus.com > >> phone: 613.733.0000 ext.528 > >> MyFax: 613.822.5083 > >> www.myfax.com > >> > >> Refer your friends and colleagues to MyFax! > >> Click here for more information. > >> > >> > >> > >> > >> www.MyFax.com > >> > >> > >> > >> > >> > > > ------------------------------------------------------------------------ > > > >> _______________________________________________ > >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > >> > >> Community help: http://wiki.bestpractical.com > >> Commercial support: sales at bestpractical.com > >> > >> > >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > >> Buy a copy at http://rtbook.bestpractical.com > >> > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > 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.torsten-brumm.de > -- MFG Torsten Brumm http://www.torsten-brumm.de -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: not available URL: From mpfraser at ndshq.com Thu Apr 3 15:11:58 2008 From: mpfraser at ndshq.com (Mark Fraser (Google Mail)) Date: Thu, 3 Apr 2008 15:11:58 -0400 Subject: [rt-users] Error in log of fresh install of RT 3.6.6 In-Reply-To: <47F526D7.7000306@lbl.gov> References: <00c401c895b2$c6085010$a606a8c0@servicexp> <47F526D7.7000306@lbl.gov> Message-ID: <00ca01c895be$99cca670$a606a8c0@servicexp> Thanks, but actually, my concern was really for the last item. I am not trying to be "smart", however I understand the general function and can even look at the specific code in the referenced file. I was trying not to have to figure out why the established code was generating this specific error, i.e. is it a bug or the result or poor data checking on the part of the original programmer. The following code snippet is from the "offending " file, "/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm" : sub DistinctQuery { my $self = shift; my $statementref = shift; my $sb = shift; return $self->SUPER::DistinctQuery( $statementref, $sb, @_ ) if $sb->_GroupClause || $sb->_OrderClause !~ /(?DatabaseVersion, 1) == 4 ) { #<<<<<<<<<<< HERE, Line 87 local $sb->{'group_by'} = [{FIELD => 'id'}]; -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Thursday, April 03, 2008 2:50 PM To: mpfraser at ndshq.com Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Error in log of fresh install of RT 3.6.6 Mark, A couple of those entries are just informational. The ones that said "Not Sending" are alerting you to the fact that a scrip was enacted, probably a notification scrip, and for one or more reasons, it did NOT send any email to anyone. The reasons for not sending an email could be the recipient (like an added "cc" when you clicked "reply") was privileged, or the scrip that was enacted was "Notify Requestor" and you didn't have a scrip for "others" and when you added a "cc", you created an other, or if YOU were the requestor and you got into the ticket and hit "reply" RT won't "notify" the user that caused the transaction to initiate (RT figures if you did the work, it would be redundant to TELL you that you did the work. In that case you want the action to be "Autoreply"). Anyway, that's what those are. Nothing to worry about. The LAST one, however, seems to be telling you that someone tried to create a query that was comparing to fields that were not of the same type, like comparing an alpha field (like name) to a numeric field (like time or a quantity field or something). The search failed because of it. Hope this helps. Kenn LBNL On 4/3/2008 10:47 AM, Mark Fraser wrote: > I just finished installing RT 3.6.6 on a clean Linux system yesterday. > I still have some configuration to do. I noticed that it was > generating the following log entries with the last line showing an > error. Without parsing the code myself, I do not know why this error > is occurring and if it is of any great significance. > > > Apr 3 13:11:01 tracker RT: > #5/119 - Scrip 3 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > sent To: > djackson at fednews.com > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) > > Apr 3 13:11:02 tracker RT: > #5/119 - Scrip 4 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > No recipients found. > Not sending. > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) > > Apr 3 13:11:02 tracker RT: > #5/119 - Scrip 15 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > sent To: > djackson at fednews.com > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) > > Apr 3 13:11:02 tracker RT: > #5/119 - Scrip 16 > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) > > Apr 3 13:11:02 tracker RT: > No recipients found. > Not sending. > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) > > Apr 3 13:11:02 tracker RT: Ticket 5 created in queue 'Support' by > djackson at fednews.com > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:756) > > Apr 3 13:19:27 tracker RT: Argument ".0.27" isn't numeric in numeric > eq > (==) at > /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm line > 87. > (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm:87) > > I will answer any questions in reply and any ideas would be appreciated. > > Respectfully, > > Mark P. Fraser > > > ---------------------------------------------------------------------- > -- > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com Commercial support: > sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Thu Apr 3 15:19:10 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 03 Apr 2008 12:19:10 -0700 Subject: [rt-users] Error in log of fresh install of RT 3.6.6 In-Reply-To: <47F526D7.7000306@lbl.gov> References: <00c401c895b2$c6085010$a606a8c0@servicexp> <47F526D7.7000306@lbl.gov> Message-ID: <47F52DAE.1050901@lbl.gov> Mark, Sorry. My fingers are just so fat that sometimes it looks like I can't spell or got lost or something. When I wrote a recipient was "privileged" as a reason to NOT get an email, I obviously meant "Not Privileged". Sorry. Kenn LBNL On 4/3/2008 11:49 AM, Kenneth Crocker wrote: > Mark, > > > A couple of those entries are just informational. The ones that said > "Not Sending" are alerting you to the fact that a scrip was enacted, > probably a notification scrip, and for one or more reasons, it did NOT > send any email to anyone. The reasons for not sending an email could be > the recipient (like an added "cc" when you clicked "reply") was > privileged, or the scrip that was enacted was "Notify Requestor" and you > didn't have a scrip for "others" and when you added a "cc", you created > an other, or if YOU were the requestor and you got into the ticket and > hit "reply" RT won't "notify" the user that caused the transaction to > initiate (RT figures if you did the work, it would be redundant to TELL > you that you did the work. In that case you want the action to be > "Autoreply"). Anyway, that's what those are. Nothing to worry about. The > LAST one, however, seems to be telling you that someone tried to create > a query that was comparing to fields that were not of the same type, > like comparing an alpha field (like name) to a numeric field (like time > or a quantity field or something). The search failed because of it. Hope > this helps. > > Kenn > LBNL > > On 4/3/2008 10:47 AM, Mark Fraser wrote: >> I just finished installing RT 3.6.6 on a clean Linux system yesterday. I >> still have some configuration to do. I noticed that it was generating >> the following log entries with the last line showing an error. Without >> parsing the code myself, I do not know why this error is occurring and >> if it is of any great significance. >> >> >> Apr 3 13:11:01 tracker RT: >> #5/119 - Scrip 3 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> sent To: >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 4 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> No recipients found. Not >> sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 15 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> sent To: >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 16 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> No recipients found. Not >> sending. (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) >> >> Apr 3 13:11:02 tracker RT: Ticket 5 created in queue 'Support' by >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:756) >> >> Apr 3 13:19:27 tracker RT: Argument ".0.27" isn't numeric in numeric eq >> (==) at >> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm line >> 87. (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm:87) >> >> I will answer any questions in reply and any ideas would be appreciated. >> >> Respectfully, >> >> Mark P. Fraser >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From gleduc at mail.sdsu.edu Thu Apr 3 15:21:20 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Thu, 03 Apr 2008 12:21:20 -0700 Subject: [rt-users] [ERROR] Request-URI Too Large In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB0394F93190@w3hamboex11.ger.win .int.kn> References: <16426EA38D57E74CB1DE5A6AE1DB0394F93190@w3hamboex11.ger.win.int.kn> Message-ID: <6.2.1.2.2.20080403121427.023c3298@mail.sdsu.edu> Torsten, I can't see an easy workaround to do this via the web piece. I posted a perl script a couple (or few) weeks ago that dumps a list of all users from the command line, so if you look through the archives for the last month or so for stuff posted by me you should find it. As a disclaimer, the person I posted it for got an error and it didn't work. It does work on my Solaris box and there aren't any funky calls in it that should break the script, so you might want to give it a try. Good luck, Gene At 10:41 AM 4/3/2008, Ham MI-ID, Torsten Brumm wrote: >Hi gene, >What does this mean exactly? No chance to export all uiser? Now workaround >(dump from the db?) > >Torsten > >-----Original Message----- >From: Gene LeDuc >To: Ham MI-ID, Torsten Brumm >CC: rt Users >Sent: Thu Apr 03 19:07:28 2008 >Subject: Re: [rt-users] [ERROR] Request-URI Too Large > >Oops, now I see why the user list needs to be passed to the handler >(results of a search may not contain _all_ users). > >At 09:09 AM 4/3/2008, Gene LeDuc wrote: > >This looks like an RT design error. For some reason it is passing a list > >containing every user's id via the URL. If the list of users is long > >enough you will certainly break something. Since you can't select which > >users to dump into the file (other than including disabled users), there's > >really no reason to have to pass the user list to the handler - it will > >always dump either all users or all users that aren't disabled. > > > >Regards, > >Gene > > > >At 02:03 AM 4/3/2008, Ham MI-ID, Torsten Brumm wrote: > > >Hi RT Users, > > > > > >Just tried to export my users (Configuration -> Users -> Download as TAB > > >delimited File) and got this error: > > > > > >Request-URI Too Large > > > > > >The requested URL's length exceeds the capacity limit for this server. > > > > > >Any idea how to fix this? Is this a error from RT (why the URL is so long) > > >or can i change something at the webserver? > > > > > >Thanks > > > > > >Torsten > > > > > >K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann > > >(Vors.), Uwe Bielang (Stellv.), Bruno Mang, Dirk Blesius (Stellv.), Alfred > > >Manke, Christian Marnett?? (Stellv.), Mark Reinhardt (Stellv.), Jens > > >Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, > > >USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel > > >A.G., Sitz: Contern/Luxemburg Gesch?ftsf?hrender Verwaltungsrat: > > >Klaus-Michael K?hne > > >K?hne + Nagel (AG & Co.) KG, Gesch?ftsleitung: Hans-Georg Brinkmann >(Vors.), Uwe Bielang (Stellv.), Dirk Blesius (Stellv.), Bruno Mang, Alfred >Manke, Christian Marnett?? (Stellv.), Mark Reinhardt (Stellv.), Jens >Wollesen, Rainer Wunn, Sitz: Bremen, Registergericht: Bremen, HRA 21928, >USt-IdNr.: DE 812773878, Pers?nlich haftende Gesellschaft: K?hne & Nagel >A.G., Sitz: Contern/Luxemburg, Gesch?ftsf?hrender Verwaltungsrat: >Klaus-Michael K?hne -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Thu Apr 3 15:27:38 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 03 Apr 2008 12:27:38 -0700 Subject: [rt-users] Error in log of fresh install of RT 3.6.6 In-Reply-To: <00ca01c895be$99cca670$a606a8c0@servicexp> References: <00c401c895b2$c6085010$a606a8c0@servicexp> <47F526D7.7000306@lbl.gov> <00ca01c895be$99cca670$a606a8c0@servicexp> Message-ID: <47F52FAA.7020001@lbl.gov> Mark, Sorry. I didn't mean to sound pedantic. I didn't know how experienced you were on any of this. Hell, I'm REALLY new to alot of it. However, to your question. If I understand what you're asking, it is why the last error? If so, it is because the value that exists in "($self->DatabaseVersion, 1)" is not numeric and the condition is a numeric comparison. I'm not a MySQL guy, but does that make any sense to you, about that data element? Hope this helps. Kenn LBNL On 4/3/2008 12:11 PM, Mark Fraser (Google Mail) wrote: > Thanks, but actually, my concern was really for the last item. I am not > trying to be "smart", however I understand the general function and can even > look at the specific code in the referenced file. I was trying not to have > to figure out why the established code was generating this specific error, > i.e. is it a bug or the result or poor data checking on the part of the > original programmer. > > The following code snippet is from the "offending " file, > "/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm" : > > sub DistinctQuery { > my $self = shift; > my $statementref = shift; > my $sb = shift; > > return $self->SUPER::DistinctQuery( $statementref, $sb, @_ ) > if $sb->_GroupClause || $sb->_OrderClause !~ /(? > if ( substr($self->DatabaseVersion, 1) == 4 ) { #<<<<<<<<<<< > HERE, Line 87 > local $sb->{'group_by'} = [{FIELD => 'id'}]; > > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Thursday, April 03, 2008 2:50 PM > To: mpfraser at ndshq.com > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Error in log of fresh install of RT 3.6.6 > > Mark, > > > A couple of those entries are just informational. The ones that said > "Not Sending" are alerting you to the fact that a scrip was enacted, > probably a notification scrip, and for one or more reasons, it did NOT send > any email to anyone. The reasons for not sending an email could be the > recipient (like an added "cc" when you clicked "reply") was privileged, or > the scrip that was enacted was "Notify Requestor" and you didn't have a > scrip for "others" and when you added a "cc", you created an other, or if > YOU were the requestor and you got into the ticket and hit "reply" RT won't > "notify" the user that caused the transaction to initiate (RT figures if you > did the work, it would be redundant to TELL you that you did the work. In > that case you want the action to be "Autoreply"). Anyway, that's what those > are. Nothing to worry about. The LAST one, however, seems to be telling you > that someone tried to create a query that was comparing to fields that were > not of the same type, like comparing an alpha field (like name) to a numeric > field (like time or a quantity field or something). The search failed > because of it. Hope this helps. > > Kenn > LBNL > > On 4/3/2008 10:47 AM, Mark Fraser wrote: >> I just finished installing RT 3.6.6 on a clean Linux system yesterday. >> I still have some configuration to do. I noticed that it was >> generating the following log entries with the last line showing an >> error. Without parsing the code myself, I do not know why this error >> is occurring and if it is of any great significance. >> >> >> Apr 3 13:11:01 tracker RT: >> #5/119 - Scrip 3 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> sent To: >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 4 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> No recipients found. >> Not sending. >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 15 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> sent To: >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 16 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> No recipients found. >> Not sending. >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) >> >> Apr 3 13:11:02 tracker RT: Ticket 5 created in queue 'Support' by >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:756) >> >> Apr 3 13:19:27 tracker RT: Argument ".0.27" isn't numeric in numeric >> eq >> (==) at >> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm line >> 87. >> (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm:87) >> >> I will answer any questions in reply and any ideas would be appreciated. >> >> Respectfully, >> >> Mark P. Fraser >> >> >> ---------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com Commercial support: >> sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > From falcone at bestpractical.com Thu Apr 3 15:38:17 2008 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 3 Apr 2008 15:38:17 -0400 Subject: [rt-users] Error in log of fresh install of RT 3.6.6 In-Reply-To: <00ca01c895be$99cca670$a606a8c0@servicexp> References: <00c401c895b2$c6085010$a606a8c0@servicexp> <47F526D7.7000306@lbl.gov> <00ca01c895be$99cca670$a606a8c0@servicexp> Message-ID: <117CD1D9-9A42-46E5-BC34-E37EE21C46A9@bestpractical.com> On Apr 3, 2008, at 3:11 PM, Mark Fraser (Google Mail) wrote: > Thanks, but actually, my concern was really for the last item. I am > not > trying to be "smart", however I understand the general function and > can even > look at the specific code in the referenced file. I was trying not > to have > to figure out why the established code was generating this specific > error, > i.e. is it a bug or the result or poor data checking on the part of > the > original programmer. This was a simple typo introduced in DBIx-SearchBuilder 1.52 and fixed the next day in 1.53. It should have been substr($self->DatabaseVersion, 0, 1) It is probably worth upgrading to 1.53 if you're using 1.52, but Ruz could say more. -kevin > > > The following code snippet is from the "offending " file, > "/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm" : > > sub DistinctQuery { > my $self = shift; > my $statementref = shift; > my $sb = shift; > > return $self->SUPER::DistinctQuery( $statementref, $sb, @_ ) > if $sb->_GroupClause || $sb->_OrderClause !~ /(? > if ( substr($self->DatabaseVersion, 1) == 4 ) { #<<<<<<<<<<< > HERE, Line 87 > local $sb->{'group_by'} = [{FIELD => 'id'}]; > > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Thursday, April 03, 2008 2:50 PM > To: mpfraser at ndshq.com > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Error in log of fresh install of RT 3.6.6 > > Mark, > > > A couple of those entries are just informational. The ones that said > "Not Sending" are alerting you to the fact that a scrip was enacted, > probably a notification scrip, and for one or more reasons, it did > NOT send > any email to anyone. The reasons for not sending an email could be the > recipient (like an added "cc" when you clicked "reply") was > privileged, or > the scrip that was enacted was "Notify Requestor" and you didn't > have a > scrip for "others" and when you added a "cc", you created an other, > or if > YOU were the requestor and you got into the ticket and hit "reply" > RT won't > "notify" the user that caused the transaction to initiate (RT > figures if you > did the work, it would be redundant to TELL you that you did the > work. In > that case you want the action to be "Autoreply"). Anyway, that's > what those > are. Nothing to worry about. The LAST one, however, seems to be > telling you > that someone tried to create a query that was comparing to fields > that were > not of the same type, like comparing an alpha field (like name) to a > numeric > field (like time or a quantity field or something). The search failed > because of it. Hope this helps. > > Kenn > LBNL > > On 4/3/2008 10:47 AM, Mark Fraser wrote: >> I just finished installing RT 3.6.6 on a clean Linux system >> yesterday. >> I still have some configuration to do. I noticed that it was >> generating the following log entries with the last line showing an >> error. Without parsing the code myself, I do not know why this error >> is occurring and if it is of any great significance. >> >> >> Apr 3 13:11:01 tracker RT: >> #5/119 - Scrip 3 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> sent To: >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 4 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> No recipients found. >> Not sending. >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 15 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> sent To: >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:297) >> >> Apr 3 13:11:02 tracker RT: >> #5/119 - Scrip 16 >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:266) >> >> Apr 3 13:11:02 tracker RT: >> No recipients found. >> Not sending. >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm:278) >> >> Apr 3 13:11:02 tracker RT: Ticket 5 created in queue 'Support' by >> djackson at fednews.com >> (/usr/lib/perl5/vendor_perl/5.10.0/RT/Ticket_Overlay.pm:756) >> >> Apr 3 13:19:27 tracker RT: Argument ".0.27" isn't numeric in numeric >> eq >> (==) at >> /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm >> line >> 87. >> (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm: >> 87) >> >> I will answer any questions in reply and any ideas would be >> appreciated. >> >> Respectfully, >> >> Mark P. Fraser >> >> >> ---------------------------------------------------------------------- >> -- >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com Commercial support: >> sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From asallade at PTSOWA.ORG Thu Apr 3 16:27:34 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Thu, 3 Apr 2008 13:27:34 -0700 Subject: [rt-users] Due Date in Ticket Creation Page In-Reply-To: <589c94400804022331x59874dd4y74e41db7e2a6ea11@mail.gmail.com> References: <589c94400804022331x59874dd4y74e41db7e2a6ea11@mail.gmail.com> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF175@PTSOEXCHANGE.PTSOWA.ORG> I did a hack where we just took the
that held the advanced options and showed it inline after the basic options, with a create button under each section. That way you could do a basic ticket and hit create, or scroll down, add the dates and hit create. Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Ruslan Zakirov [mailto:ruz at bestpractical.com] Sent: Wednesday, April 02, 2008 11:32 PM To: Stephen Cochran Cc: rt Users Subject: Re: [rt-users] Due Date in Ticket Creation Page It's already there. You just have to click show advanced there on ticket create page. On Thu, Apr 3, 2008 at 7:42 AM, Stephen Cochran wrote: > > Has anyone hacked the Create ticket form to show the due date? Can > easily create a custom field that shows on the entry form, but seems > silly since the ticket object already has a due date. > > > In the archives I noticed a lot posts referencing using PHP etc as a > front end and just having the forms send mail to RT to be processed > in. Is that typical, ie what most people do to provide a more flexible > interface (ajax, etc)? > > Thanks, > Steve > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com From ruz at bestpractical.com Thu Apr 3 20:49:16 2008 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Fri, 4 Apr 2008 04:49:16 +0400 Subject: [rt-users] Error in log of fresh install of RT 3.6.6 In-Reply-To: <00c401c895b2$c6085010$a606a8c0@servicexp> References: <00c401c895b2$c6085010$a606a8c0@servicexp> Message-ID: <589c94400804031749o4328bc7fla9f6e0ad576ae1fa@mail.gmail.com> On Thu, Apr 3, 2008 at 9:47 PM, Mark Fraser wrote: > > > > I just finished installing RT 3.6.6 on a clean Linux system yesterday. I > still have some configuration to do. I noticed that it was generating the > following log entries with the last line showing an error. Without parsing > the code myself, I do not know why this error is occurring and if it is of > any great significance. [snip] > Apr 3 13:19:27 tracker RT: Argument ".0.27" isn't numeric in numeric eq > (==) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm > line 87. > (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle/mysql.pm:87) Install DBIx::SearchBuilder 0.53 > > I will answer any questions in reply and any ideas would be appreciated. > > Respectfully, > > Mark P. Fraser > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. From weser at osp-dd.de Fri Apr 4 03:47:04 2008 From: weser at osp-dd.de (Benjamin Weser) Date: Fri, 04 Apr 2008 09:47:04 +0200 Subject: [rt-users] insert blank columns in query builder In-Reply-To: <47F49050.2070501@osp-dd.de> References: <47F49050.2070501@osp-dd.de> Message-ID: <47F5DCF8.3090804@osp-dd.de> The problem's solved. For the sake of the mailing list, here's the solution. Just copy $RT_HOME/share/html/Search/Elements/BuildFormatString to local and add a to the array starting at line 68. Then the blank can be used everywhere for the search. # All the things we can display in the format string by default my @fields = qw( id Status ExtendedStatus [snip] Children NEWLINE ); Best, Ben Benjamin Weser schrieb: > Hi list, > > is there a way to add a blank column to the shown column at "Display > Columns" in the Query Builder? There is one as default at ShowColumns > but there is no chance to add another one from Add Columns. Did I miss > anything or is this not possible yet? I have not found anything at the > list or the wiki about this issue... > > Cheers, > Ben > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From andrew.fay at hotmail.co.uk Fri Apr 4 04:23:31 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Fri, 4 Apr 2008 08:23:31 +0000 Subject: [rt-users] Self Service Message-ID: Hello, I am using RT 3.6.4 at the moment on ubuntu 7.10, I have users logging in using Mike Peachey's RT::Authen::ExternalAuth extension. My problem is that on the self service page users have the option to change their password which I don't want to be there and in the top right there is a goto ticket box that I don't want there as users can enter any ticket number in there and jump to other people's tickets which obviously isn't great, Anyone know how I can get rid of these 2 ? Thanks in advance, Andy _________________________________________________________________ Amazing prizes every hour with Live Search Big Snap http://www.bigsnapsearch.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Fri Apr 4 04:30:08 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 04 Apr 2008 09:30:08 +0100 Subject: [rt-users] Self Service In-Reply-To: References: Message-ID: <47F5E710.1000902@jennic.com> andrew fay wrote: > Hello, > > I am using RT 3.6.4 at the moment on ubuntu 7.10, I have users logging > in using Mike Peachey's RT::Authen::ExternalAuth extension. > > My problem is that on the self service page users have the option to > change their password which I don't want to be there and in the top > right there is a goto ticket box that I don't want there as users can > enter any ticket number in there and jump to other people's tickets > which obviously isn't great, > > Anyone know how I can get rid of these 2 ? You don't need to get rid of the Goto Ticket box, simply ensure that users don't have permission to view tickets other than their own. This is accomplished with giving ShowTicket (you also want ReplyToTicket) to the Requestor role for any given queue. So long only Requestors and Privileged (non-self-service) users can ShowTicket.. there's no problem. As for the password change.. my self-service doesn't show that ability.. you probably want to remove the ModifySelf right for "Everyone" or something like that. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From andrew.fay at hotmail.co.uk Fri Apr 4 04:47:41 2008 From: andrew.fay at hotmail.co.uk (andrew fay) Date: Fri, 4 Apr 2008 08:47:41 +0000 Subject: [rt-users] Self Service In-Reply-To: <47F5E710.1000902@jennic.com> References: <47F5E710.1000902@jennic.com> Message-ID: morning mike!, thanks for that - sorted, One more thing, on the self service.. if I change someone's ticket's queue it gives them the message : afay - Queue changed from to and thats it.. no mention of what queue it has been moved from to, is there a quick fix for that? as this is our last issue before we can bring RT live, Cheers, Andy > Date: Fri, 4 Apr 2008 09:30:08 +0100 > From: mike.peachey at jennic.com > To: andrew.fay at hotmail.co.uk; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Self Service > > andrew fay wrote: > > Hello, > > > > I am using RT 3.6.4 at the moment on ubuntu 7.10, I have users logging > > in using Mike Peachey's RT::Authen::ExternalAuth extension. > > > > My problem is that on the self service page users have the option to > > change their password which I don't want to be there and in the top > > right there is a goto ticket box that I don't want there as users can > > enter any ticket number in there and jump to other people's tickets > > which obviously isn't great, > > > > Anyone know how I can get rid of these 2 ? > > You don't need to get rid of the Goto Ticket box, simply ensure that > users don't have permission to view tickets other than their own. This > is accomplished with giving ShowTicket (you also want ReplyToTicket) to > the Requestor role for any given queue. > > So long only Requestors and Privileged (non-self-service) users can > ShowTicket.. there's no problem. > > As for the password change.. my self-service doesn't show that ability.. > you probably want to remove the ModifySelf right for "Everyone" or > something like that. > > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ _________________________________________________________________ The next generation of Windows Live is here http://www.windowslive.co.uk/get-live -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Fri Apr 4 04:56:39 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 04 Apr 2008 09:56:39 +0100 Subject: [rt-users] Self Service In-Reply-To: References: <47F5E710.1000902@jennic.com> Message-ID: <47F5ED47.7090601@jennic.com> andrew fay wrote: > morning mike!, > > thanks for that - sorted, > > One more thing, on the self service.. if I change someone's ticket's > queue it gives them the message : > > afay - Queue changed from to > > and thats it.. no mention of what queue it has been moved from to, > > is there a quick fix for that? as this is our last issue before we can > bring RT live, I'm not sure about that one to be honest - I've hardly ever moved a Ticket between Queues. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From weser at osp-dd.de Fri Apr 4 05:02:48 2008 From: weser at osp-dd.de (Benjamin Weser) Date: Fri, 04 Apr 2008 11:02:48 +0200 Subject: [rt-users] Self Service In-Reply-To: <47F5ED47.7090601@jennic.com> References: <47F5E710.1000902@jennic.com> <47F5ED47.7090601@jennic.com> Message-ID: <47F5EEB8.3030400@osp-dd.de> I think you'll need the right SeeQueue for that. Otherwise the queue is invisible and can't be resolved by the template. But I'm not so sure about that either. Mike Peachey schrieb: > andrew fay wrote: > >> morning mike!, >> >> thanks for that - sorted, >> >> One more thing, on the self service.. if I change someone's ticket's >> queue it gives them the message : >> >> afay - Queue changed from to >> >> and thats it.. no mention of what queue it has been moved from to, >> >> is there a quick fix for that? as this is our last issue before we can >> bring RT live, >> > > I'm not sure about that one to be honest - I've hardly ever moved a > Ticket between Queues. > > From lb at mpexnet.de Fri Apr 4 05:16:13 2008 From: lb at mpexnet.de (Lars Braeuer) Date: Fri, 04 Apr 2008 11:16:13 +0200 Subject: [rt-users] Weird error on Owner Change: "Could not change owner. Group already has member" Message-ID: <47F5F1DD.7030802@mpexnet.de> Hi, I'm using RT 3.6.6, having three Groups defined. The group I'm in, has all rights granted on the global level. But still I'm not able to take some of the tickets currently owned by "Nobody". Whenever I try to change the owner of some tickets (using the "Basics" section in the ticket view), I'm getting the error message: "Could not change owner. Group already has member" I tried to debug this issue. So I found out that the first part of the error message is originated from lib/RT/Ticket_Overlay.pm line 3079: my ( $add_id, $add_msg ) = $self->OwnerGroup->_AddMember( PrincipalId => $NewOwnerObj->PrincipalId, InsideTransaction => 1 ); unless ($add_id) { $RT::Handle->Rollback(); return ( 0, $self->loc("Could not change owner. ") . $add_msg ); } Digging further down, I was wondering why the AddMember function is used at all? The second part of the error "Group already has member" is originated from lib/RT/Group_Overlay.pm line 985: if ( $self->HasMember( $new_member_obj ) ) { #User is already a member of this group. no need to add it return ( 0, $self->loc("Group already has member") ); } Why would it be required, to add the user to a group, when I'm just trying to change the owner of the ticket? Commenting out the block in Ticket_Overlay.pm starting with "unless ($add_id) {" fixes the issue, but I'm not sure if this is breaking anything. Thanks in advance for any advice. Best, Lars Br?uer -- MPeX.net GmbH MPeXnetworks Werner-Vo?-Damm 62 http://mpexnetworks.de D-12101 Berlin Tel: ++49 - 30 - 780 97 180 Germany Fax: ++49 - 30 - 780 97 181 HRB 76688, Berlin Amtsgericht Charlottenburg Gesch?ftsf?hrer: Gregor Lawatscheck Robert Lawatscheck Lars Br?uer From bert at p3rf3ct.com Fri Apr 4 06:01:00 2008 From: bert at p3rf3ct.com (Robert Logan) Date: Fri, 04 Apr 2008 11:01:00 +0100 Subject: [rt-users] A hoary goat. Message-ID: <47F5FC5C.9060900@p3rf3ct.com> Long time listener 1st time caller .... A few snippets of advice required please. Ive just started at a new post and have been tasked to look after the RT system here. Its version 3.1.4 and fairly vanilla in setup. I intend to take this (2005) system and move it to the latest, with a hardware and OS/Db update as well. Im assuming that the upgrade to 3.6.6 (current) will be more or less painless (follow the guide), but I'd like some pointers to making changes thereafter in terms of custom forms for ticket submission (various custom fields) and any caveats anyone has .. MY RT history is one of installs and very simple setups of v3 RTs (on slackware - so I know how to mess with stuff) and a lot of time with RT2 back in the day. Any pointers will be much appreciated bert From jesse at bestpractical.com Fri Apr 4 06:36:18 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 4 Apr 2008 00:36:18 -1000 Subject: [rt-users] Editing Custom Fields using CLI In-Reply-To: <20080403141049.64f3b339@teribox.holyfamily.in> References: <1AC37FBEF7856646AC61A9F285BC14CC03CA85C9@mtn-exch1.sumtotalsystems.com> <3354428D-C141-48D5-91C4-7157C38F0182@bestpractical.com> <1AC37FBEF7856646AC61A9F285BC14CC03CA8882@mtn-exch1.sumtotalsystems.com> <20070706141808.GB27590@it.is.rice.edu> <1AC37FBEF7856646AC61A9F285BC14CC03CA88B9@mtn-exch1.sumtotalsystems.com> <20070706144724.GC27590@it.is.rice.edu> <1AC37FBEF7856646AC61A9F285BC14CC03CA88C2@mtn-exch1.sumtotalsystems.com> <20070706145944.GD27590@it.is.rice.edu> <1AC37FBEF7856646AC61A9F285BC14CC03CA8908@mtn-exch1.sumtotalsystems.com> <20070706161442.GF27590@it.is.rice.edu> <20080403141049.64f3b339@teribox.holyfamily.in> Message-ID: <8A484530-610D-43C0-BF62-7201EE753702@bestpractical.com> On Apr 2, 2008, at 10:40 PM, Terence Monteiro wrote: > Hi, > > I'm using RT 3.6.4, which I had installed using the ubuntu > repositiries. I'm > using mysql as the backend DBMS. I have a custom field "Month of > application", > which I want to set while creating tickets. The queue I want to create > tickets in has this custom field as one of its fields. We've fixed a bunch of bugs related to CFs and the commandline in 3.6.5 and 3.6.6....It's worth giving RT 3.6.6 a shot. -jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From lahollande at gmail.com Fri Apr 4 09:10:45 2008 From: lahollande at gmail.com (holland holland) Date: Fri, 4 Apr 2008 15:10:45 +0200 Subject: [rt-users] RT improving security/privacy Message-ID: <1707049b0804040610j3ac13e07m8d6acfa5536c5e46@mail.gmail.com> Dear all, My problem started with people putting by mistake users on admincc, with the terrible effect of having those people viewing comments. Basically I'm trying to detect AdminCc (watchers) set on ticket and Queues. I think of 3 possible solutions: 1/ A scrip that prevent certain users of being put as AdminCc (For Ticket and Queue): Custom action preparation code: ----------------------------------------------- Track when Admincc added at ticket or Queue level. Check against list of authorized users (authorized to be on admincc) Custom action cleanup code: ----------------------------------------- send alert or others. I started with this piece, but it only check at ticket level: my $transactionType = $self->TransactionObj->Type; my $watcherType = $self->TransactionObj->Field; if (($transactionType eq 'AddWatcher') and ($watcherType eq 'AdminCc')) { return 1; } return undef; 2/ When pressing "Save Changes" button, end user will be warned that this user cannot be set as admincc (not found against list of authorized users). By far the best solution to me. 3/ SQL in a cronjob, but not pro-active enough. I found this SQL statement (at the ticket level) so far: --------------------------------------------------------------------------- SELECT DISTINCT t1.id Ticket_id, g2.id RoleGroup_id, g2.Type Role_Type, cgm3.MemberId RoleMember_id, p4.PrincipalType, u5.Name FROM Tickets t1, Groups g2, CachedGroupMembers cgm3, Principals p4, Users u5 WHERE t1.id > 10000 AND g2.Domain = 'RT::Ticket-Role' AND g2.Instance = t1.id AND cgm3.GroupId = g2.id AND p4.id = cgm3.MemberId AND p4.Disabled = 0 AND p4.PrincipalType = 'User' AND g2.Type = 'AdminCc' AND u5.id = p4.id; --------------------------------------------------------------------------------------------------- From rainer at ultra-secure.de Fri Apr 4 08:59:58 2008 From: rainer at ultra-secure.de (Rainer Duffner) Date: Fri, 04 Apr 2008 14:59:58 +0200 Subject: [rt-users] A hoary goat. In-Reply-To: <47F5FC5C.9060900@p3rf3ct.com> References: <47F5FC5C.9060900@p3rf3ct.com> Message-ID: <47F6264E.2090805@ultra-secure.de> Robert Logan schrieb: > Long time listener 1st time caller .... > > A few snippets of advice required please. > > Ive just started at a new post and have been tasked to look after the RT > system here. Its version 3.1.4 and fairly vanilla in setup. > > I intend to take this (2005) system and move it to the latest, with a > hardware and OS/Db update as well. Im assuming that the upgrade to 3.6.6 > (current) will be more or less painless (follow the guide), but I'd like > some pointers to making changes thereafter in terms of custom forms for > ticket submission (various custom fields) and any caveats anyone has .. > > MY RT history is one of installs and very simple setups of v3 RTs (on > slackware - so I know how to mess with stuff) and a lot of time with RT2 > back in the day. > > Any pointers will be much appreciated > OS? DB? Webserver? mod_perl? Clairvoyants not included.... cheers, Rainer From mpfraser at mynetstream.com Fri Apr 4 10:37:22 2008 From: mpfraser at mynetstream.com (Mark Fraser) Date: Fri, 4 Apr 2008 10:37:22 -0400 Subject: [rt-users] Log file dates are off. Message-ID: <015d01c89661$64f9dd70$a606a8c0@servicexp> I just recently installed RT 3.6.6 on a fresh/clean load Linux system. I have noticed that the logs going into the /var/log/rt3/rt.log file have times that are 6 hours later than the RT logs going into my /var/log.messages log file. Here is a cut from my RT_Config.pm file: # $Timezone is used to convert times entered by users into GMT and back again # It should be set to a timezone recognized by your local unix box. Set($Timezone , 'US/Eastern'); I have not changed this ever, so it appears that RT is treating the time as being GMT. Mark P. Fraser Netstream Visit us at http://www.mynetstream.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Fri Apr 4 10:48:32 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 4 Apr 2008 10:48:32 -0400 Subject: [rt-users] Install RT on RHEL5 Message-ID: <21044E8C915A7E43B90A1056127160F116AC0C@EXMAIL.protus.org> Is there a special instructions to install RT3 on RHEL5? Or simply follow RHEL4 manual install? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From ktm at rice.edu Fri Apr 4 10:57:06 2008 From: ktm at rice.edu (Kenneth Marshall) Date: Fri, 4 Apr 2008 09:57:06 -0500 Subject: [rt-users] Log file dates are off. In-Reply-To: <015d01c89661$64f9dd70$a606a8c0@servicexp> References: <015d01c89661$64f9dd70$a606a8c0@servicexp> Message-ID: <20080404145706.GX769@it.is.rice.edu> RT logs in UTC. The user interface displays in localtime. Ken On Fri, Apr 04, 2008 at 10:37:22AM -0400, Mark Fraser wrote: > I just recently installed RT 3.6.6 on a fresh/clean load Linux system. I > have noticed that the logs going into the /var/log/rt3/rt.log file have > times that are 6 hours later than the RT logs going into my > /var/log.messages log file. Here is a cut from my RT_Config.pm file: > > # $Timezone is used to convert times entered by users into GMT and back > again > # It should be set to a timezone recognized by your local unix box. > Set($Timezone , 'US/Eastern'); > > I have not changed this ever, so it appears that RT is treating the time as > being GMT. > > Mark P. Fraser > Netstream > Visit us at http://www.mynetstream.com/ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From mike.peachey at jennic.com Fri Apr 4 11:04:30 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 04 Apr 2008 16:04:30 +0100 Subject: [rt-users] Install RT on RHEL5 In-Reply-To: <21044E8C915A7E43B90A1056127160F116AC0C@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AC0C@EXMAIL.protus.org> Message-ID: <47F6437E.5060604@jennic.com> Nelson Pereira wrote: > Is there a special instructions to install RT3 on RHEL5? > > Or simply follow RHEL4 manual install? As I've said before, I heavily recommend following the Manual Install instructions instead. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From Martin.Lee at Ticketmaster.co.uk Fri Apr 4 11:07:36 2008 From: Martin.Lee at Ticketmaster.co.uk (Martin Lee) Date: Fri, 4 Apr 2008 16:07:36 +0100 Subject: [rt-users] User based timestamps Message-ID: <159DE994BDEF8E47A28D88E3D1BB619401C866F9@MANUK-EXB-AV1.ticketmaster.corp> Dear all, Is there any way to have time stamps based on the individual user, rather than on the localtime that the server is using? It does get more than a little tiring brain-juggling timezones, especially for those as dim-witted as I. If not, is there a feature request address? Thank you Martin Lee -------------- next part -------------- An HTML attachment was scrubbed... URL: From javoskam at uwaterloo.ca Fri Apr 4 11:22:29 2008 From: javoskam at uwaterloo.ca (Jeff Voskamp) Date: Fri, 04 Apr 2008 11:22:29 -0400 Subject: [rt-users] User based timestamps In-Reply-To: <159DE994BDEF8E47A28D88E3D1BB619401C866F9@MANUK-EXB-AV1.ticketmaster.corp> References: <159DE994BDEF8E47A28D88E3D1BB619401C866F9@MANUK-EXB-AV1.ticketmaster.corp> Message-ID: <47F647B5.1030702@uwaterloo.ca> Martin Lee wrote: > > Dear all, > > Is there any way to have time stamps based on the individual user, > rather than on the localtime that the server is using? It does get > more than a little tiring brain-juggling timezones, especially for > those as dim-witted as I. If not, is there a feature request address? > > > > Thank you > > > > Martin Lee > There's a Timezone entry in User Preferences in the 3.8 beta (alpha?), so one is coming. Jeff Voskamp From bert at p3rf3ct.com Fri Apr 4 11:42:34 2008 From: bert at p3rf3ct.com (Robert Logan) Date: Fri, 04 Apr 2008 16:42:34 +0100 Subject: [rt-users] A hoary goat. In-Reply-To: <47F6264E.2090805@ultra-secure.de> References: <47F5FC5C.9060900@p3rf3ct.com> <47F6264E.2090805@ultra-secure.de> Message-ID: <47F64C6A.2020105@p3rf3ct.com> Rainer Duffner wrote: > Robert Logan schrieb: >> Long time listener 1st time caller .... >> >> A few snippets of advice required please. >> >> Ive just started at a new post and have been tasked to look after the >> RT system here. Its version 3.1.4 and fairly vanilla in setup. >> >> I intend to take this (2005) system and move it to the latest, with a >> hardware and OS/Db update as well. Im assuming that the upgrade to >> 3.6.6 (current) will be more or less painless (follow the guide), but >> I'd like some pointers to making changes thereafter in terms of custom >> forms for ticket submission (various custom fields) and any caveats >> anyone has .. >> >> MY RT history is one of installs and very simple setups of v3 RTs (on >> slackware - so I know how to mess with stuff) and a lot of time with >> RT2 back in the day. >> >> Any pointers will be much appreciated >> > > > OS? > DB? > Webserver? > mod_perl? > > Clairvoyants not included.... > > > cheers, > Rainer Ahh - apologies - currently the usual RHEL 4, FastCGI, Apache/2.0.52 and mysql 4, but am as stated amenable to change for changes sake. Im a moderately competent sql/perl developer (mod_perl) - Mason doesnt frighten me as such. From rainer at ultra-secure.de Fri Apr 4 12:09:55 2008 From: rainer at ultra-secure.de (Rainer Duffner) Date: Fri, 04 Apr 2008 18:09:55 +0200 Subject: [rt-users] A hoary goat. In-Reply-To: <47F64C6A.2020105@p3rf3ct.com> References: <47F5FC5C.9060900@p3rf3ct.com> <47F6264E.2090805@ultra-secure.de> <47F64C6A.2020105@p3rf3ct.com> Message-ID: <47F652D3.5020707@ultra-secure.de> Robert Logan schrieb: > Rainer Duffner wrote: > >> Robert Logan schrieb: >> >>> Long time listener 1st time caller .... >>> >>> A few snippets of advice required please. >>> >>> Ive just started at a new post and have been tasked to look after the >>> RT system here. Its version 3.1.4 and fairly vanilla in setup. >>> >>> I intend to take this (2005) system and move it to the latest, with a >>> hardware and OS/Db update as well. Im assuming that the upgrade to >>> 3.6.6 (current) will be more or less painless (follow the guide), but >>> I'd like some pointers to making changes thereafter in terms of custom >>> forms for ticket submission (various custom fields) and any caveats >>> anyone has .. >>> >>> MY RT history is one of installs and very simple setups of v3 RTs (on >>> slackware - so I know how to mess with stuff) and a lot of time with >>> RT2 back in the day. >>> >>> Any pointers will be much appreciated >>> >>> >> OS? >> DB? >> Webserver? >> mod_perl? >> >> Clairvoyants not included.... >> >> >> cheers, >> Rainer >> > > > Ahh - apologies - currently the usual RHEL 4, FastCGI, Apache/2.0.52 > and mysql 4, but am as stated amenable to change for changes sake. Im a > moderately competent sql/perl developer (mod_perl) - Mason doesnt > frighten me as such. > _______________________________________________ > Well, I only migrated my RT from FreeBSD5 to FreeBSD6 and PostgreSQL8.0 to 8.2 (and from RT3.4 to RT3.6). Inbetween these PostgreSQL-releases, the PostgreSQL-team put in a lot of unicode checks, so that the import of the binary-dump didn't work. When that was solved, everything worked again. It seems, BestPractical has put *a lot* of effort into the upgrade process. I wish, I could say this for all vendors whose software we use... cheers, Rainer From KFCrocker at lbl.gov Fri Apr 4 12:59:27 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 04 Apr 2008 09:59:27 -0700 Subject: [rt-users] RT improving security/privacy In-Reply-To: <1707049b0804040610j3ac13e07m8d6acfa5536c5e46@mail.gmail.com> References: <1707049b0804040610j3ac13e07m8d6acfa5536c5e46@mail.gmail.com> Message-ID: <47F65E6F.2090603@lbl.gov> Holland, That seems like a lot of work to me when all you really need to do is use the privileges to not allow these people the ability to do all that. Sounds like you have allowed too much at the global level. If you'd answer the following questions for me, I think we can come up with a prudent scheme that will give your users robust abilities and still preserve the security you're after: What rights have you set up for Global access for what groups/users? What kind of function are your queues used for? How many? What kind of groups have you set up and what are their responsibilities per queue? Who works on tickets and what kind of rights do you want them to have as opposed to the users sending in requests? Who administrates your RT? Thanks. Kenn LBNL On 4/4/2008 6:10 AM, holland holland wrote: > Dear all, > > My problem started with people putting by mistake users on admincc, > with the terrible effect of having those people viewing comments. > > Basically I'm trying to detect AdminCc (watchers) set on ticket and Queues. > > I think of 3 possible solutions: > > 1/ > A scrip that prevent certain users of being put as AdminCc (For Ticket > and Queue): > > Custom action preparation code: > ----------------------------------------------- > > Track when Admincc added at ticket or Queue level. > Check against list of authorized users (authorized to be on admincc) > > Custom action cleanup code: > ----------------------------------------- > > send alert or others. > > > I started with this piece, but it only check at ticket level: > > my $transactionType = $self->TransactionObj->Type; > my $watcherType = $self->TransactionObj->Field; > if (($transactionType eq 'AddWatcher') and ($watcherType eq 'AdminCc')) { > return 1; > } > return undef; > > > > 2/ > > When pressing "Save Changes" button, end user will be warned that > this user cannot be set as admincc (not found against list of > authorized users). > > By far the best solution to me. > > > > 3/ > SQL in a cronjob, but not pro-active enough. > > > I found this SQL statement (at the ticket level) so far: > --------------------------------------------------------------------------- > > > SELECT DISTINCT > t1.id Ticket_id, > g2.id RoleGroup_id, > g2.Type Role_Type, > cgm3.MemberId RoleMember_id, > p4.PrincipalType, > u5.Name > FROM > Tickets t1, > Groups g2, > CachedGroupMembers cgm3, > Principals p4, > Users u5 > WHERE > t1.id > 10000 AND > g2.Domain = 'RT::Ticket-Role' AND g2.Instance = t1.id AND > cgm3.GroupId = g2.id AND > p4.id = cgm3.MemberId AND > p4.Disabled = 0 AND > p4.PrincipalType = 'User' > AND g2.Type = 'AdminCc' > AND u5.id = p4.id; > > > > --------------------------------------------------------------------------------------------------- > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From firas.batal at ericsson.com Thu Apr 3 17:14:53 2008 From: firas.batal at ericsson.com (Firas Batal) Date: Thu, 3 Apr 2008 17:14:53 -0400 Subject: [rt-users] Apply a custom field to a queue Message-ID: <67048CBE51B1644D89DDD3B7C9F2D19E056585AF@ecamlmw720.eamcs.ericsson.se> Hi everyone, I am using RT 3.6.3 on a Fedora core 8 Box. This is my dilemma: I am writing a Perl script that enables me to create custom fields from an external Excel spreadsheet. I would like to create one custom field and apply it to a number of queues, just as we can do that manually using the web interface. In the beginning, I have used the following API: my $system_user = initialise_rt(); my $rtObj_cf = RT::CustomField->new($system_user); my $rt_queue = RT::Queue->new($system_user); foreach my $queue ( keys %{ $rec->{queue_record} } ) { print "queue: $queue \n"; my $queue_id = $rt_queue->Load($queue); print qq~queue id: $queue_id\n~; next if ( !defined $queue_id || !$queue_id || $queue eq '' ); foreach my $cf ( keys %{ $rec->{lcf_record} } ) { if ( defined $rec->{lcf_record}{$cf}{Pattern} && $rec->{lcf_record}{$cf}{Pattern} ne '' && $rec->{lcf_record}{$cf}{Pattern} =~ /Yes|Mandatory/i ) { foreach my $site ( keys %{ $rec->{site_record} } ) { my ( $id, $msg ) = $rtObj_cf->Create( Name => $site. '_' . $queue . '_' . $cf, Queue => $queue_id, Description => 'Custom Field ' . $site. '_' . $queue . '_' . $cf, Pattern => '(?#Mandatory).', SortOrder => '1', Type => $rec->{lcf_record}{$cf}{Type} ); if ( !$id ) { print qq~Problem to create the costum field: $cf, message: $msg \n~; next; } $rtObj_cf->Load($id); The following segment of code loops through all queues defined in the excel spread-sheet and create custom fields for each queue according to the number of custom fields I have. So, if I have 3 custom fields in the excel sheet and 4 queues, then the total number of custom fields is 12. The problem with this approach is that you create redundant custom fields (or access custom fields). What I would like to do is to take advantage, using a script; of the facility of which RT 3.6.0+ can create custom fields and apply them to each queue. So, instead of creating 12 custom fields, I need to create 3 custom fields and apply to all queues. Is there an API that one could use, after creating the custom field, to apply the custom field to the queue under question? Thanks and I apologize for the innconvenience Firas -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Fri Apr 4 14:44:31 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 4 Apr 2008 14:44:31 -0400 Subject: [rt-users] Changing the server URL to RT in httpd.conf Message-ID: <21044E8C915A7E43B90A1056127160F116AC8A@EXMAIL.protus.org> Guys... With the modification for virtual host to put in the httpd.conf: ServerName your.rt.server.hostname DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason What do I change to have a login page URL of http://localhost/rt3 ? The reason is I have an index page on / that has multiple link, and when I put this in httpd.conf, the url http://localhost goes directly to RT and I don't see my default index.html file.... Thanks Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From asallade at PTSOWA.ORG Fri Apr 4 15:13:19 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Fri, 4 Apr 2008 12:13:19 -0700 Subject: [rt-users] Data Migration from Track-It to RT? Message-ID: <33DEE66ED2E72346ABC638427A7701404BF1FB@PTSOEXCHANGE.PTSOWA.ORG> We are getting ready to attempt a migration of 20,000 tickets from Track-it! (version 7) to RT 3.6.6 . RT is running on Ubuntu Fiesty, mySQL, Apache2. Any advice or caveats to share? Should we plan on using the CLI interface for ticket import? Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Fri Apr 4 15:15:21 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 4 Apr 2008 15:15:21 -0400 Subject: [rt-users] Changing the server URL to RT in httpd.conf In-Reply-To: <21044E8C915A7E43B90A1056127160F116AC8A@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AC8A@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116AC9E@EXMAIL.protus.org> Found my answer... RTFM ! LOL Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Friday, April 04, 2008 2:45 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Changing the server URL to RT in httpd.conf Guys... With the modification for virtual host to put in the httpd.conf: ServerName your.rt.server.hostname DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl SetHandler perl-script PerlHandler RT::Mason What do I change to have a login page URL of http://localhost/rt3 ? The reason is I have an index page on / that has multiple link, and when I put this in httpd.conf, the url http://localhost goes directly to RT and I don't see my default index.html file.... Thanks Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From ktm at rice.edu Fri Apr 4 15:38:34 2008 From: ktm at rice.edu (Kenneth Marshall) Date: Fri, 4 Apr 2008 14:38:34 -0500 Subject: [rt-users] Data Migration from Track-It to RT? In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF1FB@PTSOEXCHANGE.PTSOWA.ORG> References: <33DEE66ED2E72346ABC638427A7701404BF1FB@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <20080404193834.GE769@it.is.rice.edu> I have used the Offline option under Tools for bulk ticket creation. You can use perl or other scripting languages to generate the template file and then it will create all of the tickets for you. I would probably batch them in groups of 1000 or less to keep it manageable, but the process is very easy and works well. Cheers, Ken On Fri, Apr 04, 2008 at 12:13:19PM -0700, Aaron Sallade wrote: > We are getting ready to attempt a migration of 20,000 tickets from > Track-it! (version 7) to RT 3.6.6 . > > > > RT is running on Ubuntu Fiesty, mySQL, Apache2. > > > > Any advice or caveats to share? > > > > Should we plan on using the CLI interface for ticket import? > > > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From lesmikesell at gmail.com Fri Apr 4 15:17:47 2008 From: lesmikesell at gmail.com (Les Mikesell) Date: Fri, 04 Apr 2008 14:17:47 -0500 Subject: [rt-users] installing on RHEL4 In-Reply-To: <47F3E3A0.5040805@jennic.com> References: <21044E8C915A7E43B90A1056127160F116AAA9@EXMAIL.protus.org> <47F3E3A0.5040805@jennic.com> Message-ID: <47F67EDB.2090503@gmail.com> Mike Peachey wrote: > >> How do I install this RPM and satisfy all dependencies? > > Personally I would recommend ditching the RPM and the RHEL-specific > installation and doing a manual installation. There a number of reasons > why this would be preferable, least of all that your RT directory > structure will remain separate from the rest of your OS and make life > that much more simple for you. > > Aside from that, Red Hat packaged software is asking for trouble as they > seem to like to change the defaults that developers have worked on > carefully to whatever they think they should be. > > It is for this reason, for example, that you should be careful if you > upgrade your Perl installation via RPM because the Red Hat defaults > cause RT to break in attempting to use Scalar::Util. Can someone elaborate on this issue? Are there other problems to be expected from RPM-packaged perl modules or is this a case of mixing CPAN and rpm packages? -- Les Mikesell lesmikesell at gmail.com From npereira at protus.com Fri Apr 4 15:50:30 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 4 Apr 2008 15:50:30 -0400 Subject: [rt-users] Need RT to fetchmail... Message-ID: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> Hi all, Finaly got it all setup with the instructions on wiki on a RHEL5 fresh... I have went through all the manual instructions and everything seems well. Now, I need RT to fetch the emails from a POP3 box and bring them into RT. How can I achieve this? Is there docs on this setup? Thansk Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From m3freak at thesandhufamily.ca Fri Apr 4 16:20:50 2008 From: m3freak at thesandhufamily.ca (Kanwar Ranbir Sandhu) Date: Fri, 04 Apr 2008 16:20:50 -0400 Subject: [rt-users] installing on RHEL4 In-Reply-To: <47F67EDB.2090503@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AAA9@EXMAIL.protus.org> <47F3E3A0.5040805@jennic.com> <47F67EDB.2090503@gmail.com> Message-ID: <1207340450.3905.17.camel@krs.systemsaligned.com> On Fri, 2008-04-04 at 14:17 -0500, Les Mikesell wrote: > Can someone elaborate on this issue? Are there other problems to be > expected from RPM-packaged perl modules or is this a case of mixing CPAN > and rpm packages? Sounds like a case of mixing source installs on a RPM distro. Usually, if one has no choice, this works okay, but obviously sometimes there will be issues. I'd recommend using rpmforge to get all the dependencies for RT resolved. I asked them to add some packages a while ago just for RT, and now I can get everything in RPM form. I only install RT itself from the tar.gz now. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.22.14-72.fc6 i686 GNU/Linux 16:18:22 up 5 days, 20:00, 2 users, load average: 0.82, 0.66, 0.80 From hvgeekwtrvl at gmail.com Fri Apr 4 19:50:26 2008 From: hvgeekwtrvl at gmail.com (james machado) Date: Fri, 4 Apr 2008 16:50:26 -0700 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> Message-ID: Nelson, If you must pull from a POP3 account I would look at fetchmailto pull in the mail. OTOH, not knowing your specific reasons for using POP3, I would look at ETRN or mail relaying from your host mail system to use the standard setup with an SMTP mail server on your RT box. However fetchmail can be configured to pull from POP3 and submit via SMTP so that may take care of it for you. James Machado On Fri, Apr 4, 2008 at 12:50 PM, Nelson Pereira wrote: > Hi all, > > > > Finaly got it all setup with the instructions on wiki on a RHEL5 fresh? > > > > I have went through all the manual instructions and everything seems well. > > > > Now, I need RT to fetch the emails from a POP3 box and bring them into RT. > > > > How can I achieve this? Is there docs on this setup? > > > > Thansk > > > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > [image: www.MyFax.com] > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: not available URL: From vitaliy.okulov at gmail.com Sat Apr 5 02:21:25 2008 From: vitaliy.okulov at gmail.com (Vitaliy Okulov) Date: Sat, 5 Apr 2008 10:21:25 +0400 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> Message-ID: Sample config: /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://localhost/" >/dev/null cat /opt/rt3/.fetchmailrc set logfile=/opt/rt3/fetchmail poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to rt3 here 2008/4/4, Nelson Pereira : > > Hi all, > > > > Finaly got it all setup with the instructions on wiki on a RHEL5 fresh? > > > > I have went through all the manual instructions and everything seems well. > > > > Now, I need RT to fetch the emails from a POP3 box and bring them into RT. > > > > How can I achieve this? Is there docs on this setup? > > > > Thansk > > > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > [image: www.MyFax.com] > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: not available URL: From jami at ptelco.net Sat Apr 5 01:24:52 2008 From: jami at ptelco.net (jami at ptelco.net) Date: Fri, 4 Apr 2008 22:24:52 -0700 (PDT) Subject: [rt-users] Password change option for users Message-ID: <2094.117.103.80.82.1207373092.squirrel@www.ptelco.net> Hi, I have installed RT 3.6.1. I created user accounts/groups/queues and user rights to queues. After loging using users accounts (not as root), i cannot find any option to change user password. I want my users will change their password by their own and keep it secret. How can I do that?? Pls help me. JAMI From jami at ptelco.net Sun Apr 6 02:33:20 2008 From: jami at ptelco.net (jami at ptelco.net) Date: Sat, 5 Apr 2008 23:33:20 -0700 (PDT) Subject: [rt-users] Preference (password change) for option for users Message-ID: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> HI, I am running RT 3.6.1. I want Preference at user accounts so that the can change their account password by their own. Currently root can change passwords only. I can't find any previledge option for user account to do that. JAMI From sunnavy at bestpractical.com Sun Apr 6 05:46:00 2008 From: sunnavy at bestpractical.com (sunnavy) Date: Sun, 6 Apr 2008 17:46:00 +0800 Subject: [rt-users] Preference (password change) for option for users In-Reply-To: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> References: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> Message-ID: <4560AE5A-BD95-4FB3-BBEC-941F0DFBF8C6@bestpractical.com> Hi Jami There's a right named ModifySelf, grant the group or user with this right will do what you want. :) thanks sunnavy On Apr 6, 2008, at 2:33 PM, jami at ptelco.net wrote: > HI, > > I am running RT 3.6.1. I want Preference at user accounts so that > the can > change their account password by their own. Currently root can change > passwords only. > > I can't find any previledge option for user account to do that. > > JAMI > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From ges at wingfoot.org Sun Apr 6 05:42:29 2008 From: ges at wingfoot.org (Glenn Sieb) Date: Sun, 06 Apr 2008 05:42:29 -0400 Subject: [rt-users] Preference (password change) for option for users In-Reply-To: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> References: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> Message-ID: <47F89B05.9040701@wingfoot.org> jami at ptelco.net wrote: > HI, > > I am running RT 3.6.1. I want Preference at user accounts so that the can > change their account password by their own. Currently root can change > passwords only. > > I can't find any previledge option for user account to do that. > > You want the "Modify Self" privilege. :) Best, --Glenn -- ...destination is merely a byproduct of the journey --Eric Hansen From jami at ptelco.net Sun Apr 6 23:45:47 2008 From: jami at ptelco.net (jami at ptelco.net) Date: Sun, 6 Apr 2008 20:45:47 -0700 (PDT) Subject: [rt-users] FastCGI: incomplete headers (0 bytes) received from server "/usr/local/src/rt3/bin/mason_handler.fcgi In-Reply-To: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> References: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> Message-ID: <1418.117.103.80.82.1207539947.squirrel@www.ptelco.net> Hi, I try to install rt-3.6.6 with fastcgi on Debian 4.0 (etch) but failed. I got the following error at log file, FastCGI: incomplete headers (0 bytes) received from server "/usr/local/src/rt3/bin/mason_handler.fcgi" pls help. Jami From jami at ptelco.net Mon Apr 7 01:20:26 2008 From: jami at ptelco.net (jami at ptelco.net) Date: Sun, 6 Apr 2008 22:20:26 -0700 (PDT) Subject: [rt-users] Preference (password change) for option for users In-Reply-To: <4560AE5A-BD95-4FB3-BBEC-941F0DFBF8C6@bestpractical.com> References: <1501.117.103.80.82.1207463600.squirrel@www.ptelco.net> <4560AE5A-BD95-4FB3-BBEC-941F0DFBF8C6@bestpractical.com> Message-ID: <53569.117.103.80.82.1207545626.squirrel@www.ptelco.net> Hi, I can not find ModifySelf option at rt-3.6.1 (Debian 4.0 Etch). Jami > Hi Jami > > There's a right named ModifySelf, grant the group or user with this > right will do what you want. :) > > thanks > sunnavy > On Apr 6, 2008, at 2:33 PM, jami at ptelco.net wrote: >> HI, >> >> I am running RT 3.6.1. I want Preference at user accounts so that >> the can >> change their account password by their own. Currently root can change >> passwords only. >> >> I can't find any previledge option for user account to do that. >> >> JAMI >> >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > From mike.peachey at jennic.com Mon Apr 7 03:48:09 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Mon, 07 Apr 2008 08:48:09 +0100 Subject: [rt-users] installing on RHEL4 In-Reply-To: <1207340450.3905.17.camel@krs.systemsaligned.com> References: <21044E8C915A7E43B90A1056127160F116AAA9@EXMAIL.protus.org> <47F3E3A0.5040805@jennic.com> <47F67EDB.2090503@gmail.com> <1207340450.3905.17.camel@krs.systemsaligned.com> Message-ID: <47F9D1B9.4040803@jennic.com> Kanwar Ranbir Sandhu wrote: > On Fri, 2008-04-04 at 14:17 -0500, Les Mikesell wrote: >> Can someone elaborate on this issue? Are there other problems to be >> expected from RPM-packaged perl modules or is this a case of mixing CPAN >> and rpm packages? Simple and most often appearing example: Red Hat build perl with 'weakened references' off. This causes the module Scalar::Util to function unexpectedly and therefore breaks RT. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From david.hobley at mionegroup.com Mon Apr 7 05:30:59 2008 From: david.hobley at mionegroup.com (David Hobley) Date: Mon, 7 Apr 2008 19:30:59 +1000 (EST) Subject: [rt-users] Embedding Images in WikiText? Message-ID: <31431075.134441207560659561.JavaMail.root@mail.onegrp.com> All, Is it possible to embed images within an RTFM WikiText area? I have been trying various combinations of things which work the MediaWiki, but can't get it working within RT. -- Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Mon Apr 7 08:05:13 2008 From: npereira at protus.com (Nelson Pereira) Date: Mon, 7 Apr 2008 08:05:13 -0400 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> Ok, I tried this and im getting this error in the fetchmail log... fetchmail: 2 messages for otrs at exmail.protus.org (22300 octets). sh: -c: line 0: syntax error near unexpected token `|' sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action correspond --url http://localhost/rt3' ...fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) (log message incomplete)fetchmail: error writing message text fetchmail: MDA error while fetching from otrs at exmail.protus.org fetchmail: Query status=6 (IOERR) ________________________________ From: Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com] Sent: Saturday, April 05, 2008 2:21 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Sample config: /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://localhost/" >/dev/null cat /opt/rt3/.fetchmailrc set logfile=/opt/rt3/fetchmail poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to rt3 here 2008/4/4, Nelson Pereira : Hi all, Finaly got it all setup with the instructions on wiki on a RHEL5 fresh... I have went through all the manual instructions and everything seems well. Now, I need RT to fetch the emails from a POP3 box and bring them into RT. How can I achieve this? Is there docs on this setup? Thansk Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From Steve.Anderson at bipsolutions.com Mon Apr 7 08:18:02 2008 From: Steve.Anderson at bipsolutions.com (Steve Anderson) Date: Mon, 7 Apr 2008 13:18:02 +0100 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> Message-ID: <73C3337877023246872FB2E97FD1636C015A9E10@mailx10.virtual-email.net> You've got mismatched quotes. One's a backtick, the other is a regular single quote. I'm not sure which you need, but adjusting one to the other should let you see soon enough. Steve Anderson Systems Administrator BiP Solutions Ltd. 0141 2702312 From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: 07 April 2008 13:05 To: Vitaliy Okulov Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Ok, I tried this and im getting this error in the fetchmail log... fetchmail: 2 messages for otrs at exmail.protus.org (22300 octets). sh: -c: line 0: syntax error near unexpected token `|' sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action correspond --url http://localhost/rt3' ...fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) (log message incomplete)fetchmail: error writing message text fetchmail: MDA error while fetching from otrs at exmail.protus.org fetchmail: Query status=6 (IOERR) ________________________________ From: Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com] Sent: Saturday, April 05, 2008 2:21 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Sample config: /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://localhost/" >/dev/null cat /opt/rt3/.fetchmailrc set logfile=/opt/rt3/fetchmail poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to rt3 here 2008/4/4, Nelson Pereira : Hi all, Finaly got it all setup with the instructions on wiki on a RHEL5 fresh... I have went through all the manual instructions and everything seems well. Now, I need RT to fetch the emails from a POP3 box and bring them into RT. How can I achieve this? Is there docs on this setup? Thansk Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com ________________________________ This email has been scanned by Netintelligence http://www.netintelligence.com/email ________________________________ BiP Solutions Limited is a company registered in Scotland with Company Number SC086146 and VAT number 38303966 and having its registered office at Park House, 300 Glasgow Road, Shawfield, Glasgow, G73 1SQ **************************************************************************** This e-mail (and any attachment) is intended only for the attention of the addressee(s). Its unauthorised use, disclosure, storage or copying is not permitted. If you are not the intended recipient, please destroyall copies and inform the sender by return e-mail. This e-mail (whether you are the sender or the recipient) may be monitored, recorded and retained by BiP Solutions Ltd. E-mail monitoring/ blocking software may be used, and e-mail content may be read at any time. You have a responsibility to ensure laws are not broken when composing or forwarding e-mails and their contents. **************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From Raphux at raphux.com Mon Apr 7 08:12:44 2008 From: Raphux at raphux.com (Raphael Berlamont) Date: Mon, 07 Apr 2008 14:12:44 +0200 Subject: [rt-users] RT Reminders and associated rights Message-ID: <47FA0FBC.9020307@raphux.com> Hello list, I would like to know what are the rights that are associated with reminders. The thing is that I can set reminders on tickets, but the ticket's owner can't remove it: the check box next to the reminder doesn't appear. Of course, the owner has the "ModifyTicket" right. Regards, From npereira at protus.com Mon Apr 7 08:54:02 2008 From: npereira at protus.com (Nelson Pereira) Date: Mon, 7 Apr 2008 08:54:02 -0400 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> Oups... I was piping it.. so the command looks like this to retrieve messages from the pop3 mailbox : /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/etc/smrsh/rt-mailgate --queue general --action correspond --url http://localhost/rt3" > /dev/null Then in the /opt/rt3/fetchmail log file, I get this error: 404 Not Found fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) (log message incomplete)fetchmail: MDA returned nonzero status 75 fetchmail: not flushed ..........An Error Occurred ================= 404 Not Found fetchmail: reading message otrs at exmail.protus.org:2 of 2 (11146 octets) (log message incomplete)fetchmail: MDA returned nonzero status 75 fetchmail: not flushed I finaly got it working ..... The problem was the URL... for some reason, fetchmail does not like to have http://locahost/rt3, rather, it wants http://192.168.5.5/rt3 So since I use -correspond, I should see an email going back to the requester right? But this is not happening.... Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Monday, April 07, 2008 8:05 AM To: Vitaliy Okulov Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Ok, I tried this and im getting this error in the fetchmail log... fetchmail: 2 messages for otrs at exmail.protus.org (22300 octets). sh: -c: line 0: syntax error near unexpected token `|' sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action correspond --url http://localhost/rt3' ...fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) (log message incomplete)fetchmail: error writing message text fetchmail: MDA error while fetching from otrs at exmail.protus.org fetchmail: Query status=6 (IOERR) ________________________________ From: Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com] Sent: Saturday, April 05, 2008 2:21 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Sample config: /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://localhost/" >/dev/null cat /opt/rt3/.fetchmailrc set logfile=/opt/rt3/fetchmail poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to rt3 here 2008/4/4, Nelson Pereira : Hi all, Finaly got it all setup with the instructions on wiki on a RHEL5 fresh... I have went through all the manual instructions and everything seems well. Now, I need RT to fetch the emails from a POP3 box and bring them into RT. How can I achieve this? Is there docs on this setup? Thansk Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From gevans at hcc.net Mon Apr 7 09:36:10 2008 From: gevans at hcc.net (Greg Evans) Date: Mon, 7 Apr 2008 06:36:10 -0700 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> Message-ID: My .fetchmailrc looks like this and it works fine username rt_username password rt_password mda "/etc/smrsh/rt- mailgate --url http://rt.hctc.com --queue 'Email Support' --action correspond" where rt_username and rt_password are whatever you have decided you will use. This is on CentOS 5 Regards, Greg Evans Hood Canal Communications (360) 898-2481 ext.212 On Apr 7, 2008, at 5:54 AM, Nelson Pereira wrote: > Oups? I was piping it.. so the command looks like this to retrieve > messages from the pop3 mailbox : > > /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/etc/smrsh/rt- > mailgate --queue general --action correspond --url http://localhost/rt3 > " > /dev/null > > > Then in the /opt/rt3/fetchmail log file, I get this error: > > 404 Not Found > fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 > octets) (log message incomplete)fetchmail: MDA returned nonzero > status 75 > fetchmail: not flushed > ..........An Error Occurred > ================= > > 404 Not Found > fetchmail: reading message otrs at exmail.protus.org:2 of 2 (11146 > octets) (log message incomplete)fetchmail: MDA returned nonzero > status 75 > fetchmail: not flushed > > > I finaly got it working ?.. > > The problem was the URL? for some reason, fetchmail does not like to > have http://locahost/rt3, rather, it wants http://192.168.5.5/rt3 > > > > So since I use ?correspond, I should see an email going back to the > requester right? > But this is not happening?. > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com > ] On Behalf Of Nelson Pereira > Sent: Monday, April 07, 2008 8:05 AM > To: Vitaliy Okulov > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Need RT to fetchmail... > > Ok, I tried this and im getting this error in the fetchmail log? > > fetchmail: 2 messages for otrs at exmail.protus.org (22300 octets). > sh: -c: line 0: syntax error near unexpected token `|' > sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action > correspond --url http://localhost/rt3' > ...fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 > octets) (log message incomplete)fetchmail: error writing message text > fetchmail: MDA error while fetching from otrs at exmail.protus.org > fetchmail: Query status=6 (IOERR) > > > > > > From: Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com] > Sent: Saturday, April 05, 2008 2:21 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Need RT to fetchmail... > > Sample config: > > /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/opt/rt3/bin/rt- > mailgate --queue General --action correspond --url http:// > localhost/" >/dev/null > > cat /opt/rt3/.fetchmailrc > set logfile=/opt/rt3/fetchmail > poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to > rt3 here > 2008/4/4, Nelson Pereira : > Hi all, > > > > Finaly got it all setup with the instructions on wiki on a RHEL5 > fresh? > > > > I have went through all the manual instructions and everything seems > well. > > > > Now, I need RT to fetch the emails from a POP3 box and bring them > into RT. > > > > How can I achieve this? Is there docs on this setup? > > > > Thansk > > > > > > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From jeffrey_lee at harvard.edu Mon Apr 7 11:10:45 2008 From: jeffrey_lee at harvard.edu (Jeffrey Lee) Date: Mon, 7 Apr 2008 11:10:45 -0400 Subject: [rt-users] Migrating from RT3.4 to RT3.6 Message-ID: <200804071510.m37FAjMO016967@us24.unix.fas.harvard.edu> Hi I am looking to migrate from 3.4 using Posgres to 3.6 mysql. Are there any instructions on migrating from 3.4 to 3.6? -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Mon Apr 7 11:13:46 2008 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 7 Apr 2008 17:13:46 +0200 Subject: [rt-users] Migrating from RT3.4 to RT3.6 In-Reply-To: <200804071510.m37FAjMO016967@us24.unix.fas.harvard.edu> References: <200804071510.m37FAjMO016967@us24.unix.fas.harvard.edu> Message-ID: <20080407151346.GC23609@easter-eggs.com> On Mon, Apr 07, 2008 at 11:10:45AM -0400, Jeffrey Lee wrote: > Hi I am looking to migrate from 3.4 using Posgres to 3.6 mysql. Are there > any instructions on migrating from 3.4 to 3.6? > There is, in the README and UPGRADING files ;) For migrating from mysql to postgresql, you will find informations on http://wiki.bestpractical.com/ I think. From ktm at rice.edu Mon Apr 7 12:01:45 2008 From: ktm at rice.edu (Kenneth Marshall) Date: Mon, 7 Apr 2008 11:01:45 -0500 Subject: [rt-users] Migrating from RT3.4 to RT3.6 In-Reply-To: <200804071510.m37FAjMO016967@us24.unix.fas.harvard.edu> References: <200804071510.m37FAjMO016967@us24.unix.fas.harvard.edu> Message-ID: <20080407160144.GK769@it.is.rice.edu> On Mon, Apr 07, 2008 at 11:10:45AM -0400, Jeffrey Lee wrote: > Hi I am looking to migrate from 3.4 using Posgres to 3.6 mysql. Are there > any instructions on migrating from 3.4 to 3.6? > > > > -Jeff > Jeff, The wiki has some information about changing DB backends between PostgreSQL and MySQL. I am curious about why you are moving to a MySQL backend? Is there a particular problem or need that you are trying to address? Cheers, Ken From jeffrey_lee at harvard.edu Mon Apr 7 12:09:24 2008 From: jeffrey_lee at harvard.edu (Jeffrey Lee) Date: Mon, 7 Apr 2008 12:09:24 -0400 Subject: [rt-users] Migrating from RT3.4 to RT3.6 In-Reply-To: <20080407160144.GK769@it.is.rice.edu> Message-ID: <200804071609.m37G9OJ6022624@us12.unix.fas.harvard.edu> I'm not having a problem with postgresql it's just that I followed the ubuntu install guide and it had me set up mysql instead of postgres. -Jeff -----Original Message----- From: Kenneth Marshall [mailto:ktm at rice.edu] Sent: Monday, April 07, 2008 12:02 PM To: Jeffrey Lee Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Migrating from RT3.4 to RT3.6 On Mon, Apr 07, 2008 at 11:10:45AM -0400, Jeffrey Lee wrote: > Hi I am looking to migrate from 3.4 using Posgres to 3.6 mysql. Are there > any instructions on migrating from 3.4 to 3.6? > > > > -Jeff > Jeff, The wiki has some information about changing DB backends between PostgreSQL and MySQL. I am curious about why you are moving to a MySQL backend? Is there a particular problem or need that you are trying to address? Cheers, Ken From jsmoriss at mvlan.net Mon Apr 7 12:55:44 2008 From: jsmoriss at mvlan.net (Jean-Sebastien Morisset) Date: Mon, 7 Apr 2008 16:55:44 +0000 Subject: [rt-users] Sorted "Scrips which apply to all queues"? Message-ID: <20080407165544.GD16249@zaphod.mvlan.net> Hi everyone, When viewing the script for a queue in v3.6.6, the global script list ("Scrips which apply to all queues") isn't sorted by their description. Is there a known fix for this? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator From vitaliy.okulov at gmail.com Mon Apr 7 12:58:46 2008 From: vitaliy.okulov at gmail.com (Vitaliy Okulov) Date: Mon, 7 Apr 2008 20:58:46 +0400 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> Message-ID: Please change http://localhost/rt3 according to your hostname. 2008/4/7, Nelson Pereira : > > Oups? I was piping it.. so the command looks like this to retrieve > messages from the pop3 mailbox : > > > > /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/etc/smrsh/rt-mailgate > --queue general --action correspond --url http://localhost/rt3" > > /dev/null > > > > > > Then in the /opt/rt3/fetchmail log file, I get this error: > > > > 404 Not Found > > fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) > (log message incomplete)fetchmail: MDA returned nonzero status 75 > > fetchmail: not flushed > > ..........An Error Occurred > > ================= > > > > 404 Not Found > > fetchmail: reading message otrs at exmail.protus.org:2 of 2 (11146 octets) > (log message incomplete)fetchmail: MDA returned nonzero status 75 > > fetchmail: not flushed > > > > > > I finaly got it working ?.. > > > > The problem was the URL? for some reason, fetchmail does not like to have > http://locahost/rt3, rather, it wants http://192.168.5.5/rt3 > > > > > > > > So since I use ?correspond, I should see an email going back to the > requester right? > > But this is not happening?. > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > [image: www.MyFax.com] > > > ------------------------------ > > *From:* rt-users-bounces at lists.bestpractical.com [mailto: > rt-users-bounces at lists.bestpractical.com] *On Behalf Of *Nelson Pereira > *Sent:* Monday, April 07, 2008 8:05 AM > *To:* Vitaliy Okulov > *Cc:* rt-users at lists.bestpractical.com > *Subject:* Re: [rt-users] Need RT to fetchmail... > > > > Ok, I tried this and im getting this error in the fetchmail log? > > > > fetchmail: 2 messages for otrs at exmail.protus.org (22300 octets). > > sh: -c: line 0: syntax error near unexpected token `|' > > sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action > correspond --url http://localhost/rt3' > > ...fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) > (log message incomplete)fetchmail: error writing message text > > fetchmail: MDA error while fetching from otrs at exmail.protus.org > > fetchmail: Query status=6 (IOERR) > > > > > > > > > > > ------------------------------ > > *From:* Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com] > *Sent:* Saturday, April 05, 2008 2:21 AM > *To:* Nelson Pereira > *Cc:* rt-users at lists.bestpractical.com > *Subject:* Re: [rt-users] Need RT to fetchmail... > > > > Sample config: > > /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m > "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url > http://localhost/" >/dev/null > > cat /opt/rt3/.fetchmailrc > set logfile=/opt/rt3/fetchmail > poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to rt3 > here > > 2008/4/4, Nelson Pereira : > > Hi all, > > > > Finaly got it all setup with the instructions on wiki on a RHEL5 fresh? > > > > I have went through all the manual instructions and everything seems well. > > > > Now, I need RT to fetch the emails from a POP3 box and bring them into RT. > > > > How can I achieve this? Is there docs on this setup? > > > > Thansk > > > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > [image: www.MyFax.com] > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: not available URL: From jsmoriss at mvlan.net Mon Apr 7 13:09:22 2008 From: jsmoriss at mvlan.net (Jean-Sebastien Morisset) Date: Mon, 7 Apr 2008 17:09:22 +0000 Subject: [rt-users] Global or Queue scrips first? Message-ID: <20080407170922.GH16249@zaphod.mvlan.net> Which are executed first, the Global or Queue scrips in v3.6.6? Is there a way to control which ones go first? I know the description is used to sort the scrips, but I have some queue scrips which seem to run before some globals (which should come first if/when sorted). Thanks! js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator From npereira at protus.com Mon Apr 7 13:24:13 2008 From: npereira at protus.com (Nelson Pereira) Date: Mon, 7 Apr 2008 13:24:13 -0400 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116ADCD@EXMAIL.protus.org> I got sendmail working now.... All is good... Now I have to work on the templates... When the requester receives the response back on a -action correspond, with a subject line of [example.com #2] AutoReply: testing111 and they get this message: What stipulates the formatting of the subject line? I would like it to be a ticket number not example.com #2.... Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "testing111", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [example.com #2]. Please include the string: [example.com #2] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, otrs at protus.org ________________________________ From: Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com] Sent: Monday, April 07, 2008 12:59 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Please change http://localhost/rt3 according to your hostname. 2008/4/7, Nelson Pereira : Oups... I was piping it.. so the command looks like this to retrieve messages from the pop3 mailbox : /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/etc/smrsh/rt-mailgate --queue general --action correspond --url http://localhost/rt3" > /dev/null Then in the /opt/rt3/fetchmail log file, I get this error: 404 Not Found fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) (log message incomplete)fetchmail: MDA returned nonzero status 75 fetchmail: not flushed ..........An Error Occurred ================= 404 Not Found fetchmail: reading message otrs at exmail.protus.org:2 of 2 (11146 octets) (log message incomplete)fetchmail: MDA returned nonzero status 75 fetchmail: not flushed I finaly got it working ..... The problem was the URL... for some reason, fetchmail does not like to have http://locahost/rt3, rather, it wants http://192.168.5.5/rt3 So since I use -correspond, I should see an email going back to the requester right? But this is not happening.... Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto: rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Monday, April 07, 2008 8:05 AM To: Vitaliy Okulov Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Ok, I tried this and im getting this error in the fetchmail log... fetchmail: 2 messages for otrs at exmail.protus.org (22300 octets). sh: -c: line 0: syntax error near unexpected token `|' sh: -c: line 0: `|/etc/smrsh/rt-mailgate --queue general --action correspond --url http://localhost/rt3' ...fetchmail: reading message otrs at exmail.protus.org:1 of 2 (11154 octets) (log message incomplete)fetchmail: error writing message text fetchmail: MDA error while fetching from otrs at exmail.protus.org fetchmail: Query status=6 (IOERR) ________________________________ From: Vitaliy Okulov [mailto:vitaliy.okulov at gmail.com] Sent: Saturday, April 05, 2008 2:21 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Sample config: /usr/bin/fetchmail -f /opt/rt3/.fetchmailrc -a -m "/opt/rt3/bin/rt-mailgate --queue General --action correspond --url http://localhost/" >/dev/null cat /opt/rt3/.fetchmailrc set logfile=/opt/rt3/fetchmail poll pop.mail.com proto pop3 user rt3 at mail.com with pass "blabla" to rt3 here 2008/4/4, Nelson Pereira : Hi all, Finaly got it all setup with the instructions on wiki on a RHEL5 fresh... I have went through all the manual instructions and everything seems well. Now, I need RT to fetch the emails from a POP3 box and bring them into RT. How can I achieve this? Is there docs on this setup? Thansk Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From gleduc at mail.sdsu.edu Mon Apr 7 13:37:31 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Mon, 07 Apr 2008 10:37:31 -0700 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116ADCD@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116ADCD@EXMAIL.protus.org> Message-ID: <6.2.1.2.2.20080407103315.023eb868@mail.sdsu.edu> Hi Nelson, "example.com #2" is the ticket number. Your RT installation is named 'example.com' and the ticket number is '2'. This number in the subject line of any replies to RT will associate the message with ticket #2 instead of creating a new ticket. Regards, Gene At 10:24 AM 4/7/2008, Nelson Pereira wrote: >When the requester receives the response back on a ?action correspond, >with a subject line of [example.com #2] AutoReply: testing111 and they get >this message: >What stipulates the formatting of the subject line? I would like it to be >a ticket number not example.com #2 . > > >Greetings, > >This message has been automatically generated in response to the creation >of a trouble ticket regarding: > "testing111", >a summary of which appears below. > >There is no need to reply to this message right now. Your ticket has been >assigned an ID of [example.com #2]. > >Please include the string: > > [example.com #2] > >in the subject line of all future correspondence about this issue. To do >so, you may reply to this message. > > Thank you, > otrs at protus.org > -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Mon Apr 7 13:56:04 2008 From: npereira at protus.com (Nelson Pereira) Date: Mon, 7 Apr 2008 13:56:04 -0400 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <6.2.1.2.2.20080407103315.023eb868@mail.sdsu.edu> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116ADCD@EXMAIL.protus.org> <6.2.1.2.2.20080407103315.023eb868@mail.sdsu.edu> Message-ID: <21044E8C915A7E43B90A1056127160F116ADDC@EXMAIL.protus.org> Thanks ! Went in and changed this.... Is there a specific config that when an agent adds a reply or comment and selects to send it to the requestor? It's not sending the comments or repluies... Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. ________________________________ From: Gene LeDuc [mailto:gleduc at mail.sdsu.edu] Sent: Monday, April 07, 2008 1:38 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need RT to fetchmail... Hi Nelson, "example.com #2" is the ticket number. Your RT installation is named 'example.com' and the ticket number is '2'. This number in the subject line of any replies to RT will associate the message with ticket #2 instead of creating a new ticket. Regards, Gene At 10:24 AM 4/7/2008, Nelson Pereira wrote: When the requester receives the response back on a -action correspond, with a subject line of [example.com #2] AutoReply: testing111 and they get this message: What stipulates the formatting of the subject line? I would like it to be a ticket number not example.com #2.... Greetings, This message has been automatically generated in response to the creation of a trouble ticket regarding: "testing111", a summary of which appears below. There is no need to reply to this message right now. Your ticket has been assigned an ID of [example.com #2]. Please include the string: [example.com #2] in the subject line of all future correspondence about this issue. To do so, you may reply to this message. Thank you, otrs at protus.org -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From gleduc at mail.sdsu.edu Mon Apr 7 14:40:58 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Mon, 07 Apr 2008 11:40:58 -0700 Subject: [rt-users] Need RT to fetchmail... In-Reply-To: <21044E8C915A7E43B90A1056127160F116ADDC@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116ACB6@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD1D@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AD28@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116ADCD@EXMAIL.protus.org> <6.2.1.2.2.20080407103315.023eb868@mail.sdsu.edu> <21044E8C915A7E43B90A1056127160F116ADDC@EXMAIL.protus.org> Message-ID: <6.2.1.2.2.20080407113147.023ea6b0@mail.sdsu.edu> By default RT won't send an e-mail notification to the person who made the changes, it assumes that the person already knows about the changes. So if you are both the requestor and the person updating the ticket, don't expect to get any notifications (it's more realistic to use 2 different accounts for testing, anyway). You can change this behavior by use of the NotifyActor setting in the config file. Another thing that is going save you hours of scratching your head is to set RT's logging level to Debug and then make liberal use of statements like $Rt::Logger->debug("Notify script now entering Code Prep stage"); And then monitor the rt.log file. At 10:56 AM 4/7/2008, Nelson Pereira wrote: >Went in and changed this . > >Is there a specific config that when an agent adds a reply or comment and >selects to send it to the requestor? >It?s not sending the comments or repluies -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruz at bestpractical.com Mon Apr 7 15:34:24 2008 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Mon, 7 Apr 2008 23:34:24 +0400 Subject: [rt-users] Global or Queue scrips first? In-Reply-To: <20080407170922.GH16249@zaphod.mvlan.net> References: <20080407170922.GH16249@zaphod.mvlan.net> Message-ID: <589c94400804071234sc5c51edi336c5ddc19080704@mail.gmail.com> All are sorted by description, however descriptions of many (may be all) default scrips are not defined and those are executed first on mysql and last on Pg, Oracle. Difference caused by difference in treating NULL values. In 3.8 upgrade scripts we have code that auto-generate descriptions for all scrips which have it undefined. You can steal it from etc/upgrade in our svn repo. On Mon, Apr 7, 2008 at 9:09 PM, Jean-Sebastien Morisset wrote: > Which are executed first, the Global or Queue scrips in v3.6.6? Is there > a way to control which ones go first? I know the description is used to > sort the scrips, but I have some queue scrips which seem to run before > some globals (which should come first if/when sorted). > > Thanks! > js. > -- > Jean-Sebastien Morisset, Sr. UNIX Administrator > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. From jsmoriss at mvlan.net Mon Apr 7 15:41:56 2008 From: jsmoriss at mvlan.net (Jean-Sebastien Morisset) Date: Mon, 7 Apr 2008 19:41:56 +0000 Subject: [rt-users] Global or Queue scrips first? In-Reply-To: <589c94400804071234sc5c51edi336c5ddc19080704@mail.gmail.com> References: <20080407170922.GH16249@zaphod.mvlan.net> <589c94400804071234sc5c51edi336c5ddc19080704@mail.gmail.com> Message-ID: <20080407194156.GA28142@zaphod.mvlan.net> Thanks Ruslan, but all my scrips have descriptions... Here's an example: Scrips which apply to all queues * On Merge Notify Requestors, Ccs and Owner with template Merged Ticket User Defined Notify Requestors, Ccs and Owner with template Merged Ticket * On Status Change and Status is rejected or deleted, Notify Requestors User Defined Notify Requestors with template Ticket Rejected or Deleted * On Status Change and Status is stalled, Notify Requestors User Defined Notify Requestors with template Status Change * On Resolve Notify Requestors and Ccs with template Resolved On Resolve Notify Requestors and Ccs with template Resolved * On Correspond Notify Requestors, Ccs and Owner with template Correspondence On Correspond Notify Requestors, Ccs and Owner with template Correspondence * On Correspond Notify Other Recipients with template Correspondence On Correspond Notify Other Recipients with template Correspondence * On Correspond Open Tickets with template Blank On Correspond Open Tickets with template Blank * On Owner Change Notify Owner and Requestors with template Owner Change On Owner Change Notify Owner and Requestors with template Owner Change * On ApprovlReq Notify Requestors and Ccs with template Approval Required On ApprovlReq Notify Requestors and Ccs with template Approval Required * On ApprovlReq Create Tickets with template Create Approval On ApprovlReq Create Tickets with template Create Approval * A. On Create Extract Custom Field Values with template On Create Extract Values On Create Extract Custom Field Values with template On Create Extract Values * On Owner Change Auto Cc Last Owner with template Blank On Owner Change User Defined with template Blank * B. On Create Notify Owner with template Added to Queue with Owner On Create Notify Owner with template Added to Queue with Owner * On Status Change from resolved to open, Notify Owner and Requestors User Defined Notify Owner and Requestors with template Re-opened Current Scrips On Create and Owner is Nobody, Notify Unix with template Added to Queue User Defined Notify Group Unix with template Added to Queue On Create from E-mail, Autoreply To Requestors with template Autoreply User Defined Autoreply To Requestors with template Autoreply On Owner Change Notify Group Unix with template Owner Change On Owner Change Notify Group Unix with template Owner Change On Queue Change Notify Group Unix with template Moved to Queue On Queue Change Notify Group Unix with template Moved to Queue As you can see, the global ones are not sorted, even though they have descriptions... If this is just a display thing, I don't mind, but I would expect the following execution order: Global: * A. On Create Extract Custom Field Values with template On Create Extract Values Queue: On Create and Owner is Nobody, Notify Unix with template Added to Queue But in fact the queue scrip appears to get executed first. Thanks, js. On Mon, Apr 07, 2008 at 11:34:24PM +0400, Ruslan Zakirov wrote: > All are sorted by description, however descriptions of many (may be > all) default scrips are not defined and those are executed first on > mysql and last on Pg, Oracle. Difference caused by difference in > treating NULL values. In 3.8 upgrade scripts we have code that > auto-generate descriptions for all scrips which have it undefined. You > can steal it from etc/upgrade in our svn repo. > > On Mon, Apr 7, 2008 at 9:09 PM, Jean-Sebastien Morisset > wrote: >> Which are executed first, the Global or Queue scrips in v3.6.6? Is there >> a way to control which ones go first? I know the description is used to >> sort the scrips, but I have some queue scrips which seem to run before >> some globals (which should come first if/when sorted). >> >> Thanks! >> js. >> -- >> Jean-Sebastien Morisset, Sr. UNIX Administrator >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > > > > -- > Best regards, Ruslan. > -- Jean-Sebastien Morisset, Sr. UNIX Administrator From ruz at bestpractical.com Mon Apr 7 16:53:52 2008 From: ruz at bestpractical.com (Ruslan Zakirov) Date: Tue, 8 Apr 2008 00:53:52 +0400 Subject: [rt-users] Global or Queue scrips first? In-Reply-To: <20080407194156.GA28142@zaphod.mvlan.net> References: <20080407170922.GH16249@zaphod.mvlan.net> <589c94400804071234sc5c51edi336c5ddc19080704@mail.gmail.com> <20080407194156.GA28142@zaphod.mvlan.net> Message-ID: <589c94400804071353v6b1cd236g31e6e3e1d622c200@mail.gmail.com> May be there is different "issue". All scrips are prepared first and then committed. Notification action collect recipients of the email during prepare when scrips must change data only during commit. Close to your situation? On Mon, Apr 7, 2008 at 11:41 PM, Jean-Sebastien Morisset wrote: > Thanks Ruslan, but all my scrips have descriptions... Here's an example: > > Scrips which apply to all queues > > * On Merge Notify Requestors, Ccs and Owner with template Merged Ticket > User Defined Notify Requestors, Ccs and Owner with template Merged Ticket > * On Status Change and Status is rejected or deleted, Notify Requestors > User Defined Notify Requestors with template Ticket Rejected or Deleted > * On Status Change and Status is stalled, Notify Requestors > User Defined Notify Requestors with template Status Change > * On Resolve Notify Requestors and Ccs with template Resolved > On Resolve Notify Requestors and Ccs with template Resolved > * On Correspond Notify Requestors, Ccs and Owner with template Correspondence > On Correspond Notify Requestors, Ccs and Owner with template Correspondence > * On Correspond Notify Other Recipients with template Correspondence > On Correspond Notify Other Recipients with template Correspondence > * On Correspond Open Tickets with template Blank > On Correspond Open Tickets with template Blank > * On Owner Change Notify Owner and Requestors with template Owner Change > On Owner Change Notify Owner and Requestors with template Owner Change > * On ApprovlReq Notify Requestors and Ccs with template Approval Required > On ApprovlReq Notify Requestors and Ccs with template Approval Required > * On ApprovlReq Create Tickets with template Create Approval > On ApprovlReq Create Tickets with template Create Approval > * A. On Create Extract Custom Field Values with template On Create Extract Values > On Create Extract Custom Field Values with template On Create Extract Values > * On Owner Change Auto Cc Last Owner with template Blank > On Owner Change User Defined with template Blank > * B. On Create Notify Owner with template Added to Queue with Owner > On Create Notify Owner with template Added to Queue with Owner > * On Status Change from resolved to open, Notify Owner and Requestors > User Defined Notify Owner and Requestors with template Re-opened > > Current Scrips > > On Create and Owner is Nobody, Notify Unix with template Added to Queue > User Defined Notify Group Unix with template Added to Queue > > On Create from E-mail, Autoreply To Requestors with template Autoreply > User Defined Autoreply To Requestors with template Autoreply > > On Owner Change Notify Group Unix with template Owner Change > On Owner Change Notify Group Unix with template Owner Change > > On Queue Change Notify Group Unix with template Moved to Queue > On Queue Change Notify Group Unix with template Moved to Queue > > As you can see, the global ones are not sorted, even though they have > descriptions... > > If this is just a display thing, I don't mind, but I would expect the > following execution order: > > Global: > * A. On Create Extract Custom Field Values with template On Create Extract Values > Queue: > On Create and Owner is Nobody, Notify Unix with template Added to Queue > > But in fact the queue scrip appears to get executed first. > > Thanks, > js. > > > > On Mon, Apr 07, 2008 at 11:34:24PM +0400, Ruslan Zakirov wrote: > > All are sorted by description, however descriptions of many (may be > > all) default scrips are not defined and those are executed first on > > mysql and last on Pg, Oracle. Difference caused by difference in > > treating NULL values. In 3.8 upgrade scripts we have code that > > auto-generate descriptions for all scrips which have it undefined. You > > can steal it from etc/upgrade in our svn repo. > > > > On Mon, Apr 7, 2008 at 9:09 PM, Jean-Sebastien Morisset > > wrote: > >> Which are executed first, the Global or Queue scrips in v3.6.6? Is there > >> a way to control which ones go first? I know the description is used to > >> sort the scrips, but I have some queue scrips which seem to run before > >> some globals (which should come first if/when sorted). > >> > >> Thanks! > >> js. > >> -- > >> Jean-Sebastien Morisset, Sr. UNIX Administrator > >> _______________________________________________ > >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > >> > >> Community help: http://wiki.bestpractical.com > >> Commercial support: sales at bestpractical.com > >> > >> > >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > >> Buy a copy at http://rtbook.bestpractical.com > >> > > > > > > > > -- > > Best regards, Ruslan. > > > > -- > > > Jean-Sebastien Morisset, Sr. UNIX Administrator > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -- Best regards, Ruslan. From stephen.a.cochran.lists at cahir.net Mon Apr 7 19:26:00 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Mon, 7 Apr 2008 19:26:00 -0400 Subject: [rt-users] Self Service Permissions In-Reply-To: <47F51113.1040500@lbl.gov> References: <47F51113.1040500@lbl.gov> Message-ID: <5C8D18F3-8B72-4FB6-82A8-5002D1B1203D@cahir.net> Well, the self-service interface I'm talking about is when an unprivilidged user logs in, they see a different interface loaded out of /SelfService/index.html. It displays only their submitted requests. On Apr 3, 2008, at 1:17 PM, Kenneth Crocker wrote: > Stephen, > > > I could easily be mistaken, but I thought self-service referred to > email requests. I don't even know how someone could SEE anything > from an email request. I thought one had to use the WebUI to SEE > anything in RT. > > > Kenn > LBNL > > On 4/2/2008 8:22 PM, Stephen Cochran wrote: >> Our unprivileged users can't see the queue names (we have multiple >> queues) in the Self Service interface, the field is just blank. >> What permission is needed to see that field? Currently set up with: >> unprivileged: >> CreateTicket >> SeeQueue >> requester: >> ReplyToTicket >> ShowTicket >> Thanks, >> Steve >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> Discover RT's hidden secrets with RT Essentials from O'Reilly >> Media. Buy a copy at http://rtbook.bestpractical.com > From stephen.a.cochran.lists at cahir.net Mon Apr 7 19:29:06 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Mon, 7 Apr 2008 19:29:06 -0400 Subject: [rt-users] Due Date in Ticket Creation Page In-Reply-To: <589c94400804022331x59874dd4y74e41db7e2a6ea11@mail.gmail.com> References: <589c94400804022331x59874dd4y74e41db7e2a6ea11@mail.gmail.com> Message-ID: <35ccbd010804071629g6be18c94r75338a5cf402fc5e@mail.gmail.com> Hmm, I'm not seeing the advanced option in the SelfService interface. Running 3.6.3, am I being blind? On Thu, Apr 3, 2008 at 2:31 AM, Ruslan Zakirov wrote: > It's already there. You just have to click show advanced there on > ticket create page. > > On Thu, Apr 3, 2008 at 7:42 AM, Stephen Cochran > wrote: > > > > Has anyone hacked the Create ticket form to show the due date? Can > > easily create a custom field that shows on the entry form, but seems > > silly since the ticket object already has a due date. > > > > > > In the archives I noticed a lot posts referencing using PHP etc as a > > front end and just having the forms send mail to RT to be processed > > in. Is that typical, ie what most people do to provide a more flexible > > interface (ajax, etc)? > > > > Thanks, > > Steve > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > > > > > -- > Best regards, Ruslan. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From boris.lytochkin at e-port.ru Tue Apr 8 05:29:27 2008 From: boris.lytochkin at e-port.ru (Boris Lytochkin) Date: Tue, 8 Apr 2008 13:29:27 +0400 Subject: [rt-users] [RT 3.6.6] Small patch for RT::Transaction::ContentObj Message-ID: <1209301981.20080408132927@e-port.ru> When Quoting some transaction with multiple text/plain attachments (one for message, and some other as named attachment) wrong attachment can be selected. Patch forces attachments w/o name to be selected as source for quoting. =============================================================== --- Transaction_Overlay.pm~ Tue Apr 8 12:45:32 2008 +++ Transaction_Overlay.pm Tue Apr 8 12:45:32 2008 @@ -388,6 +388,7 @@ elsif ( $Attachment->ContentType() =~ '^multipart/' ) { my $plain_parts = $Attachment->Children(); $plain_parts->ContentType( VALUE => ($PreferredContentType || 'text/plain') ); + $plain_parts->Limit(FIELD => 'Filename', VALUE => ''); # If we actully found a part, return its content if ( $plain_parts->First && $plain_parts->First->Content ne '' ) { -- Boris Lytochkin, JSC e-port, Moscow -------------- next part -------------- A non-text attachment was scrubbed... Name: ContentObj.patch Type: application/octet-stream Size: 526 bytes Desc: not available URL: From npereira at protus.com Tue Apr 8 07:32:16 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 07:32:16 -0400 Subject: [rt-users] About ticket # formating Message-ID: <21044E8C915A7E43B90A1056127160F116AE74@EXMAIL.protus.org> Hi, Is it possible to have the ticket number formatted as [date99xxxxxx] x being the sequence prepended with 0's? If so, how do I do this? Thanks Nelson -------------- next part -------------- An HTML attachment was scrubbed... URL: From michal.verner at pctrade.cz Tue Apr 8 07:23:53 2008 From: michal.verner at pctrade.cz (Michal Verner) Date: Tue, 8 Apr 2008 13:23:53 +0200 Subject: [rt-users] printable "work order" Message-ID: <8CC90927ADD0224987A2386C33A4211340AB27@pctsrv.pctrade.local> Does anybody have some practical tested solution>? We need to technician have printed version of ticked with him, when he goes to customer. - we need signed paper, some feedback etc.... Is there a possibility to add html page to RT, which will generate "printer friendly" filled form document? Something like different version of Display.html??? Thanks for ideas.... Michal Verner -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Tue Apr 8 08:58:58 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 08:58:58 -0400 Subject: [rt-users] Problem, cannot restart HTTPD Message-ID: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> HI, Did something and not sure what...: [Tue Apr 08 09:00:00 2008] [error] \nRT couldn't load RT config file /opt/rt3/etc/RT_SiteConfig.pm as:\n user: root \n group: root\n\nThe file is owned by user root and group apache. \n\nThis usually means that the user/group your webserver is running\nas cannot read the file. Be careful not to make the permissions\non this file too liberal, because it contains database passwords.\nYou may need to put the webserver user in the appropriate group\n(apache) or change permissions be able to run succesfully.\n\nUndefined subroutine &RT::loc called at /opt/rt3/etc/RT_SiteConfig.pm line 24.\nCompilation failed in require at /opt/rt3/lib/RT.pm line 152.\nBEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 78.\nCompilation failed in require at (eval 2) line 1.\n [Tue Apr 08 09:00:00 2008] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server netnet-ems.protus.org:0, exiting... The RT_* files are set as root:apache and the permission is set to 500 What do I need to do to get this file to run? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From jesse at bestpractical.com Tue Apr 8 09:00:50 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 09:00:50 -0400 Subject: [rt-users] Problem, cannot restart HTTPD In-Reply-To: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> Message-ID: "Undefined subroutine &RT::loc called at /opt/rt3/etc/RT_SiteConfig.pm line 24" is the isssue. On Apr 8, 2008, at 8:58 AM, Nelson Pereira wrote: > HI, > > Did something and not sure what?: > > [Tue Apr 08 09:00:00 2008] [error] \nRT couldn't load RT config > file /opt/rt3/etc/RT_SiteConfig.pm as:\n user: root \n group: > root\n\nThe file is owned by user root and group apache. \n\nThis > usually means that the user/group your webserver is running\nas > cannot read the file. Be careful not to make the permissions\non > this file too liberal, because it contains database passwords.\nYou > may need to put the webserver user in the appropriate group > \n(apache) or change permissions be able to run succesfully.\n > \nUndefined subroutine &RT::loc called at /opt/rt3/etc/ > RT_SiteConfig.pm line 24.\nCompilation failed in require at /opt/rt3/ > lib/RT.pm line 152.\nBEGIN failed--compilation aborted at /opt/rt3/ > bin/webmux.pl line 78.\nCompilation failed in require at (eval 2) > line 1.\n > [Tue Apr 08 09:00:00 2008] [error] Can't load Perl file: /opt/rt3/ > bin/webmux.pl for server netnet-ems.protus.org:0, exiting... > > The RT_* files are set as root:apache and the permission is set to 500 > > What do I need to do to get this file to run? > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From jmoseley at corp.xanadoo.com Tue Apr 8 09:05:29 2008 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Tue, 8 Apr 2008 08:05:29 -0500 Subject: [rt-users] Problem, cannot restart HTTPD In-Reply-To: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> Message-ID: This says it all: The RT_* files are set as root:apache and the permission is set to 500 How is the Apache process (running as user 'apache', I assume) supposed to access your RT configs if they have no permissions to do so? Chmod those files to 640 or something similar - that should fix your problem. James Moseley "Nelson Pereira" To Sent by: rt-users-bounces@ cc lists.bestpractic al.com Subject [rt-users] Problem, cannot restart HTTPD 04/08/2008 07:58 AM HI, Did something and not sure what?: [Tue Apr 08 09:00:00 2008] [error] \nRT couldn't load RT config file /opt/rt3/etc/RT_SiteConfig.pm as:\n user: root \n group: root\n\nThe file is owned by user root and group apache. \n\nThis usually means that the user/group your webserver is running\nas cannot read the file. Be careful not to make the permissions\non this file too liberal, because it contains database passwords.\nYou may need to put the webserver user in the appropriate group\n(apache) or change permissions be able to run succesfully.\n\nUndefined subroutine &RT::loc called at /opt/rt3/etc/RT_SiteConfig.pm line 24.\nCompilation failed in require at /opt/rt3/lib/RT.pm line 152.\nBEGIN failed--compilation aborted at /opt/rt3/bin/webmux.pl line 78.\nCompilation failed in require at (eval 2) line 1.\n [Tue Apr 08 09:00:00 2008] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server netnet-ems.protus.org:0, exiting... The RT_* files are set as root:apache and the permission is set to 500 What do I need to do to get this file to run? Nelson Pereira (Embedded image moved to file: Senior Network Administrator pic26500.gif)www.MyFax.com Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- A non-text attachment was scrubbed... Name: pic26500.gif Type: image/gif Size: 4180 bytes Desc: not available URL: From npereira at protus.com Tue Apr 8 09:13:25 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 09:13:25 -0400 Subject: [rt-users] Problem, cannot restart HTTPD In-Reply-To: References: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116AE98@EXMAIL.protus.org> Ok that seems to have fixed the issue... But that line (I commented it out for now) is Set($LogoAltText, loc("company Solutions, RT Network Services Ticket System")); What is wrong with this line? This was taken from the documentation... Refer your friends and colleagues to MyFax! Click here for more information. www.MyFax.com -----Original Message----- From: Jesse Vincent [mailto:jesse at bestpractical.com] Sent: Tuesday, April 08, 2008 9:01 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Problem, cannot restart HTTPD "Undefined subroutine &RT::loc called at /opt/rt3/etc/RT_SiteConfig.pm line 24" is the isssue. On Apr 8, 2008, at 8:58 AM, Nelson Pereira wrote: > HI, > > Did something and not sure what...: > > [Tue Apr 08 09:00:00 2008] [error] \nRT couldn't load RT config > file /opt/rt3/etc/RT_SiteConfig.pm as:\n user: root \n group: > root\n\nThe file is owned by user root and group apache. \n\nThis > usually means that the user/group your webserver is running\nas > cannot read the file. Be careful not to make the permissions\non > this file too liberal, because it contains database passwords.\nYou > may need to put the webserver user in the appropriate group > \n(apache) or change permissions be able to run succesfully.\n > \nUndefined subroutine &RT::loc called at /opt/rt3/etc/ > RT_SiteConfig.pm line 24.\nCompilation failed in require at /opt/rt3/ > lib/RT.pm line 152.\nBEGIN failed--compilation aborted at /opt/rt3/ > bin/webmux.pl line 78.\nCompilation failed in require at (eval 2) > line 1.\n > [Tue Apr 08 09:00:00 2008] [error] Can't load Perl file: /opt/rt3/ > bin/webmux.pl for server netnet-ems.protus.org:0, exiting... > > The RT_* files are set as root:apache and the permission is set to 500 > > What do I need to do to get this file to run? > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From jesse at bestpractical.com Tue Apr 8 09:35:15 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 09:35:15 -0400 Subject: [rt-users] Problem, cannot restart HTTPD In-Reply-To: <21044E8C915A7E43B90A1056127160F116AE98@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AE98@EXMAIL.protus.org> Message-ID: <48C13D41-6EC5-4EF8-B30C-452B7EFB550D@bestpractical.com> On Apr 8, 2008, at 9:13 AM, Nelson Pereira wrote: > Ok that seems to have fixed the issue... > > But that line (I commented it out for now) is > > Set($LogoAltText, loc("company Solutions, RT Network Services Ticket > System")); > > What is wrong with this line? This was taken from the documentation... > What documentation? In this case, the problem is that even if it worked, that "loc" would be run as the config file is loaded, which would get a single string returned. Do you really want to localize the alt text? > > > Refer your friends and colleagues to MyFax! > Click here for more information. www.MyFax.com > > -----Original Message----- > From: Jesse Vincent [mailto:jesse at bestpractical.com] > Sent: Tuesday, April 08, 2008 9:01 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Problem, cannot restart HTTPD > > "Undefined subroutine &RT::loc called at /opt/rt3/etc/RT_SiteConfig.pm > line 24" > > is the isssue. > > > On Apr 8, 2008, at 8:58 AM, Nelson Pereira wrote: >> HI, >> >> Did something and not sure what...: >> >> [Tue Apr 08 09:00:00 2008] [error] \nRT couldn't load RT config >> file /opt/rt3/etc/RT_SiteConfig.pm as:\n user: root \n group: >> root\n\nThe file is owned by user root and group apache. \n\nThis >> usually means that the user/group your webserver is running\nas >> cannot read the file. Be careful not to make the permissions\non >> this file too liberal, because it contains database passwords.\nYou >> may need to put the webserver user in the appropriate group >> \n(apache) or change permissions be able to run succesfully.\n >> \nUndefined subroutine &RT::loc called at /opt/rt3/etc/ >> RT_SiteConfig.pm line 24.\nCompilation failed in require at /opt/rt3/ >> lib/RT.pm line 152.\nBEGIN failed--compilation aborted at /opt/rt3/ >> bin/webmux.pl line 78.\nCompilation failed in require at (eval 2) >> line 1.\n >> [Tue Apr 08 09:00:00 2008] [error] Can't load Perl file: /opt/rt3/ >> bin/webmux.pl for server netnet-ems.protus.org:0, exiting... >> >> The RT_* files are set as root:apache and the permission is set to >> 500 >> >> What do I need to do to get this file to run? >> >> >> Nelson Pereira >> Senior Network Administrator >> >> Protus IP Solutions Inc. >> npereira at protus.com >> phone: 613.733.0000 ext.528 >> MyFax: 613.822.5083 >> www.myfax.com >> >> Refer your friends and colleagues to MyFax! >> Click here for more information. >> >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From npereira at protus.com Tue Apr 8 09:36:35 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 09:36:35 -0400 Subject: [rt-users] Problem, cannot restart HTTPD In-Reply-To: <48C13D41-6EC5-4EF8-B30C-452B7EFB550D@bestpractical.com> References: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AE98@EXMAIL.protus.org> <48C13D41-6EC5-4EF8-B30C-452B7EFB550D@bestpractical.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AEA2@EXMAIL.protus.org> http://wiki.bestpractical.com/view/ChangeLogo -----Original Message----- From: Jesse Vincent [mailto:jesse at bestpractical.com] Sent: Tuesday, April 08, 2008 9:35 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Problem, cannot restart HTTPD On Apr 8, 2008, at 9:13 AM, Nelson Pereira wrote: > Ok that seems to have fixed the issue... > > But that line (I commented it out for now) is > > Set($LogoAltText, loc("company Solutions, RT Network Services Ticket > System")); > > What is wrong with this line? This was taken from the documentation... > What documentation? In this case, the problem is that even if it worked, that "loc" would be run as the config file is loaded, which would get a single string returned. Do you really want to localize the alt text? From jesse at bestpractical.com Tue Apr 8 09:38:43 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 09:38:43 -0400 Subject: [rt-users] Problem, cannot restart HTTPD In-Reply-To: <21044E8C915A7E43B90A1056127160F116AEA2@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AE98@EXMAIL.protus.org> <48C13D41-6EC5-4EF8-B30C-452B7EFB550D@bestpractical.com> <21044E8C915A7E43B90A1056127160F116AEA2@EXMAIL.protus.org> Message-ID: Sounds like the wiki is wrong. Would you mind correcting it once you get this sorted? On Apr 8, 2008, at 9:36 AM, Nelson Pereira wrote: > > http://wiki.bestpractical.com/view/ChangeLogo > > > > > > -----Original Message----- > From: Jesse Vincent [mailto:jesse at bestpractical.com] > Sent: Tuesday, April 08, 2008 9:35 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Problem, cannot restart HTTPD > > > On Apr 8, 2008, at 9:13 AM, Nelson Pereira wrote: >> Ok that seems to have fixed the issue... >> >> But that line (I commented it out for now) is >> >> Set($LogoAltText, loc("company Solutions, RT Network Services Ticket >> System")); >> >> What is wrong with this line? This was taken from the >> documentation... >> > > What documentation? > > > In this case, the problem is that even if it worked, that "loc" would > be run as the config file is loaded, which would get a single string > returned. > > > Do you really want to localize the alt text? > > -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From mario.gomide at agricultura.gov.br Tue Apr 8 09:39:27 2008 From: mario.gomide at agricultura.gov.br (Mario Gomide) Date: Tue, 08 Apr 2008 10:39:27 -0300 Subject: [rt-users] Restarting the Database Message-ID: <47FB758F.10401@agricultura.gov.br> Hello list!! I have installed RT 3.6.1 with Postgres8.1. I'm needing to clean the ticket database for a fresh start on a new working season, but I need to keep the users, queues, custom-fields, etc. What I'm planning to do is: - Clean the tables: tickets, attachments, transactions, objectcustomfieldvalues and links; - Set the Current Value to 1 for each one the sequences of the above tables. Is this procedure ok? Is there anything else I must do (or must not) ? Mario From npereira at protus.com Tue Apr 8 09:57:05 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 09:57:05 -0400 Subject: [rt-users] notify ticket owner Message-ID: <21044E8C915A7E43B90A1056127160F116AEAD@EXMAIL.protus.org> What permissions need to be put and where, so that the ticket owner receives a notification that the requestor updated the ticket? Also, when a requester sends an NEW email ticket to RT, in the response, is there a way they can go to a website, and without a login, simply see the status of the ticket? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From jesse at bestpractical.com Tue Apr 8 09:59:55 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 09:59:55 -0400 Subject: [rt-users] Problem, cannot restart HTTPD In-Reply-To: <21044E8C915A7E43B90A1056127160F116AEAA@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AE8F@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AE98@EXMAIL.protus.org> <48C13D41-6EC5-4EF8-B30C-452B7EFB550D@bestpractical.com> <21044E8C915A7E43B90A1056127160F116AEA2@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AEAA@EXMAIL.protus.org> Message-ID: <480D14F3-D962-49D0-8A27-8EC886F6D19B@bestpractical.com> On Apr 8, 2008, at 9:49 AM, Nelson Pereira wrote: > I Don't even know how to fix it... > Tried different things but did'nt help.. It's useful to know what you've tried. What have you tried? > > > [please keep rt-users cced] remove the loc() from around the string. - > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. www.MyFax.com > > -----Original Message----- > From: Jesse Vincent [mailto:jesse at bestpractical.com] > Sent: Tuesday, April 08, 2008 9:39 AM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Problem, cannot restart HTTPD > > Sounds like the wiki is wrong. Would you mind correcting it once you > get this sorted? > > On Apr 8, 2008, at 9:36 AM, Nelson Pereira wrote: >> >> http://wiki.bestpractical.com/view/ChangeLogo >> >> >> >> >> >> -----Original Message----- >> From: Jesse Vincent [mailto:jesse at bestpractical.com] >> Sent: Tuesday, April 08, 2008 9:35 AM >> To: Nelson Pereira >> Cc: rt-users at lists.bestpractical.com >> Subject: Re: [rt-users] Problem, cannot restart HTTPD >> >> >> On Apr 8, 2008, at 9:13 AM, Nelson Pereira wrote: >>> Ok that seems to have fixed the issue... >>> >>> But that line (I commented it out for now) is >>> >>> Set($LogoAltText, loc("company Solutions, RT Network Services Ticket >>> System")); >>> >>> What is wrong with this line? This was taken from the >>> documentation... >>> >> >> What documentation? >> >> >> In this case, the problem is that even if it worked, that "loc" would >> be run as the config file is loaded, which would get a single string >> returned. >> >> >> Do you really want to localize the alt text? >> >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From npereira at protus.com Tue Apr 8 10:54:07 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 10:54:07 -0400 Subject: [rt-users] Intergration with LDAP Message-ID: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> I've looked around and did not find anything relating to LDAP agent authentication. Does anyone have a document on how to setup RT to use LDAP for agent login? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From chaim.rieger at gmail.com Tue Apr 8 10:58:49 2008 From: chaim.rieger at gmail.com (Chaim Rieger) Date: Tue, 08 Apr 2008 07:58:49 -0700 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> Message-ID: <47FB8829.8040400@gmail.com> Nelson Pereira wrote: > > I?ve looked around and did not find anything relating to LDAP agent > authentication. > > Does anyone have a document on how to setup RT to use LDAP for agent > login? > you mean ldap/AD server based authentication, its in the wiki. any specific questions ask away, and please post the relevant lines of your config. From jesse at bestpractical.com Tue Apr 8 11:05:49 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 11:05:49 -0400 Subject: [rt-users] A brief preview of what RT 3.8 is going to look like In-Reply-To: <47F27630.4040609@lbl.gov> References: <47F27630.4040609@lbl.gov> Message-ID: On Apr 1, 2008, at 1:51 PM, Kenneth Crocker wrote: > Jesse, > > > Other than the ability to change the "look", what are some of the > other enhancements and features of 3.8.0? For now, you can grab a recent 3.7.x and play around. When we're closer to a release, we'll be writing up a comprehensive list of cool new stuff. -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From mike.peachey at jennic.com Tue Apr 8 11:06:22 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 16:06:22 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FB8829.8040400@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> <47FB8829.8040400@gmail.com> Message-ID: <47FB89EE.70009@jennic.com> Chaim Rieger wrote: > Nelson Pereira wrote: >> I?ve looked around and did not find anything relating to LDAP agent >> authentication. >> >> Does anyone have a document on how to setup RT to use LDAP for agent >> login? >> > you mean ldap/AD server based authentication, > its in the wiki. http://wiki.bestpractical.com/view/LDAP http://wiki.bestpractical.com/view/ExternalAuth -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From jsmoriss at mvlan.net Tue Apr 8 11:18:52 2008 From: jsmoriss at mvlan.net (Jean-Sebastien Morisset) Date: Tue, 8 Apr 2008 15:18:52 +0000 Subject: [rt-users] Global or Queue scrips first? In-Reply-To: <589c94400804071353v6b1cd236g31e6e3e1d622c200@mail.gmail.com> References: <20080407170922.GH16249@zaphod.mvlan.net> <589c94400804071234sc5c51edi336c5ddc19080704@mail.gmail.com> <20080407194156.GA28142@zaphod.mvlan.net> <589c94400804071353v6b1cd236g31e6e3e1d622c200@mail.gmail.com> Message-ID: <20080408151852.GB9666@zaphod.mvlan.net> On Tue, Apr 08, 2008 at 12:53:52AM +0400, Ruslan Zakirov wrote: > May be there is different "issue". All scrips are prepared first and > then committed. Notification action collect recipients of the email > during prepare when scrips must change data only during commit. > > Close to your situation? Hm. Maybe. I have a scrip which extracts info from the e-mail and sets certain custom fields. It's description in the global scrips is "A. On Create Extract Custom Field Values with template On Create Extract Values" so it can run first. I have another scrip in a queue described as "On Create and Owner is Nobody, Notify Unix with template Added to Queue". I would expect this scrip to run second. The notification template uses some custom fields, which were defined by the first scrip, but they're not showing up in the notification e-mail. Is there anything I can do to fix this? Thanks, js. -- Jean-Sebastien Morisset, Sr. UNIX Administrator From npereira at protus.com Tue Apr 8 11:22:38 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 11:22:38 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FB8829.8040400@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> <47FB8829.8040400@gmail.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AEF7@EXMAIL.protus.org> I want to know if RT has the ability to lookup a user in Active Directory to allow the user to login to RT using his Active Directory Username/Password.... -----Original Message----- From: Chaim Rieger [mailto:chaim.rieger at gmail.com] Sent: Tuesday, April 08, 2008 10:59 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP Nelson Pereira wrote: > > I've looked around and did not find anything relating to LDAP agent > authentication. > > Does anyone have a document on how to setup RT to use LDAP for agent > login? > you mean ldap/AD server based authentication, its in the wiki. any specific questions ask away, and please post the relevant lines of your config. From javoskam at uwaterloo.ca Tue Apr 8 11:13:33 2008 From: javoskam at uwaterloo.ca (Jeff Voskamp) Date: Tue, 08 Apr 2008 11:13:33 -0400 Subject: [rt-users] A brief preview of what RT 3.8 is going to look like In-Reply-To: References: <47F27630.4040609@lbl.gov> Message-ID: <47FB8B9D.6050003@uwaterloo.ca> Jesse Vincent wrote: > > On Apr 1, 2008, at 1:51 PM, Kenneth Crocker wrote: >> Jesse, >> >> >> Other than the ability to change the "look", what are some of the >> other enhancements and features of 3.8.0? > > For now, you can grab a recent 3.7.x and play around. When we're > closer to a release, we'll be writing up a comprehensive list of cool > new stuff. I really like the bookmark window and additional personal preferences. Jeff From mike.peachey at jennic.com Tue Apr 8 11:25:03 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 16:25:03 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AEF7@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> <47FB8829.8040400@gmail.com> <21044E8C915A7E43B90A1056127160F116AEF7@EXMAIL.protus.org> Message-ID: <47FB8E4F.9090605@jennic.com> Nelson Pereira wrote: > I want to know if RT has the ability to lookup a user in Active > Directory to allow the user to login to RT using his Active Directory > Username/Password.... Nelson.. read the wiki pages that I gave you direct links to. http://wiki.bestpractical.com/view/LDAP http://wiki.bestpractical.com/view/ExternalAuth I mean REALLY read them. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From jbrodley at sumtotalsystems.com Tue Apr 8 11:14:47 2008 From: jbrodley at sumtotalsystems.com (Justin Brodley) Date: Tue, 8 Apr 2008 08:14:47 -0700 Subject: [rt-users] A brief preview of what RT 3.8 is going to look like In-Reply-To: References: <47F27630.4040609@lbl.gov> Message-ID: <0D1D06774CE0AF4BB0C6CFFBEEF24B2D074C11D4@blv-exch1.sumtotalsystems.com> Considering upgrading to the latest build, were currently on 3.6.3. But I'm wondering if this is a Q2/Q3 type release, or if you think it will be much later, as it may be worth it just to wait. I know dev's hate giving dates or any idea of when something will be done, but just a very rough idea would be helpful. Justin Brodley -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Jesse Vincent Sent: Tuesday, April 08, 2008 8:06 AM To: Kenneth Crocker Cc: RT Users Subject: Re: [rt-users] A brief preview of what RT 3.8 is going to look like On Apr 1, 2008, at 1:51 PM, Kenneth Crocker wrote: > Jesse, > > > Other than the ability to change the "look", what are some of the > other enhancements and features of 3.8.0? For now, you can grab a recent 3.7.x and play around. When we're closer to a release, we'll be writing up a comprehensive list of cool new stuff. From chaim.rieger at gmail.com Tue Apr 8 11:27:00 2008 From: chaim.rieger at gmail.com (Chaim Rieger) Date: Tue, 08 Apr 2008 08:27:00 -0700 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AEF7@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> <47FB8829.8040400@gmail.com> <21044E8C915A7E43B90A1056127160F116AEF7@EXMAIL.protus.org> Message-ID: <47FB8EC4.4080205@gmail.com> Nelson Pereira wrote: > I want to know if RT has the ability to lookup a user in Active > Directory to allow the user to login to RT using his Active Directory > Username/Password.... > as far as i know (and somebody out there correct me if i am wrong) users must be in the RT db, (see note 1) passwords are matched against AD/LDAP and are not stored locally. Note 1; this is easy to get around, have all your users send an email to RT, which will then create usernames for them, then map these usernames to the proper mappings in AD. From mike.peachey at jennic.com Tue Apr 8 11:30:30 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 16:30:30 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FB8EC4.4080205@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AED8@EXMAIL.protus.org> <47FB8829.8040400@gmail.com> <21044E8C915A7E43B90A1056127160F116AEF7@EXMAIL.protus.org> <47FB8EC4.4080205@gmail.com> Message-ID: <47FB8F96.8020400@jennic.com> Chaim Rieger wrote: > Nelson Pereira wrote: >> I want to know if RT has the ability to lookup a user in Active >> Directory to allow the user to login to RT using his Active Directory >> Username/Password.... >> > as far as i know (and somebody out there correct me if i am wrong) > users must be in the RT db, (see note 1) passwords are matched against > AD/LDAP and are not stored locally. > Note 1; this is easy to get around, have all your users send an email to > RT, which will then create usernames for them, then map these usernames > to the proper mappings in AD. As per the links pasted before.. this is all covered. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From jesse at bestpractical.com Tue Apr 8 11:35:24 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 11:35:24 -0400 Subject: [rt-users] A brief preview of what RT 3.8 is going to look like In-Reply-To: <0D1D06774CE0AF4BB0C6CFFBEEF24B2D074C11D4@blv-exch1.sumtotalsystems.com> References: <47F27630.4040609@lbl.gov> <0D1D06774CE0AF4BB0C6CFFBEEF24B2D074C11D4@blv-exch1.sumtotalsystems.com> Message-ID: <44D0C0EE-A163-42ED-8A9B-4BD8850273EE@bestpractical.com> On Apr 8, 2008, at 11:14 AM, Justin Brodley wrote: > Considering upgrading to the latest build, were currently on 3.6.3. > But > I'm wondering if this is a Q2/Q3 type release, or if you think it will > be much later, as it may be worth it just to wait. > > I know dev's hate giving dates or any idea of when something will be > done, but just a very rough idea would be helpful. > Actually, we have a corporate policy of not promising release dates, other than to customers for contracted deliveries. It'll be done when it's done, though I'd have loved to have had it out last month. -jesse -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From kae at midnighthax.com Tue Apr 8 10:55:54 2008 From: kae at midnighthax.com (Keith Edmunds) Date: Tue, 8 Apr 2008 15:55:54 +0100 Subject: [rt-users] Missing "take" link for some users In-Reply-To: <20080219201815.06d07df1@ws.in.tiger-computing.com> References: <20080219201815.06d07df1@ws.in.tiger-computing.com> Message-ID: <20080408155554.513c0e71@ws.in.tiger-computing.com> Sorry to reactivate this thread, but I'm stumped by this. I'm not even sure what to do to start resolving it. The problem: RT 3.6.1: We have four users on this system. In "10 newest unowned tickets", one user has the ticket number as a link and also a 'take' link; the other three users have only a plain-text ticket number and no take link. What I've checked/done so far: - one affected user has been granted full global permissions - that user has logged out and back in - that user, and the one that works, have the query for the unowned tickets - they both have the same display template Where can I look next? Thanks, Keith From jeffrey_lee at harvard.edu Tue Apr 8 11:55:52 2008 From: jeffrey_lee at harvard.edu (Jeffrey Lee) Date: Tue, 8 Apr 2008 11:55:52 -0400 Subject: [rt-users] Upgrading from 3.4 to 3.6 Message-ID: <200804081555.m38FtqLI002637@us26.unix.fas.harvard.edu> Is there an easy way to upgrade from 3.4 to 3.6? Also is there a step by step wiki document regarding this? -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Tue Apr 8 12:07:22 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 12:07:22 -0400 Subject: [rt-users] [RT 3.6.6] Small patch for RT::Transaction::ContentObj In-Reply-To: <1209301981.20080408132927@e-port.ru> References: <1209301981.20080408132927@e-port.ru> Message-ID: <98F03F68-DDE6-4E88-9FBF-59E0360202A7@bestpractical.com> On Apr 8, 2008, at 5:29 AM, Boris Lytochkin wrote: > > When Quoting some transaction with multiple text/plain attachments > (one for message, and some other as named attachment) wrong > attachment can be selected. > Patch forces attachments w/o name to be selected as source for > quoting. I wonder if it would make more sense to look at the Content- Disposition: header (so we could do smart things with text attachments the original sender intentionally inlined.) thoughts? > =============================================================== > --- Transaction_Overlay.pm~ Tue Apr 8 12:45:32 2008 > +++ Transaction_Overlay.pm Tue Apr 8 12:45:32 2008 > @@ -388,6 +388,7 @@ > elsif ( $Attachment->ContentType() =~ '^multipart/' ) { > my $plain_parts = $Attachment->Children(); > $plain_parts->ContentType( VALUE => ($PreferredContentType > || 'text/plain') ); > + $plain_parts->Limit(FIELD => 'Filename', VALUE => ''); > > # If we actully found a part, return its content > if ( $plain_parts->First && $plain_parts->First->Content ne > '' ) { > > > > -- > Boris Lytochkin, > JSC e-port, > Moscow > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From elacour at easter-eggs.com Tue Apr 8 12:12:59 2008 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 8 Apr 2008 18:12:59 +0200 Subject: [rt-users] Upgrading from 3.4 to 3.6 In-Reply-To: <200804081555.m38FtqLI002637@us26.unix.fas.harvard.edu> References: <200804081555.m38FtqLI002637@us26.unix.fas.harvard.edu> Message-ID: <20080408161259.GD31764@easter-eggs.com> On Tue, Apr 08, 2008 at 11:55:52AM -0400, Jeffrey Lee wrote: > Is there an easy way to upgrade from 3.4 to 3.6? Also is there a step by > step wiki document regarding this? > This is not a difficult upgrade. All the docs are in the files README/UPGRADING. From KFCrocker at lbl.gov Tue Apr 8 12:22:01 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Tue, 08 Apr 2008 09:22:01 -0700 Subject: [rt-users] Missing "take" link for some users In-Reply-To: <20080408155554.513c0e71@ws.in.tiger-computing.com> References: <20080219201815.06d07df1@ws.in.tiger-computing.com> <20080408155554.513c0e71@ws.in.tiger-computing.com> Message-ID: <47FB9BA9.9060907@lbl.gov> Keith, It's all about the privileges. If you are NEVER going to have more than a few users, then I suppose granting rights to users would be OK, but we prefer to put users in groups that have "like" privileges, that way we don't have to wonder why Bob can do it and Frank can't. Granting Global "All Powerful" rights all over the place can also bit you in the rear as well. No on can possibly recommend what rights to grant unless they know your specific infrastructure and how you want to deal with tickets/users/requestors. There is some good documentation on the wiki on rights. Kenn LBNL On 4/8/2008 7:55 AM, Keith Edmunds wrote: > Sorry to reactivate this thread, but I'm stumped by this. I'm not even > sure what to do to start resolving it. > > The problem: > > RT 3.6.1: We have four users on this system. In "10 newest unowned tickets", one > user has the ticket number as a link and also a 'take' link; the other > three users have only a plain-text ticket number and no take link. > > What I've checked/done so far: > > - one affected user has been granted full global permissions > - that user has logged out and back in > - that user, and the one that works, have the query for the unowned tickets > - they both have the same display template > > Where can I look next? > > Thanks, > Keith > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From npereira at protus.com Tue Apr 8 13:04:48 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 13:04:48 -0400 Subject: [rt-users] Intergration with LDAP Message-ID: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> Ok, So I read the instruction on the link given although I still cannot login with a valid Active Directory account.... Installed the CPAN module... I made the changes in the RT_SiteConfig.pm, restarted the webserver (OK) Try to login and I get this error in /var/log/httpd/error_log [Tue Apr 8 17:07:02 2008] [error]: Could not record email: RT couldn't find the queue: general (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) [Tue Apr 8 17:07:13 2008] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) What is this saying? My RT_SiteConfig.pm ##################################################################### ###################### LDAP AUthentication########################### ##################################################################### # Order in which the services defined in ExternalSettings # should be used to authenticate users. User is authenticated # if successfully confirmed by any service - no more services # are checked. Set($ExternalAuthPriority, [ 'My_LDAP', 'My_MySQL' ] ); # The order in which the services defined in ExternalSettings # should be used to get information about users. This includes # RealName, Tel numbers etc, but also whether or not the user # should be considered disabled. # Once user info is found, no more services are checked. Set($ExternalInfoPriority, [ 'My_MySQL', 'My_LDAP' ] ); # If this is set to true, then the relevant packages will # be loaded to use SSL/TLS connections. At the moment, # this just means "use Net::SSLeay;" Set($ExternalServiceUsesSSLorTLS, 0); # If this is set to 1, then users should be autocreated by RT # as internal users if they fail to authenticate from an # external service. Set($AutoCreateNonExternalUsers, 1); # These are the full settings for each external service as a HashOfHashes # Note that you may have as many external services as you wish. They will # be checked in the order specified in the Priority directives above. # e.g. # Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDA P','Other-DB']); # Set($ExternalSettings, { # A LDAP SERVICE 'My_LDAP' => { ## GENERIC SECTION # The type of service (db/ldap/cookie) 'type' => 'ldap', # Should the service be used for authentication? 'auth' => 1, # Should the service be used for information? 'info' => 1, # The server hosting the service 'server' => 'my.domain.name', ## SERVICE-SPECIFIC SECTION # If you can bind to your LDAP server anonymously you should # remove the user and pass config lines, otherwise specify them here: # # The username RT should use to connect to the LDAP server 'user' => 'myldapuser', # The password RT should use to connect to the LDAP server 'pass' => 'myladappass$', # # The LDAP search base 'base' => 'cn=Users,dc=protus,dc=org', # The filter to use to match RT-Users 'filter' => '(FILTER_STRING)', # The filter that will only match disabled users 'd_filter' => '(FILTER_STRING)', # Should we try to use TLS to encrypt connections? 'tls' => 0, # What other args should I pass to Net::LDAP->new($host, at args)? 'net_ldap_args' => [ version => 3 ], # Does authentication depend on group membership? What group name? 'group' => 'GROUP_NAME', # What is the attribute for the group object that determines membership? 'group_attr' => 'GROUP_ATTR', ## RT ATTRIBUTE MATCHING SECTION # The list of RT attributes that uniquely identify a user 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Organization' => 'physicalDeliveryOfficeName', 'RealName' => 'cn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos' => 'sAMAccountName', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } } } ); 1; Nelson Pereira -------------- next part -------------- An HTML attachment was scrubbed... URL: From chaim.rieger at gmail.com Tue Apr 8 13:21:42 2008 From: chaim.rieger at gmail.com (Chaim Rieger) Date: Tue, 08 Apr 2008 10:21:42 -0700 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> Message-ID: <47FBA9A6.6010000@gmail.com> answers are inline Nelson Pereira wrote: > > > > [Tue Apr 8 17:07:02 2008] [error]: Could not record email: RT > couldn't find the queue: general > (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) > did you setup your email/aliases for each queue? > [Tue Apr 8 17:07:13 2008] [critical]: RT::User::_GetBoundLdapObj > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > > rt cant bind to your ldap server with the credentials you provided, turn logging to debug and see what you get in regard to ldap errors. From npereira at protus.com Tue Apr 8 13:21:55 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 13:21:55 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116AF43@EXMAIL.protus.org> How do I disable this functionality as this has made my RT unusable... I'm getting all sorts of issues in the httpd logs...: [Tue Apr 8 17:19:02 2008] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) [Tue Apr 8 17:19:02 2008] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) [Tue Apr 8 17:19:02 2008] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) [Tue Apr 8 17:19:02 2008] [crit]: User creation failed in mailgateway: Could not set user info (/opt/rt3/lib/RT/Interface/Email.pm:243) [Tue Apr 8 17:19:02 2008] [crit]: User 'npereira at domain.com' could not be loaded in the mail gateway (/opt/rt3/lib/RT/Interface/Email.pm:243) [Tue Apr 8 17:19:02 2008] [error]: RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for this email (npereira at domain.com). You might need to grant 'Everyone' the right 'CreateTicket' for the queue general. (/opt/rt3/lib/RT/Interface/Email.pm:243) [Tue Apr 8 17:19:03 2008] [error]: Could not record email: Could not load a valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) How do I remove this and go back to the standard standalone MySQL auth...? ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Tuesday, April 08, 2008 1:05 PM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP Ok, So I read the instruction on the link given although I still cannot login with a valid Active Directory account.... Installed the CPAN module... I made the changes in the RT_SiteConfig.pm, restarted the webserver (OK) Try to login and I get this error in /var/log/httpd/error_log [Tue Apr 8 17:07:02 2008] [error]: Could not record email: RT couldn't find the queue: general (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) [Tue Apr 8 17:07:13 2008] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) What is this saying? My RT_SiteConfig.pm ##################################################################### ###################### LDAP AUthentication########################### ##################################################################### # Order in which the services defined in ExternalSettings # should be used to authenticate users. User is authenticated # if successfully confirmed by any service - no more services # are checked. Set($ExternalAuthPriority, [ 'My_LDAP', 'My_MySQL' ] ); # The order in which the services defined in ExternalSettings # should be used to get information about users. This includes # RealName, Tel numbers etc, but also whether or not the user # should be considered disabled. # Once user info is found, no more services are checked. Set($ExternalInfoPriority, [ 'My_MySQL', 'My_LDAP' ] ); # If this is set to true, then the relevant packages will # be loaded to use SSL/TLS connections. At the moment, # this just means "use Net::SSLeay;" Set($ExternalServiceUsesSSLorTLS, 0); # If this is set to 1, then users should be autocreated by RT # as internal users if they fail to authenticate from an # external service. Set($AutoCreateNonExternalUsers, 1); # These are the full settings for each external service as a HashOfHashes # Note that you may have as many external services as you wish. They will # be checked in the order specified in the Priority directives above. # e.g. # Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDA P','Other-DB']); # Set($ExternalSettings, { # A LDAP SERVICE 'My_LDAP' => { ## GENERIC SECTION # The type of service (db/ldap/cookie) 'type' => 'ldap', # Should the service be used for authentication? 'auth' => 1, # Should the service be used for information? 'info' => 1, # The server hosting the service 'server' => 'my.domain.name', ## SERVICE-SPECIFIC SECTION # If you can bind to your LDAP server anonymously you should # remove the user and pass config lines, otherwise specify them here: # # The username RT should use to connect to the LDAP server 'user' => 'myldapuser', # The password RT should use to connect to the LDAP server 'pass' => 'myladappass$', # # The LDAP search base 'base' => 'cn=Users,dc=protus,dc=org', # The filter to use to match RT-Users 'filter' => '(FILTER_STRING)', # The filter that will only match disabled users 'd_filter' => '(FILTER_STRING)', # Should we try to use TLS to encrypt connections? 'tls' => 0, # What other args should I pass to Net::LDAP->new($host, at args)? 'net_ldap_args' => [ version => 3 ], # Does authentication depend on group membership? What group name? 'group' => 'GROUP_NAME', # What is the attribute for the group object that determines membership? 'group_attr' => 'GROUP_ATTR', ## RT ATTRIBUTE MATCHING SECTION # The list of RT attributes that uniquely identify a user 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Organization' => 'physicalDeliveryOfficeName', 'RealName' => 'cn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos' => 'sAMAccountName', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } } } ); 1; Nelson Pereira -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Tue Apr 8 13:23:49 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 13:23:49 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FBA9A6.6010000@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AF46@EXMAIL.protus.org> I use fetchmail and it worked fine prior to installing this LDAP functionality... Now I don't seem to be able to go back.... I will turn on debug... -----Original Message----- Sent: Tuesday, April 08, 2008 1:22 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP answers are inline Nelson Pereira wrote: > > > > [Tue Apr 8 17:07:02 2008] [error]: Could not record email: RT > couldn't find the queue: general > (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) > did you setup your email/aliases for each queue? > [Tue Apr 8 17:07:13 2008] [critical]: RT::User::_GetBoundLdapObj > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > > rt cant bind to your ldap server with the credentials you provided, turn logging to debug and see what you get in regard to ldap errors. From kae at midnighthax.com Tue Apr 8 13:24:53 2008 From: kae at midnighthax.com (Keith Edmunds) Date: Tue, 8 Apr 2008 18:24:53 +0100 Subject: [rt-users] Missing "take" link for some users In-Reply-To: <47FB9BA9.9060907@lbl.gov> References: <20080219201815.06d07df1@ws.in.tiger-computing.com> <20080408155554.513c0e71@ws.in.tiger-computing.com> <47FB9BA9.9060907@lbl.gov> Message-ID: <20080408182453.2fc486fc@ws.in.tiger-computing.com> Thanks Kenn. I agree about using groups rather than granting rights to users individually, and I also agree that it is inappropriate to grant all global rights "all over the place". The latter action was taken only to try to find what the problem is. However, given that a user with full global rights does not see a 'take' link, I don't think it can be that. In other words, I agree with the philosophy in your post, but it doesn't solve the problem. I appreciate you taking the time to reply. Keith From barnesaw at ucrwcu.rwc.uc.edu Tue Apr 8 13:29:46 2008 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Tue, 08 Apr 2008 13:29:46 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AF43@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AF43@EXMAIL.protus.org> Message-ID: <47FBAB8A.8090206@ucrwcu.rwc.uc.edu> Try this. In RT_SiteConfig.pm Set($WebFallbackToInternalAuth , 1); (or maybe it needs to be True. can't recall.) Nelson Pereira wrote: > > How do I disable this functionality as this has made my RT unusable? > I?m getting all sorts of issues in the httpd logs?: > > > > [Tue Apr 8 17:19:02 2008] [critical]: RT::User::_GetBoundLdapObj > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > [Tue Apr 8 17:19:02 2008] [critical]: RT::User::_GetBoundLdapObj > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > [Tue Apr 8 17:19:02 2008] [critical]: RT::User::_GetBoundLdapObj > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > [Tue Apr 8 17:19:02 2008] [crit]: User creation failed in > mailgateway: Could not set user info > (/opt/rt3/lib/RT/Interface/Email.pm:243) > > [Tue Apr 8 17:19:02 2008] [crit]: User 'npereira at domain.com' could > not be loaded in the mail gateway (/opt/rt3/lib/RT/Interface/Email.pm:243) > > [Tue Apr 8 17:19:02 2008] [error]: RT could not load a valid user, > and RT's configuration does not allow > > for the creation of a new user for this email (npereira at domain.com). > > > > You might need to grant 'Everyone' the right 'CreateTicket' for the > > queue general. (/opt/rt3/lib/RT/Interface/Email.pm:243) > > [Tue Apr 8 17:19:03 2008] [error]: Could not record email: Could not > load a valid user (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) > > > > > > How do I remove this and go back to the standard standalone MySQL auth?? > > ------------------------------------------------------------------------ > > *From:* rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] *On Behalf Of > *Nelson Pereira > *Sent:* Tuesday, April 08, 2008 1:05 PM > *To:* rt-users at lists.bestpractical.com > *Subject:* Re: [rt-users] Intergration with LDAP > > > > Ok, So I read the instruction on the link given although I still > cannot login with a valid Active Directory account.... > > > > Installed the CPAN module? > > > > I made the changes in the RT_SiteConfig.pm, restarted the webserver (OK) > > Try to login and I get this error in /var/log/httpd/error_log > > > > [Tue Apr 8 17:07:02 2008] [error]: Could not record email: RT > couldn't find the queue: general > (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) > > [Tue Apr 8 17:07:13 2008] [critical]: RT::User::_GetBoundLdapObj > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > > > What is this saying? > > > > My RT_SiteConfig.pm > > > > > > ##################################################################### > > ###################### LDAP AUthentication########################### > > ##################################################################### > > > > # Order in which the services defined in ExternalSettings > > # should be used to authenticate users. User is authenticated > > # if successfully confirmed by any service - no more services > > # are checked. > > Set($ExternalAuthPriority, [ 'My_LDAP', > > 'My_MySQL' > > ] > > ); > > > > # The order in which the services defined in ExternalSettings > > # should be used to get information about users. This includes > > # RealName, Tel numbers etc, but also whether or not the user > > # should be considered disabled. > > # Once user info is found, no more services are checked. > > Set($ExternalInfoPriority, [ 'My_MySQL', > > 'My_LDAP' > > ] > > ); > > > > # If this is set to true, then the relevant packages will > > # be loaded to use SSL/TLS connections. At the moment, > > # this just means "use Net::SSLeay;" > > Set($ExternalServiceUsesSSLorTLS, 0); > > > > # If this is set to 1, then users should be autocreated by RT > > # as internal users if they fail to authenticate from an > > # external service. > > Set($AutoCreateNonExternalUsers, 1); > > > > # These are the full settings for each external service as a HashOfHashes > > # Note that you may have as many external services as you wish. They will > > # be checked in the order specified in the Priority directives above. > > # e.g. > > # > Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDAP','Other-DB']); > > # > > Set($ExternalSettings, { # A LDAP SERVICE > > 'My_LDAP' => { ## GENERIC SECTION > > # The type of > service (db/ldap/cookie) > > > 'type' => 'ldap', > > # Should the > service be used for authentication? > > > 'auth' => 1, > > # Should the > service be used for information? > > > 'info' => 1, > > # The server > hosting the service > > > 'server' => 'my.domain.name', > > ## > SERVICE-SPECIFIC SECTION > > # If you can > bind to your LDAP server anonymously you should > > # remove the > user and pass config lines, otherwise specify them here: > > # > > # The username > RT should use to connect to the LDAP server > > > 'user' => 'myldapuser', > > # The password > RT should use to connect to the LDAP server > > > 'pass' => 'myladappass$', > > # > > # The LDAP > search base > > > 'base' => 'cn=Users,dc=protus,dc=org', > > # The filter > to use to match RT-Users > > > 'filter' => > '(FILTER_STRING)', > > # The filter > that will only match disabled users > > 'd_filter' > => '(FILTER_STRING)', > > # Should we > try to use TLS to encrypt connections? > > > 'tls' => 0, > > # What other > args should I pass to Net::LDAP->new($host, at args)? > > > 'net_ldap_args' => [ version => 3 ], > > # Does > authentication depend on group membership? What group name? > > > 'group' => 'GROUP_NAME', > > # What is the > attribute for the group object that determines membership? > > > 'group_attr' => 'GROUP_ATTR', > > ## RT > ATTRIBUTE MATCHING SECTION > > # The list of > RT attributes that uniquely identify a user > > > 'attr_match_list' => [ 'Name', > > > 'EmailAddress', > > > 'RealName', > > > 'WorkPhone', > > > 'Address2' > > > ], > > # The mapping > of RT attributes on to LDAP attributes > > > 'attr_map' => { 'Name' => 'sAMAccountName', > > > 'EmailAddress' => 'mail', > > > 'Organization' => 'physicalDeliveryOfficeName', > > > 'RealName' => 'cn', > > > 'ExternalAuthId' => 'sAMAccountName', > > > 'Gecos' => 'sAMAccountName', > > > 'WorkPhone' => 'telephoneNumber', > > > 'Address1' => 'streetAddress', > > > 'City' => 'l', > > > 'State' => 'st', > > > 'Zip' > => 'postalCode', > > > 'Country' => 'co' > > > } > > } > > } > > ); > > 1; > > > > > > > > Nelson Pereira > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From asallade at PTSOWA.ORG Tue Apr 8 13:32:53 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 8 Apr 2008 10:32:53 -0700 Subject: [rt-users] LDAP question regarding RT Group Membership Message-ID: <33DEE66ED2E72346ABC638427A7701404BF344@PTSOEXCHANGE.PTSOWA.ORG> If I set up to use LDAP with the callback that will create RT accounts automatically from a successful LDAP Authentication, is there a way to have the users join the correct RT group for rights management in RT? Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Tue Apr 8 13:43:54 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 13:43:54 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FBA9A6.6010000@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> Ok, so I setup debug in RT and this is what it gives me... [Tue Apr 8 17:41:10 2008] [warning]: Transaction->Create couldn't, as you didn't specify an object type and id (/opt/rt3/lib/RT/Record.pm:1486) [Tue Apr 8 17:41:10 2008] [debug]: RT::User::IsExternalPassword Trying External authentication (/opt/rt3/local/lib/RT/User_Vendor.pm:52) [Tue Apr 8 17:41:10 2008] [debug]: Attempting to use external auth service: My_LDAP (/opt/rt3/local/lib/RT/User_Vendor.pm:63) [Tue Apr 8 17:41:10 2008] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) [Tue Apr 8 17:41:10 2008] [info]: RT::User::IsExternalPassword External Auth Failed: npereira (/opt/rt3/local/lib/RT/User_Vendor.pm:294) [Tue Apr 8 17:41:10 2008] [debug]: RT::User::IsPassword External auth FAILED (/opt/rt3/local/lib/RT/User_Vendor.pm:360) [Tue Apr 8 17:41:10 2008] [info]: RT::User::IsInternalPassword AUTH FAILED (no passwd): npereira (/opt/rt3/local/lib/RT/User_Vendor.pm:305) [Tue Apr 8 17:41:10 2008] [debug]: RT::User::IsPassword Internal auth FAILED (/opt/rt3/local/lib/RT/User_Vendor.pm:366) What Im wondering, is what are theses 2 bellow lines and do I need them? # The filter to use to match RT-Users 'filter' => '*', # The filter that will only match disabled users 'd_filter' => '*', -----Original Message----- From: Chaim Rieger [mailto:chaim.rieger at gmail.com] Sent: Tuesday, April 08, 2008 1:22 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP answers are inline Nelson Pereira wrote: > > > > [Tue Apr 8 17:07:02 2008] [error]: Could not record email: RT > couldn't find the queue: general > (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) > did you setup your email/aliases for each queue? > [Tue Apr 8 17:07:13 2008] [critical]: RT::User::_GetBoundLdapObj > Can't bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > > rt cant bind to your ldap server with the credentials you provided, turn logging to debug and see what you get in regard to ldap errors. From chaim.rieger at gmail.com Tue Apr 8 13:48:33 2008 From: chaim.rieger at gmail.com (Chaim Rieger) Date: Tue, 08 Apr 2008 10:48:33 -0700 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> Message-ID: <47FBAFF1.4080202@gmail.com> Nelson Pereira wrote: > What Im wondering, is what are theses 2 bellow lines and do I need them? > # The filter to use to match RT-Users > 'filter' => '*', > # The filter that will only match disabled users > 'd_filter' => '*', > shouldnt filter be cn=* From npereira at protus.com Tue Apr 8 13:52:02 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 13:52:02 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FBAFF1.4080202@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AF56@EXMAIL.protus.org> Getting the same errors even with the filter set to cn=* Nelson Pereira -----Original Message----- From: Chaim Rieger [mailto:chaim.rieger at gmail.com] Sent: Tuesday, April 08, 2008 1:49 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP Nelson Pereira wrote: > What Im wondering, is what are theses 2 bellow lines and do I need them? > # The filter to use to match RT-Users > 'filter' => '*', > # The filter that will only match disabled users > 'd_filter' => '*', > shouldnt filter be cn=* From kae at midnighthax.com Tue Apr 8 14:01:28 2008 From: kae at midnighthax.com (Keith Edmunds) Date: Tue, 8 Apr 2008 19:01:28 +0100 Subject: [rt-users] Missing "take" link for some users In-Reply-To: <20080408155554.513c0e71@ws.in.tiger-computing.com> References: <20080219201815.06d07df1@ws.in.tiger-computing.com> <20080408155554.513c0e71@ws.in.tiger-computing.com> Message-ID: <20080408190128.740251af@ws.in.tiger-computing.com> Further information: users who don't see a "take" link can, in fact, take tickets by entering the ticket number in the search box, displaying the ticket and then clicking on the "take" link at the top of the page. So it would appear that this is not a permissions issue. Any more ideas as to how I can debug this? Thanks, Keith From asallade at PTSOWA.ORG Tue Apr 8 14:05:29 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 8 Apr 2008 11:05:29 -0700 Subject: [rt-users] Missing "take" link for some users In-Reply-To: <20080408190128.740251af@ws.in.tiger-computing.com> References: <20080219201815.06d07df1@ws.in.tiger-computing.com><20080408155554.513c0e71@ws.in.tiger-computing.com> <20080408190128.740251af@ws.in.tiger-computing.com> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF355@PTSOEXCHANGE.PTSOWA.ORG> I would do a view source of the rendered HTML to see if the link is malformed in the output. Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Keith Edmunds [mailto:kae at midnighthax.com] Sent: Tuesday, April 08, 2008 11:01 AM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Missing "take" link for some users Further information: users who don't see a "take" link can, in fact, take tickets by entering the ticket number in the search box, displaying the ticket and then clicking on the "take" link at the top of the page. So it would appear that this is not a permissions issue. Any more ideas as to how I can debug this? Thanks, Keith _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com From mike.peachey at jennic.com Tue Apr 8 14:40:18 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 19:40:18 +0100 Subject: [rt-users] LDAP question regarding RT Group Membership In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF344@PTSOEXCHANGE.PTSOWA.ORG> References: <33DEE66ED2E72346ABC638427A7701404BF344@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <47FBBC12.8080506@jennic.com> Aaron Sallade wrote: > If I set up to use LDAP with the callback that will create RT accounts > automatically from a successful LDAP Authentication, is there a way to > have the users join the correct RT group for rights management in RT? No, not at the moment. The current LDAP functionality will only allow you to use groups to determine whether a user is allowed to access RT. Perhaps something to be added in the future. -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From jeffrey_lee at harvard.edu Tue Apr 8 14:45:21 2008 From: jeffrey_lee at harvard.edu (Jeffrey Lee) Date: Tue, 8 Apr 2008 14:45:21 -0400 Subject: [rt-users] Upgraded RT 3.4 to 3.6 Message-ID: <200804081845.m38IjLJx014515@us25.unix.fas.harvard.edu> Hi everyone, I just performed a fresh install of RT 3.6 on an Ubuntu 7.10 box and wanted to migrate my old RT 3.4 system to this new box. So I migrated the data from my RT 3.4 to 3.6 box. All seems to be well, except for my root account password needed to be reset and the General Queue needed to be redescribed. I am curious since I am a RT rookie, will I run into any problems with this type of upgrade/migration? -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From twilson at buffalo.k12.mn.us Tue Apr 8 14:38:19 2008 From: twilson at buffalo.k12.mn.us (Tim Wilson) Date: Tue, 08 Apr 2008 13:38:19 -0500 Subject: [rt-users] printable "work order" In-Reply-To: <8CC90927ADD0224987A2386C33A4211340AB27@pctsrv.pctrade.local> References: <8CC90927ADD0224987A2386C33A4211340AB27@pctsrv.pctrade.local> Message-ID: <47FB754A.F8B4.0061.0@buffalo.k12.mn.us> >>> On Tue, Apr 8, 2008 at 6:23 AM, in message <8CC90927ADD0224987A2386C33A4211340AB27 at pctsrv.pctrade.local>, "Michal Verner" wrote: > Is there a possibility to add html page to RT, which will generate > "printer friendly" filled form document? Something like different > version of Display.html??? Michal, I modified the default RT template to include a separate stylesheet reference for printouts. All you need to do is add the following line for the section of the RT template: I created a CSS stylesheet (print.css in my case) which creates a stripped down view of a ticket that prints pretty nicely. -Tim -- Tim Wilson, Director of Technology Buffalo-Hanover-Montrose Schools 214 1st Ave NE Buffalo, MN 55313 ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.us From koteras at hotmail.com Tue Apr 8 15:02:12 2008 From: koteras at hotmail.com (Gary & Gina Koteras) Date: Tue, 8 Apr 2008 19:02:12 +0000 Subject: [rt-users] =?windows-1256?q?_Assign_custom_field_to_subject=FE_-_?= =?windows-1256?q?template_question?= Message-ID: Hello all, I created a scrip that assigns a custom field value to the subject (and that works fine). The problem is that the email generated by the template doesn't pick up the newly assigned subject. Do I need to add something to the template? Thanks in advance, Gary _________________________________________________________________ More immediate than e-mail? Get instant access with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_instantaccess_042008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Tue Apr 8 15:14:33 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 20:14:33 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> Message-ID: <47FBC419.3000907@jennic.com> Nelson Pereira wrote: > Ok, So I read the instruction on the link given although I still cannot > login with a valid Active Directory account.... > > Installed the CPAN module? > > I made the changes in the RT_SiteConfig.pm, restarted the webserver (OK) > > Try to login and I get this error in /var/log/httpd/error_log > > [Tue Apr 8 17:07:02 2008] [error]: Could not record email: RT couldn't > find the queue: general > (/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:75) This is nothing to do with the ExternalAuth extension. > [Tue Apr 8 17:07:13 2008] [critical]: RT::User::_GetBoundLdapObj Can't > bind: LDAP_INVALID_CREDENTIALS 49 > (/opt/rt3/local/lib/RT/User_Vendor.pm:1056) > > What is this saying? The error given here is throw directly from Net::LDAP (the perl module used to perform LDAP communication). The error means that the username and password you have given to make a connection to the LDAP server in order to search for users is not valid. This is similar to the rt-user you create to allow RT to use its own database. You should have a specified account on your LDAP server that RT is given to let it search for users. Alternatively, you can allow "anonymous binding" in your LDAP server that will allow anyone to search it without a username and password. If you allow anonymous binding, you simply don't specify a user or pass for the ldap server. > ##################################################################### > ###################### LDAP AUthentication########################### > ##################################################################### > # Order in which the services defined in ExternalSettings > # should be used to authenticate users. User is authenticated > # if successfully confirmed by any service - no more services > # are checked. > > Set($ExternalAuthPriority, [ 'My_LDAP', > 'My_MySQL' > ] > ); You are not using an external MySQL authentication service, so you should not be specifying one. The above line needs to be reduced to this: Set($ExternalAuthPriority, ['My_LDAP']); Although you can call the service whatever you want, it doesn't need to be My_LDAP, just as long as you change the name in the ExternalSettings paramater. > # The order in which the services defined in ExternalSettings > # should be used to get information about users. This includes > # RealName, Tel numbers etc, but also whether or not the user > # should be considered disabled. > # Once user info is found, no more services are checked. > Set($ExternalInfoPriority, [ 'My_MySQL', > > 'My_LDAP' > > ] > > ); Again, you're not using an SQL information service. Reduce it to: Set($ExternalInfoPriority, ['My_LDAP']); > # If this is set to true, then the relevant packages will > # be loaded to use SSL/TLS connections. At the moment, > # this just means "use Net::SSLeay;" > Set($ExternalServiceUsesSSLorTLS, 0); Although there's no harm in clearly specifying this as 0, it's not required. > # If this is set to 1, then users should be autocreated by RT > # as internal users if they fail to authenticate from an > # external service. > Set($AutoCreateNonExternalUsers, 1); Are you sure that you want to allow the automatic creation of users who fail to authenticate by LDAP or by RT's own internals? You might want to, but it's worth knowing if you are sure. > # These are the full settings for each external service as a HashOfHashes > # Note that you may have as many external services as you wish. They will > # be checked in the order specified in the Priority directives above. > # e.g. > > Set($ExternalSettings, { # A LDAP SERVICE > > 'My_LDAP' => { ## GENERIC SECTION > 'type' => 'ldap', > # Should the service be used for authentication? > 'auth' => 1, > # Should the service be used for information? > 'info' => 1, > # The server hosting the service > 'server' => 'my.domain.name', Have you set the server to your AD server's name? This is still what I set it to in the example. > # If you can bind to your LDAP server anonymously you should > # remove the user and pass config lines, otherwise specify them here: > # The username RT should use to connect to the LDAP server > 'user' => 'myldapuser', > # The password RT should use to connect to the LDAP server > 'pass' => 'myladappass$', Do you want to bind to the server anonymously, or do you need to specify a username and password? If you have an RT user on the LDAP server to use, specify the username and password here. Otherwise, remove these lines. > # The LDAP search base > 'base' => 'cn=Users,dc=protus,dc=org', This one actually looks right. Although you should tell your AD administrator that they ought to create an Organisational Unit for your organisation and create Users and Groups beneath it so that the system/admin users and groups remain in the original place, but "users" can then be kept easily organised within the OU. > # The filter to use to match RT-Users > 'filter' => '(FILTER_STRING)', If you want EVERY SINGLE CONTAINER in cn=Users,dc=protus,dc=org to be allowed access to RT as a user then your filter string should read like this: 'filter' => '(objectClass=*)', Or if you only want objects classed as Person to be considered valid users then: 'filter' => '(objectClass=Person)', Or ANY other valid LDAP filter expression (look it up!) > # The filter that will only match disabled users > 'd_filter' => '(FILTER_STRING)', If you want some users that match the filter above to be considered disabled then you need to specify the filter for them here, otherwise remove this line. For Active Directory, it is recommended that you use this: 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', which will consider all users who are disabled in Active Directory as disabled in RT. > # Should we try to use TLS to encrypt connections? > 'tls' => 0, Self-explanatory -- leave it be. > # What other args should I pass to Net::LDAP->new($host, at args)? > 'net_ldap_args' => [ version => 3 ], For Active Directory, leave this alone. > # Does authentication depend on group membership? What group name? > 'group' => 'GROUP_NAME', If users have to be a member of an active directory group to access RT, specify it here.. otherwise REMOVE it. > # What is the attribute for the group object that determines membership? > 'group_attr' => 'GROUP_ATTR', If you allow access by groups as above, then you really should know this, or ask your LDAP administrator. Otherwise, remove it. For Active Directory, leave all of the rest of these settings alone. > > ## RT ATTRIBUTE > MATCHING SECTION > > # The list of RT > attributes that uniquely identify a user > > > 'attr_match_list' => [ 'Name', > > > 'EmailAddress', > > > 'RealName', > > > 'WorkPhone', > > > 'Address2' > > > ], > > # The mapping of > RT attributes on to LDAP attributes > > > 'attr_map' => { 'Name' => 'sAMAccountName', > > > 'EmailAddress' => 'mail', > > > 'Organization' => 'physicalDeliveryOfficeName', > > > 'RealName' => 'cn', > > > 'ExternalAuthId' => 'sAMAccountName', > > > 'Gecos' => 'sAMAccountName', > > > 'WorkPhone' => 'telephoneNumber', > > > 'Address1' => 'streetAddress', > > > 'City' => 'l', > > > 'State' => 'st', > > > 'Zip' > => 'postalCode', > > > 'Country' => 'co' > > > } > > } > > } > > ); > > 1; Ok? As for removing the ExternalAuth extension, you would need to remove: $RTHOME/share/html/Callbacks/ExternalAuth $RTHOME/local/etc/ExternalAuth/RT_SiteConfig.pm $RTHOME/local/lib/RT/Authen/ExternalAuth.pm $RTHOME/local/lib/RT/User_Vendor.pm The top two might be Authen-ExternalAuth directories.. I can't remember, but am not in a position to check right now. It should be obvious in your installation. -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From mike.peachey at jennic.com Tue Apr 8 15:15:45 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 20:15:45 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FBAB8A.8090206@ucrwcu.rwc.uc.edu> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AF43@EXMAIL.protus.org> <47FBAB8A.8090206@ucrwcu.rwc.uc.edu> Message-ID: <47FBC461.7050102@jennic.com> Drew Barnes wrote: > Try this. In RT_SiteConfig.pm > Set($WebFallbackToInternalAuth , 1); (or maybe it needs to be True. > can't recall.) This config option is only for Apache authentication, so would not be useful in this situation. -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From mike.peachey at jennic.com Tue Apr 8 15:17:31 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 20:17:31 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FBAFF1.4080202@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> Message-ID: <47FBC4CB.5000404@jennic.com> Chaim Rieger wrote: > Nelson Pereira wrote: >> What Im wondering, is what are theses 2 bellow lines and do I need them? >> # The filter to use to match RT-Users >> 'filter' => '*', >> # The filter that will only match disabled users >> 'd_filter' => '*', >> > > shouldnt filter be cn=* While I think I wrote the code so that it would be tolerant of the lack of them, LDAP filters should ALWAYS be enclosed in parentheses: (cn=*) And, I'm not sure why, but it seems the preferred method of having an LDAP "catch-all" filter is to use objectClass: (objectClass=*) -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From npereira at protus.com Tue Apr 8 15:19:40 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 15:19:40 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FBC4CB.5000404@jennic.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> So what are you saying? # The filter to use to match RT-Users 'filter' => '(cn=*)', # The filter that will only match disabled users 'd_filter' => '(objectClass=*)', ???????????? -----Original Message----- From: mpeac at jennic.com [mailto:mpeac at jennic.com] On Behalf Of Mike Peachey Sent: Tuesday, April 08, 2008 3:18 PM To: Chaim Rieger Cc: Nelson Pereira; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP Chaim Rieger wrote: > Nelson Pereira wrote: >> What Im wondering, is what are theses 2 bellow lines and do I need them? >> # The filter to use to match RT-Users >> 'filter' => '*', >> # The filter that will only match disabled users >> 'd_filter' => '*', >> > > shouldnt filter be cn=* While I think I wrote the code so that it would be tolerant of the lack of them, LDAP filters should ALWAYS be enclosed in parentheses: (cn=*) And, I'm not sure why, but it seems the preferred method of having an LDAP "catch-all" filter is to use objectClass: (objectClass=*) -- Kind Regards, From npereira at protus.com Tue Apr 8 15:26:44 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 15:26:44 -0400 Subject: [rt-users] Intergration with LDAP (need togo back to standard auth...?!?) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org><47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116AFBE@EXMAIL.protus.org> How do I go back to standard auth.... This is not working and im getting tight on time.... I tried removing the Set($ExternalSettings, But I'm getting all sorts of errors ... Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. www.MyFax.com -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Tuesday, April 08, 2008 3:20 PM To: mike.peachey at jennic.com; Chaim Rieger Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP So what are you saying? # The filter to use to match RT-Users 'filter' => '(cn=*)', # The filter that will only match disabled users 'd_filter' => '(objectClass=*)', ???????????? -----Original Message----- From: mpeac at jennic.com [mailto:mpeac at jennic.com] On Behalf Of Mike Peachey Sent: Tuesday, April 08, 2008 3:18 PM To: Chaim Rieger Cc: Nelson Pereira; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP Chaim Rieger wrote: > Nelson Pereira wrote: >> What Im wondering, is what are theses 2 bellow lines and do I need them? >> # The filter to use to match RT-Users >> 'filter' => '*', >> # The filter that will only match disabled users >> 'd_filter' => '*', >> > > shouldnt filter be cn=* While I think I wrote the code so that it would be tolerant of the lack of them, LDAP filters should ALWAYS be enclosed in parentheses: (cn=*) And, I'm not sure why, but it seems the preferred method of having an LDAP "catch-all" filter is to use objectClass: (objectClass=*) -- Kind Regards, _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com From chaim.rieger at gmail.com Tue Apr 8 15:31:42 2008 From: chaim.rieger at gmail.com (Chaim Rieger) Date: Tue, 08 Apr 2008 12:31:42 -0700 Subject: [rt-users] Intergration with LDAP (need togo back to standard auth...?!?) In-Reply-To: <21044E8C915A7E43B90A1056127160F116AFBE@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org><47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AFBE@EXMAIL.protus.org> Message-ID: <47FBC81E.5040304@gmail.com> Nelson Pereira wrote: > How do I go back to standard auth.... > This is not working and im getting tight on time.... > > when you made your changes i hope you didnt make them in the default file but in the second one, blow away the secondary config file, and you should be all good. From npereira at protus.com Tue Apr 8 15:34:40 2008 From: npereira at protus.com (Nelson Pereira) Date: Tue, 8 Apr 2008 15:34:40 -0400 Subject: [rt-users] Intergration with LDAP (need togo back to standard auth...?!?) In-Reply-To: <47FBC81E.5040304@gmail.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org><47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116AFBE@EXMAIL.protus.org> <47FBC81E.5040304@gmail.com> Message-ID: <21044E8C915A7E43B90A1056127160F116AFC8@EXMAIL.protus.org> Yes I did make the changes to RT_SiteConfig.pm and not RT_Config.pm Yet, when deleting the RT_SiteConfig.pm, I still get loads of errors saying it's trying to use an external authentication mechanisme.... like this error when I try to login with root...(I can no longuer login to RT because of this)... System error error: Can't use an undefined value as an ARRAY reference at /opt/rt3/local/lib/RT/User_Vendor.pm line 56. context: ... 52: $RT::Logger->debug( (caller(0))[3], 53: "Trying External authentication"); 54: 55: # Get the prioritised list of external authentication services 56: my @auth_services = @$RT::ExternalAuthPriority; 57: 58: # For each of those services.. 59: foreach my $service (@auth_services) { 60: ... code stack: /opt/rt3/local/lib/RT/User_Vendor.pm:56 /opt/rt3/local/lib/RT/User_Vendor.pm:359 /opt/rt3/lib/RT/CurrentUser.pm:309 /opt/rt3/share/html/autohandler:247 raw error Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. www.MyFax.com -----Original Message----- From: Chaim Rieger [mailto:chaim.rieger at gmail.com] Sent: Tuesday, April 08, 2008 3:32 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP (need togo back to standard auth...?!?) Nelson Pereira wrote: > How do I go back to standard auth.... > This is not working and im getting tight on time.... > > when you made your changes i hope you didnt make them in the default file but in the second one, blow away the secondary config file, and you should be all good. From mike.peachey at jennic.com Tue Apr 8 17:06:55 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 08 Apr 2008 22:06:55 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> Message-ID: <47FBDE6F.6090603@jennic.com> Nelson Pereira wrote: > So what are you saying? > > # The filter to use to match RT-Users > 'filter' => '(cn=*)', > # The filter that will only match disabled users > 'd_filter' => '(objectClass=*)', > > > ???????????? Just how explicit do I have to be?! Are you even reading my replies? I don't know whether you're just really inexperienced in IT or just not bothering to read what I've written. I gave you the EXACT lines you need: 'filter' => '(objectClass=*)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', > How do I go back to standard auth.... I also told you the EXACT files/folders you need to remove from your RT installation to remove the ExternalAuth extension: $RTHOME/share/html/Callbacks/ExternalAuth $RTHOME/local/etc/ExternalAuth/RT_SiteConfig.pm $RTHOME/local/lib/RT/Authen/ExternalAuth.pm $RTHOME/local/lib/RT/User_Vendor.pm I'm really quite a patient person, but in this case I'm just flabbergasted. > I tried removing the > Set($ExternalSettings, > But I'm getting all sorts of errors ... Of COURSE you would! You can't just remove the config options, you need to remove the code as I told you before. -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From scarty at gmail.com Tue Apr 8 18:39:17 2008 From: scarty at gmail.com (Sharlon Carty) Date: Tue, 8 Apr 2008 18:39:17 -0400 Subject: [rt-users] About ticket # formating In-Reply-To: <21044E8C915A7E43B90A1056127160F116AE74@EXMAIL.protus.org> Message-ID: I've been wanting that too. _____ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Tuesday, April 08, 2008 7:32 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] About ticket # formating Hi, Is it possible to have the ticket number formatted as [date99xxxxxx] x being the sequence prepended with 0's? If so, how do I do this? Thanks Nelson -------------- next part -------------- An HTML attachment was scrubbed... URL: From alexsm at gmail.com Tue Apr 8 18:44:37 2008 From: alexsm at gmail.com (Alex Moura) Date: Tue, 8 Apr 2008 19:44:37 -0300 Subject: [rt-users] RTx-Shredder wipeout with incorrect links Message-ID: Greetings, When I use the web interface of rtx-shredder - in RT 3.6.5 - to wipeout tickets, the 'preview' links of the tickets that will be wiped out is pointing to the wrong URL. Maybe the RT_SiteConfig or Apache confs are incorrect, and I would like some advise. It shows this URL: https://rt.mydomain/Ticket/Display.html?id=54563 instead of this: https://rt.mydomain/rt/Ticket/Display.html?id=54563 RT_SIteConfig relevant lines: ------------------- Set($Organization , "mydomain"); Set($RTAddressRegexp , '^rt\@rt.mydomain$'); Set($CanonicalizeEmailAddressMatch , 'rt.mydomain$'); Set($CanonicalizeEmailAddressReplace , 'mydomain'); Set($CorrespondAddress , 'rt at rt.mydomain'); Set($CommentAddress , 'rt at rt.mydomain'); Set($WebBaseURL , "https://rt.mydomain"); Set($WebPath, "/rt"); ------------------- Thanks in advance, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From kae at midnighthax.com Tue Apr 8 19:06:23 2008 From: kae at midnighthax.com (Keith Edmunds) Date: Wed, 9 Apr 2008 00:06:23 +0100 Subject: [rt-users] Missing "take" link for some users In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF355@PTSOEXCHANGE.PTSOWA.ORG> References: <20080219201815.06d07df1@ws.in.tiger-computing.com> <20080408155554.513c0e71@ws.in.tiger-computing.com> <20080408190128.740251af@ws.in.tiger-computing.com> <33DEE66ED2E72346ABC638427A7701404BF355@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <20080409000623.0deffaf1@ws.in.tiger-computing.com> On Tue, 8 Apr 2008 11:05:29 -0700, asallade at PTSOWA.ORG said: > I would do a view source of the rendered HTML to see if the link is > malformed in the output. That was interesting. The failing user has this in the HTML where the ticket number goes: 2949 The user that works has (as expected): 2949 So what reasons could there be for having a malformed URL for some users? Keith From asallade at PTSOWA.ORG Tue Apr 8 19:29:28 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 8 Apr 2008 16:29:28 -0700 Subject: [rt-users] imports with the offline tool not taking resolved date Message-ID: <33DEE66ED2E72346ABC638427A7701404BF3D6@PTSOEXCHANGE.PTSOWA.ORG> The offline tool sets the Closed/Resolved timestamp to Now, instead of taking the value from the import file. Any known work arounds? Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From lgrella at acquiremedia.com Tue Apr 8 21:31:27 2008 From: lgrella at acquiremedia.com (lgrella) Date: Tue, 8 Apr 2008 18:31:27 -0700 (PDT) Subject: [rt-users] Sort attachments? Message-ID: <16577571.post@talk.nabble.com> Is there any way to sort the attachments by date (or any other way) for a ticket? Thanks -- View this message in context: http://www.nabble.com/Sort-attachments--tp16577571p16577571.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From murphy at genome.chop.edu Tue Apr 8 21:44:21 2008 From: murphy at genome.chop.edu (Kevin Murphy) Date: Tue, 08 Apr 2008 21:44:21 -0400 Subject: [rt-users] Hierarchical relationship views of tickets Message-ID: <47FC1F75.7030507@genome.chop.edu> Anybody else ever want to be able to browse tickets based on parent/child or dependency relationships? Anybody implement it? ;-) Regards, Kevin Murphy From jesse at bestpractical.com Tue Apr 8 22:20:37 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 22:20:37 -0400 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <47FC1F75.7030507@genome.chop.edu> References: <47FC1F75.7030507@genome.chop.edu> Message-ID: <4079184D-F4D1-4CD0-AEBE-95B4F34AA2D8@bestpractical.com> On Apr 8, 2008, at 9:44 PM, Kevin Murphy wrote: > Anybody else ever want to be able to browse tickets based on > parent/child or dependency relationships? Anybody implement it? ;-) > I did. http://search.cpan.org/~jesse/RT-View-Tree-1.4/ > Regards, > Kevin Murphy > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From asallade at PTSOWA.ORG Tue Apr 8 22:21:58 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 8 Apr 2008 19:21:58 -0700 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <47FC1F75.7030507@genome.chop.edu> References: <47FC1F75.7030507@genome.chop.edu> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF3DE@PTSOEXCHANGE.PTSOWA.ORG> Yes! I want to be able to view based on relationships. I haven't put it together yet, but some sort of forum style thread based view would be perfect, especially if you could expand and collapse the nodes. If we had a tree view object we could populate it. Hmm...maybe we could output in xml and then use some perl add in? Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Kevin Murphy [mailto:murphy at genome.chop.edu] Sent: Tuesday, April 08, 2008 6:44 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Hierarchical relationship views of tickets Anybody else ever want to be able to browse tickets based on parent/child or dependency relationships? Anybody implement it? ;-) Regards, Kevin Murphy _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com From asallade at PTSOWA.ORG Tue Apr 8 22:23:19 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 8 Apr 2008 19:23:19 -0700 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <4079184D-F4D1-4CD0-AEBE-95B4F34AA2D8@bestpractical.com> References: <47FC1F75.7030507@genome.chop.edu> <4079184D-F4D1-4CD0-AEBE-95B4F34AA2D8@bestpractical.com> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF3DF@PTSOEXCHANGE.PTSOWA.ORG> Jesse, is this tested on 3.6.6? My mouth is watering already! Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Jesse Vincent [mailto:jesse at bestpractical.com] Sent: Tuesday, April 08, 2008 7:21 PM To: Kevin Murphy Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Hierarchical relationship views of tickets On Apr 8, 2008, at 9:44 PM, Kevin Murphy wrote: > Anybody else ever want to be able to browse tickets based on > parent/child or dependency relationships? Anybody implement it? ;-) > I did. http://search.cpan.org/~jesse/RT-View-Tree-1.4/ > Regards, > Kevin Murphy > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From jesse at bestpractical.com Tue Apr 8 22:33:03 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 22:33:03 -0400 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF3DF@PTSOEXCHANGE.PTSOWA.ORG> References: <47FC1F75.7030507@genome.chop.edu> <4079184D-F4D1-4CD0-AEBE-95B4F34AA2D8@bestpractical.com> <33DEE66ED2E72346ABC638427A7701404BF3DF@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <38BA5277-EF91-4AAB-8F89-78C9EA00DB81@bestpractical.com> On Apr 8, 2008, at 10:23 PM, Aaron Sallade wrote: > Jesse, is this tested on 3.6.6? Nope. I haven't tried it in a couple years. Patches would be welcome if it doesn't work right. If you need us to fix it up, drop me a line and we'll get something figured out. > > > My mouth is watering already! > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > -----Original Message----- > From: Jesse Vincent [mailto:jesse at bestpractical.com] > Sent: Tuesday, April 08, 2008 7:21 PM > To: Kevin Murphy > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Hierarchical relationship views of tickets > > > On Apr 8, 2008, at 9:44 PM, Kevin Murphy wrote: >> Anybody else ever want to be able to browse tickets based on >> parent/child or dependency relationships? Anybody implement it? ;-) >> > > > I did. http://search.cpan.org/~jesse/RT-View-Tree-1.4/ > >> Regards, >> Kevin Murphy >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From asallade at PTSOWA.ORG Tue Apr 8 22:48:03 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 8 Apr 2008 19:48:03 -0700 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <38BA5277-EF91-4AAB-8F89-78C9EA00DB81@bestpractical.com> References: <47FC1F75.7030507@genome.chop.edu> <4079184D-F4D1-4CD0-AEBE-95B4F34AA2D8@bestpractical.com> <33DEE66ED2E72346ABC638427A7701404BF3DF@PTSOEXCHANGE.PTSOWA.ORG> <38BA5277-EF91-4AAB-8F89-78C9EA00DB81@bestpractical.com> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF3E0@PTSOEXCHANGE.PTSOWA.ORG> Ok, I installed and am testing on 3.6.6 - So far I have found the instead of treeing down into dependants (DependsOn) it trees down into DependedOnBy, so that it shows a tickets dependent parents, all the way up a chain, as dependent children. Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Jesse Vincent [mailto:jesse at bestpractical.com] Sent: Tuesday, April 08, 2008 7:33 PM To: Aaron Sallade Cc: Kevin Murphy; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Hierarchical relationship views of tickets On Apr 8, 2008, at 10:23 PM, Aaron Sallade wrote: > Jesse, is this tested on 3.6.6? Nope. I haven't tried it in a couple years. Patches would be welcome if it doesn't work right. If you need us to fix it up, drop me a line and we'll get something figured out. > > > My mouth is watering already! > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > -----Original Message----- > From: Jesse Vincent [mailto:jesse at bestpractical.com] > Sent: Tuesday, April 08, 2008 7:21 PM > To: Kevin Murphy > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Hierarchical relationship views of tickets > > > On Apr 8, 2008, at 9:44 PM, Kevin Murphy wrote: >> Anybody else ever want to be able to browse tickets based on >> parent/child or dependency relationships? Anybody implement it? ;-) >> > > > I did. http://search.cpan.org/~jesse/RT-View-Tree-1.4/ > >> Regards, >> Kevin Murphy >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> > From todd at chaka.net Tue Apr 8 23:47:54 2008 From: todd at chaka.net (Todd Chapman) Date: Tue, 8 Apr 2008 23:47:54 -0400 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <47FC1F75.7030507@genome.chop.edu> References: <47FC1F75.7030507@genome.chop.edu> Message-ID: <519782dc0804082047x680d32a2gb5dadaf3460dd934@mail.gmail.com> I implemented this for Asset Tracker. It could easily be ported for ticket visualization. It uses GraphViz to create a clickable image map of object relationships. On Tue, Apr 8, 2008 at 9:44 PM, Kevin Murphy wrote: > Anybody else ever want to be able to browse tickets based on > parent/child or dependency relationships? Anybody implement it? ;-) > > Regards, > Kevin Murphy > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Tue Apr 8 23:49:23 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 8 Apr 2008 23:49:23 -0400 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <519782dc0804082047x680d32a2gb5dadaf3460dd934@mail.gmail.com> References: <47FC1F75.7030507@genome.chop.edu> <519782dc0804082047x680d32a2gb5dadaf3460dd934@mail.gmail.com> Message-ID: On Apr 8, 2008, at 11:47 PM, Todd Chapman wrote: > I implemented this for Asset Tracker. It could easily be ported for > ticket visualization. It uses GraphViz to create a clickable image > map of object relationships. > Oh. _That_ we have in 3.8 :) > On Tue, Apr 8, 2008 at 9:44 PM, Kevin Murphy > wrote: > Anybody else ever want to be able to browse tickets based on > parent/child or dependency relationships? Anybody implement it? ;-) > > Regards, > Kevin Murphy > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From asallade at PTSOWA.ORG Wed Apr 9 01:36:19 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Tue, 8 Apr 2008 22:36:19 -0700 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <519782dc0804082047x680d32a2gb5dadaf3460dd934@mail.gmail.com> References: <47FC1F75.7030507@genome.chop.edu> <519782dc0804082047x680d32a2gb5dadaf3460dd934@mail.gmail.com> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF3E2@PTSOEXCHANGE.PTSOWA.ORG> Point me in the right direction for the port and I'll take a look :-) Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org ________________________________ From: Todd Chapman [mailto:todd at chaka.net] Sent: Tuesday, April 08, 2008 8:48 PM To: Kevin Murphy Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Hierarchical relationship views of tickets I implemented this for Asset Tracker. It could easily be ported for ticket visualization. It uses GraphViz to create a clickable image map of object relationships. On Tue, Apr 8, 2008 at 9:44 PM, Kevin Murphy wrote: Anybody else ever want to be able to browse tickets based on parent/child or dependency relationships? Anybody implement it? ;-) Regards, Kevin Murphy _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastia at l00-bugdead-prods.de Wed Apr 9 06:37:18 2008 From: sebastia at l00-bugdead-prods.de (Sebastian Reitenbach) Date: Wed, 09 Apr 2008 12:37:18 +0200 Subject: [rt-users] problem with LDAP authentication after upgrading Message-ID: <20080409103718.67C8ED320C@smtp.l00-bugdead-prods.de> hi, I wanted to upgrade rt3 from version 3.6.1 to 3.6.6. Therefore I installed a fresh version on a new host, following the installation procedure described in the README file. I ran configure with the following parameters: ./configure --prefix=/opt/rt3 --with-web-user=wwwrun --with-db-type=Pg --with-db-dba=postgres --with-db-database=rt3 --with-db-host=127.0.0.1 --with-apachectl=/usr/sbin/apache2ctl I copied the old RT_SiteConfig.pm file to the new host, however, when I try to login, it is not possible, and I see the following in the logs: [Wed Apr 9 10:08:21 2008] [error]: FAILED LOGIN for sebastia from 10.0.0.9 (/opt/rt3/share/html/autohandler:251) Stack trace: HTML::Mason::Commands::__ANON__() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm:135 HTML::Mason::Component::run() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1273 (eval)() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1268 HTML::Mason::Request::comp() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:467 (eval)() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:467 (eval)() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:419 HTML::Mason::Request::exec() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:168 HTML::Mason::Request::ApacheHandler::exec() called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm:825 HTML::Mason::ApacheHandler::handle_request() called at /opt/rt3/bin/webmux.pl:125 (eval)() called at /opt/rt3/bin/webmux.pl:125 RT::Mason::handler() called at -e:0 (eval)() called at -e:0 My RT_SiteConfig.pm has the following contents: Set( $rtname, 'l00-bugdead-prods.de.de'); Set($AuthMethods, ['LDAP', 'Internal']); Set($LdapExternalAuth, 1); Set($LdapExternalInfo, 1); Set($LdapAutoCreateNonLdapUsers, 1); Set($LdapAttrMap, {'Name' => 'uid', 'EmailAddress' => 'mail', 'Organization' => 'o', 'RealName' => 'cn', 'ExternalContactInfoId' => 'dn', 'ExternalAuthId' => 'uid', 'Gecos' => 'uid', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'ou', 'Address2' => 'physicalDeliveryOfficeName'} ); Set($LdapRTAttrMatchList, ['Name', 'ExternalContactInfoId', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2'] ); Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', 'mailAlternateAddress'] ); Set($LdapEmailAttrMatchPrefix, ['', 'smtp:', 'SMTP:'] ); Set($LdapServer, '10.0.0.11'); Set($LdapBase, 'ou=People,dc=l00-bugdead-prods'); Set($LdapFilter, '(objectclass=posixAccount)'); Set($LdapDisableFilter, '(employmentStatus=Terminated)'); Set($LdapTLS, 1); Set($LdapSSLVersion, 3); 1; Set($WebPort , 443);# + ($< * 7274) % 32766 + ($< && 1024)); Set($WebBaseURL , "https://tracker.ds9"); Set($WebURL , $WebBaseURL . $WebPath . "/"); Set($CorrespondAddress , 'ithelp at l00-bugdead-prods.de.de'); Set($CommentAddress , 'ithelp at l00-bugdead-prods.de.de'); Set($Organization , "l00-bugdead-prods.de.de"); Set($RTAddressRegexp , '^rt\@l00-bugdead-prods.de.de$'); Set($AutoCreate, {Privileged => 1}); This configuration works well on the host with the rt3 3.6.1 installed, but not on the host with the new installation. They are both intended to authenticate against the same ldap server. I created a new database and loaded the dump from the old version. As far as I can see, there is no need to upgrade the database schema between these versions. Also psql -h localhost -U postgres rt3 works well on the command line. Do I can enable more debugging output for the LDAP authentication part? Or does anybody has an idea what I am still missing/might have made wrong? kind regards From mike.peachey at jennic.com Wed Apr 9 07:32:31 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 09 Apr 2008 12:32:31 +0100 Subject: [rt-users] problem with LDAP authentication after upgrading In-Reply-To: <20080409103718.67C8ED320C@smtp.l00-bugdead-prods.de> References: <20080409103718.67C8ED320C@smtp.l00-bugdead-prods.de> Message-ID: <47FCA94F.600@jennic.com> Sebastian Reitenbach wrote: > I installed a fresh version on a new host, > I ran configure > I copied the old RT_SiteConfig.pm file to the new host > however, when I try to login, it is not possible, and I see the following in the logs: You don't say whether you have actually applied the User_Local.pm overlay and the relevant Auth Callback that you originally installed to get LDAP working in the first place. I would start there. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From npereira at protus.com Wed Apr 9 07:44:25 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 07:44:25 -0400 Subject: [rt-users] About ticket # formating In-Reply-To: References: <21044E8C915A7E43B90A1056127160F116AE74@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116B021@EXMAIL.protus.org> Have you found a way to do it? Regards, Nelson Pereira ________________________________ From: Sharlon Carty [mailto:scarty at gmail.com] Sent: Tuesday, April 08, 2008 6:39 PM To: Nelson Pereira; rt-users at lists.bestpractical.com Subject: RE: [rt-users] About ticket # formating I've been wanting that too. ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Tuesday, April 08, 2008 7:32 AM To: rt-users at lists.bestpractical.com Subject: [rt-users] About ticket # formating Hi, Is it possible to have the ticket number formatted as [date99xxxxxx] x being the sequence prepended with 0's? If so, how do I do this? Thanks Nelson -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Wed Apr 9 08:06:19 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 08:06:19 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FBDE6F.6090603@jennic.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <47FBDE6F.6090603@jennic.com> Message-ID: <21044E8C915A7E43B90A1056127160F116B023@EXMAIL.protus.org> I'm sorry Mike, I guess I did not read your email correctly. Truly sorry. I guess I was impatient to get this working right and just got frustrated... Now this morning, I'm more relaxed, enjoying a coffee... So I changed what you suggested and when login in, I get this error: System error error: Can't use an undefined value as an ARRAY reference at /opt/rt3/local/lib/RT/User_Vendor.pm line 56. context: ... 52: $RT::Logger->debug( (caller(0))[3], 53: "Trying External authentication"); 54: 55: # Get the prioritised list of external authentication services 56: my @auth_services = @$RT::ExternalAuthPriority; 57: 58: # For each of those services.. 59: foreach my $service (@auth_services) { 60: ... code stack: /opt/rt3/local/lib/RT/User_Vendor.pm:56 /opt/rt3/local/lib/RT/User_Vendor.pm:359 /opt/rt3/share/html/Callbacks/ExternalAuth/autohandler/Auth:30 /opt/rt3/share/html/Elements/Callback:85 /opt/rt3/share/html/autohandler:240 raw error Here is the RT_SiteConfig.pm : Set($AuthMethods, ['LDAP', 'Internal']); Set($LdapExternalAuth, 1); Set($LdapExternalInfo, 1); Set($LdapAutoCreateNonLdapUsers, 1); Set($AutoCreate, {Privileged => 1}); Set($ExternalSettings, { 'My_LDAP' => { 'type' => 'ldap', 'auth' => 1, 'info' => 1, 'server' => 'p02.protus.org', 'user' => 'ldapintegration', 'pass' => '******', 'base' => 'CN=Users,DC=protus,DC=org', 'filter' => '(objectClass=*)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', 'tls' => 0, 'net_ldap_args' => [ version => 3 ], 'group' => '', 'group_attr' => '', 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2' ], 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Organization' => 'physicalDeliveryOfficeName', 'RealName' => 'cn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos' => 'sAMAccountName', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } } } ); 1; Regards, Nelson Pereira -----Original Message----- From: mpeac at jennic.com [mailto:mpeac at jennic.com] On Behalf Of Mike Peachey Sent: Tuesday, April 08, 2008 5:07 PM To: Nelson Pereira Cc: Chaim Rieger; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP Nelson Pereira wrote: > So what are you saying? > > # The filter to use to match RT-Users > 'filter' => '(cn=*)', > # The filter that will only match disabled users > 'd_filter' => '(objectClass=*)', > > > ???????????? Just how explicit do I have to be?! Are you even reading my replies? I don't know whether you're just really inexperienced in IT or just not bothering to read what I've written. I gave you the EXACT lines you need: 'filter' => '(objectClass=*)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', > How do I go back to standard auth.... I also told you the EXACT files/folders you need to remove from your RT installation to remove the ExternalAuth extension: $RTHOME/share/html/Callbacks/ExternalAuth $RTHOME/local/etc/ExternalAuth/RT_SiteConfig.pm $RTHOME/local/lib/RT/Authen/ExternalAuth.pm $RTHOME/local/lib/RT/User_Vendor.pm I'm really quite a patient person, but in this case I'm just flabbergasted. > I tried removing the > Set($ExternalSettings, > But I'm getting all sorts of errors ... Of COURSE you would! You can't just remove the config options, you need to remove the code as I told you before. -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From todd at chaka.net Wed Apr 9 08:51:27 2008 From: todd at chaka.net (Todd Chapman) Date: Wed, 9 Apr 2008 08:51:27 -0400 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF3E2@PTSOEXCHANGE.PTSOWA.ORG> References: <47FC1F75.7030507@genome.chop.edu> <519782dc0804082047x680d32a2gb5dadaf3460dd934@mail.gmail.com> <33DEE66ED2E72346ABC638427A7701404BF3E2@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <519782dc0804090551hc0a49f5ued6569e456011909@mail.gmail.com> http://code.google.com/p/asset-tracker-4rt/source/browse/ATx-Graph On Wed, Apr 9, 2008 at 1:36 AM, Aaron Sallade wrote: > Point me in the right direction for the port and I'll take a look J > > > > Aaron Sallade' > Application Manager > PTSO of Washington > *"Shared Technology for Community Health"** > *(206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > ------------------------------ > > *From:* Todd Chapman [mailto:todd at chaka.net] > *Sent:* Tuesday, April 08, 2008 8:48 PM > *To:* Kevin Murphy > *Cc:* rt-users at lists.bestpractical.com > *Subject:* Re: [rt-users] Hierarchical relationship views of tickets > > > > I implemented this for Asset Tracker. It could easily be ported for ticket > visualization. It uses GraphViz to create a clickable image map of object > relationships. > > On Tue, Apr 8, 2008 at 9:44 PM, Kevin Murphy > wrote: > > Anybody else ever want to be able to browse tickets based on > parent/child or dependency relationships? Anybody implement it? ;-) > > Regards, > Kevin Murphy > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sturner at MIT.EDU Wed Apr 9 09:25:19 2008 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 09 Apr 2008 09:25:19 -0400 Subject: [rt-users] imports with the offline tool not taking resolved date In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF3D6@PTSOEXCHANGE.PTSOWA .ORG> References: <33DEE66ED2E72346ABC638427A7701404BF3D6@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <6.2.3.4.2.20080409092506.04a226e0@po14.mit.edu> At Tuesday 4/8/2008 07:29 PM, Aaron Sallade wrote: >The offline tool sets the Closed/Resolved timestamp to Now, instead >of taking the value from the import file. Any known work arounds? > This is happening for tickets marked 'resolved' in the import file, right? It appears that RT will set the resolved date to Now when it sets the status to resolved, overriding any value you specify in the file. We came up with a kludgey workaround, but it's only good if a) this is a one-time load process, not a regular event, and b) you don't use the ticket Starts date for anything. Anyway, what we did is: - In the upload file, put the 'resolved' date in the Starts field instead of Resolved. - For each queue you are loading, create the following scrip: - Condition: On Resolve - Action: User Defined - Template: Global template: Blank In the scrip's "Custom action preparation code:" box, put: return 0 unless $self->TicketObj->Starts; In the scrip's "Custom action cleanup code:" box, put: $self->TicketObj->SetResolved($self->TicketObj->Starts); $self->TicketObj->SetStarts(' '); So when these 'resolved' tickets are loaded, RT will first create then resolve them. When it resolves them, the scrip will cause it to immediately update the resolved date to what you put in the Starts date. It will then clear out the Starts date. As I say, this really is only useful for a one-time load, for a queue that isn't "live" yet. You wouldn't want this scrip to be active when you are working with tickets day-to-day. Steve > Stephen Turner Senior Programmer/Analyst - SAIS MIT Information Services and Technology (IS&T) From mike.peachey at jennic.com Wed Apr 9 10:08:39 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 09 Apr 2008 15:08:39 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116B023@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <47FBDE6F.6090603@jennic.com> <21044E8C915A7E43B90A1056127160F116B023@EXMAIL.protus.org> Message-ID: <47FCCDE7.1080907@jennic.com> Nelson Pereira wrote: > I'm sorry Mike, I guess I did not read your email correctly. Truly > sorry. > I guess I was impatient to get this working right and just got > frustrated... > Now this morning, I'm more relaxed, enjoying a coffee... > > So I changed what you suggested and when login in, I get this error: > > System error > error: Can't use an undefined value as an ARRAY reference at > /opt/rt3/local/lib/RT/User_Vendor.pm line 56. > > context: ... > 52: $RT::Logger->debug( (caller(0))[3], > 53: "Trying External authentication"); > 54: > 55: # Get the prioritised list of external authentication services > 56: my @auth_services = @$RT::ExternalAuthPriority; > 57: > 58: # For each of those services.. > 59: foreach my $service (@auth_services) { > 60: > > Here is the RT_SiteConfig.pm : > > Set($AuthMethods, ['LDAP', 'Internal']); > Set($LdapExternalAuth, 1); > Set($LdapExternalInfo, 1); > Set($LdapAutoCreateNonLdapUsers, 1); > > Regards, > > Nelson Pereira > You're mixing and matching config settings. You have got the above config settings which are for Jim Meyer's User_Local overlay, but the settings needed for RT::Authen::ExternalAuth are not the same. This config setting: Set($AuthMethods, ['LDAP', 'Internal']); Has been replaced by these: Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); This is because Info and Auth are treated as separate services, even though you plan to use the same service for both, and now Internal authentication is ALWAYS checked and ALWAYS checked last so the list you specify cannot contain Internal. Because of this, $LdapExternalAuth and $LdapExternalInfo are both irrelevant and not used as well as LdapAutoCreateNonLdapUsers as they have all been replaced. Double check what you have against the RT_SiteConfig.pm that comes with RT::Authen::ExternalAuth. If it's related to LDAP and is NOT in the sample config file I provided, then it shouldn't be in your config. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From npereira at protus.com Wed Apr 9 11:16:34 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 11:16:34 -0400 Subject: [rt-users] Intergration with LDAP In-Reply-To: <47FCCDE7.1080907@jennic.com> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <47FBDE6F.6090603@jennic.com> <21044E8C915A7E43B90A1056127160F116B023@EXMAIL.protus.org> <47FCCDE7.1080907@jennic.com> Message-ID: <21044E8C915A7E43B90A1056127160F116B0B6@EXMAIL.protus.org> Got it working.... Thanks Mike... A question I have, can I deleted the section about the My_MySQL? Or does the script need that section also? And the 2 settings for groups, how does this work? # Does authentication depend on group membership? What group name? 'group' => '', # What is the attribute for the group object that determines membership? 'group_attr' => '', What should I put for those 2 settings? Regards, Nelson Pereira -----Original Message----- From: Mike Peachey [mailto:mike.peachey at jennic.com] Sent: Wednesday, April 09, 2008 10:09 AM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Intergration with LDAP Nelson Pereira wrote: > I'm sorry Mike, I guess I did not read your email correctly. Truly > sorry. > I guess I was impatient to get this working right and just got > frustrated... > Now this morning, I'm more relaxed, enjoying a coffee... > > So I changed what you suggested and when login in, I get this error: > > System error > error: Can't use an undefined value as an ARRAY reference at > /opt/rt3/local/lib/RT/User_Vendor.pm line 56. > > context: ... > 52: $RT::Logger->debug( (caller(0))[3], > 53: "Trying External authentication"); > 54: > 55: # Get the prioritised list of external authentication services > 56: my @auth_services = @$RT::ExternalAuthPriority; > 57: > 58: # For each of those services.. > 59: foreach my $service (@auth_services) { > 60: > > Here is the RT_SiteConfig.pm : > > Set($AuthMethods, ['LDAP', 'Internal']); > Set($LdapExternalAuth, 1); > Set($LdapExternalInfo, 1); > Set($LdapAutoCreateNonLdapUsers, 1); > > Regards, > > Nelson Pereira > You're mixing and matching config settings. You have got the above config settings which are for Jim Meyer's User_Local overlay, but the settings needed for RT::Authen::ExternalAuth are not the same. This config setting: Set($AuthMethods, ['LDAP', 'Internal']); Has been replaced by these: Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); This is because Info and Auth are treated as separate services, even though you plan to use the same service for both, and now Internal authentication is ALWAYS checked and ALWAYS checked last so the list you specify cannot contain Internal. Because of this, $LdapExternalAuth and $LdapExternalInfo are both irrelevant and not used as well as LdapAutoCreateNonLdapUsers as they have all been replaced. Double check what you have against the RT_SiteConfig.pm that comes with RT::Authen::ExternalAuth. If it's related to LDAP and is NOT in the sample config file I provided, then it shouldn't be in your config. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Wed Apr 9 11:20:11 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 09 Apr 2008 16:20:11 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116B0B6@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <47FBDE6F.6090603@jennic.com> <21044E8C915A7E43B90A1056127160F116B023@EXMAIL.protus.org> <47FCCDE7.1080907@jennic.com> <21044E8C915A7E43B90A1056127160F116B0B6@EXMAIL.protus.org> Message-ID: <47FCDEAB.9020901@jennic.com> Nelson Pereira wrote: > Got it working.... Thanks Mike... > > A question I have, can I deleted the section about the My_MySQL? Or does > the script need that section also? As per the long e-mail last night, since you are not using an External MySQL-based Authentication service, that example config is irrelevant and it should be removed. > > And the 2 settings for groups, how does this work? > > # Does authentication depend on group membership? What group name? > 'group' => '', > # What is the attribute for the group object that determines membership? > 'group_attr' => '', > > > What should I put for those 2 settings? As per the long e-mail last night, if you are restricting access to RT to members of a specific group that's in your LDAP server, then you need to put the group details in there. If you're not doing that (and you are almost certainly not) then you must remove both of those options from the config. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Wed Apr 9 11:21:26 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 09 Apr 2008 16:21:26 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116B0B6@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <47FBDE6F.6090603@jennic.com> <21044E8C915A7E43B90A1056127160F116B023@EXMAIL.protus.org> <47FCCDE7.1080907@jennic.com> <21044E8C915A7E43B90A1056127160F116B0B6@EXMAIL.protus.org> Message-ID: <47FCDEF6.5030204@jennic.com> Nelson Pereira wrote: > Got it working.... Thanks Mike... > I am pleased it's working for you. By the way, you may wish to install v0.05 over the top because a new version was uploaded to CPAN yesterday. http://search.cpan.org/CPAN/authors/id/Z/ZO/ZORDRAK/RT-Authen-ExternalAuth-0.05.tar.gz -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Wed Apr 9 11:46:14 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 09 Apr 2008 16:46:14 +0100 Subject: [rt-users] Intergration with LDAP In-Reply-To: <21044E8C915A7E43B90A1056127160F116B0C7@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116AF3A@EXMAIL.protus.org> <47FBA9A6.6010000@gmail.com> <21044E8C915A7E43B90A1056127160F116AF52@EXMAIL.protus.org> <47FBAFF1.4080202@gmail.com> <47FBC4CB.5000404@jennic.com> <21044E8C915A7E43B90A1056127160F116AFAD@EXMAIL.protus.org> <47FBDE6F.6090603@jennic.com> <21044E8C915A7E43B90A1056127160F116B023@EXMAIL.protus.org> <47FCCDE7.1080907@jennic.com> <21044E8C915A7E43B90A1056127160F116B0B6@EXMAIL.protus.org> <47FCDEF6.5030204@jennic.com> <21044E8C915A7E43B90A1056127160F116B0C7@EXMAIL.protus.org> Message-ID: <47FCE4C6.8090207@jennic.com> Nelson Pereira wrote: > Will do... > But since I used CPAN install can I simply do the same? > Or extract the tar and copy over the files? If it's been installed via CPAN then just do the exact same thing again and it will overwrite automatically. Alternatively you can follow the manual download/install instructions from http://wiki.bestpractical.com/view/ExternalAuth But you should never have to extract the files and manually copy them over one-by-one. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From gleduc at mail.sdsu.edu Wed Apr 9 11:47:42 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Wed, 09 Apr 2008 08:47:42 -0700 Subject: [rt-users] Sort attachments? In-Reply-To: <16577571.post@talk.nabble.com> References: <16577571.post@talk.nabble.com> Message-ID: <6.2.1.2.2.20080409084523.025991a0@mail.sdsu.edu> On my 3.6.3 system, it appears that they do appear in reverse chronological order when the ticket is displayed. Do yours just display in some random order? At 06:31 PM 4/8/2008, lgrella wrote: >Is there any way to sort the attachments by date (or any other way) for a >ticket? > >Thanks -- Gene LeDuc, GSEC Security Analyst San Diego State University From npereira at protus.com Wed Apr 9 11:50:10 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 11:50:10 -0400 Subject: [rt-users] Question about sendmail aliases and crontab for fetchmail Message-ID: <21044E8C915A7E43B90A1056127160F116B0CC@EXMAIL.protus.org> I created a rt3 user in my RHEL5 box for rt. It has a crontab like this: * * * * * /usr/bin/fetchmail -f /home/rt3/.fetchmailrc -a -m "/etc/smrsh/rt-mailgate --queue UnAssigned --action correspond --url http://10.98.5.253/rt3" > /dev/null The .fetcmail has: set logfile=/opt/rt3/var/fetchmail poll exmail.protus.org proto pop3: #username otrs password ****** mda "/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue General --action correspond" #username otrs-ns password ****** mda "/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue General --action comment" username nssupport password ****** mda "/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue UnAssigned --action correspond" username nssupport-comment password ****** mda "/etc/smrsh/rt-mailgate --url http://10.98.5.253/rt3 --queue UnAssigned --action comment" Since I use a crontab to fetch the emails from a POP box, can I delete the string in the sendmail aliases file? Or is it needed... The way I look at it, the cron fetches the emails and drops them in the UnAssigned queue... So the Aliases is irrelevant in this case right? And what is the use of a -comment email address... what does it do? Thanks. Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From npereira at protus.com Wed Apr 9 12:07:51 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 12:07:51 -0400 Subject: [rt-users] question about watchers Message-ID: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> Not sure if this is the option I want, but here is what I need. I have all emails from a specific Email address going to an UnAssigned queue. I need to set this up so that when I ticket is created in this queue, to send a notification to a group of privileged users. How could I do this? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From KFCrocker at lbl.gov Wed Apr 9 12:10:16 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 09:10:16 -0700 Subject: [rt-users] Sort attachments? In-Reply-To: <6.2.1.2.2.20080409084523.025991a0@mail.sdsu.edu> References: <16577571.post@talk.nabble.com> <6.2.1.2.2.20080409084523.025991a0@mail.sdsu.edu> Message-ID: <47FCEA68.6090601@lbl.gov> Gene, Igrella, You can change the order to oldest first or oldest last using this setting in RT_SiteConfig.pm: Set($OldestTransactionsFirst, '0'); turned off (meaning oldest is at the bottom of scroll. A '1' would put the most recent email (with attachements) and/or comments at the bottom. Kenn LBNL On 4/9/2008 8:47 AM, Gene LeDuc wrote: > On my 3.6.3 system, it appears that they do appear in reverse chronological > order when the ticket is displayed. Do yours just display in some random > order? > > At 06:31 PM 4/8/2008, lgrella wrote: >> Is there any way to sort the attachments by date (or any other way) for a >> ticket? >> >> Thanks > > From KFCrocker at lbl.gov Wed Apr 9 12:15:15 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 09:15:15 -0700 Subject: [rt-users] Hierarchical relationship views of tickets In-Reply-To: References: <47FC1F75.7030507@genome.chop.edu> <519782dc0804082047x680d32a2gb5dadaf3460dd934@mail.gmail.com> Message-ID: <47FCEB93.70002@lbl.gov> Todd, Jesse, Is this something on the lines of a gant chart? When I look at a ticket now, I see ALL the dependencies already in the links. I have a query I use to list all the tickets that are related, but it is just a query I download to excel. So, what, exactly, are we talking about here? Kenn LBNL On 4/8/2008 8:49 PM, Jesse Vincent wrote: > > On Apr 8, 2008, at 11:47 PM, Todd Chapman wrote: >> I implemented this for Asset Tracker. It could easily be ported for >> ticket visualization. It uses GraphViz to create a clickable image map >> of object relationships. >> > > Oh. _That_ we have in 3.8 :) > > >> On Tue, Apr 8, 2008 at 9:44 PM, Kevin Murphy >> wrote: >> Anybody else ever want to be able to browse tickets based on >> parent/child or dependency relationships? Anybody implement it? ;-) >> >> Regards, >> Kevin Murphy >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com >> >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Wed Apr 9 12:23:07 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 09:23:07 -0700 Subject: [rt-users] imports with the offline tool not taking resolved date In-Reply-To: <6.2.3.4.2.20080409092506.04a226e0@po14.mit.edu> References: <33DEE66ED2E72346ABC638427A7701404BF3D6@PTSOEXCHANGE.PTSOWA.ORG> <6.2.3.4.2.20080409092506.04a226e0@po14.mit.edu> Message-ID: <47FCED6B.5090209@lbl.gov> Stephen, Aaron, You could also just import them into a special queue (or have some other way of identifying them), then run a bulk update on them. After that, you could put them wherever you want. That might be easier than creating, testing, and then disableiing a scrip. Kenn LBNL On 4/9/2008 6:25 AM, Stephen Turner wrote: > At Tuesday 4/8/2008 07:29 PM, Aaron Sallade wrote: >> The offline tool sets the Closed/Resolved timestamp to Now, instead >> of taking the value from the import file. Any known work arounds? >> > This is happening for tickets marked 'resolved' in the import file, > right? It appears that RT will set the resolved date to Now when it > sets the status to resolved, overriding any value you specify in the file. > > We came up with a kludgey workaround, but it's only good if a) this > is a one-time load process, not a regular event, and b) you don't use > the ticket Starts date for anything. > > Anyway, what we did is: > > - In the upload file, put the 'resolved' date in the Starts field > instead of Resolved. > > - For each queue you are loading, create the following scrip: > > - Condition: On Resolve > - Action: User Defined > - Template: Global template: Blank > > In the scrip's "Custom action preparation code:" box, put: > > return 0 unless $self->TicketObj->Starts; > > In the scrip's "Custom action cleanup code:" box, put: > > $self->TicketObj->SetResolved($self->TicketObj->Starts); > $self->TicketObj->SetStarts(' '); > > So when these 'resolved' tickets are loaded, RT will first create then > resolve them. When it resolves them, the scrip will cause it to immediately > update the resolved date to what you put in the Starts date. It will then > clear out the Starts date. > > As I say, this really is only useful for a one-time load, for a queue > that isn't "live" yet. You wouldn't want this scrip to be active when > you are working with tickets day-to-day. > > Steve > > > Stephen Turner > Senior Programmer/Analyst - SAIS > MIT Information Services and Technology (IS&T) > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From asallade at PTSOWA.ORG Wed Apr 9 12:29:55 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Wed, 9 Apr 2008 09:29:55 -0700 Subject: [rt-users] imports with the offline tool not taking resolved date In-Reply-To: <47FCED6B.5090209@lbl.gov> References: <33DEE66ED2E72346ABC638427A7701404BF3D6@PTSOEXCHANGE.PTSOWA.ORG> <6.2.3.4.2.20080409092506.04a226e0@po14.mit.edu> <47FCED6B.5090209@lbl.gov> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF402@PTSOEXCHANGE.PTSOWA.ORG> I hacked the CreateTicket code. At the end of the subroutine it updates dependencies for any links specified in the import template, then sets the Status a second time. It does this because there may be unresolved dependencies. Since none of the tickets we are importing have dependencies, I commented out the second Status update in that section. We now have Status = resolved and a Resolved date that is correct (not == Now()) Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Wednesday, April 09, 2008 9:23 AM To: Stephen Turner Cc: Aaron Sallade; rt-users at lists.bestpractical.com Subject: Re: [rt-users] imports with the offline tool not taking resolved date Stephen, Aaron, You could also just import them into a special queue (or have some other way of identifying them), then run a bulk update on them. After that, you could put them wherever you want. That might be easier than creating, testing, and then disableiing a scrip. Kenn LBNL On 4/9/2008 6:25 AM, Stephen Turner wrote: > At Tuesday 4/8/2008 07:29 PM, Aaron Sallade wrote: >> The offline tool sets the Closed/Resolved timestamp to Now, instead >> of taking the value from the import file. Any known work arounds? >> > This is happening for tickets marked 'resolved' in the import file, > right? It appears that RT will set the resolved date to Now when it > sets the status to resolved, overriding any value you specify in the file. > > We came up with a kludgey workaround, but it's only good if a) this > is a one-time load process, not a regular event, and b) you don't use > the ticket Starts date for anything. > > Anyway, what we did is: > > - In the upload file, put the 'resolved' date in the Starts field > instead of Resolved. > > - For each queue you are loading, create the following scrip: > > - Condition: On Resolve > - Action: User Defined > - Template: Global template: Blank > > In the scrip's "Custom action preparation code:" box, put: > > return 0 unless $self->TicketObj->Starts; > > In the scrip's "Custom action cleanup code:" box, put: > > $self->TicketObj->SetResolved($self->TicketObj->Starts); > $self->TicketObj->SetStarts(' '); > > So when these 'resolved' tickets are loaded, RT will first create then > resolve them. When it resolves them, the scrip will cause it to immediately > update the resolved date to what you put in the Starts date. It will then > clear out the Starts date. > > As I say, this really is only useful for a one-time load, for a queue > that isn't "live" yet. You wouldn't want this scrip to be active when > you are working with tickets day-to-day. > > Steve > > > Stephen Turner > Senior Programmer/Analyst - SAIS > MIT Information Services and Technology (IS&T) > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From KFCrocker at lbl.gov Wed Apr 9 12:35:00 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 09:35:00 -0700 Subject: [rt-users] question about watchers In-Reply-To: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> Message-ID: <47FCF034.3060301@lbl.gov> Nelson, What's the difference between dumping all tickets from a specific email address to an Unassigned (whatever that means) Queue to putting them in an assigned Queue? As to setting up notifications, that's should be relatively easy. There are plenty of example in RT: Essentials. Kenn LBNL On 4/9/2008 9:07 AM, Nelson Pereira wrote: > Not sure if this is the option I want, but here is what I need. > > > > I have all emails from a specific Email address going to an UnAssigned > queue. > > I need to set this up so that when I ticket is created in this queue, to > send a notification to a group of privileged users. > > How could I do this? > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > www.MyFax.com > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From npereira at protus.com Wed Apr 9 12:46:20 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 12:46:20 -0400 Subject: [rt-users] question about watchers In-Reply-To: <47FCF034.3060301@lbl.gov> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> Message-ID: <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> Well, the way I'm thinking is we will only have 2 emails. 1 for approvals (this queue "Approval" is assigned to the Network Services Manager and he approves work to be done, but I'm not there yet...) 1 for general support Users or Agents send email to the general support email. This get's put in the UnAssigned Queue. All admins should get an email saying there is an new ticket created in the UnAssigned queue. An admin will assign the ticket to a specific queue. The admin/s in charge of that specific queue, will get an email that he/they have a ticket to work on. Is this the right way to do this or is there a simpler way...? We have to segregate queues per sections, and we have about 6 sections, but I don't want 1 email per section... Regards, Nelson Pereira -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Wednesday, April 09, 2008 12:35 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] question about watchers Nelson, What's the difference between dumping all tickets from a specific email address to an Unassigned (whatever that means) Queue to putting them in an assigned Queue? As to setting up notifications, that's should be relatively easy. There are plenty of example in RT: Essentials. Kenn LBNL On 4/9/2008 9:07 AM, Nelson Pereira wrote: > Not sure if this is the option I want, but here is what I need. > > > > I have all emails from a specific Email address going to an UnAssigned > queue. > > I need to set this up so that when I ticket is created in this queue, to > send a notification to a group of privileged users. > > How could I do this? > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > www.MyFax.com > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From asallade at PTSOWA.ORG Wed Apr 9 12:58:43 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Wed, 9 Apr 2008 09:58:43 -0700 Subject: [rt-users] question about watchers In-Reply-To: <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org><47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> Nelson, I'm not sure how well it will work in your organization, but you may want to structure things based more on a Service Delivery and Support model, ala ITIL - Make a Queue named "Helpdesk" and have that be the default queue for all tickets. By default they are assigned to "nobody". So you can make a saved search on the homepage that views all Helpdesk tickets assigned to nobody. Your "Helpdesk Staff" (whomever you decide should triage tickets) can then go through, resolve any items that they can and set the appropriate queue and priority on the remaining items. Our queues are Helpdesk, Systems, Applications, and Projects. Set the appropriate watchers on each queue. If you don't have a dedicated Helpdesk or First Call person, then use your emergency on call rotation to determine who is responsible for triaging new tickets. I have attached a copy of the process that my team uses for Helpdesk, feel free to plagiarize it. Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Nelson Pereira [mailto:npereira at protus.com] Sent: Wednesday, April 09, 2008 9:46 AM To: Kenneth Crocker Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] question about watchers Well, the way I'm thinking is we will only have 2 emails. 1 for approvals (this queue "Approval" is assigned to the Network Services Manager and he approves work to be done, but I'm not there yet...) 1 for general support Users or Agents send email to the general support email. This get's put in the UnAssigned Queue. All admins should get an email saying there is an new ticket created in the UnAssigned queue. An admin will assign the ticket to a specific queue. The admin/s in charge of that specific queue, will get an email that he/they have a ticket to work on. Is this the right way to do this or is there a simpler way...? We have to segregate queues per sections, and we have about 6 sections, but I don't want 1 email per section... Regards, Nelson Pereira -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Wednesday, April 09, 2008 12:35 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] question about watchers Nelson, What's the difference between dumping all tickets from a specific email address to an Unassigned (whatever that means) Queue to putting them in an assigned Queue? As to setting up notifications, that's should be relatively easy. There are plenty of example in RT: Essentials. Kenn LBNL On 4/9/2008 9:07 AM, Nelson Pereira wrote: > Not sure if this is the option I want, but here is what I need. > > > > I have all emails from a specific Email address going to an UnAssigned > queue. > > I need to set this up so that when I ticket is created in this queue, to > send a notification to a group of privileged users. > > How could I do this? > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > www.MyFax.com > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- A non-text attachment was scrubbed... Name: RequestManagement.gif Type: image/gif Size: 55855 bytes Desc: RequestManagement.gif URL: From web at umich.edu Wed Apr 9 13:08:17 2008 From: web at umich.edu (William Bulley) Date: Wed, 9 Apr 2008 13:08:17 -0400 Subject: [rt-users] logging out of different browsers... Message-ID: <20080409170817.GL44522@dell1> I am seeing different (odd) behaviour when I log out of RT 3.6.5 using FireFox and Opera. With FireFox 2.0.0.3, once logged into RT, when I click on the "Logout" button, FireFox actually logs me out of RT and I see the login screen (with the two username and password boxes). With Opera 9.2, when I do the same thing, I get a brief screen including a string telling me that I logged out and a hotlink stating that I can log in again if I want to, and then -- BAM!!! I am immediately back to the previous session as though I had not logged out at all! In fact, short of exiting my Opera session, there is no way I have found to actually log out of RT 3.6.5 using Opera 9.2 -- what is going on here? Regards, web... -- William Bulley Email: web at umich.edu From npereira at protus.com Wed Apr 9 13:20:04 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 13:20:04 -0400 Subject: [rt-users] [BULK] RE: question about watchers In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org><47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> Thanks Aaron, but this would not work for us as we don't have dedicated staff to triage the tickets... Every net admin in network services has the ability to put tickets in specific queues based on the ticket itself. Most tickets would be opened from them self and put in specific queues, but in some cases, second line will opened tickets via email as they wont have access to RT directly, only Net Admins will. Regards, Nelson Pereira -----Original Message----- From: Aaron Sallade [mailto:asallade at PTSOWA.ORG] Sent: Wednesday, April 09, 2008 12:59 PM To: Nelson Pereira; Kenneth Crocker Cc: rt-users at lists.bestpractical.com Subject: [BULK] RE: [rt-users] question about watchers Importance: Low Nelson, I'm not sure how well it will work in your organization, but you may want to structure things based more on a Service Delivery and Support model, ala ITIL - Make a Queue named "Helpdesk" and have that be the default queue for all tickets. By default they are assigned to "nobody". So you can make a saved search on the homepage that views all Helpdesk tickets assigned to nobody. Your "Helpdesk Staff" (whomever you decide should triage tickets) can then go through, resolve any items that they can and set the appropriate queue and priority on the remaining items. Our queues are Helpdesk, Systems, Applications, and Projects. Set the appropriate watchers on each queue. If you don't have a dedicated Helpdesk or First Call person, then use your emergency on call rotation to determine who is responsible for triaging new tickets. I have attached a copy of the process that my team uses for Helpdesk, feel free to plagiarize it. Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Nelson Pereira [mailto:npereira at protus.com] Sent: Wednesday, April 09, 2008 9:46 AM To: Kenneth Crocker Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] question about watchers Well, the way I'm thinking is we will only have 2 emails. 1 for approvals (this queue "Approval" is assigned to the Network Services Manager and he approves work to be done, but I'm not there yet...) 1 for general support Users or Agents send email to the general support email. This get's put in the UnAssigned Queue. All admins should get an email saying there is an new ticket created in the UnAssigned queue. An admin will assign the ticket to a specific queue. The admin/s in charge of that specific queue, will get an email that he/they have a ticket to work on. Is this the right way to do this or is there a simpler way...? We have to segregate queues per sections, and we have about 6 sections, but I don't want 1 email per section... Regards, Nelson Pereira -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Wednesday, April 09, 2008 12:35 PM To: Nelson Pereira Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] question about watchers Nelson, What's the difference between dumping all tickets from a specific email address to an Unassigned (whatever that means) Queue to putting them in an assigned Queue? As to setting up notifications, that's should be relatively easy. There are plenty of example in RT: Essentials. Kenn LBNL On 4/9/2008 9:07 AM, Nelson Pereira wrote: > Not sure if this is the option I want, but here is what I need. > > > > I have all emails from a specific Email address going to an UnAssigned > queue. > > I need to set this up so that when I ticket is created in this queue, to > send a notification to a group of privileged users. > > How could I do this? > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > www.MyFax.com > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Wed Apr 9 13:38:32 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 10:38:32 -0700 Subject: [rt-users] question about watchers In-Reply-To: <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> Message-ID: <47FCFF18.2020900@lbl.gov> Nelso, We have over 75 Queues dedicated toward Application support. No one works on a ticket until it is assigned. ALL our email requests go directly to what we call a "Request" Queue where it is reviewed, prioritized, and when appropriate, moved to the Queue where it will be worked (status = 'open') on. In the "Request" queue (this sounds like your unassigned queue), there are several analysts that do the review. Because it is a queue like any other queue, whenever a ticket is created there, our global notification for "Ticket Created" sends an email to the group of users that are given rights to THAT queue informing them that a ticket was created in their queue. The Queue AdminCc (one of the users that gets the notification) then assigns the ticket to someone or someone in THAT support group (XX-Tech_support where XX is the name of the queue) TAKES the ticket. We also have a global notification that emails the AdminCc of a queue when a ticket is MOVED to their queue. The creation of the notification scrips is relatively easy, once one follows the examples shown in RT:Essentials. You may have fewer queues, but the notification setup shouldn't be much different. Kenn LBNL On 4/9/2008 9:46 AM, Nelson Pereira wrote: > Well, the way I'm thinking is we will only have 2 emails. > 1 for approvals (this queue "Approval" is assigned to the Network > Services Manager and he approves work to be done, but I'm not there > yet...) > 1 for general support > > Users or Agents send email to the general support email. > This get's put in the UnAssigned Queue. > All admins should get an email saying there is an new ticket created in > the UnAssigned queue. > An admin will assign the ticket to a specific queue. > The admin/s in charge of that specific queue, will get an email that > he/they have a ticket to work on. > > Is this the right way to do this or is there a simpler way...? > > We have to segregate queues per sections, and we have about 6 sections, > but I don't want 1 email per section... > > Regards, > > Nelson Pereira > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Wednesday, April 09, 2008 12:35 PM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] question about watchers > > Nelson, > > > What's the difference between dumping all tickets from a > specific email > address to an Unassigned (whatever that means) Queue to putting them in > an assigned Queue? As to setting up notifications, that's should be > relatively easy. There are plenty of example in RT: Essentials. > > Kenn > LBNL > > On 4/9/2008 9:07 AM, Nelson Pereira wrote: >> Not sure if this is the option I want, but here is what I need. >> >> >> >> I have all emails from a specific Email address going to an UnAssigned > >> queue. >> >> I need to set this up so that when I ticket is created in this queue, > to >> send a notification to a group of privileged users. >> >> How could I do this? >> >> >> >> >> >> *Nelson Pereira* >> Senior Network Administrator >> >> Protus IP Solutions Inc. >> npereira at protus.com >> phone: 613.733.0000 ext.528 >> MyFax: 613.822.5083 >> www.myfax.com >> >> Refer your friends and colleagues to MyFax! >> Click here for more information. >> >> >> >> >> www.MyFax.com >> >> >> >> >> > ------------------------------------------------------------------------ >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > From KFCrocker at lbl.gov Wed Apr 9 13:46:39 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 10:46:39 -0700 Subject: [rt-users] [BULK] RE: question about watchers In-Reply-To: <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> Message-ID: <47FD00FF.6040607@lbl.gov> Nelson, Try this. Setup a group that includes just the AdminCc's of each support queue. then, put them in the Watcher CC of the general (unassigned) queue. Setup a notification to email CC watchers when a ticket is created in the unassigned queue. Now, when a ticket is created in the unassigned queue, those that are the interested parties can look at the queue (give that "special" group the appropriate rights) and either a) Take the ticket they want and work on in in the unassigend queue to resolve, OR b) Move the ticket to the queue they use to work on tickets OR c) create a scrip that moves a ticket to the appropriate queue when the owner changes from nobody to somebody (whomever/whatever queue). Either way, with a little procedural design followed by appropriate scrip/template/privileges you can easilymake this work. Kenn LBNL On 4/9/2008 10:20 AM, Nelson Pereira wrote: > Thanks Aaron, but this would not work for us as we don't have dedicated > staff to triage the tickets... Every net admin in network services has > the ability to put tickets in specific queues based on the ticket > itself. > > Most tickets would be opened from them self and put in specific queues, > but in some cases, second line will opened tickets via email as they > wont have access to RT directly, only Net Admins will. > > Regards, > > Nelson Pereira > > -----Original Message----- > From: Aaron Sallade [mailto:asallade at PTSOWA.ORG] > Sent: Wednesday, April 09, 2008 12:59 PM > To: Nelson Pereira; Kenneth Crocker > Cc: rt-users at lists.bestpractical.com > Subject: [BULK] RE: [rt-users] question about watchers > Importance: Low > > Nelson, > > I'm not sure how well it will work in your organization, but you may > want to structure things based more on a Service Delivery and Support > model, ala ITIL - > > Make a Queue named "Helpdesk" and have that be the default queue for all > tickets. By default they are assigned to "nobody". So you can make a > saved search on the homepage that views all Helpdesk tickets assigned to > nobody. Your "Helpdesk Staff" (whomever you decide should triage > tickets) can then go through, resolve any items that they can and set > the appropriate queue and priority on the remaining items. > > Our queues are Helpdesk, Systems, Applications, and Projects. Set the > appropriate watchers on each queue. > > If you don't have a dedicated Helpdesk or First Call person, then use > your emergency on call rotation to determine who is responsible for > triaging new tickets. > > I have attached a copy of the process that my team uses for Helpdesk, > feel free to plagiarize it. > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > -----Original Message----- > From: Nelson Pereira [mailto:npereira at protus.com] > Sent: Wednesday, April 09, 2008 9:46 AM > To: Kenneth Crocker > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] question about watchers > > Well, the way I'm thinking is we will only have 2 emails. > 1 for approvals (this queue "Approval" is assigned to the Network > Services Manager and he approves work to be done, but I'm not there > yet...) > 1 for general support > > Users or Agents send email to the general support email. > This get's put in the UnAssigned Queue. > All admins should get an email saying there is an new ticket created in > the UnAssigned queue. > An admin will assign the ticket to a specific queue. > The admin/s in charge of that specific queue, will get an email that > he/they have a ticket to work on. > > Is this the right way to do this or is there a simpler way...? > > We have to segregate queues per sections, and we have about 6 sections, > but I don't want 1 email per section... > > Regards, > > Nelson Pereira > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Wednesday, April 09, 2008 12:35 PM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] question about watchers > > Nelson, > > > What's the difference between dumping all tickets from a > specific email > address to an Unassigned (whatever that means) Queue to putting them in > an assigned Queue? As to setting up notifications, that's should be > relatively easy. There are plenty of example in RT: Essentials. > > Kenn > LBNL > > On 4/9/2008 9:07 AM, Nelson Pereira wrote: >> Not sure if this is the option I want, but here is what I need. >> >> >> >> I have all emails from a specific Email address going to an UnAssigned > >> queue. >> >> I need to set this up so that when I ticket is created in this queue, > to >> send a notification to a group of privileged users. >> >> How could I do this? >> >> >> >> >> >> *Nelson Pereira* >> Senior Network Administrator >> >> Protus IP Solutions Inc. >> npereira at protus.com >> phone: 613.733.0000 ext.528 >> MyFax: 613.822.5083 >> www.myfax.com >> >> Refer your friends and colleagues to MyFax! >> Click here for more information. >> >> >> >> >> www.MyFax.com >> >> >> >> >> > ------------------------------------------------------------------------ >> _______________________________________________ >> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >> >> Community help: http://wiki.bestpractical.com >> Commercial support: sales at bestpractical.com >> >> >> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >> Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From asallade at PTSOWA.ORG Wed Apr 9 14:09:59 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Wed, 9 Apr 2008 11:09:59 -0700 Subject: [rt-users] Urgent request for aid - Set created date on import? In-Reply-To: <47FD00FF.6040607@lbl.gov> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> <47FD00FF.6040607@lbl.gov> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA.ORG> Hi all, We are down to the last little hurdle for an import of 20,000 tickets from a commercial system. I need to be able to set the Created date, as opposed to it showing as created Now(). I currently have the value in "Starts" so if it can be done from a scrip it may work, otherwise a direct db change may be the only way to go. Ideas? Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org From sturner at MIT.EDU Wed Apr 9 14:19:39 2008 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 09 Apr 2008 14:19:39 -0400 Subject: [rt-users] Urgent request for aid - Set created date on import? In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA .ORG> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> <47FD00FF.6040607@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <6.2.3.4.2.20080409141650.04a80150@po14.mit.edu> At Wednesday 4/9/2008 02:09 PM, Aaron Sallade wrote: >Hi all, > >We are down to the last little hurdle for an import of 20,000 tickets >from a commercial system. I need to be able to set the Created date, as >opposed to it showing as created Now(). I currently have the value in >"Starts" so if it can be done from a scrip it may work, otherwise a >direct db change may be the only way to go. > >Ideas? I'd say scrip or script - I don't believe you can modify the Created date through the web UI. As always, rather than direct database update, I'd recommend using the RT API and a Perl script, but in this case, you can probably get away with direct db update. Steve From npereira at protus.com Wed Apr 9 14:28:08 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 14:28:08 -0400 Subject: [rt-users] [BULK] RE: question about watchers In-Reply-To: <47FD00FF.6040607@lbl.gov> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> <47FD00FF.6040607@lbl.gov> Message-ID: <21044E8C915A7E43B90A1056127160F116B13D@EXMAIL.protus.org> Ok, thanks all, I seem to have a very hard time to grasp all of this for some strange reason. I sat down with the Supervisor and he wants me to forget about this for now, and simply work on the approvals queue. So since this is not on topic, I will create a new thread. Regards, Nelson Pereira -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Wednesday, April 09, 2008 1:47 PM To: Nelson Pereira Cc: Aaron Sallade; rt-users at lists.bestpractical.com Subject: Re: [rt-users] [BULK] RE: question about watchers Nelson, Try this. Setup a group that includes just the AdminCc's of each support queue. then, put them in the Watcher CC of the general (unassigned) queue. Setup a notification to email CC watchers when a ticket is created in the unassigned queue. Now, when a ticket is created in the unassigned queue, those that are the interested parties can look at the queue (give that "special" group the appropriate rights) and either a) Take the ticket they want and work on in in the unassigend queue to resolve, OR b) Move the ticket to the queue they use to work on tickets OR c) create a scrip that moves a ticket to the appropriate queue when the owner changes from nobody to somebody (whomever/whatever queue). Either way, with a little procedural design followed by appropriate scrip/template/privileges you can easilymake this work. Kenn LBNL From KFCrocker at lbl.gov Wed Apr 9 14:37:06 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 11:37:06 -0700 Subject: [rt-users] Urgent request for aid - Set created date on import? In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA.ORG> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> <47FD00FF.6040607@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <47FD0CD2.1010903@lbl.gov> Aaron, As I mentioned earlier, why not just do a "Bulk Update" after the download and let RT do it? It's safer than messing with code or messing with the DB outside of RT. Just a thought. Kenn LBNL On 4/9/2008 11:09 AM, Aaron Sallade wrote: > Hi all, > > We are down to the last little hurdle for an import of 20,000 tickets > from a commercial system. I need to be able to set the Created date, as > opposed to it showing as created Now(). I currently have the value in > "Starts" so if it can be done from a scrip it may work, otherwise a > direct db change may be the only way to go. > > Ideas? > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From KFCrocker at lbl.gov Wed Apr 9 14:40:04 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 11:40:04 -0700 Subject: [rt-users] Urgent request for aid - Set created date on import? In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA.ORG> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> <47FD00FF.6040607@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <47FD0D84.3040807@lbl.gov> Aaron, OPPS! Sorry, I didn't realize that created was off-limits in the bulk update. Bad assumption on my part. I go for SQL code. easier to do it in the DB and that way you don't have to wonder what RT is gonna do in other places or whatever. Kenn LBNL On 4/9/2008 11:09 AM, Aaron Sallade wrote: > Hi all, > > We are down to the last little hurdle for an import of 20,000 tickets > from a commercial system. I need to be able to set the Created date, as > opposed to it showing as created Now(). I currently have the value in > "Starts" so if it can be done from a scrip it may work, otherwise a > direct db change may be the only way to go. > > Ideas? > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From npereira at protus.com Wed Apr 9 14:48:13 2008 From: npereira at protus.com (Nelson Pereira) Date: Wed, 9 Apr 2008 14:48:13 -0400 Subject: [rt-users] Approval queue for network changes Message-ID: <21044E8C915A7E43B90A1056127160F116B14F@EXMAIL.protus.org> Hi, OK, I've read the wiki on Creating Approvals In RT and ManualApprovals... Although I have a hard time figuring out what needs to be done. The Manager wants the ability for his staff to send emails to nsapprove And for him to receive a notification for this email that gets put in the ___Approvals queue. So I enabled the ___Approvals queue, but when we send an email to it, he gets notified as he's a watcher, But he does not know (or even I) what to do next... There is no Approve button or what have you... So what is the function exactly of the ___Approvals queue? The templates and scripts are already there by default so I thought this would work right out of the box, but does not seem so. Is there a detailed howto on creating this type of approvals? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From KFCrocker at lbl.gov Wed Apr 9 14:53:11 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 11:53:11 -0700 Subject: [rt-users] [BULK] RE: question about watchers In-Reply-To: <21044E8C915A7E43B90A1056127160F116B13D@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> <47FD00FF.6040607@lbl.gov> <21044E8C915A7E43B90A1056127160F116B13D@EXMAIL.protus.org> Message-ID: <47FD1097.2070408@lbl.gov> Nelson, Not to discourage you but, many have tried to get "Approvals" to work in RT and have failed. That's why we created our "Requests" queue. We use it like an "Approvals" queue, but we can control how it acts (and the privileges) more easily than the RT version. Kenn LBNL On 4/9/2008 11:28 AM, Nelson Pereira wrote: > Ok, thanks all, > > I seem to have a very hard time to grasp all of this for some strange > reason. I sat down with the Supervisor and he wants me to forget about > this for now, and simply work on the approvals queue. > > So since this is not on topic, I will create a new thread. > > Regards, > > Nelson Pereira > > -----Original Message----- > From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] > Sent: Wednesday, April 09, 2008 1:47 PM > To: Nelson Pereira > Cc: Aaron Sallade; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] [BULK] RE: question about watchers > > Nelson, > > > Try this. Setup a group that includes just the AdminCc's of each > > support queue. then, put them in the Watcher CC of the general > (unassigned) queue. Setup a notification to email CC watchers when a > ticket is created in the unassigned queue. Now, when a ticket is created > > in the unassigned queue, those that are the interested parties can look > at the queue (give that "special" group the appropriate rights) and > either > a) Take the ticket they want and work on in in the unassigend > queue to > resolve, OR > b) Move the ticket to the queue they use to work on tickets OR > c) create a scrip that moves a ticket to the appropriate queue > when the > owner changes from nobody to somebody (whomever/whatever queue). > Either way, with a little procedural design followed by > appropriate > scrip/template/privileges you can easilymake this work. > > > Kenn > LBNL > From asallade at PTSOWA.ORG Wed Apr 9 14:56:45 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Wed, 9 Apr 2008 11:56:45 -0700 Subject: [rt-users] Urgent request for aid - Set created date on import?SOLVED In-Reply-To: <47FD0D84.3040807@lbl.gov> References: <21044E8C915A7E43B90A1056127160F116B0DA@EXMAIL.protus.org> <47FCF034.3060301@lbl.gov> <21044E8C915A7E43B90A1056127160F116B0EE@EXMAIL.protus.org> <33DEE66ED2E72346ABC638427A7701404BF414@PTSOEXCHANGE.PTSOWA.ORG> <21044E8C915A7E43B90A1056127160F116B100@EXMAIL.protus.org> <47FD00FF.6040607@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF430@PTSOEXCHANGE.PTSOWA.ORG> <47FD0D84.3040807@lbl.gov> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF445@PTSOEXCHANGE.PTSOWA.ORG> Thanks all, Were going to do it at the SQL level. Thanks for the help. -Aaron From KFCrocker at lbl.gov Wed Apr 9 15:02:12 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 12:02:12 -0700 Subject: [rt-users] CF question Message-ID: <47FD12B4.6000801@lbl.gov> To all, I have a Custom Field that has a user id as it's value. I need to pull the email address for that user and use it as the "To:" address in a template. I suppose I could have just put the user id's email address in the CF and I may end up doinf that, but I'd like this idea to work, if possible. Any ideas? Thanks. Kenn LBNL From sturner at MIT.EDU Wed Apr 9 15:05:20 2008 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 09 Apr 2008 15:05:20 -0400 Subject: [rt-users] CF question In-Reply-To: <47FD12B4.6000801@lbl.gov> References: <47FD12B4.6000801@lbl.gov> Message-ID: <6.2.3.4.2.20080409150439.04aa7938@po14.mit.edu> At Wednesday 4/9/2008 03:02 PM, Kenneth Crocker wrote: >To all, > > > I have a Custom Field that has a user id as it's value. I > need to pull >the email address for that user and use it as the "To:" address in a >template. I suppose I could have just put the user id's email address in >the CF and I may end up doinf that, but I'd like this idea to work, if >possible. Any ideas? Thanks. > > >Kenn >LBNL Kenn, You can put code in the template to grab the user's email address, based on the content of the custom field. Steve From Dominic.Lepiane at ptgrey.com Wed Apr 9 15:33:32 2008 From: Dominic.Lepiane at ptgrey.com (Dominic Lepiane) Date: Wed, 9 Apr 2008 12:33:32 -0700 Subject: [rt-users] Upgrade to 3.6.6, queue tickets have broken links Message-ID: Dear RT Users, I have a couple problems so far after having upgraded to RT 3.6.6: 1 ) The BestPractical logo is a bad link: img src="//NoAuth/images//bplogo.gif" 2 ) If I click on a queue, all the tickets returned in that search are bad links like this: a href="//Ticket/Display.html?id=60428" I was not at all involved in the old setup / config of RT and the person who was and who had done the previous upgrades in long gone so I know some of you will shudder when I talk about my setup and yes, I know I'm a harsh n00b and my predacessor more so, but here's what we got: Current / Old setup (the "live" setup) on an Fedora Core 1 box named "rt". It is running RT 3.0.11 (yes, old) and it is configured to run as fast CGI under the subdirectory "rt", so it is in http://rt/rt. To move RT to a new server, I am also updating to 3.6.6 in the process. So the new setup is an RHEL 5 box named "rt-test". It is supposed to be running 3.6.6 and configured with mod_perl and a VirtualHost instead of FastCGI (which was giving me a lot of grief). To get where I got so far, I dumped the old db with mysqldump from the old server, pushed it on to the new server. Then unpacked the rt-3.6.6 tarball doing make testdeps and make install *not* using any files from the old installation as per the upgrade documentation. Then I just created a new RT_SiteConfig to taste, created the virtual host in Apache, and that's where I got to. So some things do work. I can login with my old user account, I can open tickets on my summary page. The pages seem to load pretty slow, but I think that is just because the browser is trying to pull a logo from "http://noauth/images//bplogo.gif", hence, this is the first issue I noticed. For the other issue, if I just click any of the queues I have listed, the links for all the tickets are all just wrong. Any queue, any ticket. Yet if I search of one of the ticket numbers I see in the queue, I get redirected correctly. What have I done wrong? Should I dump my mod_perl/virtual host config and try to get FastCGI working? Is there something I can fix in my SiteConfig? Thanks in advance for any advice or direction, Dominic Lepiane Network Administrator Point Grey Research +1 604 730 9937 ext 283 From Dominic.Lepiane at ptgrey.com Wed Apr 9 16:05:32 2008 From: Dominic.Lepiane at ptgrey.com (Dominic Lepiane) Date: Wed, 9 Apr 2008 13:05:32 -0700 Subject: [rt-users] Upgrade to 3.6.6, slow loading time In-Reply-To: References: Message-ID: > -----Original Message----- > Sent: Wednesday, April 09, 2008 12:34 PM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Upgrade to 3.6.6, queue tickets have broken links > > Dear RT Users, > > I have a couple problems so far after having upgraded to RT 3.6.6: > 1 ) The BestPractical logo is a bad link: > img src="//NoAuth/images//bplogo.gif" > 2 ) If I click on a queue, all the tickets returned in that > search are bad links like this: > a href="//Ticket/Display.html?id=60428" ... Snip The answer was, naturally, PEBCAK. I had the WebPath set to "/" instead of "". However, I have noticed that many pages, like if I go to a specific ticket, still take a very long time to load. ~10s. This is a dual-Xeon-hyper-threaded 3.0 GHz box running RHEL 5 x86_64 with 4GB RAM, so opening a ticket should not take this long. What have I done wrong this time? Thanks in advance for any advice, Dominic Lepiane From KFCrocker at lbl.gov Wed Apr 9 16:23:52 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Wed, 09 Apr 2008 13:23:52 -0700 Subject: [rt-users] Upgrade to 3.6.6, slow loading time In-Reply-To: References: Message-ID: <47FD25D8.5050702@lbl.gov> Dominic Check your privileges. If you have allowed global groups (Everyone, Privileged) a lot of ticket ownership & modify privileges, that will create a dramatic effect on how long it takes to load a ticket. I've found that the more users that have privileges to tickets in a queue, the longer it takes to load a ticket. Of course, it could also be some DB thing as well. Kenn LBNL On 4/9/2008 1:05 PM, Dominic Lepiane wrote: >> -----Original Message----- >> Sent: Wednesday, April 09, 2008 12:34 PM >> To: rt-users at lists.bestpractical.com >> Subject: [rt-users] Upgrade to 3.6.6, queue tickets have broken links >> >> Dear RT Users, >> >> I have a couple problems so far after having upgraded to RT 3.6.6: >> 1 ) The BestPractical logo is a bad link: >> img src="//NoAuth/images//bplogo.gif" >> 2 ) If I click on a queue, all the tickets returned in that >> search are bad links like this: >> a href="//Ticket/Display.html?id=60428" > > ... Snip > > The answer was, naturally, PEBCAK. I had the WebPath set to "/" instead of "". > > However, I have noticed that many pages, like if I go to a specific ticket, still take a very long time to load. ~10s. This is a dual-Xeon-hyper-threaded 3.0 GHz box running RHEL 5 x86_64 with 4GB RAM, so opening a ticket should not take this long. What have I done wrong this time? > > Thanks in advance for any advice, > > Dominic Lepiane > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From baloo at ursine.ca Wed Apr 9 16:22:16 2008 From: baloo at ursine.ca (Paul Johnson) Date: Wed, 9 Apr 2008 13:22:16 -0700 Subject: [rt-users] logging out of different browsers... In-Reply-To: <20080409170817.GL44522@dell1> References: <20080409170817.GL44522@dell1> Message-ID: <200804091322.18812.baloo@ursine.ca> On Wednesday 09 April 2008 10:08:17 am William Bulley wrote: > With Opera 9.2, when I do the same thing, I get a brief screen > including a string telling me that I logged out and a hotlink > stating that I can log in again if I want to, and then -- BAM!!! > I am immediately back to the previous session as though I had not > logged out at all! In fact, short of exiting my Opera session, > there is no way I have found to actually log out of RT 3.6.5 using > Opera 9.2 -- what is going on here? Sounds like an Opera bug: You would experience this if it's not managing cookies the way it's supposed to or managing it's cache properly. In this case, the login cookie is either not being cleared when you explicitly log out; or Opera is caching dynamic pages, then blindly reading back from cache without doing any sort of sanity checking on whether or not cached data is still valid. -- Paul Johnson baloo at ursine.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From mpfraser at mynetstream.com Wed Apr 9 18:00:00 2008 From: mpfraser at mynetstream.com (Mark Fraser) Date: Wed, 9 Apr 2008 18:00:00 -0400 Subject: [rt-users] What is the function of "Time Left" in the RT 3.6.6 Ticket/Basic Menu? Message-ID: <002501c89a8d$0e60a4a0$a606a8c0@servicexp> Is there a correlation between "Left" in the Display Menu and the "Time Left" in the Basic Menu. I have not been able to fins any functionality for this in the code. What I am looking for is a way to set a Default "time to respond" to a ticket and I don't want to re-invent the wheel if the code already has this function. Mark P. Fraser Netstream Visit us at http://www.mynetstream.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.Treleaven at greenfieldethanol.com Wed Apr 9 18:57:02 2008 From: J.Treleaven at greenfieldethanol.com (James Treleaven) Date: Wed, 9 Apr 2008 18:57:02 -0400 Subject: [rt-users] LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension Message-ID: I have installed the ExternalAuth extension (thanks Mike!) to try and validate against my Active Directory server, but I am failing with the following message in my apache error_log: [Wed Apr 9 22:20:09 2008] [critical]: RT::User::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/usr/local/rt3/lib/RT/User_Vendor.pm:1056) This looked to me (and other messages on this list seemed to indicate) that my problem was one of not providing a correct username/password pair with which to connect to the AD server. This seemed strange to me because I was able to validate, on the same machine that is running RT, against AD using the same username/password pair using ldapsearch. So I had our AD admin configure AD to allow "Anonymous Binding". Now I am still getting the same error message as above, even though the following use of ldapsearch binds against AD just fine with no usercode/password provided: ldapsearch -b dc=comalc,dc=com -H ldap://redacted.comalc.com "(objectclass=*)" -x I suspect that I must have misconfigured ExternalAuth, so I have pasted in my RT_SiteConfig.pm below. Thanks in advance for any help. James ---/etc/rt3/RT_SiteConfig.pm--- # Any configuration directives you include here will override # RT's default configuration file, RT_Config.pm # # To include a directive here, just copy the equivalent statement # from RT_Config.pm and change the value. We've included a single # sample value below. # # This file is actually a perl module, so you can include valid # perl code, as well. # # The converse is also true, if this file isn't valid perl, you're # going to run into trouble. To check your SiteConfig file, use # this comamnd: # # perl -c /path/to/your/etc/RT_SiteConfig.pm Set( $rtname, 'greenfieldethanol.com'); # Set( $Organization , "example.com"); # Look into the zoneinfo database for valid values (/usr/share/zoneinfo/) Set( $Timezone , 'US/Eastern'); # Set( $WebBaseURL , "http://localhost"); Set( $WebPath , "/rt3"); Set($LogToSyslog, ''); Set($LogToFile, 'debug'); Set($LogDir, '/var/log/rt'); Set($LogToFileNamed , "rt.log"); # The order in which the services defined in ExternalSettings # should be used to authenticate users. User is authenticated # if successfully confirmed by any service - no more services # are checked. Set($ExternalAuthPriority, ['My_LDAP']); # The order in which the services defined in ExternalSettings # should be used to get information about users. This includes # RealName, Tel numbers etc, but also whether or not the user # should be considered disabled. # Once user info is found, no more services are checked. Set($ExternalInfoPriority, ['My_LDAP']); # If this is set to true, then the relevant packages will # be loaded to use SSL/TLS connections. At the moment, # this just means "use Net::SSLeay;" Set($ExternalServiceUsesSSLorTLS, 0); # If this is set to 1, then users should be autocreated by RT # as internal users if they fail to authenticate from an # external service. Set($AutoCreateNonExternalUsers, 0); Set($ExternalSettings, { # AN EXAMPLE LDAP SERVICE 'My_LDAP' => { ## GENERIC SECTION # The type of service (db/ldap/cookie) 'type' => 'ldap', # Should the service be used for authentication? 'auth' => 1, # Should the service be used for information? 'info' => 1, # The server hosting the service 'server' => 'redacted.comalc.com', ## SERVICE-SPECIFIC SECTION # If you can bind to your LDAP server anonymously you should # remove the user and pass config lines, otherwise specify them here: # # The username RT should use to connect to the LDAP server 'user' => 'redacted', # The password RT should use to connect to the LDAP server 'pass' => 'redacted', # # The LDAP search base 'base' => 'ou=Organisational Unit,dc=domain,dc=TLD', # The filter to use to match RT-Users 'filter' => '(objectclass=*)', # The filter that will only match disabled users 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', # Should we try to use TLS to encrypt connections? 'tls' => 0, # What other args should I pass to Net::LDAP->new($host, at args)? 'net_ldap_args' => [ version => 3 ], # Does authentication depend on group membership? What group name? #'group' => 'GROUP_NAME', # What is the attribute for the group object that determines membership? #'group_attr' => 'GROUP_ATTR', ## RT ATTRIBUTE MATCHING SECTION # The list of RT attributes that uniquely identify a user 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Organization' => 'physicalDeliveryOfficeName', 'RealName' => 'cn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos' => 'sAMAccountName', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } } } ); 1; ______________________________________________________________________ This email has been scanned for viruses and spam by the MessageLabs Email Security System. ______________________________________________________________________ From mike.peachey at jennic.com Thu Apr 10 04:51:40 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 10 Apr 2008 09:51:40 +0100 Subject: [rt-users] LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: References: Message-ID: <47FDD51C.6060108@jennic.com> James Treleaven wrote: > I have installed the ExternalAuth extension (thanks Mike!) to try and > validate against my Active Directory server, but I am failing with the > following message in my apache error_log: > > [Wed Apr 9 22:20:09 2008] [critical]: RT::User::_GetBoundLdapObj Can't > bind: LDAP_INVALID_CREDENTIALS 49 > (/usr/local/rt3/lib/RT/User_Vendor.pm:1056) > > > This looked to me (and other messages on this list seemed to indicate) > that my problem was one of not providing a correct username/password > pair with which to connect to the AD server. This seemed strange to me > because I was able to validate, on the same machine that is running RT, > against AD using the same username/password pair using ldapsearch. > > > So I had our AD admin configure AD to allow "Anonymous Binding". Now I > am still getting the same error message as above When you set anonymous binding, did you remove the user and pass lines from the LDAP config? There's no reason I know of why anonymous shouldn't work so long as you don't specify those two lines. As for doing it WITH the credentials it's possible we could be looking at a bug, but it's difficult for me to tell because I don't have a non-anonymous LDAP server to test against. If you want to do any debugging yourself, you need to be looking at the _GetBoundLdapObj function in $RTHOME/local/lib/RT/User_Vendor.pm which is pretty small and just reads in the config as you've written it. This is only a small suggestion, but is there any chance that Active Directory is expecting a username in the form DOMAIN\USERNAME rather than just username? That causes problems all over the place. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From sebastia at l00-bugdead-prods.de Thu Apr 10 04:57:24 2008 From: sebastia at l00-bugdead-prods.de (Sebastian Reitenbach) Date: Thu, 10 Apr 2008 10:57:24 +0200 Subject: [rt-users] problem with LDAP authentication after upgrading Message-ID: <20080410085725.26E7BD366C@smtp.l00-bugdead-prods.de> mike.peachey at jennic.com wrote: > Sebastian Reitenbach wrote: > > I installed a fresh version on a new host, > > I ran configure > > I copied the old RT_SiteConfig.pm file to the new host > > > however, when I try to login, it is not possible, and I see the following in the logs: > > You don't say whether you have actually applied the User_Local.pm > overlay and the relevant Auth Callback that you originally installed to > get LDAP working in the first place. > > I would start there. That was the hint I needed. For some reason, my installation documentation was missing this part about the User_Local.pm file. Just copied it over from the old installation and the new one began to work as expected. thanks a lot Sebastian > > -- > Kind Regards, > > __________________________________________________ > > Mike Peachey, IT > Tel: +44 114 281 2655 > Fax: +44 114 281 2951 > Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK > Comp Reg No: 3191371 - Registered In England > http://www.jennic.com > __________________________________________________ > From web at umich.edu Thu Apr 10 07:28:40 2008 From: web at umich.edu (William Bulley) Date: Thu, 10 Apr 2008 07:28:40 -0400 Subject: [rt-users] logging out of different browsers... Message-ID: <20080410112840.GB52132@dell1> According to Paul Johnson : > > Sounds like an Opera bug: You would experience this if it's not managing > cookies the way it's supposed to or managing it's cache properly. In this > case, the login cookie is either not being cleared when you explicitly log > out; or Opera is caching dynamic pages, then blindly reading back from cache > without doing any sort of sanity checking on whether or not cached data is > still valid. Thanks. I'll try upgrading to the latest version of Opera and try again to see if its fixed in that version. Meanwhile, I'll stick to using FireFox. Regards, web... -- William Bulley Email: web at umich.edu From J.Treleaven at greenfieldethanol.com Thu Apr 10 09:12:05 2008 From: J.Treleaven at greenfieldethanol.com (James Treleaven) Date: Thu, 10 Apr 2008 09:12:05 -0400 Subject: [rt-users] LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <47FDD51C.6060108@jennic.com> References: <47FDD51C.6060108@jennic.com> Message-ID: Mike Peachey wrote: > When you set anonymous binding, did you remove the user and > pass lines from the LDAP config? There's no reason I know of > why anonymous shouldn't work so long as you don't specify > those two lines. Err, no. You are of course right. I seem to be binding OK but I am not successfully logging into RT. I will get things working with Anonymous Binding turned on and then come back later to sort out the binding with credentials. Thanks Mike. James ______________________________________________________________________ This email has been scanned for viruses and spam by the MessageLabs Email Security System. ______________________________________________________________________ From mike.peachey at jennic.com Thu Apr 10 09:30:44 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 10 Apr 2008 14:30:44 +0100 Subject: [rt-users] LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: References: <47FDD51C.6060108@jennic.com> Message-ID: <47FE1684.8000203@jennic.com> James Treleaven wrote: > Mike Peachey wrote: >> When you set anonymous binding, did you remove the user and >> pass lines from the LDAP config? There's no reason I know of >> why anonymous shouldn't work so long as you don't specify >> those two lines. > > Err, no. You are of course right. > > I seem to be binding OK but I am not successfully logging into RT. I > will get things working with Anonymous Binding turned on and then come > back later to sort out the binding with credentials. Good. Though it seems you are not the only one with the INVALID_CREDENTIALS problem. I'm working on it, but slowly because I don't have a way to test it myself. Any and all feedback on this problem is most welcome. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Thu Apr 10 10:36:42 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 10 Apr 2008 15:36:42 +0100 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <47FE1684.8000203@jennic.com> References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> Message-ID: <47FE25FA.6090500@jennic.com> I've been working on this and I think I have the answer (although I know one person has already told me they tried it and didn't work for them.. perhaps there was some other issue there?). I used this script to test against my Active Directory servers and found that, if you specify the windows domain in the "user" field as well as the username it will not only work with anonymous binding off.. but it should still work with anonymous binding on! ################################################################## #!/usr/bin/perl use Net::LDAP; use Net::LDAP::Util qw(ldap_error_name); use Data::Dumper; use strict; my $ldap_server = 'server'; my $ldap_user = 'DOMAIN\username'; my $ldap_pass = 'password'; my $ldap_args = [version=>3]; my $ldap = new Net::LDAP($ldap_server, @$ldap_args); my $msg = $ldap->bind($ldap_user, password => $ldap_pass); print(Dumper($msg)); print("\n"); print("LDAP MESSAGE: "); print(ldap_error_name($msg->code)); print("\n"); ################################################################## To repeat myself.. you SHOULD be able to solve this problem by correctly specifying your username in the full domain\username format as specified by Active Directory. e.g. Domain = MYDOMAIN Username = myaccount 'user' => 'MYDOMAIN\myaccount', Also, be careful that you should be using single quotes and therefore ensuring that the backslash isn't interpreted as an escaping character. Please let me know your results, people! -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From jeffrey_lee at harvard.edu Thu Apr 10 12:33:15 2008 From: jeffrey_lee at harvard.edu (Jeffrey Lee) Date: Thu, 10 Apr 2008 12:33:15 -0400 Subject: [rt-users] Having issues updating a ticket in RT3.6.4 Message-ID: <200804101633.m3AGXFdR013017@us25.unix.fas.harvard.edu> Hi guys, I'm having a problem updating tickets in RT. I just move our RT system over to an https:// system and now each time I update a ticket, after I hit submit it redirects me to a page that says http:// "rt.domain":443/DisplayTicket... How do I tell RT to redirect to https? Everything else seems to be working fine except for commenting on tickets. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From npereira at protus.com Thu Apr 10 13:03:10 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 10 Apr 2008 13:03:10 -0400 Subject: [rt-users] Need help on an approval queue Message-ID: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> Ok, I created an approval queue and need some special functions to happen. The workflow is like this: 1) A network Services Admin sends an email which RT put's into the approval queue. 2) I have setup the script to create an approval ticket. 3) Manager is to login and click on Approval link and approve the ticket. The problem I'm seeing here is that the manager needs to click on the original ticket the admin created, then click on the Link'ed approval ticket created, Then take ownership and open the ticket. Then he needs to go to the approval Link on top to approve the approval ticket...?!? This is way to many steps.... So how can I make a newly created ticket in the Approval Queue, setup ownership of that ticket to the requestor. Then have RT create an approval ticket and setup the ownership to the manager and change the status to opened. This way, the manager will get an email saying an approval ticket is opened, he will login, click on Approval Link and approve the ticket.... Thanks Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From asallade at PTSOWA.ORG Thu Apr 10 14:02:25 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Thu, 10 Apr 2008 11:02:25 -0700 Subject: [rt-users] Where are attachments stored? Message-ID: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA.ORG> I need to import attachments into our RT from our legacy system. How are attachments stored in RT? Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Thu Apr 10 14:36:50 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 10 Apr 2008 19:36:50 +0100 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> Message-ID: <47FE5E42.2000109@jennic.com> Pedro Lobo S. da Rocha wrote: > Mike, > > I change somethings on my configuration and it seems almost right. I am > now receiving the following log messages: > > 18. [Thu Apr 10 17:38:19 2008] [debug]: LDAP Search === Base: dc=DOMAIN,dc=com == Filter: (&(objectclass=*)(sAMAccountName=teste)) == Attrs: uid (/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm:890) > 19. [Thu Apr 10 17:38:19 2008] [info]: DISABLED user teste per External Service (1, Disabled changed from (no value) to "1") > > I don't know whats happening at line 19. Do you? > Err... bugger! You've just found a bug. I will fix this tomorrow morning when I get to work. The problem is that I hadn't programmed for the possibility of there being no d_filter, therefore, if you don't specify a d_filter (disable filter) it will consider ALL of your users disabled instead of none of them. Whoops. You can fix this temporarily in one of two ways: 1. Specify a disable filter. 2. Edit User_Vendor.pm manually. HOWTO: 1. Since you're using Active Directory, the simplest way for you to sort this out is to use the Active Directory disable filter since I doubt there's any reason you would want someone to still be able to access RT if you've set their account to disabled in Active Directory. To do this, add this line to your LDAP settings (add it under 'filter'): 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', 2. If you want to allow access to RT to users that have been disabled in Active Directory, change line 904 in $RTHOME/local/lib/RT/UserVendor.pm from this: $user_disabled = 1; to this: $user_disabled = 0; And it will then be overwritten with a fix once I update the code and release v0.06 tomorrow. P.S. Please join the RT-Users mailing list and then CC rt-users at lists.bestpractical.com in any replies if you can so that others may benefit. -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From gleduc at mail.sdsu.edu Thu Apr 10 14:45:58 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Thu, 10 Apr 2008 11:45:58 -0700 Subject: [rt-users] Where are attachments stored? In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA .ORG> References: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <6.2.1.2.2.20080410114123.023e9da0@mail.sdsu.edu> Aaron, the attachments are stored in RT's database in a table called 'Attachments'. There is a field called 'Content' that holds the ones and zeros that make up the attachment. I suspect that importing files into RT as ticket attachments will be a non-trivial exercise. Regards, Gene At 11:02 AM 4/10/2008, Aaron Sallade wrote: >I need to import attachments into our RT from our legacy system. How are >attachments stored in RT? > >Aaron Sallade' >Application Manager >PTSO of Washington >"Shared Technology for Community Health" >(206) 613-8938 Desk >(206) 521-8833 Main >(206) 613-5078 Fax >asallade at ptsowa.org > -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Thu Apr 10 15:44:58 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 10 Apr 2008 12:44:58 -0700 Subject: [rt-users] Where are attachments stored? In-Reply-To: <6.2.1.2.2.20080410114123.023e9da0@mail.sdsu.edu> References: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA.ORG> <6.2.1.2.2.20080410114123.023e9da0@mail.sdsu.edu> Message-ID: <47FE6E3A.4020002@lbl.gov> Gene, Aaron, Not only that, but the content is stored in various ways, depending on the CONTENTTYPE field (text, message, excell, etc.) AND if you have ORACLE, CONTENTCODING is not supported (at least up to 9). I built my own Data Dictionary on the ORACLE version of the RT DataBase so I would know what to do if I was gonna update the DB via SQL or something. Fooling around with creating or deleting records is more than a bit tricky external to RT tools. Like I didn't know that ALL users have a group id record JUST for their individual user ID. It is usually the User ID plus 1. Anyway, like Gene said, not a trivial exercise. Kenn LBNL On 4/10/2008 11:45 AM, Gene LeDuc wrote: > Aaron, the attachments are stored in RT's database in a table called > 'Attachments'. There is a field called 'Content' that holds the ones > and zeros that make up the attachment. I suspect that importing files > into RT as ticket attachments will be a non-trivial exercise. > > Regards, > Gene > > At 11:02 AM 4/10/2008, Aaron Sallade wrote: >> I need to import attachments into our RT from our legacy system. How >> are attachments stored in RT? >> >> Aaron Sallade' >> Application Manager >> PTSO of Washington >> /"Shared Technology for Community Health" >> /(206) 613-8938 Desk >> (206) 521-8833 Main >> (206) 613-5078 Fax >> asallade at ptsowa.org >> > > > -- > Gene LeDuc, GSEC > Security Analyst > San Diego State University > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Thu Apr 10 15:47:28 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 10 Apr 2008 12:47:28 -0700 Subject: [rt-users] Having issues updating a ticket in RT3.6.4 In-Reply-To: <200804101633.m3AGXFdR013017@us25.unix.fas.harvard.edu> References: <200804101633.m3AGXFdR013017@us25.unix.fas.harvard.edu> Message-ID: <47FE6ED0.20003@lbl.gov> Jeffery, Sounds to me like you need to make a few changes to some settings in RT_SiteConfig.pm and maybe even a few other places as well. Kenn LBNL On 4/10/2008 9:33 AM, Jeffrey Lee wrote: > Hi guys, > > > > I?m having a problem updating tickets in RT. I just move our RT system > over to an https:// system and now each time I update a ticket, after I > hit submit it redirects me to a page that says > http://?rt.domain?:443/DisplayTicket > ... How do I tell RT to redirect > to https? Everything else seems to be working fine except for commenting > on tickets. > > > > -Jeff > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Thu Apr 10 15:49:40 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Thu, 10 Apr 2008 12:49:40 -0700 Subject: [rt-users] Need help on an approval queue In-Reply-To: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> Message-ID: <47FE6F54.2020802@lbl.gov> Nelson, I hate to say it, but I told you so. HA. Just kidding (a little). I got WAY TOO frustrated dealing with it, especially the privileges, so like I said, we just created a Queue and made it act like an Approval queue. WAY easier to deal with. Kenn LBNL On 4/10/2008 10:03 AM, Nelson Pereira wrote: > Ok, I created an approval queue and need some special functions to happen. > > > > The workflow is like this: > > > > 1) A network Services Admin sends an email which RT put?s into the > approval queue. > > 2) I have setup the script to create an approval ticket. > > 3) Manager is to login and click on Approval link and approve the > ticket. > > > > The problem I?m seeing here is that the manager needs to click on the > original ticket the admin created, then click on the Link?ed approval > ticket created, > > Then take ownership and open the ticket. Then he needs to go to the > approval Link on top to approve the approval ticket??!? > > > > This is way to many steps?. > > > > So how can I make a newly created ticket in the Approval Queue, setup > ownership of that ticket to the requestor. > > Then have RT create an approval ticket and setup the ownership to the > manager and change the status to opened. > > > > This way, the manager will get an email saying an approval ticket is > opened, he will login, click on Approval Link and approve the ticket?. > > > > Thanks > > > > > > > > *Nelson Pereira* > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > www.MyFax.com > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From ktm at rice.edu Thu Apr 10 15:52:55 2008 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 10 Apr 2008 14:52:55 -0500 Subject: [rt-users] Need help on an approval queue In-Reply-To: <47FE6F54.2020802@lbl.gov> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> <47FE6F54.2020802@lbl.gov> Message-ID: <20080410195255.GH769@it.is.rice.edu> Nelson, I set it up following the instructions from the wiki and it works per spec. It sounds like your create templates and notification templates may be a bit out of whack. Do not give up. Cheers, Ken On Thu, Apr 10, 2008 at 12:49:40PM -0700, Kenneth Crocker wrote: > Nelson, > > I hate to say it, but I told you so. HA. Just kidding (a little). I got > WAY TOO frustrated dealing with it, especially the privileges, so like I > said, we just created a Queue and made it act like an Approval queue. > WAY easier to deal with. > > > Kenn > LBNL > > On 4/10/2008 10:03 AM, Nelson Pereira wrote: > > Ok, I created an approval queue and need some special functions to happen. > > > > > > > > The workflow is like this: > > > > > > > > 1) A network Services Admin sends an email which RT put?s into the > > approval queue. > > > > 2) I have setup the script to create an approval ticket. > > > > 3) Manager is to login and click on Approval link and approve the > > ticket. > > > > > > > > The problem I?m seeing here is that the manager needs to click on the > > original ticket the admin created, then click on the Link?ed approval > > ticket created, > > > > Then take ownership and open the ticket. Then he needs to go to the > > approval Link on top to approve the approval ticket??!? > > > > > > > > This is way to many steps?. > > > > > > > > So how can I make a newly created ticket in the Approval Queue, setup > > ownership of that ticket to the requestor. > > > > Then have RT create an approval ticket and setup the ownership to the > > manager and change the status to opened. > > > > > > > > This way, the manager will get an email saying an approval ticket is > > opened, he will login, click on Approval Link and approve the ticket?. > > > > > > > > Thanks > > > > > > > > > > > > > > > > *Nelson Pereira* > > Senior Network Administrator > > > > Protus IP Solutions Inc. > > npereira at protus.com > > phone: 613.733.0000 ext.528 > > MyFax: 613.822.5083 > > www.myfax.com > > > > Refer your friends and colleagues to MyFax! > > Click here for more information. > > > > > > > > > > www.MyFax.com > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From npereira at protus.com Thu Apr 10 15:54:34 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 10 Apr 2008 15:54:34 -0400 Subject: [rt-users] Need help on an approval queue (coding custom action) In-Reply-To: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116B35D@EXMAIL.protus.org> Anyone can shed a light on how to do this? My setup right now when someone sends an email to nschange, the ticket gets created with owner nobody. A second ticket gets created in the approval queue but with owner RT_System. I need this second ticket to be owned by a specific user, and the status changed to open. This has to be a custom action but I don't know what code to add ...?!? It there a list of all RT objects and what they are? Regards, Nelson Pereira ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Thursday, April 10, 2008 1:03 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Need help on an approval queue Ok, I created an approval queue and need some special functions to happen. The workflow is like this: 1) A network Services Admin sends an email which RT put's into the approval queue. 2) I have setup the script to create an approval ticket. 3) Manager is to login and click on Approval link and approve the ticket. The problem I'm seeing here is that the manager needs to click on the original ticket the admin created, then click on the Link'ed approval ticket created, Then take ownership and open the ticket. Then he needs to go to the approval Link on top to approve the approval ticket...?!? This is way to many steps.... So how can I make a newly created ticket in the Approval Queue, setup ownership of that ticket to the requestor. Then have RT create an approval ticket and setup the ownership to the manager and change the status to opened. This way, the manager will get an email saying an approval ticket is opened, he will login, click on Approval Link and approve the ticket.... Thanks Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From npereira at protus.com Thu Apr 10 15:57:29 2008 From: npereira at protus.com (Nelson Pereira) Date: Thu, 10 Apr 2008 15:57:29 -0400 Subject: [rt-users] Need help on an approval queue In-Reply-To: <20080410195255.GH769@it.is.rice.edu> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> <47FE6F54.2020802@lbl.gov> <20080410195255.GH769@it.is.rice.edu> Message-ID: <21044E8C915A7E43B90A1056127160F116B363@EXMAIL.protus.org> Can you point me to the link you used, cause I cannot get this to work... The ticket in the approval queue gets created, but the manager does not see it as it's owned by RT_System and status is new. So the manager needs to go to the original ticket and click on the linked approval ticket, then open, and take ownership which is ridiculous.... I only need the ticket in the approval to be assigned to a specific owner and put status as opened... Regards, Nelson Pereira -----Original Message----- From: Kenneth Marshall [mailto:ktm at rice.edu] Sent: Thursday, April 10, 2008 3:53 PM To: Kenneth Crocker Cc: Nelson Pereira; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need help on an approval queue Nelson, I set it up following the instructions from the wiki and it works per spec. It sounds like your create templates and notification templates may be a bit out of whack. Do not give up. Cheers, Ken On Thu, Apr 10, 2008 at 12:49:40PM -0700, Kenneth Crocker wrote: > Nelson, > > I hate to say it, but I told you so. HA. Just kidding (a little). I got > WAY TOO frustrated dealing with it, especially the privileges, so like I > said, we just created a Queue and made it act like an Approval queue. > WAY easier to deal with. > > > Kenn > LBNL > > On 4/10/2008 10:03 AM, Nelson Pereira wrote: > > Ok, I created an approval queue and need some special functions to happen. > > > > > > > > The workflow is like this: > > > > > > > > 1) A network Services Admin sends an email which RT put?s into the > > approval queue. > > > > 2) I have setup the script to create an approval ticket. > > > > 3) Manager is to login and click on Approval link and approve the > > ticket. > > > > > > > > The problem I?m seeing here is that the manager needs to click on the > > original ticket the admin created, then click on the Link?ed approval > > ticket created, > > > > Then take ownership and open the ticket. Then he needs to go to the > > approval Link on top to approve the approval ticket??!? > > > > > > > > This is way to many steps?. > > > > > > > > So how can I make a newly created ticket in the Approval Queue, setup > > ownership of that ticket to the requestor. > > > > Then have RT create an approval ticket and setup the ownership to the > > manager and change the status to opened. > > > > > > > > This way, the manager will get an email saying an approval ticket is > > opened, he will login, click on Approval Link and approve the ticket?. > > > > > > > > Thanks > > > > > > > > > > > > > > > > *Nelson Pereira* > > Senior Network Administrator > > > > Protus IP Solutions Inc. > > npereira at protus.com > > phone: 613.733.0000 ext.528 > > MyFax: 613.822.5083 > > www.myfax.com > > > > Refer your friends and colleagues to MyFax! > > Click here for more information. > > > > > > > > > > www.MyFax.com > > > > > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > From asallade at PTSOWA.ORG Thu Apr 10 16:05:34 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Thu, 10 Apr 2008 13:05:34 -0700 Subject: [rt-users] Where are attachments stored? In-Reply-To: <47FE6E3A.4020002@lbl.gov> References: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA.ORG> <6.2.1.2.2.20080410114123.023e9da0@mail.sdsu.edu> <47FE6E3A.4020002@lbl.gov> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF4F8@PTSOEXCHANGE.PTSOWA.ORG> Hmm, I wrote a script that can email the attachments to RT with the proper Ticked ID format in the header, my concern is : We just finished our import of data from the legacy system and have about 15,000 tickets that are resolved, but do not have their attachments added. If I add them via email, it will open the ticket. If I can find out how to not change the status or the resolved date by commenting out a portion of the code that handles ticket replies, then it could work. Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Thursday, April 10, 2008 12:45 PM To: Gene LeDuc Cc: Aaron Sallade; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Where are attachments stored? Gene, Aaron, Not only that, but the content is stored in various ways, depending on the CONTENTTYPE field (text, message, excell, etc.) AND if you have ORACLE, CONTENTCODING is not supported (at least up to 9). I built my own Data Dictionary on the ORACLE version of the RT DataBase so I would know what to do if I was gonna update the DB via SQL or something. Fooling around with creating or deleting records is more than a bit tricky external to RT tools. Like I didn't know that ALL users have a group id record JUST for their individual user ID. It is usually the User ID plus 1. Anyway, like Gene said, not a trivial exercise. Kenn LBNL On 4/10/2008 11:45 AM, Gene LeDuc wrote: > Aaron, the attachments are stored in RT's database in a table called > 'Attachments'. There is a field called 'Content' that holds the ones > and zeros that make up the attachment. I suspect that importing files > into RT as ticket attachments will be a non-trivial exercise. > > Regards, > Gene > > At 11:02 AM 4/10/2008, Aaron Sallade wrote: >> I need to import attachments into our RT from our legacy system. How >> are attachments stored in RT? >> >> Aaron Sallade' >> Application Manager >> PTSO of Washington >> /"Shared Technology for Community Health" >> /(206) 613-8938 Desk >> (206) 521-8833 Main >> (206) 613-5078 Fax >> asallade at ptsowa.org >> > > > -- > Gene LeDuc, GSEC > Security Analyst > San Diego State University > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From gleduc at mail.sdsu.edu Thu Apr 10 16:30:09 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Thu, 10 Apr 2008 13:30:09 -0700 Subject: [rt-users] Where are attachments stored? In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF4F8@PTSOEXCHANGE.PTSOWA .ORG> References: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA.ORG> <6.2.1.2.2.20080410114123.023e9da0@mail.sdsu.edu> <47FE6E3A.4020002@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF4F8@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: <6.2.1.2.2.20080410131854.023ee260@mail.sdsu.edu> Hi Aaron, Good call on the import method - that way RT gets to do all the grunt work. Consider creating a scrip that fires when a ticket is reopened (status changes from resolved to open) and then (quietly) reset it to resolved. Just enable the scrip when your external script is going to be e-mailing attachments to RT. This ought to be pretty straightforward. I would do the status reset using $self->TicketObj->_Set(Field=>'Status', Value=>'resolved', RecordTransaction=>0); rather than $self->TicketObj->SetStatus('resolved'); to avoid triggering any "On Resolve" scrips. Regards, Gene At 01:05 PM 4/10/2008, Aaron Sallade wrote: >Hmm, > >I wrote a script that can email the attachments to RT with the proper >Ticked ID format in the header, my concern is : > >We just finished our import of data from the legacy system and have >about 15,000 tickets that are resolved, but do not have their >attachments added. If I add them via email, it will open the ticket. > >If I can find out how to not change the status or the resolved date by >commenting out a portion of the code that handles ticket replies, then >it could work. > >Aaron Sallade' >Application Manager >PTSO of Washington >"Shared Technology for Community Health" >(206) 613-8938 Desk >(206) 521-8833 Main >(206) 613-5078 Fax >asallade at ptsowa.org > >-----Original Message----- >From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] >Sent: Thursday, April 10, 2008 12:45 PM >To: Gene LeDuc >Cc: Aaron Sallade; rt-users at lists.bestpractical.com >Subject: Re: [rt-users] Where are attachments stored? > >Gene, Aaron, > > > Not only that, but the content is stored in various ways, >depending on >the CONTENTTYPE field (text, message, excell, etc.) AND if you have >ORACLE, CONTENTCODING is not supported (at least up to 9). I built my >own Data Dictionary on the ORACLE version of the RT DataBase so I would >know what to do if I was gonna update the DB via SQL or something. >Fooling around with creating or deleting records is more than a bit >tricky external to RT tools. Like I didn't know that ALL users have a >group id record JUST for their individual user ID. It is usually the >User ID plus 1. Anyway, like Gene said, not a trivial exercise. > >Kenn >LBNL > >On 4/10/2008 11:45 AM, Gene LeDuc wrote: > > Aaron, the attachments are stored in RT's database in a table called > > 'Attachments'. There is a field called 'Content' that holds the ones > > and zeros that make up the attachment. I suspect that importing files > > > into RT as ticket attachments will be a non-trivial exercise. > > > > Regards, > > Gene > > > > At 11:02 AM 4/10/2008, Aaron Sallade wrote: > >> I need to import attachments into our RT from our legacy system. How > >> are attachments stored in RT? > >> > >> Aaron Sallade' > >> Application Manager > >> PTSO of Washington > >> /"Shared Technology for Community Health" > >> /(206) 613-8938 Desk > >> (206) 521-8833 Main > >> (206) 613-5078 Fax > >> asallade at ptsowa.org > >> > > > > > > -- > > Gene LeDuc, GSEC > > Security Analyst > > San Diego State University > > > > > > >------------------------------------------------------------------------ > > > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com -- Gene LeDuc, GSEC Security Analyst San Diego State University From asallade at PTSOWA.ORG Thu Apr 10 16:39:14 2008 From: asallade at PTSOWA.ORG (Aaron Sallade) Date: Thu, 10 Apr 2008 13:39:14 -0700 Subject: [rt-users] Where are attachments stored? In-Reply-To: <6.2.1.2.2.20080410131854.023ee260@mail.sdsu.edu> References: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA.ORG> <6.2.1.2.2.20080410114123.023e9da0@mail.sdsu.edu> <47FE6E3A.4020002@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF4F8@PTSOEXCHANGE.PTSOWA.ORG> <6.2.1.2.2.20080410131854.023ee260@mail.sdsu.edu> Message-ID: <33DEE66ED2E72346ABC638427A7701404BF502@PTSOEXCHANGE.PTSOWA.ORG> My concern on that is the timestamp for Resolved and how it impacts reporting :( I am going to try to disable the scrips and see if it works. Aaron Sallade' Application Manager PTSO of Washington "Shared Technology for Community Health" (206) 613-8938 Desk (206) 521-8833 Main (206) 613-5078 Fax asallade at ptsowa.org -----Original Message----- From: Gene LeDuc [mailto:gleduc at mail.sdsu.edu] Sent: Thursday, April 10, 2008 1:30 PM To: Aaron Sallade Cc: rt-users at lists.bestpractical.com Subject: RE: [rt-users] Where are attachments stored? Hi Aaron, Good call on the import method - that way RT gets to do all the grunt work. Consider creating a scrip that fires when a ticket is reopened (status changes from resolved to open) and then (quietly) reset it to resolved. Just enable the scrip when your external script is going to be e-mailing attachments to RT. This ought to be pretty straightforward. I would do the status reset using $self->TicketObj->_Set(Field=>'Status', Value=>'resolved', RecordTransaction=>0); rather than $self->TicketObj->SetStatus('resolved'); to avoid triggering any "On Resolve" scrips. Regards, Gene At 01:05 PM 4/10/2008, Aaron Sallade wrote: >Hmm, > >I wrote a script that can email the attachments to RT with the proper >Ticked ID format in the header, my concern is : > >We just finished our import of data from the legacy system and have >about 15,000 tickets that are resolved, but do not have their >attachments added. If I add them via email, it will open the ticket. > >If I can find out how to not change the status or the resolved date by >commenting out a portion of the code that handles ticket replies, then >it could work. > >Aaron Sallade' >Application Manager >PTSO of Washington >"Shared Technology for Community Health" >(206) 613-8938 Desk >(206) 521-8833 Main >(206) 613-5078 Fax >asallade at ptsowa.org > >-----Original Message----- >From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] >Sent: Thursday, April 10, 2008 12:45 PM >To: Gene LeDuc >Cc: Aaron Sallade; rt-users at lists.bestpractical.com >Subject: Re: [rt-users] Where are attachments stored? > >Gene, Aaron, > > > Not only that, but the content is stored in various ways, >depending on >the CONTENTTYPE field (text, message, excell, etc.) AND if you have >ORACLE, CONTENTCODING is not supported (at least up to 9). I built my >own Data Dictionary on the ORACLE version of the RT DataBase so I would >know what to do if I was gonna update the DB via SQL or something. >Fooling around with creating or deleting records is more than a bit >tricky external to RT tools. Like I didn't know that ALL users have a >group id record JUST for their individual user ID. It is usually the >User ID plus 1. Anyway, like Gene said, not a trivial exercise. > >Kenn >LBNL > >On 4/10/2008 11:45 AM, Gene LeDuc wrote: > > Aaron, the attachments are stored in RT's database in a table called > > 'Attachments'. There is a field called 'Content' that holds the ones > > and zeros that make up the attachment. I suspect that importing files > > > into RT as ticket attachments will be a non-trivial exercise. > > > > Regards, > > Gene > > > > At 11:02 AM 4/10/2008, Aaron Sallade wrote: > >> I need to import attachments into our RT from our legacy system. How > >> are attachments stored in RT? > >> > >> Aaron Sallade' > >> Application Manager > >> PTSO of Washington > >> /"Shared Technology for Community Health" > >> /(206) 613-8938 Desk > >> (206) 521-8833 Main > >> (206) 613-5078 Fax > >> asallade at ptsowa.org > >> > > > > > > -- > > Gene LeDuc, GSEC > > Security Analyst > > San Diego State University > > > > > > >----------------------------------------------------------------------- - > > > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com -- Gene LeDuc, GSEC Security Analyst San Diego State University From ktm at rice.edu Thu Apr 10 17:07:11 2008 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 10 Apr 2008 16:07:11 -0500 Subject: [rt-users] Need help on an approval queue (coding custom action) In-Reply-To: <21044E8C915A7E43B90A1056127160F116B35D@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116B35D@EXMAIL.protus.org> Message-ID: <20080410210711.GK769@it.is.rice.edu> Nelson, Here is my "Create Change Control Approval" template: ===Create-Ticket: user1 Subject: New Pending Approval: {$Tickets{'TOP'}->Subject} Depended-On-By: TOP Queue: IT: Approvals Type: approval Owner: user1 Content: Greetings, There is a new change control item pending your approval: "{$Tickets{'TOP'}->Subject}" Please visit {$RT::WebURL}Approvals/ to approve or reject this ticket, or to batch-process all your pending approvals. ENDOFCONTENT ===Create-Ticket: user2 Subject: New Pending Approval: {$Tickets{'TOP'}->Subject} Depended-On-By: TOP Queue: IT: Approvals Type: approval Owner: user2 Content: Greetings, There is a new change control item pending your approval: "{$Tickets{'TOP'}->Subject}" Please visit {$RT::WebURL}Approvals/ to approve or reject this ticket, or to batch-process all your pending approvals. ENDOFCONTENT ... This will create the approval tickets owned by the appropriate users. Ken On Thu, Apr 10, 2008 at 03:54:34PM -0400, Nelson Pereira wrote: > Anyone can shed a light on how to do this? > > > > My setup right now when someone sends an email to nschange, the ticket > gets created with owner nobody. > > A second ticket gets created in the approval queue but with owner > RT_System. > > I need this second ticket to be owned by a specific user, and the status > changed to open. > > > > This has to be a custom action but I don't know what code to add ...?!? > > > > It there a list of all RT objects and what they are? > > > > Regards, > > > > Nelson Pereira > > ________________________________ > > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson > Pereira > Sent: Thursday, April 10, 2008 1:03 PM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Need help on an approval queue > > > > Ok, I created an approval queue and need some special functions to > happen. > > > > The workflow is like this: > > > > 1) A network Services Admin sends an email which RT put's into the > approval queue. > > 2) I have setup the script to create an approval ticket. > > 3) Manager is to login and click on Approval link and approve the > ticket. > > > > The problem I'm seeing here is that the manager needs to click on the > original ticket the admin created, then click on the Link'ed approval > ticket created, > > Then take ownership and open the ticket. Then he needs to go to the > approval Link on top to approve the approval ticket...?!? > > > > This is way to many steps.... > > > > So how can I make a newly created ticket in the Approval Queue, setup > ownership of that ticket to the requestor. > > Then have RT create an approval ticket and setup the ownership to the > manager and change the status to opened. > > > > This way, the manager will get an email saying an approval ticket is > opened, he will login, click on Approval Link and approve the ticket.... > > > > Thanks > > > > > > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From J.Treleaven at greenfieldethanol.com Thu Apr 10 17:21:20 2008 From: J.Treleaven at greenfieldethanol.com (James Treleaven) Date: Thu, 10 Apr 2008 17:21:20 -0400 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <47FE25FA.6090500@jennic.com> References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> Message-ID: Mike Peachey wrote: > Please let me know your results, people! I have run it twice, once with anonymous binding enabled and once with it disabled. I am afraid I got the same results both times: The username/password pair that I specified in the script are fine, however. It is my admin usercode, which I used to log into the server and run the Active Directory admin applications. ------ [root at mi-tickets work]# perl mike.pm $VAR1 = bless( { 'parent' => bless( { 'net_ldap_version' => 3, 'net_ldap_scheme' => 'ldap', 'net_ldap_debug' => 0, 'net_ldap_socket' => bless( \*Symbol::GEN0, 'IO::Socket::INET' ), 'net_ldap_host' => 'redacted.comalc.com', 'net_ldap_uri' => 'redacted.comalc.com', 'net_ldap_resp' => {}, 'net_ldap_mesg' => {}, 'net_ldap_async' => 0, 'net_ldap_port' => 389, 'net_ldap_refcnt' => 1 }, 'Net::LDAP' ), 'errorMessage' => '', 'ctrl_hash' => undef, 'resultCode' => 0, 'callback' => undef, 'mesgid' => 1, 'matchedDN' => '', 'controls' => undef, 'raw' => undef }, 'Net::LDAP::Bind' ); LDAP MESSAGE: LDAP_PP_PASSWORD_EXPIRED ------ ______________________________________________________________________ This email has been scanned for viruses and spam by the MessageLabs Email Security System. ______________________________________________________________________ From boeheim at slac.stanford.edu Thu Apr 10 17:27:23 2008 From: boeheim at slac.stanford.edu (Chuck Boeheim) Date: Thu, 10 Apr 2008 14:27:23 -0700 Subject: [rt-users] Where are attachments stored? In-Reply-To: <33DEE66ED2E72346ABC638427A7701404BF502@PTSOEXCHANGE.PTSOWA.ORG> References: <33DEE66ED2E72346ABC638427A7701404BF4DE@PTSOEXCHANGE.PTSOWA.ORG> <6.2.1.2.2.20080410114123.023e9da0@mail.sdsu.edu> <47FE6E3A.4020002@lbl.gov> <33DEE66ED2E72346ABC638427A7701404BF4F8@PTSOEXCHANGE.PTSOWA.ORG> <6.2.1.2.2.20080410131854.023ee260@mail.sdsu.edu> <33DEE66ED2E72346ABC638427A7701404BF502@PTSOEXCHANGE.PTSOWA.ORG> Message-ID: Why not just update them as a comment, which will not re-open the ticket? Alternately, you could just disable the global scrip that re-opens the tickets while you reload. -Chuck Boeheim, SLAC On Apr 10, 2008, at 1:39 PM, Aaron Sallade wrote: > My concern on that is the timestamp for Resolved and how it impacts > reporting :( > > I am going to try to disable the scrips and see if it works. > > Aaron Sallade' > Application Manager > PTSO of Washington > "Shared Technology for Community Health" > (206) 613-8938 Desk > (206) 521-8833 Main > (206) 613-5078 Fax > asallade at ptsowa.org > > > -----Original Message----- > From: Gene LeDuc [mailto:gleduc at mail.sdsu.edu] > Sent: Thursday, April 10, 2008 1:30 PM > To: Aaron Sallade > Cc: rt-users at lists.bestpractical.com > Subject: RE: [rt-users] Where are attachments stored? > > Hi Aaron, > > Good call on the import method - that way RT gets to do all the grunt > work. Consider creating a scrip that fires when a ticket is reopened > (status changes from resolved to open) and then (quietly) reset it to > resolved. Just enable the scrip when your external script is going to > be > e-mailing attachments to RT. This ought to be pretty straightforward. > I > would do the status reset using > $self->TicketObj->_Set(Field=>'Status', Value=>'resolved', > RecordTransaction=>0); > rather than > $self->TicketObj->SetStatus('resolved'); > to avoid triggering any "On Resolve" scrips. > > Regards, > Gene > > At 01:05 PM 4/10/2008, Aaron Sallade wrote: >> Hmm, >> >> I wrote a script that can email the attachments to RT with the proper >> Ticked ID format in the header, my concern is : >> >> We just finished our import of data from the legacy system and have >> about 15,000 tickets that are resolved, but do not have their >> attachments added. If I add them via email, it will open the ticket. >> >> If I can find out how to not change the status or the resolved date >> by >> commenting out a portion of the code that handles ticket replies, >> then >> it could work. >> >> Aaron Sallade' >> Application Manager >> PTSO of Washington >> "Shared Technology for Community Health" >> (206) 613-8938 Desk >> (206) 521-8833 Main >> (206) 613-5078 Fax >> asallade at ptsowa.org >> >> -----Original Message----- >> From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] >> Sent: Thursday, April 10, 2008 12:45 PM >> To: Gene LeDuc >> Cc: Aaron Sallade; rt-users at lists.bestpractical.com >> Subject: Re: [rt-users] Where are attachments stored? >> >> Gene, Aaron, >> >> >> Not only that, but the content is stored in various ways, >> depending on >> the CONTENTTYPE field (text, message, excell, etc.) AND if you have >> ORACLE, CONTENTCODING is not supported (at least up to 9). I built my >> own Data Dictionary on the ORACLE version of the RT DataBase so I >> would >> know what to do if I was gonna update the DB via SQL or something. >> Fooling around with creating or deleting records is more than a bit >> tricky external to RT tools. Like I didn't know that ALL users have a >> group id record JUST for their individual user ID. It is usually the >> User ID plus 1. Anyway, like Gene said, not a trivial exercise. >> >> Kenn >> LBNL >> >> On 4/10/2008 11:45 AM, Gene LeDuc wrote: >>> Aaron, the attachments are stored in RT's database in a table called >>> 'Attachments'. There is a field called 'Content' that holds the > ones >>> and zeros that make up the attachment. I suspect that importing > files >> >>> into RT as ticket attachments will be a non-trivial exercise. >>> >>> Regards, >>> Gene >>> >>> At 11:02 AM 4/10/2008, Aaron Sallade wrote: >>>> I need to import attachments into our RT from our legacy system. > How >>>> are attachments stored in RT? >>>> >>>> Aaron Sallade' >>>> Application Manager >>>> PTSO of Washington >>>> /"Shared Technology for Community Health" >>>> /(206) 613-8938 Desk >>>> (206) 521-8833 Main >>>> (206) 613-5078 Fax >>>> asallade at ptsowa.org >>>> >>> >>> >>> -- >>> Gene LeDuc, GSEC >>> Security Analyst >>> San Diego State University >>> >>> >>> >> ----------------------------------------------------------------------- > - >>> >>> _______________________________________________ >>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users >>> >>> Community help: http://wiki.bestpractical.com >>> Commercial support: sales at bestpractical.com >>> >>> >>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. >>> Buy a copy at http://rtbook.bestpractical.com > > > -- > Gene LeDuc, GSEC > Security Analyst > San Diego State University > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From mzagrabe at d.umn.edu Thu Apr 10 17:57:20 2008 From: mzagrabe at d.umn.edu (Matt Zagrabelny) Date: Thu, 10 Apr 2008 16:57:20 -0500 Subject: [rt-users] trying to use RT-Authen-ExternalAuth-0.05 - problems finding config options Message-ID: <1207864640.1350.21.camel@grateful.d.umn.edu> Greetings, I am getting the following error when I try to update a password for an account in my RT instance. I am running RT in a Debian Sid environment. % dpkg -l request-tracker3.6 3.6.6-2 Using PostgreSQL (8.2) as a backend and Apache 2.2 as the webserver. error: Can't use an undefined value as an ARRAY reference at /usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm line 56. context: ... 52: $RT::Logger->debug( (caller(0))[3], 53: "Trying External authentication"); 54: 55: # Get the prioritised list of external authentication services 56: my @auth_services = @ $RT::ExternalAuthPriority; 57: 58: # For each of those services.. 59: foreach my $service (@auth_services) { 60: Which I believe I have included in the following config option: % grep ExternalAuthPriority /etc/request-tracker3.6/RT_SiteConfig.pm Set($ExternalAuthPriority, ['UMD_LDAP']); Does anyone have any hints or have I missed something obvious? Thanks, -- Matt Zagrabelny - mzagrabe at d.umn.edu - (218) 726 8844 University of Minnesota Duluth Information Technology Systems & Services PGP key 1024D/84E22DA2 2005-11-07 Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2 He is not a fool who gives up what he cannot keep to gain what he cannot lose. -Jim Elliot -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From mike.peachey at jennic.com Fri Apr 11 04:19:29 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 11 Apr 2008 09:19:29 +0100 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> Message-ID: <47FF1F11.7010004@jennic.com> James Treleaven wrote: > The username/password pair that I specified in the script are fine, > however. Everybody!! : "OH NO IT ISN'T!" > LDAP MESSAGE: LDAP_PP_PASSWORD_EXPIRED This is the error message being returned by Net::LDAP when attempting to bind to your AD server. As per the Net::LDAP documentation: LDAP_PP_PASSWORD_EXPIRED The account's password has expired. To be fair, the result code is still a 0 which means it *should* succeed I think, but can't guarantee it. The result you're really looking for is: LDAP_SUCCESS Operation completed without error -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Fri Apr 11 04:24:31 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 11 Apr 2008 09:24:31 +0100 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> Message-ID: <47FF203F.6080602@jennic.com> Pedro Lobo S. da Rocha wrote: > Mike, > > Another doubt came up. How do I manage permissions for AD users in RT? You don't really. You need to manually play with the permissions for the users once they have logged in for the first time. I recommend creating a group in RT and setting the relevant permissions on that group and then just add your AD users into that group once they're logged in. > When i log in with a AD user, which permissions are given to him? There is one way that I know of to set default permissions for users that get AutoCreated: Set($AutoCreate, {Privileged => 1}); Which allows you to set whether auto-created users should be privileged (and other settings can go in there too), but I would be careful with it as you will likely find all your users will be "Auto"-Created.. but in any case that setting is not part of my code, it's part of RT and I'm not all that familiar with when/who/why/how/where auto-creating occurs other than ExternalAuth users. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Fri Apr 11 04:32:33 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 11 Apr 2008 09:32:33 +0100 Subject: [rt-users] trying to use RT-Authen-ExternalAuth-0.05 - problems finding config options In-Reply-To: <1207864640.1350.21.camel@grateful.d.umn.edu> References: <1207864640.1350.21.camel@grateful.d.umn.edu> Message-ID: <47FF2221.3090806@jennic.com> Matt Zagrabelny wrote: > Greetings, > > I am getting the following error when I try to update a password for an > account in my RT instance. Is it JUST when you try to update a password? Or when attempting login too? It certainly *seems* like you've got everything set up right, unless there's something small somewhere that's gone wrong.. I would suggest doing a: use Data::Dumper; $RT::Logger->debug(Dumper(@$RT::ExternalAuthPriority)); Just to see if you can confirm that User_Vendor.pm is able to pick up the config option.. but it certainly seems like it can't, hence the "undefined value". This is a LOOOONG shot, but the e-mail you sent is wrapped at so few characters, most things are dropping to new lines and I noticed that the wrapping didn't wrap @$RT::ExternalAuthPriority as one word, but wrapped it like this: @ $RT::ExternalAuthPriority You haven't been trawling the file and accidentally added a space in there have you? -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Fri Apr 11 06:01:54 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 11 Apr 2008 11:01:54 +0100 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <47FF1F11.7010004@jennic.com> References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> <47FF1F11.7010004@jennic.com> Message-ID: <47FF3712.8040802@jennic.com> Mike Peachey wrote: > James Treleaven wrote: >> The username/password pair that I specified in the script are fine, >> however. > > Everybody!! : > > "OH NO IT ISN'T!" > >> LDAP MESSAGE: LDAP_PP_PASSWORD_EXPIRED > > This is the error message being returned by Net::LDAP when attempting to > bind to your AD server. I'm feeling nice, so I'm going to code around this in v0.06 There will be a new config option called AllowExpiredPasswords or similar and if set to true it will consider LDAP_PP_PASSWORD_EXPIRED a successful bind, but log a warning that a user with an expired passsword has logged in. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mike.peachey at jennic.com Fri Apr 11 08:03:35 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 11 Apr 2008 13:03:35 +0100 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> <47FF203F.6080602@jennic.com> Message-ID: <47FF5397.2070804@jennic.com> Pedro Lobo S. da Rocha wrote: > Right, I think I got it. But there's one thing. When I go to > Configuration -> Groups -> "Select one group" -> Members, the > auto-created user doesn't appears in the user's list so I can add him as > a member. Do you know why this is happening? I'm guessing that you are not using: Set($AutoCreate, {Privileged => 1}); which means that by default your new users are unprivileged. By default, lists of user in RT only include privileged users. This means that you will need to search for the user and then, in the user's information page, tick the "Allow this user to be granted privileges" box. They should then show up in the groups selection list. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From mario.gomide at agricultura.gov.br Fri Apr 11 08:47:29 2008 From: mario.gomide at agricultura.gov.br (Mario Gomide) Date: Fri, 11 Apr 2008 09:47:29 -0300 Subject: [rt-users] Database Question Message-ID: <47FF5DE1.8050402@agricultura.gov.br> Hello list!! I have installed RT 3.6.1 with Postgres8.1. I'm needing to clean the ticket database for a fresh start on a new working season, but I need to keep the users, queues, custom-fields, etc. What I'm planning to do is: - Clean the tables: tickets, attachments, transactions, objectcustomfieldvalues and links; - Set the Current Value to 1 for each one the sequences of the above tables. Is this procedure ok? Is there anything else I must do (or must not) ? Mario From npereira at protus.com Fri Apr 11 09:50:29 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 11 Apr 2008 09:50:29 -0400 Subject: [rt-users] Need help on an approval queue (coding customaction) In-Reply-To: <20080411123706.GT769@it.is.rice.edu> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116B35D@EXMAIL.protus.org> <20080410210711.GK769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B39C@EXMAIL.protus.org> <20080411123706.GT769@it.is.rice.edu> Message-ID: <21044E8C915A7E43B90A1056127160F116B3D1@EXMAIL.protus.org> Yes it did ! I had 2 users in the template, but for some strange reason, it was creating 2 tickets, so 1 assigned to me (an approver) and the other one was suppose to be to the manager yet the owner was set to nobody... So I removed the manager from the template... As see another problem, and possibly a bug: When the approver selects "no Action" and enters a note, the information in the not does not get to the requestor of the original ticket. I guess this workflow is not working.... Apart from that, everything works fine. Regards, Nelson Pereira -----Original Message----- From: Kenneth Marshall [mailto:ktm at rice.edu] Sent: Friday, April 11, 2008 8:37 AM To: Nelson Pereira Subject: Re: [rt-users] Need help on an approval queue (coding customaction) The creation of the ticket in the change control queue is responsible for triggering all of the subticket creations. There is a scrip called "On Create, issue Change Control Request Approval" that uses the template below. Other information about the scrip is: Condition: On Create Action: Create Tickets Template: Create Change Control Approval Stage: TransactionCreate Custom condition: return (undef); Custom action preparation code: return (undef); Custom action cleanup code: return (undef); The user in requesting approval creates the ticket in the designated change control queue. This creates the approval tickets. When they have all been approved, the requestor is notified that their request was approved. Hope this helps some. Ken On Fri, Apr 11, 2008 at 07:24:43AM -0400, Nelson Pereira wrote: > Thanks Ken, but don't you have a scrip that changes the ownership and > opens the ticket? > > My biggest problem is that the manager needs to go to the original > ticket and take ownership and open it before it shows up in the approval > queue.... > > Regards, > > Nelson Pereira > > -----Original Message----- > From: Kenneth Marshall [mailto:ktm at rice.edu] > Sent: Thursday, April 10, 2008 5:07 PM > To: Nelson Pereira > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Need help on an approval queue (coding > customaction) > > Nelson, > > Here is my "Create Change Control Approval" template: > > ===Create-Ticket: user1 > Subject: New Pending Approval: {$Tickets{'TOP'}->Subject} > Depended-On-By: TOP > Queue: IT: Approvals > Type: approval > Owner: user1 > Content: Greetings, > > There is a new change control item pending your approval: > > "{$Tickets{'TOP'}->Subject}" > > Please visit > > {$RT::WebURL}Approvals/ > > to approve or reject this ticket, or to batch-process all > your pending approvals. > ENDOFCONTENT > ===Create-Ticket: user2 > Subject: New Pending Approval: {$Tickets{'TOP'}->Subject} > Depended-On-By: TOP > Queue: IT: Approvals > Type: approval > Owner: user2 > Content: Greetings, > > There is a new change control item pending your approval: > > "{$Tickets{'TOP'}->Subject}" > > Please visit > > {$RT::WebURL}Approvals/ > > to approve or reject this ticket, or to batch-process all > your pending approvals. > ENDOFCONTENT > ... > > This will create the approval tickets owned by the appropriate > users. > > Ken > > On Thu, Apr 10, 2008 at 03:54:34PM -0400, Nelson Pereira wrote: > > Anyone can shed a light on how to do this? > > > > > > > > My setup right now when someone sends an email to nschange, the ticket > > gets created with owner nobody. > > > > A second ticket gets created in the approval queue but with owner > > RT_System. > > > > I need this second ticket to be owned by a specific user, and the > status > > changed to open. > > > > > > > > This has to be a custom action but I don't know what code to add > ...?!? > > > > > > > > It there a list of all RT objects and what they are? > > > > > > > > Regards, > > > > > > > > Nelson Pereira > > > > ________________________________ > > > > From: rt-users-bounces at lists.bestpractical.com > > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson > > Pereira > > Sent: Thursday, April 10, 2008 1:03 PM > > To: rt-users at lists.bestpractical.com > > Subject: [rt-users] Need help on an approval queue > > > > > > > > Ok, I created an approval queue and need some special functions to > > happen. > > > > > > > > The workflow is like this: > > > > > > > > 1) A network Services Admin sends an email which RT put's into > the > > approval queue. > > > > 2) I have setup the script to create an approval ticket. > > > > 3) Manager is to login and click on Approval link and approve > the > > ticket. > > > > > > > > The problem I'm seeing here is that the manager needs to click on the > > original ticket the admin created, then click on the Link'ed approval > > ticket created, > > > > Then take ownership and open the ticket. Then he needs to go to the > > approval Link on top to approve the approval ticket...?!? > > > > > > > > This is way to many steps.... > > > > > > > > So how can I make a newly created ticket in the Approval Queue, setup > > ownership of that ticket to the requestor. > > > > Then have RT create an approval ticket and setup the ownership to the > > manager and change the status to opened. > > > > > > > > This way, the manager will get an email saying an approval ticket is > > opened, he will login, click on Approval Link and approve the > ticket.... > > > > > > > > Thanks > > > > > > > > > > > > > > > > Nelson Pereira > > Senior Network Administrator > > > > Protus IP Solutions Inc. > > npereira at protus.com > > phone: 613.733.0000 ext.528 > > MyFax: 613.822.5083 > > www.myfax.com > > > > Refer your friends and colleagues to MyFax! > > Click here for more information. > > > > > > > > > > > > > > > > > _______________________________________________ > > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > > > Community help: http://wiki.bestpractical.com > > Commercial support: sales at bestpractical.com > > > > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > > Buy a copy at http://rtbook.bestpractical.com > From mike.peachey at jennic.com Fri Apr 11 10:52:55 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 11 Apr 2008 15:52:55 +0100 Subject: [rt-users] BUG in Net::LDAP v0.35 - Do NOT upgrade! Message-ID: <47FF7B47.60203@jennic.com> I have discovered a critical bug in Net::LDAP 0.35 and submitted the following ticket to the developer: http://rt.cpan.org/Ticket/Display.html?id=34878 In 0.35, the Net::Ldap::Util::ldap_error_name subroutine is broken which means that all functions such as Net::LDAP->code() that return a message as a constant are broken. Instead of returning the correct message, Password Policy (PP) constants are being returned instead. The most crucial example is that a successful bind or search is returning LDAP_PP_PASSWORD_EXPIRED (0) instead of LDAP_SUCCESS (0). You can code around this failure by using resultCode() instead to get the integer form of the result code, however all current perl modules that determine results by using the constant names will function unexpectedly. I am currently trying to decide which way to code around the bug in RT::Authen::ExternalAuth so that those who've already upgraded to Net::LDAP 0.35 can continue to use the extension, however v0.06 which will work around the bug may not be released until Monday or Tuesday of next week. -- Kind Regards, __________________________________________________ Mike Peachey, IT Tel: +44 114 281 2655 Fax: +44 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK Comp Reg No: 3191371 - Registered In England http://www.jennic.com __________________________________________________ From npereira at protus.com Fri Apr 11 10:55:58 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 11 Apr 2008 10:55:58 -0400 Subject: [rt-users] Need help on an approval queue (coding customaction) In-Reply-To: <20080411145345.GX769@it.is.rice.edu> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116B35D@EXMAIL.protus.org> <20080410210711.GK769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B39C@EXMAIL.protus.org> <20080411123706.GT769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3D1@EXMAIL.protus.org> <20080411135750.GU769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3E4@EXMAIL.protus.org> <20080411144108.GV769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3F2@EXMAIL.protus.org> <20080411145345.GX769@it.is.rice.edu> Message-ID: <21044E8C915A7E43B90A1056127160F116B3F5@EXMAIL.protus.org> Here is my Permissions list setup in Excel for every queue/group/role etc... This way I can track everything.... Regards, Nelson Pereira -----Original Message----- From: Kenneth Marshall [mailto:ktm at rice.edu] Sent: Friday, April 11, 2008 10:54 AM To: Nelson Pereira Subject: Re: [rt-users] Need help on an approval queue (coding customaction) On Fri, Apr 11, 2008 at 10:47:52AM -0400, Nelson Pereira wrote: > Also, what is an Actor as far as RT is concerned? > The person/user who make the update or change. Ken -------------- next part -------------- A non-text attachment was scrubbed... Name: Permissions Setup.xls Type: application/vnd.ms-excel Size: 34816 bytes Desc: Permissions Setup.xls URL: From dmbeethe at fedex.com Fri Apr 11 10:24:42 2008 From: dmbeethe at fedex.com (Don Beethe) Date: Fri, 11 Apr 2008 09:24:42 -0500 Subject: [rt-users] Sendmail error Message-ID: I am seeing this in the rt.log: /usr/sbin/sendmail exited with status 17152 (/opt/rt3/lib/RT/Action/SendEmail.pm:327) Have pinned this down to an invalid email address in the to or cc line... Seems when this happens, the person submitting the ticket gets an email saying the ticket was created, but when trying to view the ticket, it returns bogus ticket. Is there a way to inform the user the ticket create failed due to bad email address? -------------- next part -------------- An HTML attachment was scrubbed... URL: From KFCrocker at lbl.gov Fri Apr 11 12:50:41 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 11 Apr 2008 09:50:41 -0700 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <47FF5397.2070804@jennic.com> References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> <47FF203F.6080602@jennic.com> <47FF5397.2070804@jennic.com> Message-ID: <47FF96E1.6010506@lbl.gov> Mike, Pedro, We use LDAP as well and the same setting (Set($AutoCreate, {Privileged => 1});) and it works well as far as getting the new user into the DB. All I have to do after that is put them in the appropriate group the they will HAVE some privileges. We don't grant many GLOBAL privileges so if someo wants to do something other than reply to email on their own ticket or see their own ticket, they have to be in a group. The problem I'm having with autocreate is that when an email address is added to some correspondence in the CC field, then RT adds the entire email address as a privleged user instead of unprivileged. Once that happens, they show up in a lot of drop-downs for watcher and then I have this unrelated "privileged" email address being offered as a possible USER ID for watchers and many of my regular users don't know which of the two IDs to select for that one person. It gets irritating and now I'm considering using SQL to get rid of them. Any ideas on a better setting for adding email addresses as "unprivileged"? Thanks Kenn LBNL On 4/11/2008 5:03 AM, Mike Peachey wrote: > Pedro Lobo S. da Rocha wrote: >> Right, I think I got it. But there's one thing. When I go to >> Configuration -> Groups -> "Select one group" -> Members, the >> auto-created user doesn't appears in the user's list so I can add him as >> a member. Do you know why this is happening? > > I'm guessing that you are not using: > Set($AutoCreate, {Privileged => 1}); > > which means that by default your new users are unprivileged. > > By default, lists of user in RT only include privileged users. This > means that you will need to search for the user and then, in the user's > information page, tick the "Allow this user to be granted privileges" > box. They should then show up in the groups selection list. > > From sturner at MIT.EDU Fri Apr 11 12:59:09 2008 From: sturner at MIT.EDU (Stephen Turner) Date: Fri, 11 Apr 2008 12:59:09 -0400 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <47FF96E1.6010506@lbl.gov> References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> <47FF203F.6080602@jennic.com> <47FF5397.2070804@jennic.com> <47FF96E1.6010506@lbl.gov> Message-ID: <6.2.3.4.2.20080411125445.04a4e378@po14.mit.edu> At Friday 4/11/2008 12:50 PM, Kenneth Crocker wrote: >Mike, Pedro, > > > > The problem I'm having with autocreate is that when an > email address is >added to some correspondence in the CC field, then RT adds the entire >email address as a privleged user instead of unprivileged. Once that >happens, they show up in a lot of drop-downs for watcher and then I have >this unrelated "privileged" email address being offered as a possible >USER ID for watchers and many of my regular users don't know which of >the two IDs to select for that one person. >It gets irritating and now I'm considering using SQL to get rid of them. Kenn - don't do this!! You'll be sorry. Ruslan's Shredder is the safe way to remove unwanted user accounts. Steve From KFCrocker at lbl.gov Fri Apr 11 13:14:45 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 11 Apr 2008 10:14:45 -0700 Subject: [rt-users] Need help on an approval queue (coding customaction) In-Reply-To: <21044E8C915A7E43B90A1056127160F116B3F5@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116B35D@EXMAIL.protus.org> <20080410210711.GK769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B39C@EXMAIL.protus.org> <20080411123706.GT769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3D1@EXMAIL.protus.org> <20080411135750.GU769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3E4@EXMAIL.protus.org> <20080411144108.GV769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3F2@EXMAIL.protus.org> <20080411145345.GX769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3F5@EXMAIL.protus.org> Message-ID: <47FF9C85.10000@lbl.gov> Nelson, Thanks for the spreadsheet. IT helps a great deal when it comes to debugging. It looks like you grant your AdminCc role a lot of "global" rights. If/when you have a lot of queues, this will prove troublesome , i.e. a AdminCc will have rights on queues you may not want that person to mess with. We have 75 queues and we don't let any AdminCc have some of those rights (create, own, modify) globally because that would give them the ability to interfere (even accidentally, like replying to an email and accidentally putting in the wrong ticket id - ends up in a queue he isn't responsible for) on tickets where he isn't wanted. So most of theose rights we grant to that role on a queue-by-queue basis. We already ran into those problems. Also, you seem to have granted some rights to individual users. Not really a good idea unless you never expect to have very many users (like never more than 10). If some of those users are also in some of those roles that have global rights, then you have compounded the difficulty in debugging due to redundant privileges. YOu make take away the right in one instance but it will remain because of the OTHER instance. So, I would advise you to analyze the usage situation in your setup and re-apply those rights accordingly. Remember, once a right is granted globally to a role or system group, it hardly ever needs to granted again at a lower level. Now to what I think the problem is. Understanding rights is hard enough, but with Approvals, the conditions under which they apply are not consistent, at least that is my experiance as well as others I've seen in the list. This is what we did, We took away the ability to create tickets thru email from all queues except one. That became our "Approvals" queue. We have an AdminCc and user-defined group for that queue and they can own and modify the tickets in that queue. If the problem is easily resolved by them, they do it. If it requires work by someone else, THEY and only THEY move the ticket to the appropriate queue along with their comments. The receiving queue has IT's own AdminCc and group that have rights to JUST that queue and they work on the ticket until resolved, etc. We like this workflow for several reasons: 1) The granting and exercise of privileges is more consistent. 2) All tickets get one ID number and that's it. That way ALL comments, modifications etc. stay with the ticket and it makes following the audit trail much easier (as opposed to seeing one ticket number be approved and another being worked on). The history stays with the ticket. 3) We force the review of all tickets instead of having them arrive, helter-skelter into any queue (maybe even the wrong queue) so work doesn't get mismanaged. All tickets are prioritized compared to ALL work, not just the work in one queue. We haven't had one problem with permissions or correspondence or anything relating to approvals with this method. That's all I can tell you. Some Like the RT method and have gotten it to work. I guess that's why they make different flavors of ice cream (mine is TIn-roof sundae ;-). Hope this helps. Kenn LBNL On 4/11/2008 7:55 AM, Nelson Pereira wrote: > Here is my Permissions list setup in Excel for every queue/group/role > etc... > This way I can track everything.... > > Regards, > > Nelson Pereira > > -----Original Message----- > From: Kenneth Marshall [mailto:ktm at rice.edu] > Sent: Friday, April 11, 2008 10:54 AM > To: Nelson Pereira > Subject: Re: [rt-users] Need help on an approval queue (coding > customaction) > > On Fri, Apr 11, 2008 at 10:47:52AM -0400, Nelson Pereira wrote: >> Also, what is an Actor as far as RT is concerned? >> > The person/user who make the update or change. > > Ken > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From npereira at protus.com Fri Apr 11 13:21:02 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 11 Apr 2008 13:21:02 -0400 Subject: [rt-users] Need help on an approval queue (coding customaction) In-Reply-To: <47FF9C85.10000@lbl.gov> References: <21044E8C915A7E43B90A1056127160F116B2CA@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116B35D@EXMAIL.protus.org> <20080410210711.GK769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B39C@EXMAIL.protus.org> <20080411123706.GT769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3D1@EXMAIL.protus.org> <20080411135750.GU769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3E4@EXMAIL.protus.org> <20080411144108.GV769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3F2@EXMAIL.protus.org> <20080411145345.GX769@it.is.rice.edu> <21044E8C915A7E43B90A1056127160F116B3F5@EXMAIL.protus.org> <47FF9C85.10000@lbl.gov> Message-ID: <21044E8C915A7E43B90A1056127160F116B43D@EXMAIL.protus.org> Thanks for that Ken, Could you enlighten me as far as the permissions, what should not be global and moved to the queue instead? We wont have more then about 8-10 admins so... Regards, Nelson Pereira -----Original Message----- From: Kenneth Crocker [mailto:KFCrocker at lbl.gov] Sent: Friday, April 11, 2008 1:15 PM To: Nelson Pereira Cc: Kenneth Marshall; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Need help on an approval queue (coding customaction) Nelson, Thanks for the spreadsheet. IT helps a great deal when it comes to debugging. It looks like you grant your AdminCc role a lot of "global" rights. If/when you have a lot of queues, this will prove troublesome , i.e. a AdminCc will have rights on queues you may not want that person to mess with. We have 75 queues and we don't let any AdminCc have some of those rights (create, own, modify) globally because that would give them the ability to interfere (even accidentally, like replying to an email and accidentally putting in the wrong ticket id - ends up in a queue he isn't responsible for) on tickets where he isn't wanted. So most of theose rights we grant to that role on a queue-by-queue basis. We already ran into those problems. Also, you seem to have granted some rights to individual users. Not really a good idea unless you never expect to have very many users (like never more than 10). If some of those users are also in some of those roles that have global rights, then you have compounded the difficulty in debugging due to redundant privileges. YOu make take away the right in one instance but it will remain because of the OTHER instance. So, I would advise you to analyze the usage situation in your setup and re-apply those rights accordingly. Remember, once a right is granted globally to a role or system group, it hardly ever needs to granted again at a lower level. Now to what I think the problem is. Understanding rights is hard enough, but with Approvals, the conditions under which they apply are not consistent, at least that is my experiance as well as others I've seen in the list. This is what we did, We took away the ability to create tickets thru email from all queues except one. That became our "Approvals" queue. We have an AdminCc and user-defined group for that queue and they can own and modify the tickets in that queue. If the problem is easily resolved by them, they do it. If it requires work by someone else, THEY and only THEY move the ticket to the appropriate queue along with their comments. The receiving queue has IT's own AdminCc and group that have rights to JUST that queue and they work on the ticket until resolved, etc. We like this workflow for several reasons: 1) The granting and exercise of privileges is more consistent. 2) All tickets get one ID number and that's it. That way ALL comments, modifications etc. stay with the ticket and it makes following the audit trail much easier (as opposed to seeing one ticket number be approved and another being worked on). The history stays with the ticket. 3) We force the review of all tickets instead of having them arrive, helter-skelter into any queue (maybe even the wrong queue) so work doesn't get mismanaged. All tickets are prioritized compared to ALL work, not just the work in one queue. We haven't had one problem with permissions or correspondence or anything relating to approvals with this method. That's all I can tell you. Some Like the RT method and have gotten it to work. I guess that's why they make different flavors of ice cream (mine is TIn-roof sundae ;-). Hope this helps. Kenn LBNL On 4/11/2008 7:55 AM, Nelson Pereira wrote: > Here is my Permissions list setup in Excel for every queue/group/role > etc... > This way I can track everything.... > > Regards, > > Nelson Pereira > > -----Original Message----- > From: Kenneth Marshall [mailto:ktm at rice.edu] > Sent: Friday, April 11, 2008 10:54 AM > To: Nelson Pereira > Subject: Re: [rt-users] Need help on an approval queue (coding > customaction) > > On Fri, Apr 11, 2008 at 10:47:52AM -0400, Nelson Pereira wrote: >> Also, what is an Actor as far as RT is concerned? >> > The person/user who make the update or change. > > Ken > > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From KFCrocker at lbl.gov Fri Apr 11 13:23:31 2008 From: KFCrocker at lbl.gov (Kenneth Crocker) Date: Fri, 11 Apr 2008 10:23:31 -0700 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <6.2.3.4.2.20080411125445.04a4e378@po14.mit.edu> References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> <47FF203F.6080602@jennic.com> <47FF5397.2070804@jennic.com> <47FF96E1.6010506@lbl.gov> <6.2.3.4.2.20080411125445.04a4e378@po14.mit.edu> Message-ID: <47FF9E93.1010103@lbl.gov> Stephen, Yea, yea. But I'm an ADVENTUREOUS person!. HA! Just kidding. Actually, I already have done it, but just for two users that I CAREFULLY selected after looking closely at the DB, i.e. USERS, GROUPS, GROUPMEMBERS, CACHEDGROUPMEMBERS, etc.). First, I got the id's of each duplicate ID (different id's for the same person). Then I went to the ACL table to see which one had rights to tickets, etc. Then I checked what groups those ids were in and checked THEM against the ACL table. Then I searched all tickets that had those ID's as a CC, etc. and removed that reference and replaced it with the correct ID (all using RT) on each ticket. THEN, I went back to the DB and removed the old duplicate ID's from the USER Table, the related membership in any GROUP, CACHEDGROUPMEMEBERS, GROUPMEMBERS. Then, for each group Id that existed ONLY for the dup User IDs, I removed those Group records, etc. So far, no problem. Do you think I missed anything? Kenn LBNL On 4/11/2008 9:59 AM, Stephen Turner wrote: > At Friday 4/11/2008 12:50 PM, Kenneth Crocker wrote: >> Mike, Pedro, >> >> >> >> The problem I'm having with autocreate is that when an email >> address is >> added to some correspondence in the CC field, then RT adds the entire >> email address as a privleged user instead of unprivileged. Once that >> happens, they show up in a lot of drop-downs for watcher and then I have >> this unrelated "privileged" email address being offered as a possible >> USER ID for watchers and many of my regular users don't know which of >> the two IDs to select for that one person. > > > >> It gets irritating and now I'm considering using SQL to get rid of them. > > Kenn - don't do this!! You'll be sorry. Ruslan's Shredder is the safe > way to remove unwanted user accounts. > > Steve > > > > From jeffrey_lee at harvard.edu Fri Apr 11 14:08:00 2008 From: jeffrey_lee at harvard.edu (Jeffrey Lee) Date: Fri, 11 Apr 2008 14:08:00 -0400 Subject: [rt-users] RT SSL implementation Message-ID: <200804111808.m3BI80B0013678@us18.unix.fas.harvard.edu> Hi guys, I've implemented SSL on my RT box, but for some reason anytime I update or create a new ticket, Rt tries to redirect the browser to http:// (my server name):443/ how do I change the redirect after the creation or updating of a ticket? -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From barnesaw at ucrwcu.rwc.uc.edu Fri Apr 11 14:45:42 2008 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Fri, 11 Apr 2008 14:45:42 -0400 Subject: [rt-users] RT SSL implementation In-Reply-To: <200804111808.m3BI80B0013678@us18.unix.fas.harvard.edu> References: <200804111808.m3BI80B0013678@us18.unix.fas.harvard.edu> Message-ID: <47FFB1D6.6030308@ucrwcu.rwc.uc.edu> My first guess is in RT_SiteConfig.pm Does yours look like this? Set($WebPort , 443); # This is the Scheme, server and port for constructing urls to webrt # $WebBaseURL doesn't need a trailing / Set($WebBaseURL , "http://(my server name):$WebPort"); If so, try Set($WebBaseURL , "https://(my server name)"); That's how mine is set up for SSL. DB Jeffrey Lee wrote: > > Hi guys, > > > > I?ve implemented SSL on my RT box, but for some reason anytime I > update or create a new ticket, Rt tries to redirect the browser to > http:// (my server name):443/ how do I change the redirect after > the creation or updating of a ticket? > > > > -Jeff > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From jeffrey_lee at harvard.edu Fri Apr 11 14:47:46 2008 From: jeffrey_lee at harvard.edu (Jeffrey Lee) Date: Fri, 11 Apr 2008 14:47:46 -0400 Subject: [rt-users] RT SSL implementation In-Reply-To: <47FFB1D6.6030308@ucrwcu.rwc.uc.edu> Message-ID: <200804111847.m3BIllpx006932@us20.unix.fas.harvard.edu> Hmmm.... seems to work now! Thanks for the suggestion. -Jeff -----Original Message----- From: Drew Barnes [mailto:barnesaw at ucrwcu.rwc.uc.edu] Sent: Friday, April 11, 2008 2:46 PM To: Jeffrey Lee Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] RT SSL implementation My first guess is in RT_SiteConfig.pm Does yours look like this? Set($WebPort , 443); # This is the Scheme, server and port for constructing urls to webrt # $WebBaseURL doesn't need a trailing / Set($WebBaseURL , "http://(my server name):$WebPort"); If so, try Set($WebBaseURL , "https://(my server name)"); That's how mine is set up for SSL. DB Jeffrey Lee wrote: > > Hi guys, > > > > I've implemented SSL on my RT box, but for some reason anytime I > update or create a new ticket, Rt tries to redirect the browser to > http:// (my server name):443/ how do I change the redirect after > the creation or updating of a ticket? > > > > -Jeff > > ------------------------------------------------------------------------ > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From npereira at protus.com Fri Apr 11 15:44:02 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 11 Apr 2008 15:44:02 -0400 Subject: [rt-users] Question on setting up a search Message-ID: <21044E8C915A7E43B90A1056127160F116B480@EXMAIL.protus.org> Looking through the RT Essentials book and can't find an explanation on how to make a search based on specific Custom fields. Can someone explain the formatting? Thanks Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From npereira at protus.com Fri Apr 11 15:57:11 2008 From: npereira at protus.com (Nelson Pereira) Date: Fri, 11 Apr 2008 15:57:11 -0400 Subject: [rt-users] Question on setting up a search In-Reply-To: <21044E8C915A7E43B90A1056127160F116B480@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B480@EXMAIL.protus.org> Message-ID: <21044E8C915A7E43B90A1056127160F116B485@EXMAIL.protus.org> Basically what I need is the ability to build searchs that other users can use. So for example; Search on all Servers in Bay 5 (Bay is a custom field and 5 is one of the option for that field). I need to be able to same this somehow and give access to this search to other groups. Regards, Nelson Pereira ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson Pereira Sent: Friday, April 11, 2008 3:44 PM To: rt-users at lists.bestpractical.com Subject: [rt-users] Question on setting up a search Looking through the RT Essentials book and can't find an explanation on how to make a search based on specific Custom fields. Can someone explain the formatting? Thanks Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From stephen.a.cochran.lists at cahir.net Fri Apr 11 16:24:16 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Fri, 11 Apr 2008 16:24:16 -0400 Subject: [rt-users] SelfService post-submit display Message-ID: Running 3.6.3 on FC7 When using the self service interface to enter a ticket, after submission the following is shown to the user: Ticket 11643 created in queue 'ITSupport' But under "The Basics": Status: Project-Id-Version: RT 3.5.x PO-Revision-Date: 2005-10-03 13:44-0400 Last-Translator: FULL NAME Language-Team: rt-devel MIME- Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer- Encoding: 8bit Priority: / Queue: Also if the user clicks on the "Full Headers" link at the bottom they get the following error: Couldn't load ticket '' This a known issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: From stephen.a.cochran.lists at cahir.net Fri Apr 11 16:29:28 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Fri, 11 Apr 2008 16:29:28 -0400 Subject: [rt-users] Default search for At A Glance Message-ID: <93A672C3-2278-488C-902F-6B03D0766F3B@cahir.net> The default search for "N most recent tickets" becomes unaccurate if one queue receives many tickets (say from customers) and there are other infrequently used queues with fewer tickets. Even though a user might only have permission to see the low traffic queue, the tickets from the high traffic queue count in the search results and so no tickets are displayed. I would consider that somewhat a bug. To work around it, I modified the search to limit it to only the queue that I can see as a test and it go better, but I'm still only seeing 11 out of the 21 unassigned tickets. Wondering what else could be limiting the results of that query. From ktm at rice.edu Fri Apr 11 17:22:33 2008 From: ktm at rice.edu (Kenneth Marshall) Date: Fri, 11 Apr 2008 16:22:33 -0500 Subject: [rt-users] Question on setting up a search In-Reply-To: <21044E8C915A7E43B90A1056127160F116B485@EXMAIL.protus.org> References: <21044E8C915A7E43B90A1056127160F116B480@EXMAIL.protus.org> <21044E8C915A7E43B90A1056127160F116B485@EXMAIL.protus.org> Message-ID: <20080411212232.GC769@it.is.rice.edu> Are the custom fields not appearing in your search builder window? You typically just generate a search that returns the results you wish and then just save it. 3.6 will let you add such searches to your frontpage dashboard. If you are not seeing the custom fields, you probably have not granted the appropriate visibility permissions to either the queue or the custom fields. Cheers, Ken On Fri, Apr 11, 2008 at 03:57:11PM -0400, Nelson Pereira wrote: > Basically what I need is the ability to build searchs that other users > can use. > > So for example; > > Search on all Servers in Bay 5 (Bay is a custom field and 5 is one of > the option for that field). > > > > I need to be able to same this somehow and give access to this search to > other groups. > > > > Regards, > > > > Nelson Pereira > > ________________________________ > > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Nelson > Pereira > Sent: Friday, April 11, 2008 3:44 PM > To: rt-users at lists.bestpractical.com > Subject: [rt-users] Question on setting up a search > > > > Looking through the RT Essentials book and can't find an explanation on > how to make a search based on specific Custom fields. > > > > Can someone explain the formatting? > > > > Thanks > > > > > > > > Nelson Pereira > Senior Network Administrator > > Protus IP Solutions Inc. > npereira at protus.com > phone: 613.733.0000 ext.528 > MyFax: 613.822.5083 > www.myfax.com > > Refer your friends and colleagues to MyFax! > Click here for more information. > > > > > > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com From tjg at soe.ucsc.edu Fri Apr 11 19:37:58 2008 From: tjg at soe.ucsc.edu (Tim Gustafson) Date: Fri, 11 Apr 2008 16:37:58 -0700 Subject: [rt-users] Default Queue??? Message-ID: <008401c89c2d$12d269a0$16317280@soe.cse.ucsc.edu> Hello everyone! Please forgive the potentially silly question, but I've Google this and haven't been able to come up with anything. Where the heck do you set the default queue for new tickets when users click the "New ticket in" button at the top of the screen? Tim Gustafson SOE Webmaster UC Santa Cruz tjg at soe.ucsc.edu (831) 459-5354 From maurice at iparadigms.com Fri Apr 11 19:26:06 2008 From: maurice at iparadigms.com (Maurice Chung) Date: Fri, 11 Apr 2008 16:26:06 -0700 (PDT) Subject: [rt-users] Potential mail loop vulnerability in RT-Extensions-CommandByMail ? Message-ID: <8022653.4971207956366050.JavaMail.root@mail.turnitin.com> Hello fellow RT users, We recently installed the CommandByMail perl module, and our developers were happy, as it would cut down on their workflow time (rather than going to the web tool). However, a little over a day later, we suddenly got hit with what ended up being over 100k emails - which seemed to be bounces sent by our RT box to our mailing lists box, to our main mail server box, then back over to our RT box, which should have stopped forwarding the bounce mail, but it instead kept on going and we ended up with all these bounce emails: ----- Forwarded Message ----- From: rt at company.com To: it at company.com Sent: Friday, April 11, 2008 1:38:36 PM (GMT-0800) America/Los_Angeles Subject: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: [req2 #145481] RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: [req2 #145481] RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: [req2 #145481] AutoReply: RE: April 79% OFF RT thinks this message may be a bounce I read on a blog that had some info on how to configure the CommandByMail (on cpan the install instructions were actually a broken link), a comment in passing about people being able to spoof emails once the CommandByMail is used; not sure if that might be related, but we ultimately think that we may have been getting mail bomb attempts, which didn't come to light until we installed this module and it allowed those through. Or perhaps something else is going on? Anyone encountered something similar, or have an idea? I tried several searches on Google but came up snake eyes. Currently we have mitigated the problem by REJECT'ing from the bounced senders (lighttpd at company.com, and <>), and also backing out the pm. Thanks in advance everyone. maurice ------------------------------------------------------------------ Maurice Chung JrSysAdmin iParadigms, LLC - developers of Turnitin and iThenticate 1624 Franklin Street, 7th Floor Oakland, CA 94612 p +1.510.287.9720 x309 f +1.510.444.1952 e maurice at iparadigms.com iParadigms, LLC is committed to developing standard-setting, internet-based tools that protect intellectual property, promote academic and corporate integrity, and improve overall client productivity. The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message and deleting it from your computer. From jesse at bestpractical.com Fri Apr 11 20:02:05 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Fri, 11 Apr 2008 20:02:05 -0400 Subject: [rt-users] Potential mail loop vulnerability in RT-Extensions-CommandByMail ? In-Reply-To: <8022653.4971207956366050.JavaMail.root@mail.turnitin.com> References: <8022653.4971207956366050.JavaMail.root@mail.turnitin.com> Message-ID: On Apr 11, 2008, at 7:26 PM, Maurice Chung wrote: > Hello fellow RT users, > > We recently installed the CommandByMail perl module, and our > developers were happy, as it would cut down on their workflow time > (rather than going to the web tool). > > However, a little over a day later, we suddenly got hit with what > ended up being over 100k emails - which seemed to be bounces sent by > our RT box to our mailing lists box, to our main mail server box, > then back over to our RT box, which should have stopped forwarding > the bounce mail, but it instead kept on going and we ended up with > all these bounce emails: > Can you send the full, unedited headers of one of these? > > ----- Forwarded Message ----- > From: rt at company.com > To: it at company.com > Sent: Friday, April 11, 2008 1:38:36 PM (GMT-0800) America/Los_Angeles > Subject: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT > Bounce: RT Bounce: RT Bounce: RT Bounce: [req2 #145481] RT Bounce: > RT Bounce: RT Bounce: RT Bounce: RT Bounce: [req2 #145481] RT > Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: RT Bounce: > RT Bounce: [req2 #145481] AutoReply: RE: April 79% OFF > > RT thinks this message may be a bounce > > > I read on a blog that had some info on how to configure the > CommandByMail (on cpan the install instructions were actually a > broken link), a comment in passing about people being able to spoof > emails once the CommandByMail is used; not sure if that might be > related, but we ultimately think that we may have been getting mail > bomb attempts, which didn't come to light until we installed this > module and it allowed those through. > > Or perhaps something else is going on? Anyone encountered something > similar, or have an idea? I tried several searches on Google but > came up snake eyes. > > Currently we have mitigated the problem by REJECT'ing from the > bounced senders (lighttpd at company.com, and <>), and also backing out > the pm. > > Thanks in advance everyone. > maurice > > > > > ------------------------------------------------------------------ > Maurice Chung > JrSysAdmin > iParadigms, LLC - developers of Turnitin and iThenticate > 1624 Franklin Street, 7th Floor > Oakland, CA 94612 > p +1.510.287.9720 x309 > f +1.510.444.1952 > e maurice at iparadigms.com > > iParadigms, LLC is committed to developing standard-setting, > internet-based tools that protect intellectual property, promote > academic and corporate integrity, and improve overall client > productivity. > > The information contained in this message may be privileged and > confidential and protected from disclosure. If the reader of this > message is not the intended recipient, or an employee or agent > responsible for delivering this message to the intended recipient, you > are hereby notified that any dissemination, distribution or copying of > this communication is strictly prohibited. If you have received this > communication in error, please notify the sender immediately by > replying to the message and deleting it from your computer. > > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From mike.peachey at jennic.com Sat Apr 12 07:51:45 2008 From: mike.peachey at jennic.com (Mike Peachey) Date: Sat, 12 Apr 2008 12:51:45 +0100 Subject: [rt-users] SOLVED? LDAP_INVALID_CREDENTIALS error with 'ExternalAuth' extension In-Reply-To: <47FF96E1.6010506@lbl.gov> References: <47FDD51C.6060108@jennic.com> <47FE1684.8000203@jennic.com> <47FE25FA.6090500@jennic.com> <47FF203F.6080602@jennic.com> <47FF5397.2070804@jennic.com> <47FF96E1.6010506@lbl.gov> Message-ID: <4800A251.5090307@jennic.com> Kenneth Crocker wrote: > Mike, Pedro, > > > We use LDAP as well and the same setting (Set($AutoCreate, > {Privileged => 1});) and it works well as far as getting the new user > into the DB. All I have to do after that is put them in the appropriate > group the they will HAVE some privileges. We don't grant many GLOBAL > privileges so if someo wants to do something other than reply to email > on their own ticket or see their own ticket, they have to be in a group. > The problem I'm having with autocreate is that when an email address > is added to some correspondence in the CC field, then RT adds the entire > email address as a privleged user instead of unprivileged. Once that > happens, they show up in a lot of drop-downs for watcher and then I have > this unrelated "privileged" email address being offered as a possible > USER ID for watchers and many of my regular users don't know which of > the two IDs to select for that one person. It gets irritating and now > I'm considering using SQL to get rid of them. Any ideas on a better > setting for adding email addresses as "unprivileged"? Thanks > > Kenn > LBNL I have a thought. I don't know whether I will need to override the AutoCreate method or if I can do it all just by passing params from the autohandler auth callback, but it seems reasonable that I should be able to easily allow LDAP users to be autocreated as Privileged, while leaving the default AutoCreation at unprivileged. This way, by way of a configuration setting, that is individual to each ExternalAuth configuration group (LDAP/DBI etc) you could specify whether to autocreate as privileged or unprivileged, and RT would still retain it's own default setting for *other* users.. Do you think this is something you'd want built into the extension? Opinions welcome. -- Kind Regards, ___________________________________________________ Mike Peachey, IT Tel: +44 (0) 114 281 2655 Fax: +44 (0) 114 281 2951 Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK http://www.jennic.com Confidential ___________________________________________________ From itinfoguy at gmail.com Sun Apr 13 01:47:33 2008 From: itinfoguy at gmail.com (IT GUY) Date: Sun, 13 Apr 2008 11:32:33 +0545 Subject: [rt-users] Date/Time issue Message-ID: hello everyone, Could anyone suggest me how to configure Date/Time for RT....Whatever TIME is seen in the httpd error_log below, is not the actual local time.... Is it just for the error logs? I am confused! Shouldn't it reflect my machine's date. [Sat Apr 12 19:07:23 2008] [notice] Digest: generating secret for digest authentication ... [Sat Apr 12 19:07:23 2008] [notice] Digest: done [Sat Apr 12 19:07:23 2008] [notice] Apache/2.2.8 (Unix) DAV/2 mod_perl/2.0.3 Per l/v5.8.8 configured -- resuming normal operations Regards, Yogesh -------------- next part -------------- An HTML attachment was scrubbed... URL: From ch at awry.ws Sun Apr 13 14:52:35 2008 From: ch at awry.ws (Chris Haumesser) Date: Sun, 13 Apr 2008 11:52:35 -0700 Subject: [rt-users] help with incoming scrip Message-ID: <48025673.9080400@awry.ws> Hey everybody, I've been using RT for a number of years in various jobs, and it's a great tool. I'm trying to deploy it now for a somewhat novel use case (managing law review submissions), and I need some help with scrip voodoo. I'm not much of a perl guy, but I can kind of follow along. ;) We get dozens of submissions per day via email sent from an electronic service. The emails we get all come with headers from the service itself. The bodies of the messages are consistently formatted, and contain lines with information about each article, e.g. Title: Undue Influence and the Rise of Greedy Lawyers Author: John Q. Blowhard, Esq. You may contact the author at: blowhard at ivyleague.edu I'd like to have a scrip that will use regular expressions to extract the above information, and update the ticket appropriately. For example, I'd like the "Title" to become the subject of the ticket and the "Author" to become the requestor, with the email address set appropriately. Is this something that I can do with a scrip? Can anyone point me to some resources on how to extract info from the body of a ticket using regular expressions, and use that data to update ticket fields? Many thanks! -C- From jesse at bestpractical.com Sun Apr 13 15:31:20 2008 From: jesse at bestpractical.com (Jesse Vincent) Date: Sun, 13 Apr 2008 15:31:20 -0400 Subject: [rt-users] help with incoming scrip In-Reply-To: <48025673.9080400@awry.ws> References: <48025673.9080400@awry.ws> Message-ID: <1CC1BDE0-B2B3-45C1-849D-1F557F2F162B@bestpractical.com> On Apr 13, 2008, at 2:52 PM, Chris Haumesser wrote: > Hey everybody, > > I've been using RT for a number of years in various jobs, and it's a > great tool. I'm trying to deploy it now for a somewhat novel use case > (managing law review submissions), and I need some help with scrip > voodoo. I'm not much of a perl guy, but I can kind of follow > along. ;) > > We get dozens of submissions per day via email sent from an electronic > service. The emails we get all come with headers from the service > itself. The bodies of the messages are consistently formatted, and > contain lines with information about each article, e.g. > > > Title: Undue Influence and the Rise of Greedy Lawyers > > Author: John Q. Blowhard, Esq. > > You may contact the author at: blowhard at ivyleague.edu > > > I'd like to have a scrip that will use regular expressions to extract > the above information, and update the ticket appropriately. For > example, I'd like the "Title" to become the subject of the ticket and > the "Author" to become the requestor, with the email address set > appropriately. > > Is this something that I can do with a scrip? Can anyone point me to > some resources on how to extract info from the body of a ticket using > regular expressions, and use that data to update ticket fields? > http://search.cpan.org/~falcone/RT-Extension-ExtractCustomFieldValues-1.6/ is likely what you want. Best, Jesse > Many thanks! > > > -C- > _______________________________________________ > http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users > > Community help: http://wiki.bestpractical.com > Commercial support: sales at bestpractical.com > > > Discover RT's hidden secrets with RT Essentials from O'Reilly Media. > Buy a copy at http://rtbook.bestpractical.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part URL: From ch at awry.ws Sun Apr 13 17:06:08 2008 From: ch at awry.ws (Chris Haumesser) Date: Sun, 13 Apr 2008 14:06:08 -0700 Subject: [rt-users] help with incoming scrip In-Reply-To: <1CC1BDE0-B2B3-45C1-849D-1F557F2F162B@bestpractical.com> References: <48025673.9080400@awry.ws> <1CC1BDE0-B2B3-45C1-849D-1F557F2F162B@bestpractical.com> Message-ID: <480275C0.50709@awry.ws> Ok, yes... ExtractCustomValues appears to be capable of doing what I want. I'm unclear on what I can put in the "script" field of the template. For example, here's what I've done... 1. Created template in my queue containing the following: ||Body|^Title:\s*(.*)|$self->TransactionObj->Set( Subject => $_ )|| 2. Created scrip in my queue: on create, extract custom values, my new template. 3. Send test messages; subject does not change, nothing in syslog. I have a feeling that the "script" field in my template isn't right. What can I put in this field??? Appreciate any pointers in the right direction... -C- From Raphux at raphux.com Sun Apr 13 17:51:52 2008 From: Raphux at raphux.com (Raphael Berlamont) Date: Sun, 13 Apr 2008 23:51:52 +0200 Subject: [rt-users] RT Reminders and associated rights In-Reply-To: <47FA0FBC.9020307@raphux.com> References: <47FA0FBC.9020307@raphux.com> Message-ID: <1208123512.7833.3.camel@briareos.ivry.raphux.com> Le lundi 07 avril 2008 ? 14:12 +0200, Raphael Berlamont a ?crit : > Hello list, > > I would like to know what are the rights that are associated with reminders. > > The thing is that I can set reminders on tickets, but the ticket's owner > can't remove it: the check box next to the reminder doesn't appear. Of > course, the owner has the "ModifyTicket" right. Does anybody have a idea about the right needed to remove a reminder of a ticket? Regards, -- Raphael Berlamont From stephen.a.cochran.lists at cahir.net Sun Apr 13 23:30:14 2008 From: stephen.a.cochran.lists at cahir.net (Stephen Cochran) Date: Sun, 13 Apr 2008 23:30:14 -0400 Subject: [rt-users] Popup Calendar Message-ID: <35ccbd010804132030n5a34037fw60fee15eb901f803@mail.gmail.com> Running 3.6.3. I think I finally found the "advanced" view for a new ticket creation, it's only available when signed in as a privlidged users. Using the self service interface, I've added the html to display and enter a due date. The problem now is that the popup window to select a date is not working for an unprivlidged user; looks like a permissions problem. I copied /Elements/SelectDate to /SelfSerivce/Elements/SelectDate to see if that would solve the problme, but no joy. Is there a simple way to get the date picker to work in the Self-Service interface? I'm getting the impression that not many people are using the self-service interface, that true? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ch at awry.ws Mon Apr 14 04:56:29 2008 From: ch at awry.ws (Chris Haumesser) Date: Mon, 14 Apr 2008 08:56:29 +0000 (UTC) Subject: [rt-users] help with ExtractCustomFieldValues References: <43C3CBC4.6080106@findlay.edu> <9D07D2935718D39E737C35F9@idefix.mi.fu-berlin.de> <43C3E3C6.8070902@findlay.edu> Message-ID: Ryan Fox findlay.edu> wrote on 2006-01-10: > So it seems as though in a multipart message, the text/plain part does > not get parsed by ExtractCustomFieldValues. > My question now is, is there an easy way to make that happen? I'm running into this same problem. ExtractCustomFieldValues is working great on simple plaintext mail. But as soon as I add an attachment, it stops working. It's essential that I get this fixed, and my perl is sorely lacking. I think the problem is around line 22 of ExtractCustomFieldValues.pm: my $FirstAttachment = $Transaction->Attachments->First; unless ( $FirstAttachment ) { return 1; } then later, around line 46: my $match = FindMatch( Field => $InspectField, Match => $MatchString, FirstAttachment => $FirstAttachment ); The full perl module can be found at http://tinyurl.com/4c9d3n . At any rate, it seems to me that the module is only checking the "first attachment" to the ticket (same as the first mimepart? which equals just the headers on a multipart message?). How can I easily work around this? I tried setting my $FirstAttachment = $Transaction->Attachments->Second; but that did not work. Any help much appreciated... -C- From npereira at protus.com Mon Apr 14 09:06:02 2008 From: npereira at protus.com (Nelson Pereira) Date: Mon, 14 Apr 2008 09:06:02 -0400 Subject: [rt-users] WMI for AssetManagement extenssion Message-ID: <21044E8C915A7E43B90A1056127160F116B4F6@EXMAIL.protus.org> Does anyone know if a WMI script exist for the RT Asset Management extension? Nelson Pereira Senior Network Administrator Protus IP Solutions Inc. npereira at protus.com phone: 613.733.0000 ext.528 MyFax: 613.822.5083 www.myfax.com Refer your friends and colleagues to MyFax! Click here for more information. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 4180 bytes Desc: image001.gif URL: From jboris at adphila.org Mon Apr 14 11:05:33 2008 From: jboris at adphila.org (John BORIS) Date: Mon, 14 Apr 2008 11:05:33 -0400 Subject: [rt-users] At Mail list info Message-ID: <48033A76.2594.002B.0@adphila.org> Is the Asset Tracker list still alive. I saw an email a while back about things starting up again. I have a few questions but don't want to post them here. the links I have all die or bounce. TIA John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" From gleduc at mail.sdsu.edu Mon Apr 14 11:23:16 2008 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Mon, 14 Apr 2008 08:23:16 -0700 Subject: [rt-users] Default Queue??? In-Reply-To: <008401c89c2d$12d269a0$16317280@soe.cse.ucsc.edu> References: <008401c89c2d$12d269a0$16317280@soe.cse.ucsc.edu> Message-ID: <6.2.1.2.2.20080414082156.023ce458@mail.sdsu.edu> Hi Tim, I'm pretty sure it's just the first one alphabetically. At 04:37 PM 4/11/2008, Tim Gustafson wrote: >Hello everyone! > >Please forgive the potentially silly question, but I've Google this and >haven't been able to come up with anything. > >Where the heck do you set the default queue for new tickets when users click >the "New ticket in" button at the top of the screen? -- Gene LeDuc, GSEC Security Analyst San Diego State University From tjg at soe.ucsc.edu Mon Apr 14 11:24:48 2008 From: tjg at soe.ucsc.edu (Tim Gustafson) Date: Mon, 14 Apr 2008 08:24:48 -0700 Subject: [rt-users] Default Queue??? In-Reply-To: <6.2.1.2.2.20080414082156.023ce458@mail.sdsu.edu> References: <008401c89c2d$12d269a0$16317280@soe.cse.ucsc.edu> <6.2.1.2.2.20080414082156.023ce458@mail.sdsu.edu> Message-ID: <045101c89e43$ad74a780$16317280@soe.cse.ucsc.edu> Actually, I don't think it is. Right now, it's using 'Techstaff', when there are about 5 others ahead of that queue ('Bels', 'Faculty Services', etc). Tim Gustafson SOE Webmaster UC Santa Cruz tjg at soe.ucsc.edu (831) 459-5354 -----Original Message----- From: Gene LeDuc [mailto:gleduc at mail.sdsu.edu] Sent: Monday, April 14, 2008 8:23 AM To: Tim Gustafson; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Default Queue??? Hi Tim, I'm pretty sure it's just the first one alphabetically. At 04:37 PM 4/11/2008, Tim Gustafson wrote: >Hello everyone! > >Please forgive the potentially silly question, but I've Google this and >haven't been able to come up with anything. > >Where the heck do you set the default queue for new tickets when users click >the "New ticket in" button at the top of the screen? -- Gene LeDuc, GSEC Security Analyst San Diego State University From jthuau at heavy-iron.com Mon Apr 14 11:12:56 2008 From: jthuau at heavy-iron.com (Joachim Thuau) Date: Mon, 14 Apr 2008 08:12:56 -0700 Subject: [rt-users] At Mail list info Message-ID: I believe it has been migrated to a google code/project. At least the code is there, along with a wiki with some docs. Maybe someone with write access to the wiki should update the link on the main rt wiki... :) Jok ----- Original Message ----- From: rt-users-bounces at lists.bestpractical.com To: rt-users at lists.bestpractical.com Sent: Mon Apr 14 08:05:33 2008 Subject: [rt-users] At Mail list info Is the Asset Tracker list still alive. I saw an email a while back about things starting up again. I have a few questions but don't want to post them here. the links I have all die or bounce. TIA John J. Boris, Sr. JEN-A-SyS Administrator Archdiocese of Philadelphia "Remember! That light at the end of the tunnel Just might be the headlight of an oncoming train!" _______________________________________________ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sales at bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From barnesaw at ucrwcu.rwc.uc.edu Mon Apr 14 11:27:06 2008 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Mon, 14 Apr 2008 11:27:06 -0400 Subject: [rt-users] Default Queue??? In-Reply-To: <045101c89e43$ad74a780$16317280@soe.cse.ucsc.edu> References: <008401c89c2d$12d269a0$16317280@soe.cse.ucsc.edu> <6.2.1.2.2.20080414082156.023ce458@mail.sdsu.edu> <045101c89e43$ad74a780$16317280@soe.cse.ucsc.edu> Message-ID: <480377CA.6070906@ucrwcu.rwc.uc.edu> It's probably using the queue's id. Look in share/html/Elements/SelectQueue Tim Gustafson wrote: > Actually, I don't think it is. Right now, it's using 'Techstaff', when > there are about 5 others ahead of that queue ('Bels', 'Faculty Services', > etc). > > Tim Gustafson > SOE Webmaster > UC Santa Cruz > tjg at soe.ucsc.edu > (831) 459-5354 > > > -----Original Message----- > From: Gene LeDuc [mailto:gleduc at mail.sdsu.edu] > Sent: Monday, April 14, 2008 8:23 AM > To: Tim Gustafson; rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Default Queue??? > > Hi Tim, > > I'm pretty sure it's just the first one alphabetically. > > At 04:37 PM 4/11/2008, Tim Gustafson wrote: > >> Hello everyone! >> >> Please forgive the potentially silly question, but I've Google this and >> haven't been able to come up with anything. >> >> Where the heck do you set the default queue for new tickets when users >> > click > >> the "New ticket in" button at the top of the screen? >> > > > From tjg at soe.ucsc.edu Mon Apr 14 11:36:23 2008 From: tjg at soe.ucsc.edu (Tim Gustafson) Date: Mon, 14 Apr 2008 08:36:23 -0700 Subject: [rt-users] Default Queue??? In-Reply-To: <480377CA.6070906@ucrwcu.rwc.uc.edu> References: <008401c89c2d$12d269a0$16317280@soe.cse.ucsc.edu> <6.2.1.2.2.20080414082156.023ce458@mail.sdsu.edu> <045101c89e43$ad74a780$16317280@soe.cse.ucsc.edu> <480377CA.6070906@ucrwcu.rwc.uc.edu> Message-ID: <045801c89e45$4b71cb60$16317280@soe.cse.ucsc.edu> Drew, Thanks! That code is giving me a bit of insight now. It appears that the default is being loaded from the user's profile: SelectQueue:47 ============== % my $d = new RT::Queue($session{'CurrentUser'}); % $d->Load($Default); SelectQueue:57 ==============