From vincent at 4pm.ie Fri May 1 06:45:45 2009 From: vincent at 4pm.ie (Vincent Beau) Date: Fri, 01 May 2009 11:45:45 +0100 Subject: [rt-users] RT Email config for Google Apps Message-ID: <49FAD2D9.7040605@4pm.ie> Hello, I'm currently looking for a solution to keep record of everything in the company I work for. As of today, RT is the solution I decided to give a try and present to the head offices. But my only problem now is in the email config. For info I decided to set up a Ubuntu server and use Postfix as the mailing system. The company I work for has decided to use Google Apps services, including the email boxes. So if I want to get RT working with everything I should definitely get along with Goolge services. So far, I'm already used to deal with GNU/Linux systems for desktop computing or lightweight LAMP servers. But frankly I have no knowledge in email servers and Ticketing Systems. Since I'm still in the testing phase I'm using a GMail account to deal with this but I barely understand how to configure postfix so that rt-mailgate can communicate via Google. I tried and followed several how-tos to configure Postfix with Google Apps without success. The one that seemed promising is this one: http://bookmarks.honewatson.com/2008/04/20/postfix-gmail-smtp-relay/ So, I'm looking for some help for getting everything running smoothly. Best regards, Vincent -- Vincent Beau vincent at 4pm.ie From Jim.Tambling at datatote.co.uk Fri May 1 09:03:34 2009 From: Jim.Tambling at datatote.co.uk (Jim Tambling) Date: Fri, 1 May 2009 14:03:34 +0100 Subject: [rt-users] Default queue for selfservice Message-ID: <72D9E13A8FC8994794D448E91198AE070133FC6A@mail.sys.internal> Thanks Roy :) Amazing how far a bit of common sense can go! Regards, Jim -----Original Message----- From: Raed El-Hames [mailto:rfh at vialtus.com] Sent: 30 April 2009 18:14 To: Jim Tambling Cc: rt-users at bestpractical.com Subject: Re: [rt-users] Default queue for selfservice Jim; Have you allowed unprivileged users to create tickets in different queue/s; In Queues/Your-Queue/GlobalRights , give the system group Everyone create ticket priv and remove this right from the General queue, if you don't wish them to create any tickets there Note you can give this right to more than one queue. Roy Jim Tambling wrote: > > Hi, > > > > How can I change the default q for self-service requests? At the > moment all tickets raised by unprivileged users go to "General" but I > would like them to go to a different queue. > > > > Thanks, Jim > From vadud3 at gmail.com Fri May 1 09:43:57 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 09:43:57 -0400 Subject: [rt-users] rt-mailgate is failing In-Reply-To: <589c94400904301406o4a5c58bayd223e259eaee610@mail.gmail.com> References: <589c94400904301406o4a5c58bayd223e259eaee610@mail.gmail.com> Message-ID: On Thu, Apr 30, 2009 at 5:06 PM, Ruslan Zakirov wrote: > 3.8's mailgate dowsn't allow you to create a ticket with a requestor. It is working when it receives a real email. Thanks for your help > > > On Fri, May 1, 2009 at 1:01 AM, Asif Iqbal wrote: > > The upgraded RT 3.8.2 is failing with rt-mailgate. The original > installation > > works just fine. What am I missing? > > > > (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp > > --action correspond --url https://192.168.0.174 --debug > > /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU' > > /tmp/rt-mailgate: connecting to > > https://192.168.0.174/REST/1.0/NoAuth/mail-gateway > > not ok - Could not load a valid user > > > > (iqbala)@qmail:~$ echo this is a test | /tmp/rt-mailgate --queue syshelp > > --action correspond --url https://rt.example.net --debug > > /tmp/rt-mailgate: temp file is '/tmp/mmF2JFMLdU' > > /tmp/rt-mailgate: connecting to > > https://rt.example.net/REST/1.0/NoAuth/mail-gateway > > okTicket: 604325Queue: SysHelpOwner: NobodyStatus: newSubject: Requestor: > > > > > > > > -- > > Asif Iqbal > > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > > A: Because it messes up the order in which people normally read text. > > Q: Why is top-posting such a bad thing? > > > > > > > > _______________________________________________ > > 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. > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Fri May 1 09:44:37 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 09:44:37 -0400 Subject: [rt-users] How to add Company logo In-Reply-To: References: Message-ID: On Thu, Apr 30, 2009 at 5:22 PM, Asif Iqbal wrote: > How do I place a company logo on the top left corner on RT 3.8.2 ? > > Also how do I place a icon next the URL in the url box of the browser so > it survives the next time upgrade? > > I have done it for current version RT 3.4.5, but it has been really looong > time since I made those changes, so I don't > remember, *sigh* > I still need help with this > > > Thanks for your help > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmoseley at corp.xanadoo.com Fri May 1 10:13:36 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 09:13:36 -0500 Subject: [rt-users] How to add Company logo In-Reply-To: Message-ID: Perhaps folks were thinking you'd look in the Wiki first: http://wiki.bestpractical.com/view/ChangeLogo You will need to pay attention to the 3.5+ section regarding copying the Logo file to RT_HOME/local/html/Elements/Logo If you choose that method, you need not put all the SetLogo stuff in your RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried the instructions for RT 3.8. That seems fairly straightfoward and much easier than creating a Logo file. Also, no need to cc the devel list... James Moseley Asif Iqbal wrote: On Thu, Apr 30, 2009 at 5:22 PM, Asif Iqbal wrote: How do I place a company logo on the top left corner on RT 3.8.2 ? Also how do I place a icon next the URL in the url box of the browser so it survives the next time upgrade? I have done it for current version RT 3.4.5, but it has been really looong time since I made those changes, so I don't remember, *sigh* I still need help with this From vadud3 at gmail.com Fri May 1 10:29:31 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 10:29:31 -0400 Subject: [rt-users] Update the front page globally Message-ID: How do I change the front page globally (system wide) for all users? My users don't want to see the "top 10 unknowned tickets". I know how to change it per user when login as the user. -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Fri May 1 10:30:30 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 10:30:30 -0400 Subject: [rt-users] Update the front page globally In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 10:29 AM, Asif Iqbal wrote: > How do I change the front page globally (system wide) for all users? My > users don't want to see the "top 10 unknowned tickets". I know how to change > it > per user when login as the user. Forgot to mention, this is for RT 3.8.2 > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From barnesaw at ucrwcu.rwc.uc.edu Fri May 1 10:34:19 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Fri, 01 May 2009 10:34:19 -0400 Subject: [rt-users] Unusual scrip need In-Reply-To: <49FA19A1.3000204@lbl.gov> References: <49FA1162.4060400@lbl.gov> <1241125661.10150.1313174653@webmail.messagingengine.com> <49FA19A1.3000204@lbl.gov> Message-ID: <49FB086B.7090109@ucrwcu.rwc.uc.edu> I can't recall where in the code that gets used but it's almost a surefire scrip for the cutting and pasting (with a couple modifications). Ken Crocker wrote: > Nick, > > I don't want this for ALL my queues, just one. > > > Kenn > LBNL > > On 4/30/2009 2:07 PM, Nick Kartsioukas wrote: >> On Thu, 30 Apr 2009 14:00:18 -0700, "Ken Crocker" >> said: >> >>> I have a need of a scrip that will take the CC adressees of an email >>> and make them the "ticket" CC's when the ticket is created via email. >>> Has anyone done this? Can anyone point me to an example or such a >>> scrip? I can write the part that recognizes an email "create". I just >>> don't know how to parse out the "cc" addressees. HELP! Thanks. >>> >> >> Set($ParsenewMessageForTicketCcs, 1); in RT_SiteConfig.pm. You'll want >> to set $RTAddressRegexp as well so RT doesn't add its own address as a >> CC. http://wiki.bestpractical.com/view/RTAddressRegexp >> >> > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From vadud3 at gmail.com Fri May 1 10:59:29 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 10:59:29 -0400 Subject: [rt-users] rt cli is failing for rt 3.8.2 Message-ID: /opt/rt3/bin/rt list -t ticket "queue='syshelp' and status !='resolved' and owner='nobody'" Query:queue='syshelp' and status !='resolved' and owner='nobody' Strong encryption not available, switched off by externalauth=0 Password will be sent to localhost unencrypted Press CTRL-C now if you do not want to continue Password: rt: Server error: Not Found (404) The password works find through GUI my unix login is mathces. So that is not a problem. -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.seaman at thebunker.net Fri May 1 11:04:14 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Fri, 01 May 2009 16:04:14 +0100 Subject: [rt-users] How to add Company logo In-Reply-To: References: Message-ID: <49FB0F6E.9090005@thebunker.net> jmoseley at corp.xanadoo.com wrote: > Perhaps folks were thinking you'd look in the Wiki first: > > http://wiki.bestpractical.com/view/ChangeLogo > > You will need to pay attention to the 3.5+ section regarding copying the > Logo file to RT_HOME/local/html/Elements/Logo > > If you choose that method, you need not put all the SetLogo stuff in your > RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried the > instructions for RT 3.8. That seems fairly straightfoward and much easier > than creating a Logo file. > > Also, no need to cc the devel list... > > > James Moseley Under 3.8 you can follow the instructions from the Wiki but you won't get a company logo showing up. That's because the web2 CSS sets the logo image to 'display: none' -- there isn't really a very good place to stick a logo in the 3.8 page layout. I did try adding a customised bit of CSS to add a corporate logo attached to the background in the lower left of the browser window. Copy .../NoAuth/css/web2/layout.css to your local tree in the usual 'cleanly customize' way and change the entry for 'div#logo a' like so: div#logo a { position: fixed; left: 1%; bottom: 1%; } Then clean the mason cache and restart. This does work, but we turned it off after a while because it made Firefox scroll like a dog -- even worse than the effect due to the rounded corners. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From jmoseley at corp.xanadoo.com Fri May 1 11:29:05 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Fri, 1 May 2009 10:29:05 -0500 Subject: [rt-users] How to add Company logo In-Reply-To: <49FB0F6E.9090005@thebunker.net> Message-ID: We don't seem to have any problems using a 200x90 logo in our 3.8.2 install. We have simply done the following: Create a logo file: /local/htmlElements/Logo With: <%args> $show_name => 1 Put image in /share/html/NoAuth/images There are no SetLogo references in our RT_SiteConfig. James Moseley Matthew Seaman wrote: Under 3.8 you can follow the instructions from the Wiki but you won't get a company logo showing up. That's because the web2 CSS sets the logo image to 'display: none' -- there isn't really a very good place to stick a logo in the 3.8 page layout. I did try adding a customised bit of CSS to add a corporate logo attached to the background in the lower left of the browser window. Copy .../NoAuth/css/web2/layout.css to your local tree in the usual 'cleanly customize' way and change the entry for 'div#logo a' like so: div#logo a { position: fixed; left: 1%; bottom: 1%; } Then clean the mason cache and restart. This does work, but we turned it off after a while because it made Firefox scroll like a dog -- even worse than the effect due to the rounded corners. From mike.peachey at jennic.com Fri May 1 11:35:34 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 01 May 2009 16:35:34 +0100 Subject: [rt-users] How to add Company logo In-Reply-To: References: Message-ID: <49FB16C6.6070107@jennic.com> Fri 01 May 2009 16:29:05 GMT jmoseley at corp.xanadoo.com wrote: > We don't seem to have any problems using a 200x90 logo in our 3.8.2 > install. For what it's worth, while I haven't had a lot of time to deal with it, the main problem I have had with setting our custom logo is that the size of the div the logo lives in is dependant upon the width of the text under the logo, which means that it's not possible to have a logo without a wide line of text under it. I'm sure it's a basic CSS thing, but because of the very complex way the CSS is sourced for RT I didn't get to the bottom of it before I ran out of time last time I was looking into it. -- 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 vadud3 at gmail.com Fri May 1 11:52:07 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 11:52:07 -0400 Subject: [rt-users] How to add Company logo In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 10:13 AM, wrote: > Perhaps folks were thinking you'd look in the Wiki first: > > http://wiki.bestpractical.com/view/ChangeLogo > > You will need to pay attention to the 3.5+ section regarding copying the > Logo file to RT_HOME/local/html/Elements/Logo > > If you choose that method, you need not put all the SetLogo stuff in your > RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried the > instructions for RT 3.8. That seems fairly straightfoward and much easier > than creating a Logo file. > > Also, no need to cc the devel list... > > > James Moseley > > Thanks for the wiki link. I just followed the 3.8 section since I am running 3.8.2 and I did exactly this # ls local/NoAuth/images/exmaple_logo.gif local/NoAuth/images/example_logo.gif # vi etc/RT_SiteConfig.pm Set($WebBaseURL , "https://rt.example.net"); Set($WebURL , $WebBaseURL . $WebPath . "/"); Set($WebImagesURL , $WebURL . "NoAuth/images/"); Set($LogoURL , $WebImagesURL . "example_logo.gif"); Set($LogoLinkURL, "https://rt.example.net"); Set($LogoImageURL, $WebImagesURL . "example_logo.gif"); Set($LogoAltText, "Example Company"); Then cleaned the mason cache and restarted the webserver. I do not see the compnay log or the alternate text :-( > > > Asif Iqbal wrote: > > On Thu, Apr 30, 2009 at 5:22 PM, Asif Iqbal wrote: > How do I place a company logo on the top left corner on RT 3.8.2 ? > > Also how do I place a icon next the URL in the url box of the browser so > it survives the next time upgrade? > > I have done it for current version RT 3.4.5, but it has been really > looong time since I made those changes, so I don't > remember, *sigh* > > I still need help with this > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Fri May 1 12:06:01 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 12:06:01 -0400 Subject: [rt-users] rt cli is failing for rt 3.8.2 In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 10:59 AM, Asif Iqbal wrote: > /opt/rt3/bin/rt list -t ticket "queue='syshelp' and status !='resolved' and > owner='nobody'" > Query:queue='syshelp' and status !='resolved' and owner='nobody' > Strong encryption not available, switched off by externalauth=0 > Password will be sent to localhost unencrypted > Press CTRL-C now if you do not want to continue > Password: > rt: Server error: Not Found (404) > > The password works find through GUI > > my unix login is mathces. So that is not a problem. > It is working now. I forgot to create the .rtrc > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Fri May 1 12:09:46 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 1 May 2009 20:09:46 +0400 Subject: [rt-users] rt cli is failing for rt 3.8.2 In-Reply-To: References: Message-ID: <589c94400905010909t72c1b6c5s6feeecf5c327ec91@mail.gmail.com> Your settings are wrong. 404 error is page not found. On Fri, May 1, 2009 at 6:59 PM, Asif Iqbal wrote: > /opt/rt3/bin/rt list -t ticket "queue='syshelp' and status !='resolved' and > owner='nobody'" > Query:queue='syshelp' and status !='resolved' and owner='nobody' > ?? Strong encryption not available, switched off by externalauth=0 > ?? Password will be sent to localhost unencrypted > ?? Press CTRL-C now if you do not want to continue > Password: > rt: Server error: Not Found (404) > > The password works find through GUI > > my unix login is mathces. So that is not a problem. > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > > _______________________________________________ > 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 allen at crystalfontz.com Fri May 1 14:24:37 2009 From: allen at crystalfontz.com (Allen Lee) Date: Fri, 1 May 2009 11:24:37 -0700 Subject: [rt-users] RT Email config for Google Apps Message-ID: <885d981e0905011124i5d4502dcteb27b87d54bad60c@mail.gmail.com> > ? 1. RT Email config for Google Apps (Vincent Beau) You could use Google Apps to create a mailbox (like "rt") on Google's servers. Then the RT's email address would be "rt at yourdomain". Then login to that mailbox on G-Apps and create some filters so that mail sent to different queues would be labelled differently. If you have a "support" queue, for example, set a filter at Google so that all mail sent to "rt+support at yourdomain" will have the actions "Skip Inbox" and "Label : Support." Mail sent to "rt+support-comment at yourdomain" will have the actions "Skip Inbox" and "Label : Support-Comment." Then go into the Settings of the "rt" user's G-Apps account and enable IMAP service. Then run fetchmail as a daemon on your linux server where RT is installed. Your /etc/fetchmailrc file might look like this: set daemon 60 set invisible set no bouncemail set no syslog set logfile /var/log/fetchmail poll imap.gmail.com proto IMAP service 993 user rt at YOURDOMAIN pass YOURPASSWORD folder Support ssl mda "/usr/bin/rt-mailgate --url http://YOUR-RT-URL/rt --queue Support --action correspond" poll imap.gmail.com proto IMAP service 993 user rt at YOUDOMAIN pass YOURPASSWORD folder Support-Comment ssl mda "/usr/bin/rt-mailgate --url http://YOUR-RT-URL/rt --queue Support --action comment" You would have a pair of "poll" config lines like that above for each Queue. Those lines would be for your "Support" queue and you replace the things in ALLCAPS with your appropriate things. Doing this way lets all the mail pile up at Google, then your RT just goes and sucks down the appropriate unread messages into each queue every minute, creating a ticket for each one and leaving the read messages on the G-Apps servers. From vadud3 at gmail.com Fri May 1 14:34:12 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 14:34:12 -0400 Subject: [rt-users] Update the front page globally In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 10:30 AM, Asif Iqbal wrote: > > > On Fri, May 1, 2009 at 10:29 AM, Asif Iqbal wrote: > >> How do I change the front page globally (system wide) for all users? My >> users don't want to see the "top 10 unknowned tickets". I know how to change >> it >> per user when login as the user. > > > > Forgot to mention, this is for RT 3.8.2 > this wiki says login as root to make the change. what is my root login. i tried the root login that works to login to mysql but that did not let me in http://wiki.bestpractical.com/view/ChangeDefaultRTAtAGlance > > >> >> >> -- >> Asif Iqbal >> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> >> >> > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Fri May 1 14:44:39 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 14:44:39 -0400 Subject: [rt-users] Update the front page globally In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 2:34 PM, Asif Iqbal wrote: > > > On Fri, May 1, 2009 at 10:30 AM, Asif Iqbal wrote: > >> >> >> On Fri, May 1, 2009 at 10:29 AM, Asif Iqbal wrote: >> >>> How do I change the front page globally (system wide) for all users? My >>> users don't want to see the "top 10 unknowned tickets". I know how to change >>> it >>> per user when login as the user. >> >> >> >> Forgot to mention, this is for RT 3.8.2 >> > > this wiki says login as root to make the change. what is my root login. i > tried the root login that works to login to mysql > but that did not let me in > > http://wiki.bestpractical.com/view/ChangeDefaultRTAtAGlance > I login as root and removed the unowned tickets. But when I login as a user I still see unown tickets. How do make that change system wide for all users? > > > > >> >> >>> >>> >>> -- >>> Asif Iqbal >>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >>> A: Because it messes up the order in which people normally read text. >>> Q: Why is top-posting such a bad thing? >>> >>> >>> >> >> >> -- >> Asif Iqbal >> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> >> >> > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Fri May 1 14:41:40 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 14:41:40 -0400 Subject: [rt-users] Update the front page globally In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 2:34 PM, Asif Iqbal wrote: > > > On Fri, May 1, 2009 at 10:30 AM, Asif Iqbal wrote: > >> >> >> On Fri, May 1, 2009 at 10:29 AM, Asif Iqbal wrote: >> >>> How do I change the front page globally (system wide) for all users? My >>> users don't want to see the "top 10 unknowned tickets". I know how to change >>> it >>> per user when login as the user. >> >> >> >> Forgot to mention, this is for RT 3.8.2 >> > > this wiki says login as root to make the change. what is my root login. i > tried the root login that works to login to mysql > but that did not let me in > > http://wiki.bestpractical.com/view/ChangeDefaultRTAtAGlance > > changed the root password by following this wiki http://wiki.bestpractical.com/view/RecoverRootPassword > >> >> >>> >>> >>> -- >>> Asif Iqbal >>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >>> A: Because it messes up the order in which people normally read text. >>> Q: Why is top-posting such a bad thing? >>> >>> >>> >> >> >> -- >> Asif Iqbal >> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> >> >> > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mlaster at worldsynergy.com Fri May 1 15:11:16 2009 From: Mlaster at worldsynergy.com (Mikal Laster) Date: Fri, 1 May 2009 15:11:16 -0400 Subject: [rt-users] Fetchmail per domain ticket creation Message-ID: <72BA2512C469854793C64315746F851713DCDD456C@WSSBS.WorldSynergy.local> Hello, Is there a way to having tickets created by a user on a per domain bases? I.E. jsmith at abc.com creates ticket using user abc sara at abc.com creates ticket using user abc harry at mydomain.com creates ticket using user mydomain sue at mydomain.com creates ticket using user mydomain -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Fri May 1 16:03:47 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 2 May 2009 00:03:47 +0400 Subject: [rt-users] Update the front page globally In-Reply-To: References: Message-ID: <589c94400905011303i641c77a1l6ba656881d463832@mail.gmail.com> http://localhost:8080/Admin/Global/MyRT.html On Fri, May 1, 2009 at 10:34 PM, Asif Iqbal wrote: > > > On Fri, May 1, 2009 at 10:30 AM, Asif Iqbal wrote: >> >> >> On Fri, May 1, 2009 at 10:29 AM, Asif Iqbal wrote: >>> >>> How do I change the front page globally (system wide) for all users? My >>> users don't want to see the "top 10 unknowned tickets". I know how to change >>> it >>> per user when login as the user. >> >> Forgot to mention, this is for RT 3.8.2 > > this wiki says login as root to make the change. what is my root login. i > tried the root login that works to login to mysql > but that did not let me in > > ?http://wiki.bestpractical.com/view/ChangeDefaultRTAtAGlance > > >> >> >>> >>> >>> -- >>> Asif Iqbal >>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >>> A: Because it messes up the order in which people normally read text. >>> Q: Why is top-posting such a bad thing? >>> >>> >> >> >> >> -- >> Asif Iqbal >> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> >> > > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > > _______________________________________________ > 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 jlucas at eagleinvsys.com Fri May 1 15:18:12 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Fri, 1 May 2009 15:18:12 -0400 Subject: [rt-users] Active Directory authentication In-Reply-To: References: Message-ID: <11E641922C0B44439FB30F8936ABF6210638CE2F@bigmail01.eagleinvsys.com> I have been able to get authentication via AD working but need to work around an issue. In AD... sAMAccountName = ABC456 mail=jdoe at company.com As you can see, the users email address is not always @company.com. This is a problem now that I want to use rt-mailgate and want to stay away from users having two accounts in RT... one based on their sAMAccountName and another based on their e-mail address (which would be the case if folks create tickets via email and we continue to use sAMAccountName for the RT username and I grant 'Everyone' the right 'CreateTicket' and allow for the auto-creation of new users). If want to use people's email address for their RT username... 1) how do I authenticate them against AD with their email address and AD password instead of sAMAccountName and password? Is this something that would need to be configured/allowed in AD? 2) Or, could I have users authenticate against AD with their sAMAccountName but somehow have their username in RT be their email address? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Fri May 1 16:29:35 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Fri, 1 May 2009 16:29:35 -0400 Subject: [rt-users] Update the front page globally In-Reply-To: <589c94400905011303i641c77a1l6ba656881d463832@mail.gmail.com> References: <589c94400905011303i641c77a1l6ba656881d463832@mail.gmail.com> Message-ID: On Fri, May 1, 2009 at 4:03 PM, Ruslan Zakirov wrote: > http://localhost:8080/Admin/Global/MyRT.html Excellent! That did it! Ruslan, you rock man. Thanks a lot > > > On Fri, May 1, 2009 at 10:34 PM, Asif Iqbal wrote: > > > > > > On Fri, May 1, 2009 at 10:30 AM, Asif Iqbal wrote: > >> > >> > >> On Fri, May 1, 2009 at 10:29 AM, Asif Iqbal wrote: > >>> > >>> How do I change the front page globally (system wide) for all users? My > >>> users don't want to see the "top 10 unknowned tickets". I know how to > change > >>> it > >>> per user when login as the user. > >> > >> Forgot to mention, this is for RT 3.8.2 > > > > this wiki says login as root to make the change. what is my root login. i > > tried the root login that works to login to mysql > > but that did not let me in > > > > http://wiki.bestpractical.com/view/ChangeDefaultRTAtAGlance > > > > > >> > >> > >>> > >>> > >>> -- > >>> Asif Iqbal > >>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > >>> A: Because it messes up the order in which people normally read text. > >>> Q: Why is top-posting such a bad thing? > >>> > >>> > >> > >> > >> > >> -- > >> Asif Iqbal > >> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > >> A: Because it messes up the order in which people normally read text. > >> Q: Why is top-posting such a bad thing? > >> > >> > > > > > > > > -- > > Asif Iqbal > > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > > A: Because it messes up the order in which people normally read text. > > Q: Why is top-posting such a bad thing? > > > > > > > > _______________________________________________ > > 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. > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From a at aufbix.org Fri May 1 19:01:24 2009 From: a at aufbix.org (Andraz Sraka) Date: Sat, 02 May 2009 01:01:24 +0200 Subject: [rt-users] Scripts reordering etc In-Reply-To: <49FA05F9.2010802@lbl.gov> References: <1240920417.7171.83.camel@mono> <1241087773.1143.34.camel@mono> <49FA05F9.2010802@lbl.gov> Message-ID: <1241218884.11196.10.camel@mono> On Thu, 2009-04-30 at 13:11 -0700, Ken Crocker wrote: > Create your new scrip with the condition "On Create" and the action > "Notify AdminCc's. That should do it. Hope this helps. Great, thanks. It does the job :) regards, Andraz -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: From kfcrocker at lbl.gov Fri May 1 20:43:46 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 01 May 2009 17:43:46 -0700 Subject: [rt-users] Question about how Users are added Message-ID: <49FB9742.7060603@lbl.gov> To any and all, The more I use this system, the more I have to learn. In our setup, we use LDAP as the authenticator. It seems to be working fine. Our current applicable settings are as follows: * *Set($LookupSenderInExternalDatabase, 1);* * *Set($SenderMustExistInExternalDatabase, 1);* * *Set($AuthMethods, ['LDAP', 'Internal']);* * *Set($LdapExternalAuth, 1);* * *Set($LdapExternalInfo, 1);* * *Set($LdapAutoCreateNonLdapUsers, 0);* * *Set($LdapAttrMap, {'Name' => 'uid',* * 'EmailAddress' => 'mail',* * 'Organization' => 'o',* * 'RealName' => 'cn',* * 'ExternalContactInfoId' => 'dn',* * 'ExternalAuthId' => 'lblempnum',* * 'Gecos' => 'uid',* * 'WorkPhone' => 'telephonenumber',* * 'Address1' => 'lblmailstop',* * 'Address2' => 'postaladdress'}* * );* * *Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', 'EmailAddress', 'RealName', 'ExternalAuthId', 'WorkPhone', 'Address2']);* * *Set($LdapEmailAttrMatchList, ['uid']);* * *Set($LdapEmailAttrMatchPrefix, [''] );* * *Set($LdapTLS, 1);* * *Set($LdapSSLVersion, 3)*; However, I have noticed that when a ticket owner adds an email address to the ticket 'CC' field and a reply goes out, they get added as an "unprivileged" user. If this is normal RT processing, I have two questions: 1. Is is possible to have RT add that "unprivileged" user so that the ID is not the /entire/ email address (drop the @xxx.com or @xxx.gov, etc.)? 2. When a user signs into RT for the first time, have RT check to see if they have an ID already as an "unprivileged" user by using the /email/ address? Can I change my settings to make either one of these possibilities a reality? It would REALLY make my life easier as the administrator. I'm finding many Users with two IDs, 1 that is an email address as the id (they were originally added due to being a 'cc' on an email) and the other that is when they signed into RT at a later date. I end up with 100 tickets that point to 1 UserId and the real "privileged" UserId used on other tickets. Two UserId's for one person is kind of messy. Any ideas or advice? Thanks. Kenn LBNL -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Sat May 2 15:13:24 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sat, 2 May 2009 15:13:24 -0400 Subject: [rt-users] How to add Company logo In-Reply-To: References: Message-ID: On Fri, May 1, 2009 at 11:52 AM, Asif Iqbal wrote: > On Fri, May 1, 2009 at 10:13 AM, wrote: > >> Perhaps folks were thinking you'd look in the Wiki first: >> >> http://wiki.bestpractical.com/view/ChangeLogo >> >> You will need to pay attention to the 3.5+ section regarding copying the >> Logo file to RT_HOME/local/html/Elements/Logo >> >> If you choose that method, you need not put all the SetLogo stuff in your >> RT_SiteConfig. This is how I have my RT 3.8.2 setup. I have not tried >> the >> instructions for RT 3.8. That seems fairly straightfoward and much easier >> than creating a Logo file. >> >> Also, no need to cc the devel list... >> >> >> James Moseley >> >> > > Thanks for the wiki link. I just followed the 3.8 section since I am > running 3.8.2 and I did exactly this > > > # ls local/NoAuth/images/exmaple_logo.gif > local/NoAuth/images/example_logo.gif > > # vi etc/RT_SiteConfig.pm > > Set($WebBaseURL , "https://rt.example.net"); > Set($WebURL , $WebBaseURL . $WebPath . "/"); > Set($WebImagesURL , $WebURL . "NoAuth/images/"); > Set($LogoURL , $WebImagesURL . "example_logo.gif"); > Set($LogoLinkURL, "https://rt.example.net"); > Set($LogoImageURL, $WebImagesURL . "example_logo.gif"); > Set($LogoAltText, "Example Company"); > > Then cleaned the mason cache and restarted the webserver. > > I do not see the compnay log or the alternate text :-( > > >> >> >> Asif Iqbal wrote: >> >> On Thu, Apr 30, 2009 at 5:22 PM, Asif Iqbal wrote: >> How do I place a company logo on the top left corner on RT 3.8.2 ? >> >> Also how do I place a icon next the URL in the url box of the browser so >> it survives the next time upgrade? >> >> I have done it for current version RT 3.4.5, but it has been really >> looong time since I made those changes, so I don't >> remember, *sigh* >> >> I still need help with this >> >> I see the alternate text now, but no logo This is how I have it setup now (root)@rt:/opt/rt3$ ls local/html/NoAuth/images/ example_logo.gif (root)@rt:/opt/rt3$ less local/html/Elements/Logo <%INIT> if ( exists $ARGS{'show_name'} ) { $RT::Logger->warning('show_name argument was renamed, use ShowName'); $ShowName = delete $ARGS{'show_name'}; } <%ARGS> $ShowName => 1 $Name => undef (root)@rt:/opt/rt3$ less local/html/NoAuth/css/web2/layout.css [...] div#logo a { position: absolute; left: 0; bottom: 0; } [...] (root)@rt:/opt/rt3$ less etc/RT_SiteConfig.pm Set($WebBaseURL , "https://rt.example.net"); Set($WebURL , $WebBaseURL . $WebPath . "/"); Set($WebImagesURL , $WebURL . "NoAuth/images/"); Set($LogoURL , $WebImagesURL . "example_logo.gif"); Set($LogoLinkURL, "https://rt.example.net"); Set($LogoImageURL, $WebImagesURL . "example_logo.gif"); Set($LogoAltText, "Example Company"); Set($LogoWidth, '177'); Set($LogoHeight, '33'); Cleaned up mason cache (root)@rt:/opt/rt3$ rm -rf var/mason_data/obj/ Restarted web server I only see the alternate text on the bottom left corner. No image. I also verfified that the image is valid. I copied it over from older RT installation 3.4.5 Now I am out of ideas. I am running RT 3.8.2 >> > > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Sat May 2 16:20:46 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sat, 2 May 2009 16:20:46 -0400 Subject: [rt-users] how to run new rt cli in cron Message-ID: The rt cli from 2001 does not require a password to get the content of a ticket. So running it as part of a cron is not a problem To get the content of a ticket with rt cli from rt-3.8.2 I need to run rt show , but it requires a password. So I need to run it interactively. Plus I am not comfortable to feed a password in cronjob. How do I by pass the password prompt? Is there another user I can use instead where I don't have to feed a password thru cronjob? Thanks -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Sat May 2 17:02:00 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Sat, 2 May 2009 17:02:00 -0400 Subject: [rt-users] ADMIN Re: [Rt-devel] how to run new rt cli in cron In-Reply-To: References: Message-ID: <20090502210200.GG31175@bestpractical.com> Please do not CC both rt-users and rt-devel for a single post. Pick one list or the other. From jmoseley at corp.xanadoo.com Sat May 2 17:47:56 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Sat, 2 May 2009 16:47:56 -0500 Subject: [rt-users] how to run new rt cli in cron In-Reply-To: Message-ID: What's the specific problem with putting a password in a crontab or a shell script that cron calls? Only folks with root access could see the password. Besides, you've got to put the RT database password in plain text in your RT_SiteConfig file, unless you are running without a password, which is even worse... I haven't used the CLI, but if it's truly interactive, you'll need to write an expect script. BTW, it appears you didn't catch my email with specific instructions for creating a Logo file... James Moseley Asif Iqbal wrote: The rt cli from 2001 does not require a password to get the content of a ticket. So running it as part of a cron is not a problem To get the content of a ticket with rt cli from rt-3.8.2 I need to run rt show , but it requires a password. So I need to run it interactively. Plus I am not comfortable to feed a password in cronjob. How do I by pass the password prompt? Is there another user I can use instead where I don't have to feed a password thru cronjob? From vadud3 at gmail.com Sat May 2 20:28:14 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sat, 2 May 2009 20:28:14 -0400 Subject: [rt-users] how to run new rt cli in cron In-Reply-To: References: Message-ID: On Sat, May 2, 2009 at 5:47 PM, wrote: > What's the specific problem with putting a password in a crontab or a shell > script that cron calls? Only folks with root access could see the > password. Besides, you've got to put the RT database password in plain > text in your RT_SiteConfig file, unless you are running without a password, > which is even worse... good point. that answered my question > > > I haven't used the CLI, but if it's truly interactive, you'll need to write > an expect script. > > BTW, it appears you didn't catch my email with specific instructions for > creating a Logo file... I tried to follow. Is it possible to point to what I have done wrong based on my last repy to that email. Thanks for your help > > > > James Moseley > > > > Asif Iqbal wrote: > > The rt cli from 2001 does not require a password to get the content of a > ticket. So running it as part of a cron is not a problem > > To get the content of a ticket with rt cli from rt-3.8.2 I need to run rt > show , but it requires a password. > So I need to run it interactively. Plus I am not comfortable to feed a > password in cronjob. > > How do I by pass the password prompt? Is there another user I can use > instead where I don't have to feed a password thru cronjob? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmoseley at corp.xanadoo.com Sat May 2 20:36:42 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Sat, 2 May 2009 19:36:42 -0500 Subject: [rt-users] How to add Company logo In-Reply-To: Message-ID: Asif, in your email today, your syntax did not contain what I wrote below yesterday. Furermore, with this syntax, as said before, you sould not have SetLogo statements in your RT_SiteConfig.pm config. This is only one way to do it - I am sure there are others. I would search the wiki and the mailing list archives - this is exactly how I arrived at my configuration below. James Moseley jmoseley at corp.xanadoo.com wrote: We don't seem to have any problems using a 200x90 logo in our 3.8.2 install. We have simply done the following: Create a logo file: /local/htmlElements/Logo With: <%args> $show_name => 1 Put image in /share/html/NoAuth/images There are no SetLogo references in our RT_SiteConfig. From vadud3 at gmail.com Sun May 3 09:29:58 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sun, 3 May 2009 09:29:58 -0400 Subject: [rt-users] rt shredder slow Message-ID: rt shredder part of rt 3.8.2 seems extremely slow in wiping out tickets. I have over thousand tickets that needs to be wiped out. can I any way speed up rt shredder? also how can I run it through cron? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Sun May 3 10:07:49 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sun, 3 May 2009 10:07:49 -0400 Subject: [rt-users] software caused connection abort Message-ID: Any idea what this means. I am getting this when the https connection to rt 3.8.2 is super slow [Sun May 3 14:05:13 2009] [crit]: Apache2::RequestIO::rflush: (130) Software caused connection abort at /opt/csw/share/perl/site_perl/HTML/Mason/ApacheHandler.pm line 1020 (/opt/rt3/bin/webmux.pl:151) -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From vadud3 at gmail.com Sun May 3 10:12:49 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Sun, 3 May 2009 10:12:49 -0400 Subject: [rt-users] rt shredder slow In-Reply-To: References: Message-ID: On Sun, May 3, 2009 at 9:29 AM, Asif Iqbal wrote: > rt shredder part of rt 3.8.2 seems extremely slow in wiping out tickets. I > have over thousand tickets that needs to be wiped out. > > can I any way speed up rt shredder? also how can I run it through cron? When I pick 1000 as the limit for shredder I get this message > > > Request-URI Too Large > > The requested URL's length exceeds the capacity limit for this server. > Hmm.. should I not able to shred 1000 ticket at once? > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Uday.Dey at SierraAtlantic.com Mon May 4 01:34:26 2009 From: Uday.Dey at SierraAtlantic.com (Uday Dey) Date: Mon, 4 May 2009 11:04:26 +0530 Subject: [rt-users] Query for Service downtime Message-ID: <54B67ECB9DBA4B4DBC69C96C2E0D425D04E3C573@instpex1.in.corp.sa> Hi, I am trying to generate a report for fetching the instance name, the related services and what is the downtime for each one of them. I have figured out something like this: select t.id, t.queue, t.owner, substr(t.subject,1,20) subject, t.timeworked, t.status, t.timeleft, t.told, t.started, t.resolved, t.lastupdatedby, t.creator, t.created from tickets t, queues q where t.status='resolved' and t.subject like upper('%down%') and q.name='&client_name' and q.id=t.queue; But it's not solving my purpose fully. I am getting the date on which the services went down and the date on which it got resolved. All in all I am not getting the respective Downtime for each of the services. I had a plan of fetching the difference in time of when the tickets were opened and when the tickets were resolved. That would give me the downtime but I have no idea how to implement that. Any help on this regard will greatly appreciated. Regards, Uday __________________________________________________________________________________________________________________ DISCLAIMER:"The information contained in this message and the attachments (if any) may be privileged and confidential and protected from disclosure. You are hereby notified that any unauthorized use, dissemination, distribution or copying of this communication, review, retransmission, or taking of any action based upon this information, by persons or entities other than the intended recipient, is strictly prohibited. If you are not the intended recipient or an employee or agent responsible for delivering this message, and have received this communication in error, please notify us immediately by replying to the message and kindly delete the original message, attachments, if any, and all its copies from your computer system. Thank you for your cooperation." ________________________________________________________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From vaclav.vobornik at commerzbank.com Mon May 4 04:51:05 2009 From: vaclav.vobornik at commerzbank.com (Vaclav Vobornik) Date: Mon, 04 May 2009 10:51:05 +0200 Subject: [rt-users] requestors group access Message-ID: <49FEAC79.5080403@commerzbank.com> Good morning, I have a specific question from one of our customers. Let's say, there is a Sybase team we support: Peter, John, and Maria (unprivileged users). When Peter creates a ticket, only Peter can see it after he logs in to the RT. The same when John creates a ticket - only he sees it. I'd like they can see all the tickets one of them is a requestor - but only within their Sybase group. E.g. When Maria creates a ticket, also Peter and John could see a status in the same way like Maria. Is there any solution already in place, please? Many thanks -- Vaclav Vobornik ZIT 12.2.3 System Design & Development C O M M E R Z B A N K A G Myslikova 31 CZ-11000 Prague From jul-rt at julbox.net Mon May 4 05:47:23 2009 From: jul-rt at julbox.net (jul) Date: Mon, 4 May 2009 11:47:23 +0200 (CEST) Subject: [rt-users] Query for Service downtime In-Reply-To: <54B67ECB9DBA4B4DBC69C96C2E0D425D04E3C573@instpex1.in.corp.sa> References: <54B67ECB9DBA4B4DBC69C96C2E0D425D04E3C573@instpex1.in.corp.sa> Message-ID: <37324.84.103.45.38.1241430443.squirrel@squirrel.est-unique.net> Hello Uday Dey a ?crit : > Hi, > > > I am trying to generate a report for fetching the instance name, > the related services and what is the downtime for each one of them. > > I have figured out something like this: > > select t.id, t.queue, t.owner, substr(t.subject,1,20) subject, > t.timeworked, t.status, t.timeleft, t.told, t.started, t.resolved, > t.lastupdatedby, t.creator, t.created from tickets t, queues q where > t.status='resolved' and t.subject like upper('%down%') and > q.name='&client_name' and q.id=t.queue; > > But it's not solving my purpose fully. I am getting the date on > which the services went down and the date on which it got resolved. All > in all I am not getting the respective Downtime for each of the > services. I had a plan of fetching the difference in time of when the > tickets were opened and when the tickets were resolved. That would give > me the downtime but I have no idea how to implement that. Any help on > this regard will greatly appreciated. > 1) add a custom field down-duration 1') find a sample of scrips playing with custom field 2) on resolve compute time duration custom field. If needed include this perl module (isn't it already available in scrips environment ?) http://search.cpan.org/~drolsky/DateTime-0.47/lib/DateTime.pm#Datetime_Subtraction 3) query on the customfield, and you'll even be able to graph it. Alternative solution: Use nagios, and make him mail to RT with a link to the service status when down. Generaly I am quite uneasy with ticketing solutions used for monitoring downtime services, and CRM used for tickting... I believe in the almighty dogma that one application is best used for its initial purpose except when dealing with physicists. This should take between an half and a full day depending of your knwoledge in perl and murphy's law. -- Julien Tayon // digital craftsman // making things simpler (when possible) "The wages of sin are death; but after they're done taking out taxes, it's just a tired feeling:" From jul-rt at julbox.net Mon May 4 06:07:07 2009 From: jul-rt at julbox.net (jul) Date: Mon, 4 May 2009 12:07:07 +0200 (CEST) Subject: [rt-users] How to add Company logo In-Reply-To: References: Message-ID: <47867.84.103.45.38.1241431627.squirrel@squirrel.est-unique.net> Quick and dirty way : replace bp_logo.gif with your logo (even if is a png) (look in the css for its emplacement. Browser actually don't really care about the extension. Less dirty modify the css. RT has a semi rigid fixed layout, so I dearly advise to choose a logo of the size of RT logo. Unless you want to hire an html/css pro for days trying to desesperatly makes ?things right? while offsets propagate in your layout. I changed the logo, I kept the (c) notice for 2 reasons : 1) I promote RT as an efficient solution, and I am proud of promoting efficiency (egotic reason) 2) podlach : BestPractical should be granted the merit of the solution 3) there could be legal reason, but I don't care, it is free software and it is comes with the territory to recognize others works :) So choose the (c)ool attitude, it won't lessen your merits :) Have fun From todd at chaka.net Mon May 4 12:14:23 2009 From: todd at chaka.net (Todd Chapman) Date: Mon, 4 May 2009 12:14:23 -0400 Subject: [rt-users] Why are extracted custom fields not available in Autoreply template Message-ID: <519782dc0905040914g23ddac38mde943a5a4da1a47a@mail.gmail.com> All, I have a scrip that runs first and extracts custom fields on ticket created. The Autoreply scrip runs second, but if I use $Ticket->FirstCustomFieldValue('foo') in the Autoreply template I don't get the value that was extracted in the first scrip. What am I missing? Do I need to get the first scrip to commit somehow before the second runs? Thanks! -Todd From kfcrocker at lbl.gov Mon May 4 12:18:03 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Mon, 04 May 2009 09:18:03 -0700 Subject: [rt-users] requestors group access In-Reply-To: <49FEAC79.5080403@commerzbank.com> References: <49FEAC79.5080403@commerzbank.com> Message-ID: <49FF153B.4090507@lbl.gov> Vaclav, Create a User-defined group called "Sysbase-Users". Then go to Configuration->Queue->(select Queue "Sybase or whatever")->Group Rights and grant the following privileges to group "Sysbase-Users": * "CreateTicket" * "SeeQueue" * "ShowTicket" * "ShowOutgoingEmail" * "ShowTicketComments" * Your technical support team may NOT want them to have this right. Make sure the Users for "Sysbase" tickets are in that "User" group and there you have it. All members of that group will be able to create and look at ALL tickets in the Queue you select. Oh, also be sure that those users are "Privileged" users, otherwise you will not be able to add them to a group that has privileges. Hope this helps. Kenn LBNL On 5/4/2009 1:51 AM, Vaclav Vobornik wrote: > Good morning, > I have a specific question from one of our customers. Let's say, there > is a Sybase team we support: Peter, John, and Maria (unprivileged users). > When Peter creates a ticket, only Peter can see it after he logs in to > the RT. The same when John creates a ticket - only he sees it. > I'd like they can see all the tickets one of them is a requestor - but > only within their Sybase group. E.g. When Maria creates a ticket, also > Peter and John could see a status in the same way like Maria. > > Is there any solution already in place, please? > > Many thanks > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From razvan.cosma at gmail.com Mon May 4 12:31:38 2009 From: razvan.cosma at gmail.com (Razvan Cosma) Date: Mon, 4 May 2009 19:31:38 +0300 Subject: [rt-users] full name in recipient address? Message-ID: Hello, RT sends emails only to user at domain, while almost everyone uses "first last" , and replying with the full name would look a lot nicer. Is this possible using the current template variables? Also, auto-completion starting from name not just e-mail in the "one-time cc:" field would be very good to have, is it interesting enough to submit a bug report for it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Mon May 4 12:34:54 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Mon, 04 May 2009 09:34:54 -0700 Subject: [rt-users] Why are extracted custom fields not available in Autoreply template In-Reply-To: <519782dc0905040914g23ddac38mde943a5a4da1a47a@mail.gmail.com> References: <519782dc0905040914g23ddac38mde943a5a4da1a47a@mail.gmail.com> Message-ID: <49FF192E.6030308@lbl.gov> Todd, I've run into that same problem. For some reason, when RT executes transactions, the RT base transactions seemed to override any "scrip" based changes that had a stage of "TransactionCreate". When I turned on "TransactionBatch" in my SiteConfig and set the "Stage" for the scrips to "TransactionBatch" it resolved my problem. Hope this helps. Kenn LBNL On 5/4/2009 9:14 AM, Todd Chapman wrote: > All, > > I have a scrip that runs first and extracts custom fields on ticket > created. The Autoreply scrip runs second, but if I use > $Ticket->FirstCustomFieldValue('foo') in the Autoreply template I > don't get the value that was extracted in the first scrip. What am I > missing? Do I need to get the first scrip to commit somehow before the > second runs? > > Thanks! > > -Todd > _______________________________________________ > 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 vadud3 at gmail.com Mon May 4 12:57:22 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Mon, 4 May 2009 12:57:22 -0400 Subject: [rt-users] Canned replies are missing after the upgrade Message-ID: Hi I just realized the canned replies are missing since the upgrade from rt-3.4.5 to rt-3.8.2. I have the old instance backed up. How do I revive them? Thanks -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Mon May 4 13:06:53 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 4 May 2009 21:06:53 +0400 Subject: [rt-users] Why are extracted custom fields not available in Autoreply template In-Reply-To: <519782dc0905040914g23ddac38mde943a5a4da1a47a@mail.gmail.com> References: <519782dc0905040914g23ddac38mde943a5a4da1a47a@mail.gmail.com> Message-ID: <589c94400905041006u4ecc2307v17e9a2ef62d76f90@mail.gmail.com> Message from the template is generated during Prepare step. On Mon, May 4, 2009 at 8:14 PM, Todd Chapman wrote: > All, > > I have a scrip that runs first and extracts custom fields on ticket > created. The Autoreply scrip runs second, but if I use > $Ticket->FirstCustomFieldValue('foo') in the Autoreply template I > don't get the value that was extracted in the first scrip. What am I > missing? Do I need to get the first scrip to commit somehow before the > second runs? > > Thanks! > > -Todd > _______________________________________________ > 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 todd at chaka.net Mon May 4 13:10:36 2009 From: todd at chaka.net (Todd Chapman) Date: Mon, 4 May 2009 13:10:36 -0400 Subject: [rt-users] Why are extracted custom fields not available in Autoreply template In-Reply-To: <589c94400905041006u4ecc2307v17e9a2ef62d76f90@mail.gmail.com> References: <519782dc0905040914g23ddac38mde943a5a4da1a47a@mail.gmail.com> <589c94400905041006u4ecc2307v17e9a2ef62d76f90@mail.gmail.com> Message-ID: <519782dc0905041010x37050846ld1a66537fa908692@mail.gmail.com> Thanks Ruslan. Is there a reason for that? On Mon, May 4, 2009 at 1:06 PM, Ruslan Zakirov wrote: > Message from the template is generated during Prepare step. > > On Mon, May 4, 2009 at 8:14 PM, Todd Chapman wrote: >> All, >> >> I have a scrip that runs first and extracts custom fields on ticket >> created. The Autoreply scrip runs second, but if I use >> $Ticket->FirstCustomFieldValue('foo') in the Autoreply template I >> don't get the value that was extracted in the first scrip. What am I >> missing? Do I need to get the first scrip to commit somehow before the >> second runs? >> >> Thanks! >> >> -Todd >> _______________________________________________ >> 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 vadud3 at gmail.com Mon May 4 13:15:43 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Mon, 4 May 2009 13:15:43 -0400 Subject: [rt-users] Canned replies are missing after the upgrade In-Reply-To: References: Message-ID: On Mon, May 4, 2009 at 12:57 PM, Asif Iqbal wrote: > Hi > > I just realized the canned replies are missing since the upgrade from > rt-3.4.5 to rt-3.8.2. I have the old instance backed up. How do I revive > them? > Found it under local/html dir. Thanks > > Thanks > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Mon May 4 13:17:31 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 4 May 2009 21:17:31 +0400 Subject: [rt-users] full name in recipient address? In-Reply-To: References: Message-ID: <589c94400905041017l83e1349tc182b3a85b26c746@mail.gmail.com> Careful patch for RT is welcome. There is already extension for automcompletion of emails, most probably it's better to extend it with more options. On Mon, May 4, 2009 at 8:31 PM, Razvan Cosma wrote: > ?Hello, > RT sends emails only to user at domain, while almost everyone uses "first last" > , and replying with the full name would look a lot nicer. Is > this possible using the current template variables? > Also, auto-completion starting from name not just e-mail in the "one-time > cc:" field would be very good to have, is it interesting enough to submit a > bug report for it? > > > _______________________________________________ > 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 ruslan.zakirov at gmail.com Mon May 4 13:19:04 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 4 May 2009 21:19:04 +0400 Subject: [rt-users] Why are extracted custom fields not available in Autoreply template In-Reply-To: <519782dc0905041010x37050846ld1a66537fa908692@mail.gmail.com> References: <519782dc0905040914g23ddac38mde943a5a4da1a47a@mail.gmail.com> <589c94400905041006u4ecc2307v17e9a2ef62d76f90@mail.gmail.com> <519782dc0905041010x37050846ld1a66537fa908692@mail.gmail.com> Message-ID: <589c94400905041019j77bca37ib513930f9eb4693a@mail.gmail.com> I think it's done to generate list of recipients. On Mon, May 4, 2009 at 9:10 PM, Todd Chapman wrote: > Thanks Ruslan. Is there a reason for that? > > On Mon, May 4, 2009 at 1:06 PM, Ruslan Zakirov wrote: >> Message from the template is generated during Prepare step. >> >> On Mon, May 4, 2009 at 8:14 PM, Todd Chapman wrote: >>> All, >>> >>> I have a scrip that runs first and extracts custom fields on ticket >>> created. The Autoreply scrip runs second, but if I use >>> $Ticket->FirstCustomFieldValue('foo') in the Autoreply template I >>> don't get the value that was extracted in the first scrip. What am I >>> missing? Do I need to get the first scrip to commit somehow before the >>> second runs? >>> >>> Thanks! >>> >>> -Todd >>> _______________________________________________ >>> 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. >> > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Mon May 4 13:20:23 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 4 May 2009 21:20:23 +0400 Subject: [rt-users] Canned replies are missing after the upgrade In-Reply-To: References: Message-ID: <589c94400905041020gef068fch49d437d3d11f4106@mail.gmail.com> I think you're talking about RTFM and I believe you should upgrade it too. On Mon, May 4, 2009 at 8:57 PM, Asif Iqbal wrote: > Hi > > I just realized the canned replies are missing since the upgrade from > rt-3.4.5 to rt-3.8.2. I have the old instance backed up. How do I revive > them? > > Thanks > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > > _______________________________________________ > 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 toml at bitstatement.net Mon May 4 13:24:59 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 04 May 2009 10:24:59 -0700 Subject: [rt-users] how to run new rt cli in cron In-Reply-To: References: Message-ID: <49FF24EB.8090403@bitstatement.net> > How do I by pass the password prompt? Is there another user I can use > instead where I don't have to feed a password thru cronjob? You do not need an expect script or to feed the password to the CLI's STDIN at all. All you need is to arrange for the environment variables RTUSER, RTSERVER and RTPASSWD to be set in your environment before calling the CLI, like so: #!/bin/sh export RTUSER=someone export RTPASSWD=Something export RTSERVER=https://rt.server.com/ /opt/rt3/bin/rt show ticket/123 -------------- If you are parsing the output of the CLI, you're better off using the REST interface instead. The CLI's output changes from version to version, which will throw off your parse. The REST output won't change. See http://wiki.bestpractical.com/view/REST -- Tom Lahti From ruslan.zakirov at gmail.com Mon May 4 13:27:01 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 4 May 2009 21:27:01 +0400 Subject: [rt-users] requestors group access In-Reply-To: <49FEAC79.5080403@commerzbank.com> References: <49FEAC79.5080403@commerzbank.com> Message-ID: <589c94400905041027nd5c090fh488fbb9e2d59737c@mail.gmail.com> I usually suggest to use Cc for that. On create you add group X to the Cc list of the ticket. In RT4 I hope you'll be able to have role "co-workers" and it would be clear. In RT3 you have to sacrifice Cc. You can replace requestor with "his" group. All this can be implemented with set of scrips. To define "user's main" group I suggest you to use Organization field each user has, for example Organization is X then group is "X organization". Something like that. Hope somebody will finally do it and publish as extension or I'll have to write it myself. On Mon, May 4, 2009 at 12:51 PM, Vaclav Vobornik wrote: > Good morning, > I have a specific question from one of our customers. Let's say, there > is a Sybase team we support: Peter, John, and Maria (unprivileged users). > When Peter creates a ticket, only Peter can see it after he logs in to > the RT. The same when John creates a ticket - only he sees it. > I'd like they can see all the tickets one of them is a requestor - but > only within their Sybase group. E.g. When Maria creates a ticket, also > Peter and John could see a status in the same way like Maria. > > Is there any solution already in place, please? > > Many thanks > > -- > Vaclav Vobornik > ZIT 12.2.3 System Design & Development > C O M M E R Z B A N K A G > Myslikova 31 > CZ-11000 Prague > > _______________________________________________ > 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 toml at bitstatement.net Mon May 4 13:28:41 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 04 May 2009 10:28:41 -0700 Subject: [rt-users] Query for Service downtime In-Reply-To: <54B67ECB9DBA4B4DBC69C96C2E0D425D04E3C573@instpex1.in.corp.sa> References: <54B67ECB9DBA4B4DBC69C96C2E0D425D04E3C573@instpex1.in.corp.sa> Message-ID: <49FF25C9.3040600@bitstatement.net> > services. I had a plan of fetching the difference in time of when the > tickets were opened and when the tickets were resolved. That would give > me the downtime but I have no idea how to implement that. Any help on > this regard will greatly appreciated. That's not really downtime, I wouldn't think, unless the tickets are both opened and resolved automatically. Are they? If either is done by a human, then its not system downtime. It's time to whenever-the-human-felt-like-doing-RT-stuff. -- Tom Lahti From vadud3 at gmail.com Mon May 4 15:00:18 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Mon, 4 May 2009 15:00:18 -0400 Subject: [rt-users] Template formating is broken Message-ID: All my templates from RT 3.4.5 looks broken with RT 3.8.2 For example a template like this " Please send a blank email to "rtrlist-subscribe at example.net" to join this mailing list. This will notify the list owner to approve/disapprove your subscription. Similarly, there's "rtrlist-unsubscribe at example.net". You'll receive a follow-up email when sending such request. Simply follow the instructions. " Shows exactly like this on rt 3.4.5. But on rt 3.8.2 it shows like this "Template RTRlist Sub/Unsub: Content changed from ' Please send a blank email to "rtrlist-subscribe at example.net" to join this mailing list. This will notify the list owner to approve/disapprove your subscription. Similarly, there's "rtrlist-unsubscribe at example.net". You'll receive a follow-up email when sending such request. Simply follow the instructions' to " Please send a blank email to "rtrlist-subscribe at example.net" to join this mailing list. This will notify the list owner to approve/disapprove your subscription. Similarly, there's "rtrlist-unsubscribe at example.net". You'll receive a follow-up email when sending such request. Simply follow the instructions." As you can see, not only the format is corrupted but the same content is showing up twice. Once with single quotes and once within double quotes -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From allen+rtlist at crystalfontz.com Mon May 4 15:38:20 2009 From: allen+rtlist at crystalfontz.com (allen+rtlist at crystalfontz.com) Date: Mon, 4 May 2009 12:38:20 -0700 Subject: [rt-users] stop strangers from emailing other people's tickets Message-ID: <885d981e0905041238gf671e12v55f590106cd325d0@mail.gmail.com> Running into a problem where a "bad person" (unprivileged and unknown by RT) can send an email to the RT system with someone else's ticket ID in the subject. RT will recognize the (guessed) ticket ID, and permanently append the message (which may contain spam or nastiness) to somebody's ticket, even though the sender is not a valid party listed on the ticket. So some troublemaker can send 1 email with a random ticket ID, or 100,000 emails with all possible ticket ids and attack users' tickets. We want to allow people to create tickets by email and we do want RT users to be automatically created if they don't already exist. Is there a way, though, to deny permission for unprivileged users to "reply" to a ticket unless they are the Requestor or Cc? I have set Group Rights this way: Everyone: CreateTicket, ModifySelf Unprivileged: none Privileged: [many, including ReplyToTicket] Requestor: ReplyToTicket, SeeQueue, ShowTicket but the above permissions do not seem to make any difference in the ability of strangers being able to pollute random tickets with messages. It also seems that if an attacker forged his From address to appear to come from one of our privileged email addresses (like support at yourdomain), a permissions-only approach would not really make much of a barrier. Should some combination of permissions be able to work, or does preventing this abuse require a Scrip? Do any of you with RT installations ever run into situations where someone mail bombs or attacks your users' tickets by email in this way? What advice can you give? Allen From ktm at rice.edu Mon May 4 15:58:08 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Mon, 4 May 2009 14:58:08 -0500 Subject: [rt-users] stop strangers from emailing other people's tickets In-Reply-To: <885d981e0905041238gf671e12v55f590106cd325d0@mail.gmail.com> References: <885d981e0905041238gf671e12v55f590106cd325d0@mail.gmail.com> Message-ID: <20090504195808.GA23405@it.is.rice.edu> On Mon, May 04, 2009 at 12:38:20PM -0700, allen+rtlist at crystalfontz.com wrote: > Running into a problem where a "bad person" (unprivileged and unknown > by RT) can send an email to the RT system with someone else's ticket > ID in the subject. RT will recognize the (guessed) ticket ID, and > permanently append the message (which may contain spam or nastiness) > to somebody's ticket, even though the sender is not a valid party > listed on the ticket. > > So some troublemaker can send 1 email with a random ticket ID, or > 100,000 emails with all possible ticket ids and attack users' tickets. > > We want to allow people to create tickets by email and we do want RT > users to be automatically created if they don't already exist. Is > there a way, though, to deny permission for unprivileged users to > "reply" to a ticket unless they are the Requestor or Cc? > > I have set Group Rights this way: > > Everyone: CreateTicket, ModifySelf > Unprivileged: none > Privileged: [many, including ReplyToTicket] > Requestor: ReplyToTicket, SeeQueue, ShowTicket > > but the above permissions do not seem to make any difference in the > ability of strangers being able to pollute random tickets with > messages. > > It also seems that if an attacker forged his From address to appear to > come from one of our privileged email addresses (like > support at yourdomain), a permissions-only approach would not really make > much of a barrier. > > Should some combination of permissions be able to work, or does > preventing this abuse require a Scrip? > > Do any of you with RT installations ever run into situations where > someone mail bombs or attacks your users' tickets by email in this > way? > > What advice can you give? > > Allen Allen, We run all of our RT E-mail into an anti-spam system with a quarantine function, before we pass it to RT. The means that attacks such as the above end up populating the quarantine, but do not actually pollute the tickets. Emptying the quarantine is a click away. It works quite well since it is not based on the guessed header, but the content of the message. Alternatively, if you could set up a "secured" channel for your valid E-mail addresses to communicate with RT from your priviledged servers, that might work as well. Good luck, 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 chanty_kh at yahoo.com Tue May 5 03:17:47 2009 From: chanty_kh at yahoo.com (ty chan) Date: Tue, 5 May 2009 00:17:47 -0700 (PDT) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <49F4C8D8.70904@usd250.org> References: <49F4C8D8.70904@usd250.org> Message-ID: <811522.62150.qm@web52309.mail.re2.yahoo.com> Hi all, i am try to setup rt.3.8.2 on CentOS5.3. So far, the installation goes well by following your step. but i got stuck at HTML::Mason dependency when i run "make testdeps". i do can install HTML::Mason via YUM but it is 1.35 while rt.3.8.2 needs 1.36. i had tried looking around for 1.36 but still cannot find. please give me some clues. best regards, chanty ________________________________ From: Grant Deters To: rt-users at lists.bestpractical.com Sent: Monday, April 27, 2009 3:49:28 AM Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup OK, got that far, has a bit of trouble with XML::RSS, however, I was able to pull it from the web. jmoseley at corp.xanadoo.com wrote: First and foremost, please email your requests for assistance to the mailing list. With that said, the main installation guide is Unix-generic, but if you know enough about your particular OS, you shouldn't have too many problems. Cent OS/RHEL (and other) guides do exist in the official RT setup wiki (http://wiki.bestpractical.com/view/InstallationGuides), but they quickly become a bit outdated because package names change, versions change, etc, and some refer to third-party yum repos to install RT-required software and even RT itself. The obvious questions are what have you installed thus far and where are you encountering problems? I would say RT installation falls into four basic steps: 1. Installing necessary software that RT requires (perl, perl modules, database software (both client and server), webserver, perl interpreter, etc) 2. Installing RT (this is the point where most perl modules will be installed) 3. Setting up RT database 4. Configuring RT (RT_SiteConfig.pm), webserver, and mail environment I'll go ahead and start with numbers one and two above using Mysql, Apache, and FastCGI. In this example, RT itself will be installed from source, supporting software will be installed via standard CentOS yum repositories, and most perl modules via CPAN. It's further assumed that Mysql will be running on the same server as RT (I prefer separate servers as perfomance will be better with a dedicated mysql server with fast disks and lots of memory, preferably a 64-bit system to better take advantage of memory). Perhaps you've already completed these steps: 1. Install the following via yum: httpd, perl, mysql, mysql-server, mod_fcgid, ncftp a) create entry in /etc/group for rt group: rt:x:501:apache b) disable Selinux in /etc/selinux/config: SELINUX=disabled c) then execute the following from a shell prompt: echo 0 > /selinux/enforce This way you don't have to reboot the box... If for some reason this doesn't work, simply reboot... 2. Download RT source; unzip, untar it, rename to 'rt-3.8.2.src' a) CD into your source directory and then run the following command (you can choose to install RT in any directory you want, of course): ./configure --prefix=/opt/rt3.8.2 --with-web-user=apache --with-web-group=apache --with-mysql --with-web-handler=fastcgi b) make testdeps This will list all the perl modules you need to install c) make fixdeps This will automatically try to install all the required perl modules by invoking CPAN. If you haven't already invoked the CPAN shell environment, there will be a set of setup questions CPAN will ask you. There is a strong possibly that 'make fixdeps' won't get all required modules installed. In this case, you will have to run 'cpan' from a shell prompt and install one perl module at a time. Be advised that many of the required perl modules have dependencies, so the CPAN installer will attempt to install those as well. As a last resort if run into problems with CPAN, you can install quite a few of the required perl modules from yum. Look at the wiki refereneced above for RHEL/Cent OS examples of what perl modules are generally available via yum. Keep performing 'make testdeps' to ensure all perl modules have been installed. When they have been: d) make install e) ln -s /opt/rt3.8.2 /opt/rt3 I do the following to keep upgrades sane. For example, when I upgrade to say, RT 3.8.3, it will be installed in /opt/rt3.8.3 and I will then delete the existing /opt/rt3 soft link and repoint it at the new installation. This way, I can install a new version of RT without upgrading/blowing away the live version, which also means I can fall back to the previous version if the new version doesn't work for some reason. Hope this helps! If you get passed this, then I will continue with the other steps. I'll then add to the RT wiki... James Moseley Grant Deters wrote: Hello, I was wondering if you had any good guides to installing RT on CentOS 5.3. I have been unsuccessful in my first attempt as the guides for it on their website where hard for me to follow as they don't provide one specifically for this OS. Any help would be greatly appreciated. Thanks -- Grant S. Deters USD 250 School District Assistant Network/Systems Administrator Ph. (620) 235.3246 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alberto.villanueva at altran.es Tue May 5 04:43:39 2009 From: alberto.villanueva at altran.es (Alberto Villanueva) Date: Tue, 5 May 2009 10:43:39 +0200 Subject: [rt-users] Query about Tickets table Message-ID: Good morning, Several days ago, I have been executing some queries from mysql. I have obtained results that web interface doesn't generate. I would like to know if someone knows it's happening. The simpler sentence is next: RT --> Status = 'resolved' MySQL --> SELECT COUNT(id) as 'TOTAL' FROM Tickets WHERE Status = 'resolved'; The result in RT is: 28.536 The result in MySQL is: 28.659 Any idea? Thanks a lot!! Best regards, ALBERTO VILLANUEVA DEL VAL Consultor ____________________________________________ Altran Technologies ParqueEmpresarial Las Mercedes, Edificio 1 C/ Campezo, 1. 28022 Madrid Tel: + 34 91 744 46 00 - Ext: 2205 Fax: + 34 91 415 24 57 www.altran.es From jul-rt at julbox.net Tue May 5 05:17:19 2009 From: jul-rt at julbox.net (jul) Date: Tue, 5 May 2009 11:17:19 +0200 (CEST) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <811522.62150.qm@web52309.mail.re2.yahoo.com> References: <49F4C8D8.70904@usd250.org> <811522.62150.qm@web52309.mail.re2.yahoo.com> Message-ID: <44739.84.103.45.38.1241515039.squirrel@squirrel.est-unique.net> ty chan a ?crit : > Hi all, i am try to setup rt.3.8.2 on CentOS5.3. So far, the installation > goes well by following your step. but i got stuck at HTML::Mason > dependency when i run "make testdeps". i do can install HTML::Mason via > YUM but it is 1.35 while rt.3.8.2 needs 1.36. i had tried looking around > for 1.36 but still cannot find. > > please give me some clues. > If it is the same as RedHat Enterprise 4 then it may become dirty for the weaked hearted sysadmins. In the previous mail you had an important part (see end of this mail) Sometimes yum fails to meet the expectation, (it is fairly easy to be too bleeding edge for debian /redhat / centos). Then you have to do the infamous perl -eshell -MCPAN to help (it has already be done by make fixdeps), but sometimes, make testdeps/fixdeps cannot do the fine tuning, so you have to go through the missing modules by hand. In short, you enter the perl version of DL Hell (Dependencies Lost Hell or DLL (for which MS has a patent perl community never acknowledge)). You will surely overcome it, just trust make fixdeps or do as you are told by cpan (cpanplus is sometimes suggested for a better handling of dependencies). The dark side is that a regular update of perl by Centos may conflict with these added module. I guess there is a way to install cleanly by using a specific combo @INC / prefix for RT that should not conflict. b) make testdeps This will list all the perl modules you need to install c) make fixdeps This will automatically try to install all the required perl modules by invoking CPAN. If you haven't already invoked the CPAN shell environment, there will be a set of setup questions CPAN will ask you. There is a strong possibly that 'make fixdeps' won't get all required modules installed. In this case, you will have to run 'cpan' from a shell prompt and install one perl module at a time. Be advised that many of the required perl modules have dependencies, so the CPAN installer will attempt to install those as well. As a last resort if run into problems with CPAN, you can install quite a few of the required perl modules from yum. Look at the wiki refereneced above for RHEL/Cent OS examples of what perl modules are generally available via yum. Keep performing 'make testdeps' to ensure all perl modules have been installed. When they have been: -- Julien Tayon // digital craftsman // making things simpler (when possible) And you can't get any Watney's Red Barrel, because the bars close every time you're thirsty... From chanty_kh at yahoo.com Tue May 5 05:37:13 2009 From: chanty_kh at yahoo.com (ty chan) Date: Tue, 5 May 2009 02:37:13 -0700 (PDT) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <44739.84.103.45.38.1241515039.squirrel@squirrel.est-unique.net> References: <49F4C8D8.70904@usd250.org> <811522.62150.qm@web52309.mail.re2.yahoo.com> <44739.84.103.45.38.1241515039.squirrel@squirrel.est-unique.net> Message-ID: <321043.15388.qm@web52304.mail.re2.yahoo.com> Hi Julien, Thanks for your information. I can make it now by manually install the from tar file downloading from CPAN site. now, i can open the web page but it displays in text mode only :( Below is my log message from htmld/error_log [Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: [Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81) [Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 [Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xac4c988)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 [Tue May 05 16:27:59 2009] [notice] child pid 2117 exit signal Segmentation fault (11) [Tue May 05 16:27:59 2009] [notice] child pid 2118 exit signal Segmentation fault (11) [Tue May 05 16:27:59 2009] [notice] child pid 2119 exit signal Segmentation fault (11) [Tue May 05 16:27:59 2009] [notice] child pid 2120 exit signal Segmentation fault (11) [Tue May 05 16:27:59 2009] [notice] child pid 2121 exit signal Segmentation fault (11) [Tue May 05 16:27:59 2009] [notice] child pid 2122 exit signal Segmentation fault (11) [Tue May 05 16:27:59 2009] [notice] child pid 2123 exit signal Segmentation fault (11) and below is my rt.log [root at localhost ~]# tail /var/log/rt.log Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xac4c988)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 [Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81) Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xac4c988)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 [Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81) Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xac4c988)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 [Tue May 5 09:27:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81) Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xac4c988)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 I am not sure what it is trying to say. below is the folder permission: [root at localhost ~]# ls -l /opt/rt3.8.2/share/ total 8 drwxr-xr-x 2 root root 4096 May 5 16:19 doc drwxr-xr-x 18 root bin 4096 May 5 16:19 html It looks OK since other group has READ permission on html folder. best regards, chanty ________________________________ From: jul To: rt-users at lists.bestpractical.com Sent: Tuesday, May 5, 2009 4:17:19 PM Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup ty chan a ?crit : > Hi all, i am try to setup rt.3.8.2 on CentOS5.3. So far, the installation > goes well by following your step. but i got stuck at HTML::Mason > dependency when i run "make testdeps". i do can install HTML::Mason via > YUM but it is 1.35 while rt.3.8.2 needs 1.36. i had tried looking around > for 1.36 but still cannot find. > > please give me some clues. > If it is the same as RedHat Enterprise 4 then it may become dirty for the weaked hearted sysadmins. In the previous mail you had an important part (see end of this mail) Sometimes yum fails to meet the expectation, (it is fairly easy to be too bleeding edge for debian /redhat / centos). Then you have to do the infamous perl -eshell -MCPAN to help (it has already be done by make fixdeps), but sometimes, make testdeps/fixdeps cannot do the fine tuning, so you have to go through the missing modules by hand. In short, you enter the perl version of DL Hell (Dependencies Lost Hell or DLL (for which MS has a patent perl community never acknowledge)). You will surely overcome it, just trust make fixdeps or do as you are told by cpan (cpanplus is sometimes suggested for a better handling of dependencies). The dark side is that a regular update of perl by Centos may conflict with these added module. I guess there is a way to install cleanly by using a specific combo @INC / prefix for RT that should not conflict. b) make testdeps This will list all the perl modules you need to install c) make fixdeps This will automatically try to install all the required perl modules by invoking CPAN. If you haven't already invoked the CPAN shell environment, there will be a set of setup questions CPAN will ask you. There is a strong possibly that 'make fixdeps' won't get all required modules installed. In this case, you will have to run 'cpan' from a shell prompt and install one perl module at a time. Be advised that many of the required perl modules have dependencies, so the CPAN installer will attempt to install those as well. As a last resort if run into problems with CPAN, you can install quite a few of the required perl modules from yum. Look at the wiki refereneced above for RHEL/Cent OS examples of what perl modules are generally available via yum. Keep performing 'make testdeps' to ensure all perl modules have been installed. When they have been: -- Julien Tayon // digital craftsman // making things simpler (when possible) And you can't get any Watney's Red Barrel, because the bars close every time you're thirsty... _______________________________________________ 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 rfh at vialtus.com Tue May 5 05:38:53 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Tue, 05 May 2009 10:38:53 +0100 Subject: [rt-users] Query about Tickets table In-Reply-To: References: Message-ID: <4A00092D.6000405@vialtus.com> 2 possible causes: 1- Merged tickets .. RT will assume 1 ticket for merged ones 2- You do n't have permission on all queues in Mysql try: select count(EffectiveId) as TOTAL From Tickets where Status = 'resolved' ; Regards; Roy Alberto Villanueva wrote: > Good morning, > > Several days ago, I have been executing some queries from mysql. > I have obtained results that web interface doesn't generate. I > would like to know if someone knows it's happening. > > The simpler sentence is next: > > RT --> Status = 'resolved' > > MySQL --> SELECT COUNT(id) as 'TOTAL' FROM Tickets WHERE Status = > 'resolved'; > > The result in RT is: 28.536 > The result in MySQL is: 28.659 > > Any idea? > > Thanks a lot!! > > Best regards, > > ALBERTO VILLANUEVA DEL VAL > Consultor > ____________________________________________ > Altran Technologies > ParqueEmpresarial Las Mercedes, Edificio 1 > C/ Campezo, 1. 28022 Madrid > Tel: + 34 91 744 46 00 - Ext: 2205 > Fax: + 34 91 415 24 57 > www.altran.es > > > _______________________________________________ > 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 jul-rt at julbox.net Tue May 5 06:25:25 2009 From: jul-rt at julbox.net (jul) Date: Tue, 5 May 2009 12:25:25 +0200 (CEST) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <321043.15388.qm@web52304.mail.re2.yahoo.com> References: <49F4C8D8.70904@usd250.org> <811522.62150.qm@web52309.mail.re2.yahoo.com> <44739.84.103.45.38.1241515039.squirrel@squirrel.est-unique.net> <321043.15388.qm@web52304.mail.re2.yahoo.com> Message-ID: <43764.84.103.45.38.1241519125.squirrel@squirrel.est-unique.net> ty chan a ?crit : > Hi Julien, > No problems, no fun. > [Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: [Tue May 5 09:27:58 > 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at > /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. > (/opt/rt3/bin/mason_handler.fcgi:81) Rule of thumb with traces : interesting stuff seems to be at the end, but not the ultimate end in order to confuse you. rule of marvic : MVC are the philosophal stone that transmute exceptions in maze. Corrollar : I miss GOTO statement. Regarding your problem : search or a file named (/usr/share/perl5/|dirs revelant to your distro)HTML/Mason/Exceptions.pm if no such file: type perl -eshell -MCPAN and in the prompt of the shell type install HTML::Mason::Exceptions I have the feeling you did not make a make fixdeps from source. -- Hey teachers leave the kids alone, on and on ... we're just another perl in the necklace ... "Even more amazing was the realization that God has Internet access. I wonder if He has a full newsfeed?" (By Matt Welsh) From vadud3 at gmail.com Tue May 5 07:57:49 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Tue, 5 May 2009 07:57:49 -0400 Subject: [rt-users] Template formating is broken In-Reply-To: References: Message-ID: On Mon, May 4, 2009 at 3:00 PM, Asif Iqbal wrote: > All my templates from RT 3.4.5 looks broken with RT 3.8.2 > > For example a template like this > > " > > Please send a blank email to "rtrlist-subscribe at example.net" to join this > mailing > list. This will notify the list owner to approve/disapprove your > subscription. > > Similarly, there's "rtrlist-unsubscribe at example.net". > > You'll receive a follow-up email when sending such request. Simply > follow the instructions. > > " > > Shows exactly like this on rt 3.4.5. > > But on rt 3.8.2 it shows like this > > "Template RTRlist Sub/Unsub: Content changed from ' Please send a blank > email to "rtrlist-subscribe at example.net" to join this mailing list. This > will notify the list owner to approve/disapprove your subscription. > Similarly, there's "rtrlist-unsubscribe at example.net". You'll receive a > follow-up email when sending such request. Simply follow the instructions' > to " Please send a blank email to "rtrlist-subscribe at example.net" to join > this mailing list. This will notify the list owner to approve/disapprove > your subscription. Similarly, there's "rtrlist-unsubscribe at example.net". > You'll receive a follow-up email when sending such request. Simply follow > the instructions." > > > As you can see, not only the format is corrupted but the same content is > showing up twice. Once with single quotes and once within double quotes > > I have not found a solution yet. Still looking for help > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From graf0 at post.pl Tue May 5 07:57:31 2009 From: graf0 at post.pl (=?ISO-8859-2?Q?Grzegorz_Marsza=B3ek?=) Date: Tue, 5 May 2009 13:57:31 +0200 Subject: [rt-users] problem with sending emails with polish character in subject Message-ID: Hello! I've just upgraded to rt 3.8.2 and I've got following problem: If I send email do my RT without Polish characters - everything works fine. But if there are some of those chars (ie.: "grzeg???ka"), then I'm unable to replay to ticket - each time I click on "replay" I see im my logs lines like: May 5 13:53:08 mercury RT: Scrip Prepare 20 died. - Cannot decode string with wide characters at /usr/lib/perl/5.8/Encode.pm line 166. Stack: [/usr/lib/perl/5.8/Encode.pm:166] [/usr/lib/perl/5.8/ Encode.pm:206] [/usr/share/request-tracker3.8/lib/RT/Action/ SendEmail.pm:958] [/usr/share/request-tracker3.8/lib/RT/Action/ SendEmail.pm:575] [/usr/share/request-tracker3.8/lib/RT/Action/ SendEmail.pm:169] [/usr/share/request-tracker3.8/lib/RT/Action/ Notify.pm:69] [/usr/share/request-tracker3.8/lib/RT/ ScripAction_Overlay.pm:230] [/usr/share/request-tracker3.8/lib/RT/ Scrip_Overlay.pm:435] [/usr/share/request-tracker3.8/lib/RT/ Scrips_Overlay.pm:240] [/usr/share/request-tracker3.8/lib/RT/ Transaction_Overlay.pm:169] [/usr/share/request-tracker3.8/lib/RT/ Record.pm:1456] [/usr/share/request-tracker3.8/lib/RT/ Ticket_Overlay.pm:2145] [/usr/share/request-tracker3.8/lib/RT/ Ticket_Overlay.pm:2057] [/usr/share/request-tracker3.8/html/Ticket/ Elements/PreviewScrips:131] [/usr/share/request-tracker3.8/htm (etc. for each scrips I've defined). The same log entries appears when I fill form and click update. No email is sent. How to fix this problem? --- Grzegorz Marsza?ek graf0 at post.pl From woody at wildthingsafaris.com Tue May 5 08:58:52 2009 From: woody at wildthingsafaris.com (Woody - Wild Things) Date: Tue, 05 May 2009 15:58:52 +0300 Subject: [rt-users] Non transitioning status/AutoOpen Message-ID: <4A00380C.1070200@wildthingsafaris.com> Hello all, Has anyone had success with NonTransitioningStatuses? (RT 3.8.1) I've tried the implementation at http://wiki.bestpractical.com/view/NonTransitioningStatus and have now simplified it to # diff /local/lib/RT/Action/AutoOpen.pm lib/RT/Action/AutoOpen.pm my $status = $self->TicketObj->Status; return undef if $status eq 'open'; return undef if $status eq 'new' && $self->TransactionObj->IsInbound; 76,79d75 < return undef if $status eq 'confirmed'; < return undef if $status eq 'sold'; < return undef if $status eq 'pending'; < return undef if $status eq 'happening'; which couldn't be simpler, but my "confirmed" etc. tickets still revert to open on correspondence. Might I have missed something>? I've checked scrips for that queue, but none seem to apply. thanks in advance Woody. -- ----------------------- Richard Wood (Woody) Managing Director Wild Thing Safaris Ltd. PO BOX 34514 DSM Office: +255 (0) 222 617 166 Mobile: +255 (0) 773 503 502 http://www.wildthingsafaris.com http://www.wildthingsafaris.com/pub/woody.html From ruslan.zakirov at gmail.com Tue May 5 10:23:40 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 5 May 2009 18:23:40 +0400 Subject: [rt-users] problem with sending emails with polish character in subject In-Reply-To: References: Message-ID: <589c94400905050723g11463cb2u2d75bb4a9a89a127@mail.gmail.com> Do you send it via email or create via WebUI? If it's first then could you please send me copy of email as it goes out of your MUA. I don't need text, but whole MIME envelope. You can find message in the "sent" box and use "view source" feature, I hope your MUA has such. Sent it to me as an attachment. You can hide some deatails, but please try to avoid breaking formatting. 2009/5/5 Grzegorz Marsza?ek : > Hello! > > I've just upgraded to rt 3.8.2 and I've got following problem: > > If I send email do my RT without Polish characters - everything works > fine. > > But if there are some of those chars (ie.: "grzeg???ka"), then I'm > unable to replay to ticket - each time I click on "replay" I see im my > logs lines like: > > May ?5 13:53:08 mercury RT: Scrip Prepare 20 died. - Cannot decode > string with wide characters at /usr/lib/perl/5.8/Encode.pm line 166. > Stack: ? [/usr/lib/perl/5.8/Encode.pm:166] ? [/usr/lib/perl/5.8/ > Encode.pm:206] ? [/usr/share/request-tracker3.8/lib/RT/Action/ > SendEmail.pm:958] ? [/usr/share/request-tracker3.8/lib/RT/Action/ > SendEmail.pm:575] ? [/usr/share/request-tracker3.8/lib/RT/Action/ > SendEmail.pm:169] ? [/usr/share/request-tracker3.8/lib/RT/Action/ > Notify.pm:69] ? [/usr/share/request-tracker3.8/lib/RT/ > ScripAction_Overlay.pm:230] ? [/usr/share/request-tracker3.8/lib/RT/ > Scrip_Overlay.pm:435] ? [/usr/share/request-tracker3.8/lib/RT/ > Scrips_Overlay.pm:240] ? [/usr/share/request-tracker3.8/lib/RT/ > Transaction_Overlay.pm:169] ? [/usr/share/request-tracker3.8/lib/RT/ > Record.pm:1456] ? [/usr/share/request-tracker3.8/lib/RT/ > Ticket_Overlay.pm:2145] ? [/usr/share/request-tracker3.8/lib/RT/ > Ticket_Overlay.pm:2057] ? [/usr/share/request-tracker3.8/html/Ticket/ > Elements/PreviewScrips:131] ? [/usr/share/request-tracker3.8/htm > > (etc. for each scrips I've defined). The same log entries appears when > I fill form and click update. No email is sent. > > How to fix this problem? > --- > Grzegorz Marsza?ek > graf0 at post.pl > > > _______________________________________________ > 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 jpierce at cambridgeenergyalliance.org Tue May 5 12:18:35 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 5 May 2009 12:18:35 -0400 Subject: [rt-users] RT Email config for Google Apps In-Reply-To: <885d981e0905011124i5d4502dcteb27b87d54bad60c@mail.gmail.com> References: <885d981e0905011124i5d4502dcteb27b87d54bad60c@mail.gmail.com> Message-ID: We use our server as an inbound gateway, passing through any non-RT (or mailman) addresses to Google Apps. the Google Apps servers are also listed as lower priority MX entries for our domain. -- Cambridge Energy Alliance: Save money. Save the planet. From sambauser at iastate.edu Tue May 5 16:20:52 2009 From: sambauser at iastate.edu (chris) Date: Tue, 5 May 2009 15:20:52 -0500 Subject: [rt-users] mailgate not working after OS update Message-ID: I did some updates to Solaris 10 and now RT mailgate isn't working. New tickets emailed in don't show up. Here's what I'm getting with a test: -bash-3.00$ echo "test" | /opt/rt3/bin/rt-mailgate --debug --action correspond --queue General --url http://xxx.xxx.iastate.edu Connecting to http://gdcbfileserver.gdcb.iastate.edu/REST/1.0/NoAuth/ mail-gateway at /opt/rt3/bin/rt-mailgate line 102, <> line 1. Can't locate object method "seek" via package "File::Temp" at /usr/ perl5/site_perl/5.8.4/MIME/Parser.pm line 816, line 1. Stack: [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:816] [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:1083] [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:1177] [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:1150] [/opt/rt3/lib/RT/EmailParser.pm:231] [/opt/rt3/lib/RT/EmailParser.pm:179] [/opt/rt3/lib/RT/EmailParser.pm:139] [/opt/rt3/lib/RT/Interface/Email.pm:549] [/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:61] RT server error. The RT server which handled your email did not behave as expected. It said: Can't locate object method "seek" via package "File::Temp" at /usr/ perl5/site_perl/5.8.4/MIME/Parser.pm line 816, line 1. Stack: [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:816] [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:1083] [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:1177] [/usr/perl5/site_perl/5.8.4/MIME/Parser.pm:1150] [/opt/rt3/lib/RT/EmailParser.pm:231] [/opt/rt3/lib/RT/EmailParser.pm:179] [/opt/rt3/lib/RT/EmailParser.pm:139] [/opt/rt3/lib/RT/Interface/Email.pm:549] [/opt/rt3/share/html/REST/1.0/NoAuth/mail-gateway:61] From chanty_kh at yahoo.com Tue May 5 21:29:38 2009 From: chanty_kh at yahoo.com (ty chan) Date: Tue, 5 May 2009 18:29:38 -0700 (PDT) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <43764.84.103.45.38.1241519125.squirrel@squirrel.est-unique.net> References: <49F4C8D8.70904@usd250.org> <811522.62150.qm@web52309.mail.re2.yahoo.com> <44739.84.103.45.38.1241515039.squirrel@squirrel.est-unique.net> <321043.15388.qm@web52304.mail.re2.yahoo.com> <43764.84.103.45.38.1241519125.squirrel@squirrel.est-unique.net> Message-ID: <470738.78950.qm@web52308.mail.re2.yahoo.com> please see below file lists: [root at localhost Mason]# pwd /usr/lib/perl5/site_perl/5.8.8/HTML/Mason [root at localhost Mason]# ll total 568 -r--r--r-- 1 root root 40239 May 6 08:13 Admin.pod drwxr-xr-x 2 root root 4096 May 6 08:13 Apache -r--r--r-- 1 root root 36194 May 6 08:13 ApacheHandler.pm drwxr-xr-x 2 root root 4096 May 5 14:35 Cache -r--r--r-- 1 root root 19587 May 6 08:13 CGIHandler.pm drwxr-xr-x 2 root root 4096 May 6 08:13 Compiler -r--r--r-- 1 root root 28784 May 6 08:13 Compiler.pm drwxr-xr-x 2 root root 4096 May 5 14:35 Component -r--r--r-- 1 root root 17159 May 6 08:13 Component.pm -r--r--r-- 1 root root 5283 May 5 14:35 ComponentSource.pm -r--r--r-- 1 root root 77124 May 6 08:13 Devel.pod -r--r--r-- 1 root root 2850 May 5 14:35 Escapes.pm -r--r--r-- 1 root root 16471 May 5 14:35 Exceptions.pm -r--r--r-- 1 root root 11861 May 6 08:13 FakeApache.pm -r--r--r-- 1 root root 930 May 5 14:35 Handler.pm -r--r--r-- 1 root root 46828 May 5 14:35 Interp.pm -r--r--r-- 1 root root 18879 May 6 08:13 Lexer.pm -r--r--r-- 1 root root 5813 May 5 14:35 MethodMaker.pm -r--r--r-- 1 root root 33955 May 6 08:13 Params.pod -r--r--r-- 1 root root 483 May 5 14:35 Parser.pm drwxr-xr-x 2 root root 4096 May 5 14:35 Plugin -r--r--r-- 1 root root 5665 May 5 14:35 Plugin.pm -r--r--r-- 1 root root 78471 May 6 08:13 Request.pm drwxr-xr-x 2 root root 4096 May 5 14:35 Resolver -r--r--r-- 1 root root 3465 May 5 14:35 Resolver.pm -r--r--r-- 1 root root 10017 May 5 14:35 Subclassing.pod -r--r--r-- 1 root root 24798 May 5 14:35 Tests.pm -r--r--r-- 1 root root 9622 May 5 14:35 Tools.pm -r--r--r-- 1 root root 2442 May 5 14:35 Utils.pm exceptions.pm does exist. :) and please see below "make testdeps" and "make fixdeps": [root at localhost rt-3.8.2.src]# make testdeps /usr/bin/perl ./sbin/rt-test-dependencies --verbose --with-mysql --with-fastcgi perl: >=5.8.3(5.8.8)...found users: rt group (rt)...found bin owner (root)...found libs owner (root)...found libs group (bin)...found web owner (apache)...found web group (apache)...found CLI dependencies: Term::ReadKey...found Getopt::Long >= 2.24...found HTTP::Request::Common...found Term::ReadLine...found Text::ParseWords...found LWP...found CORE dependencies: Class::ReturnValue >= 0.40...found Text::Quoted >= 2.02...found CSS::Squish >= 0.06...found Encode >= 2.13...found Module::Versions::Report >= 1.05...found MIME::Entity >= 5.425...found DBI >= 1.37...found Locale::Maketext::Lexicon >= 0.32...found Devel::StackTrace >= 1.19...found Digest::base...found Time::ParseDate...found File::Temp >= 0.18...found Locale::Maketext >= 1.06...found Tree::Simple >= 1.04...found Text::Template >= 1.45...found Scalar::Util...found HTML::Scrubber >= 0.08...found File::Spec >= 0.8...found Calendar::Simple...found DBIx::SearchBuilder >= 1.54...found Mail::Mailer >= 1.57...found File::ShareDir...found Regexp::Common...found Digest::MD5 >= 2.27...found HTML::Entities...found Cache::Simple::TimedExpiry...found File::Glob...found Locale::Maketext::Fuzzy...found Time::HiRes...found Text::Wrapper...found Log::Dispatch >= 2.0...found UNIVERSAL::require...found Email::Address...found DASHBOARDS dependencies: HTML::RewriteAttributes >= 0.02...found MIME::Types...found FASTCGI dependencies: CGI::Fast...found CGI >= 3.38...found FCGI...found GPG dependencies: PerlIO::eol...found GnuPG::Interface...found ICAL dependencies: Data::ICal...found MAILGATE dependencies: Pod::Usage...found HTML::TreeBuilder...found Getopt::Long...found HTML::FormatText...found LWP::UserAgent...found MASON dependencies: Storable >= 2.08...found CSS::Squish >= 0.06...found Apache::Session >= 1.53...found Errno...found Devel::StackTrace >= 1.19...found CGI::Cookie >= 1.20...found Text::WikiFormat >= 0.76...found XML::RSS >= 1.05...found HTML::Mason >= 1.36...found Digest::MD5 >= 2.27...found MYSQL dependencies: DBD::mysql >= 2.1018...found SMTP dependencies: Net::SMTP...found STANDALONE dependencies: Net::Server::PreFork...found Net::Server...found HTTP::Server::Simple >= 0.34...found HTTP::Server::Simple::Mason >= 0.09...found All dependencies have been found. [root at localhost rt-3.8.2.src]# [root at localhost rt-3.8.2.src]# make fixdeps /usr/bin/perl ./sbin/rt-test-dependencies --verbose --install --with-mysql --with-fastcgi perl: >=5.8.3(5.8.8)...found users: rt group (rt)...found bin owner (root)...found libs owner (root)...found libs group (bin)...found web owner (apache)...found web group (apache)...found CLI dependencies: Term::ReadKey...found Getopt::Long >= 2.24...found HTTP::Request::Common...found Term::ReadLine...found Text::ParseWords...found LWP...found CORE dependencies: Class::ReturnValue >= 0.40...found Text::Quoted >= 2.02...found CSS::Squish >= 0.06...found Encode >= 2.13...found Module::Versions::Report >= 1.05...found MIME::Entity >= 5.425...found DBI >= 1.37...found Locale::Maketext::Lexicon >= 0.32...found Devel::StackTrace >= 1.19...found Digest::base...found Time::ParseDate...found File::Temp >= 0.18...found Locale::Maketext >= 1.06...found Tree::Simple >= 1.04...found Text::Template >= 1.45...found Scalar::Util...found HTML::Scrubber >= 0.08...found File::Spec >= 0.8...found Calendar::Simple...found DBIx::SearchBuilder >= 1.54...found Mail::Mailer >= 1.57...found File::ShareDir...found Regexp::Common...found Digest::MD5 >= 2.27...found HTML::Entities...found Cache::Simple::TimedExpiry...found File::Glob...found Locale::Maketext::Fuzzy...found Time::HiRes...found Text::Wrapper...found Log::Dispatch >= 2.0...found UNIVERSAL::require...found Email::Address...found DASHBOARDS dependencies: HTML::RewriteAttributes >= 0.02...found MIME::Types...found FASTCGI dependencies: CGI::Fast...found CGI >= 3.38...found FCGI...found GPG dependencies: PerlIO::eol...found GnuPG::Interface...found ICAL dependencies: Data::ICal...found MAILGATE dependencies: Pod::Usage...found HTML::TreeBuilder...found Getopt::Long...found HTML::FormatText...found LWP::UserAgent...found MASON dependencies: Storable >= 2.08...found CSS::Squish >= 0.06...found Apache::Session >= 1.53...found Errno...found Devel::StackTrace >= 1.19...found CGI::Cookie >= 1.20...found Text::WikiFormat >= 0.76...found XML::RSS >= 1.05...found HTML::Mason >= 1.36...found Digest::MD5 >= 2.27...found MYSQL dependencies: DBD::mysql >= 2.1018...found SMTP dependencies: Net::SMTP...found STANDALONE dependencies: Net::Server::PreFork...found Net::Server...found HTTP::Server::Simple >= 0.34...found HTTP::Server::Simple::Mason >= 0.09...found All dependencies have been found. [root at localhost rt-3.8.2.src]# all looks good to go "make install". now, i can go to web UI but it displays in Text Mode :( ________________________________ From: jul To: rt-users at lists.bestpractical.com Sent: Tuesday, May 5, 2009 5:25:25 PM Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup ty chan a ?crit : > Hi Julien, > No problems, no fun. > [Tue May 05 16:27:58 2009] [warn] mod_fcgid: stderr: [Tue May 5 09:27:58 > 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at > /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. > (/opt/rt3/bin/mason_handler.fcgi:81) Rule of thumb with traces : interesting stuff seems to be at the end, but not the ultimate end in order to confuse you. rule of marvic : MVC are the philosophal stone that transmute exceptions in maze. Corrollar : I miss GOTO statement. Regarding your problem : search or a file named (/usr/share/perl5/|dirs revelant to your distro)HTML/Mason/Exceptions.pm if no such file: type perl -eshell -MCPAN and in the prompt of the shell type install HTML::Mason::Exceptions I have the feeling you did not make a make fixdeps from source. -- Hey teachers leave the kids alone, on and on ... we're just another perl in the necklace ... "Even more amazing was the realization that God has Internet access. I wonder if He has a full newsfeed?" (By Matt Welsh) _______________________________________________ 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 nastlinux at gmail.com Wed May 6 03:38:08 2009 From: nastlinux at gmail.com (nast linux) Date: Wed, 6 May 2009 14:38:08 +0700 Subject: [rt-users] Queue could not be loaded Message-ID: <5e5450110905060038g4e4df2aco30e2b3d7a24c9cc0@mail.gmail.com> Dear, I already grant user to create ticket, but user still cannot create new ticket. error : "Queue could not be loaded. ". Below the steps while user create ticket. - login - click new ticket in (no list queue at text box) - got error above Thanks, ns From rfh at vialtus.com Wed May 6 04:22:26 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Wed, 06 May 2009 09:22:26 +0100 Subject: [rt-users] Queue could not be loaded In-Reply-To: <5e5450110905060038g4e4df2aco30e2b3d7a24c9cc0@mail.gmail.com> References: <5e5450110905060038g4e4df2aco30e2b3d7a24c9cc0@mail.gmail.com> Message-ID: <4A0148C2.6000106@vialtus.com> You need to grant SeeQueue as well , Roy nast linux wrote: > Dear, > > I already grant user to create ticket, but user still cannot create new ticket. > error : "Queue could not be loaded. ". > Below the steps while user create ticket. > - login > - click new ticket in (no list queue at text box) > - got error above > > Thanks, > ns > _______________________________________________ > 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 bjoern.schulz at desy.de Wed May 6 04:05:33 2009 From: bjoern.schulz at desy.de (Bjoern Schulz) Date: Wed, 06 May 2009 10:05:33 +0200 Subject: [rt-users] Wiki Home is only SPAM Message-ID: <4A0144CD.4020703@desy.de> Hi, http://wiki.bestpractical.com/edit/HomePage is only SPAM. @jesse: I can't edit the homepage, there is a problem with my account. Cheers, Bj?rn From vaclav.vobornik at commerzbank.com Wed May 6 10:08:54 2009 From: vaclav.vobornik at commerzbank.com (Vaclav Vobornik) Date: Wed, 06 May 2009 16:08:54 +0200 Subject: [rt-users] requestors group access In-Reply-To: <49FF153B.4090507@lbl.gov> References: <49FEAC79.5080403@commerzbank.com> <49FF153B.4090507@lbl.gov> Message-ID: <4A0199F6.5060400@commerzbank.com> Ken, thanks for your suggestion, but it is not what I need. They should not see all the tickets in the queue, but only those created by their team colleagues. What I am thinking about is to create a user CustomField named "Team" and fill out "Sybase" for those from the Sybase team. Then create a scrip which will check the Custom Field of a ticket creator user and add all the users with CustomFiled=="Sybase" as requestors to the ticket as well (or CC and grant CC the ShowTicket rights as Ruslan Zakirov suggested). I know how to get the ticket Custom Field: $self->TicketObj->FirstCustomFieldValue('SomeName'); but cannot find how to get the CustomFieldValue of a current user (creator) in a scrip. Does anybody know, please? Many thanks -- Vaclav Vobornik Ken Crocker wrote: > Vaclav, > > Create a User-defined group called "Sysbase-Users". Then go to > Configuration->Queue->(select Queue "Sybase or whatever")->Group > Rights and grant the following privileges to group "Sysbase-Users": > > * "CreateTicket" > * "SeeQueue" > * "ShowTicket" > * "ShowOutgoingEmail" > * "ShowTicketComments" * Your technical support team may NOT want > them to have this right. > > Make sure the Users for "Sysbase" tickets are in that "User" group > and there you have it. All members of that group will be able to > create and look at ALL tickets in the Queue you select. Oh, also be > sure that those users are "Privileged" users, otherwise you will not > be able to add them to a group that has privileges. Hope this helps. > > > Kenn > LBNL > > On 5/4/2009 1:51 AM, Vaclav Vobornik wrote: >> Good morning, >> I have a specific question from one of our customers. Let's say, there >> is a Sybase team we support: Peter, John, and Maria (unprivileged users). >> When Peter creates a ticket, only Peter can see it after he logs in to >> the RT. The same when John creates a ticket - only he sees it. >> I'd like they can see all the tickets one of them is a requestor - but >> only within their Sybase group. E.g. When Maria creates a ticket, also >> Peter and John could see a status in the same way like Maria. >> >> Is there any solution already in place, please? >> >> Many thanks >> >> From mcmorran at mdibl.org Wed May 6 09:59:22 2009 From: mcmorran at mdibl.org (Roy McMorran) Date: Wed, 06 May 2009 09:59:22 -0400 Subject: [rt-users] RT::Authen::ExternalAuth (?) issue Message-ID: <4A0197BA.8060006@mdibl.org> Hello all, Running RT 3.8.2 with RT::Authen::ExternalAuth 0.08. RT was just upgraded (from 3.6.6) and I have added LDAP authentication (users were all internal before). I'm seeing a situation where from time to time the user will be (apparently) logged out and returned to the login screen. When this happens I see the following in the rt.log: [Wed May 6 13:31:14 2009] [debug]: Attempting to use external auth service: LDAP (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64) [Wed May 6 13:31:14 2009] [debug]: SSO Failed and no user to test with. Nexting (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92) [Wed May 6 13:31:14 2009] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26) [Wed May 6 13:31:16 2009] [debug]: Attempting to use external auth service: LDAP (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64) [Wed May 6 13:31:16 2009] [debug]: SSO Failed and no user to test with. Nexting (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92) [Wed May 6 13:31:16 2009] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26) Re-authenticating as the same user always succeeds. From RT_SiteConfig.pm: Set($LogToSyslog , undef); Set($LogToScreen , 'error'); Set($LogToFile , 'debug'); Set($LogDir, '/usr/local/rt3/var/log'); Set($LogToFileNamed , "rt.log"); #log to rt.log Set(@Plugins, qw( RT::Authen::ExternalAuth RT::FM RT::Extension::ExtractCustomFieldValues )); # see /usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/etc: Set( $ExternalAuthPriority, ['LDAP'] ); Set( $ExternalInfoPriority, ['LDAP'] ); Set( $ExternalServiceUsesSSLorTLS, 0 ); Set( $ExternalSettings, { 'LDAP' => { 'type' => 'ldap', 'server' => 'ldap.xxxxx.org', 'base' => 'ou=people,dc=xxxxx,dc=org', 'filter' => '(objectClass=posixAccount)', 'd_filter' => '(businessCategory=Inactive)', 'attr_match_list' => [ 'Name', 'EmailAddress' ], 'attr_map' => { 'Name' => 'uid', 'EmailAddress' => 'mail', 'Organization' => 'o', 'RealName' => 'cn', 'ExternalAuthId' => 'uid', 'Gecos' => 'cn', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } } } ); 1; The LDAP server is SunOne DS 6.2, btw. Any thoughts on what's going on here? Thanks for your assistance. -- Roy McMorran Systems Administrator MDI Biological Laboratory mcmorran at mdibl.org From mike.peachey at jennic.com Wed May 6 10:32:31 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 06 May 2009 15:32:31 +0100 Subject: [rt-users] RT::Authen::ExternalAuth (?) issue In-Reply-To: <4A0197BA.8060006@mdibl.org> References: <4A0197BA.8060006@mdibl.org> Message-ID: <4A019F7F.9090106@jennic.com> Wed 06 May 2009 14:59:22 GMT Roy McMorran wrote: > Hello all, > > Running RT 3.8.2 with RT::Authen::ExternalAuth 0.08. RT was just > upgraded (from 3.6.6) and I have added LDAP authentication (users were > all internal before). > > I'm seeing a situation where from time to time the user will be > (apparently) logged out and returned to the login screen. When this > happens I see the following in the rt.log: Do you find this happening when you go to access a ticket? I have always had a similar problem, but have never had a chance to sort it out as it's only really a niggle to me. I find that it's almost like there are two separate sections to RT, one based around the At a Glance page and one based around display of an individual ticket, sometimes after logging in and viewing At a Glance, I have to re-authenticate when going to view a ticket. Also, firefox's autocomplete suggestions for the uesrname box are different for one than they are for the other. Any of this sounding familiar? -- 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 rob.munsch at gmail.com Wed May 6 10:30:54 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Wed, 6 May 2009 10:30:54 -0400 Subject: [rt-users] Fwd: RT::Authen::ExternalAuth (?) issue In-Reply-To: <8fae230c0905060730h66d3c390gaa33f3a95dfcb69f@mail.gmail.com> References: <4A0197BA.8060006@mdibl.org> <8fae230c0905060730h66d3c390gaa33f3a95dfcb69f@mail.gmail.com> Message-ID: <8fae230c0905060730y3cb64126wd42968d8e16d632f@mail.gmail.com> i have the opposite of accidental-reply-all disease. On Wed, May 6, 2009 at 9:59 AM, Roy McMorran wrote: > Hello all, > > I'm seeing a situation where from time to time the user will be > (apparently) logged out and returned to the login screen. When this > happens I see the following in the rt.log: > > > (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64) > [Wed May 6 13:31:14 2009] [debug]: SSO Failed and no user to test with. > Nexting > > (/usr/local/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92) > [Wed May 6 13:31:14 2009] [debug]: Autohandler called ExternalAuth. > Response: (0, No User) > > SSO refers to single sign-on, doesn't it? I think that's incidental to what's happening. The rest of it looks like rt forgot who your user was. "No user to test with" and "0, No User" seems to support this. Is this happening after user is idle for a while? Do they not have "refresh every blah" set on the page? I always have the 2-minutes refresh on, and this seems to infinitely postpone my auth timing out. -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Wed May 6 11:00:41 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 6 May 2009 19:00:41 +0400 Subject: [rt-users] requestors group access In-Reply-To: <4A0199F6.5060400@commerzbank.com> References: <49FEAC79.5080403@commerzbank.com> <49FF153B.4090507@lbl.gov> <4A0199F6.5060400@commerzbank.com> Message-ID: <589c94400905060800m5a69f4d6g649c00619bae368e@mail.gmail.com> On Wed, May 6, 2009 at 6:08 PM, Vaclav Vobornik wrote: > Ken, > thanks for your suggestion, but it is not what I need. They should not > see all the tickets in the queue, but only those created by their team > colleagues. > What I am thinking about is to create a user CustomField named "Team" > and fill out "Sybase" for those from the Sybase team. > > Then create a scrip which will check the Custom Field of a ticket > creator user and add all the users with CustomFiled=="Sybase" as > requestors to the ticket as well (or CC and grant CC the ShowTicket > rights as Ruslan Zakirov suggested). > > I know how to get the ticket Custom Field: > > $self->TicketObj->FirstCustomFieldValue('SomeName'); > > but cannot find how to get the CustomFieldValue of a current user > (creator) in a scrip. Does anybody know, please? $self->TransactionObj->CreatorObj->FirstCustomFieldValue("XXX"); I think this should work. > > Many thanks > -- > Vaclav Vobornik > > > > > Ken Crocker wrote: >> Vaclav, >> >> ? ? Create a User-defined group called "Sysbase-Users". Then go to >> Configuration->Queue->(select Queue "Sybase or whatever")->Group >> Rights and grant the following privileges to group "Sysbase-Users": >> >> ? ? * "CreateTicket" >> ? ? * "SeeQueue" >> ? ? * "ShowTicket" >> ? ? * "ShowOutgoingEmail" >> ? ? * "ShowTicketComments" * Your technical support team may NOT want >> ? ? ? them to have this right. >> >> ? ? Make sure the Users for "Sysbase" tickets are in that "User" group >> and there you have it. All members of that group will be able to >> create and look at ALL tickets in the Queue you select. Oh, also be >> sure that those users are "Privileged" users, otherwise you will not >> be able to add them to a group that has privileges. Hope this helps. >> >> >> Kenn >> LBNL >> >> On 5/4/2009 1:51 AM, Vaclav Vobornik wrote: >>> Good morning, >>> I have a specific question from one of our customers. Let's say, there >>> is a Sybase team we support: Peter, John, and Maria (unprivileged users). >>> When Peter creates a ticket, only Peter can see it after he logs in to >>> the RT. The same when John creates a ticket - only he sees it. >>> I'd like they can see all the tickets one of them is a requestor - but >>> only within their Sybase group. E.g. When Maria creates a ticket, also >>> Peter and John could see a status in the same way like Maria. >>> >>> Is there any solution already in place, please? >>> >>> Many 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 > -- Best regards, Ruslan. From mcmorran at mdibl.org Wed May 6 11:06:28 2009 From: mcmorran at mdibl.org (Roy McMorran) Date: Wed, 06 May 2009 11:06:28 -0400 Subject: [rt-users] RT::Authen::ExternalAuth (?) issue In-Reply-To: <4A019F7F.9090106@jennic.com> References: <4A0197BA.8060006@mdibl.org> <4A019F7F.9090106@jennic.com> Message-ID: <4A01A774.60408@mdibl.org> Mike Peachey wrote: > Do you find this happening when you go to access a ticket? > > I have always had a similar problem, but have never had a chance to sort > it out as it's only really a niggle to me. > I've yet to establish a definitive pattern, but I seem to be able to get it to happen by doing a search on the "Tickets" page. After I log back in I get the search results ;-) Also going to "Tickets" and then back to "Home" will trigger it. > Any of this sounding familiar? > There are similarities. Rob Munsch wrote: > > SSO refers to single sign-on, doesn't it? I think that's incidental > to what's happening. Probably so. I'm not (knowingly) using the SSO feature. > The rest of it looks like rt forgot who your user was. "No user to > test with" and "0, No User" seems to support this. Is this happening > after user is idle for a while? Do they not have "refresh every blah" > set on the page? It does look like that. The idle time isn't the issue though, unless I've somehow inadvertently set an idle timeout of less than five seconds ;-) Thanks for the feedback so far. I'm thinking of watching the LDAP traffic with Wireshark next. Cheers, -r -- Roy McMorran Systems Administrator MDI Biological Laboratory mcmorran at mdibl.org From bernhard.hansbauer at greentube.com Wed May 6 11:44:27 2009 From: bernhard.hansbauer at greentube.com (Bernhard Hansbauer) Date: Wed, 6 May 2009 17:44:27 +0200 Subject: [rt-users] default autoreply unless defined per queue - possible? In-Reply-To: <6.2.1.2.2.20090430090525.02d01e70@mail.sdsu.edu> References: <49F9515D.1050108@greentube.com> Message-ID: <4A01B05B.2020504@greentube.com> Hi, still not lucky so far, also due to a complete different approach before, and just to get that right - will the following solve this task? 1. create a global script for autoreplies: Description: Autoreply Condition: On Create Action: Automatic Answer to client Template: Autoreply Phase: TransactionCreate no other conditions, code or whatever 2. create a global template named "Autoreply" 3. in queues where necessary, create a template called "Autoreply" as well will this be enough to use the queue template instead of the global template for an autoreply? thanks a lot, bernhard Gene LeDuc schrieb: > As Ruslan pointed out earlier, creating an Autoreply template in the > queue overrides the global template. RT checks first for a queue > template and uses it if one is found, otherwise it uses the global > template of the same name. No need to delete or create scrips in this > case. > > At 03:31 AM 4/30/2009, Andraz Sraka wrote: >> re >> >> On Thu, 2009-04-30 at 09:21 +0200, Bernhard Hansbauer wrote: >> >> > using RT 3.8.2 with RTFM 2.4.0 >> > as mentioned in the subject, i wonder if it's possible to have a >> > default autoreply on ticket creation, _unless_ there is an autoreply >> > defined in the queue. any hint greatly appreciated, >> >> Delete "Autoreply To Requestors" script in global scripts and define a >> new custom one: >> >> Condition: User Defined >> Action: Autoreply to Requestor >> Template: Global template: Autoreply >> Stage: TransactionCreate >> >> Custom condition: >> return($self->TransactionObj->Type eq "Create" && >> $self->TicketObj->QueueObj->Name ne "XXXXX" ) >> >> XXXX - is your defined queue name >> >> For XXX queue you need to create new script defined in queue for example >> to sends out different custom reply. >> >> I hope it helps. >> >> regards, >> Andraz > > -- Bernhard Hansbauer System Administrator bernhard.hansbauer at greentube.com ------------------------- Greentube I.E.S. AG Mariahilfer Stra?e 47/1/102 A-1060 Wien FN 197003k, HG Wien Tel: +43 1 494 50 56 - 30 http://www.greentube.com ------------------------- ------------------------------------ Internet Email Confidentiality Footer ------------------------------------ Privileged/confidential information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to this person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by replying. Please make it known immediately f you or your employer does not consent to the medium of e-mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gleduc at mail.sdsu.edu Wed May 6 11:50:29 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Wed, 06 May 2009 08:50:29 -0700 Subject: [rt-users] default autoreply unless defined per queue - possible? In-Reply-To: <4A01B05B.2020504@greentube.com> References: <49F9515D.1050108@greentube.com> <4A01B05B.2020504@greentube.com> Message-ID: <6.2.1.2.2.20090506084835.02af7200@mail.sdsu.edu> Yes, that's how it works. If there is a queue template with the same name as the global template, the scrip will use that instead of the global for that queue only. It will use the global template for all queues that do not have their own "local" template. It's a clever implementation. Gene At 08:44 AM 5/6/2009, Bernhard Hansbauer wrote: >Hi, > >still not lucky so far, also due to a complete different approach before, >and just to get that right - will the following solve this task? > >1. create a global script for autoreplies: > Description: Autoreply > Condition: On Create > Action: Automatic Answer to client > Template: Autoreply > Phase: TransactionCreate > >no other conditions, code or whatever > >2. create a global template named "Autoreply" > >3. in queues where necessary, create a template called "Autoreply" as well > >will this be enough to use the queue template instead of the global >template for an autoreply? > >thanks a lot, > >bernhard > > >Gene LeDuc schrieb: >>As Ruslan pointed out earlier, creating an Autoreply template in the >>queue overrides the global template. RT checks first for a queue >>template and uses it if one is found, otherwise it uses the global >>template of the same name. No need to delete or create scrips in this case. >> >>At 03:31 AM 4/30/2009, Andraz Sraka wrote: >>>re >>> >>>On Thu, 2009-04-30 at 09:21 +0200, Bernhard Hansbauer wrote: >>> >>> > using RT 3.8.2 with RTFM 2.4.0 >>> > as mentioned in the subject, i wonder if it's possible to have a >>> > default autoreply on ticket creation, _unless_ there is an autoreply >>> > defined in the queue. any hint greatly appreciated, >>> >>>Delete "Autoreply To Requestors" script in global scripts and define a >>>new custom one: >>> >>>Condition: User Defined >>>Action: Autoreply to Requestor >>>Template: Global template: Autoreply >>>Stage: TransactionCreate >>> >>>Custom condition: >>> return($self->TransactionObj->Type eq "Create" && >>> $self->TicketObj->QueueObj->Name ne "XXXXX" ) >>> >>>XXXX - is your defined queue name >>> >>>For XXX queue you need to create new script defined in queue for example >>>to sends out different custom reply. >>> >>>I hope it helps. >>> >>>regards, >>> Andraz >> > > >-- >Bernhard Hansbauer >System Administrator >bernhard.hansbauer at greentube.com >------------------------- >Greentube I.E.S. AG >Mariahilfer Stra?e 47/1/102 >A-1060 Wien >FN 197003k, HG Wien > >Tel: +43 1 494 50 56 - 30 >http://www.greentube.com >------------------------- > >------------------------------------ >Internet Email Confidentiality Footer >------------------------------------ >Privileged/confidential information may be contained in this message. If >you are not the addressee indicated in this message (or responsible for >delivery of the message to this person), you may not copy or deliver this >message to anyone. In such a case, you should destroy this message and >kindly notify the sender by replying. Please make it known immediately f >you or your employer does not consent to the medium of e-mail for messages >of this kind. Opinions, conclusions and other information in this message >that do not relate to the official business of my firm shall be understood >as neither given nor endorsed by it. -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Wed May 6 12:07:21 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 06 May 2009 17:07:21 +0100 Subject: [rt-users] RT::Authen::ExternalAuth (?) issue In-Reply-To: <4A01A774.60408@mdibl.org> References: <4A0197BA.8060006@mdibl.org> <4A019F7F.9090106@jennic.com> <4A01A774.60408@mdibl.org> Message-ID: <4A01B5B9.8020300@jennic.com> Wed 06 May 2009 16:06:28 GMT Roy McMorran wrote: > Rob Munsch wrote: >> SSO refers to single sign-on, doesn't it? I think that's incidental >> to what's happening. > > Probably so. I'm not (knowingly) using the SSO feature. SSO is the cookie stuff integrated from RT::Authen::CookieAuth. I haven't had time to double-check, but you can probably ignore the output as it should just be a debug message advising it entered the loop to check for SSO and dropped out without finding it. > >> The rest of it looks like rt forgot who your user was. "No user to >> test with" and "0, No User" seems to support this. Is this happening >> after user is idle for a while? Do they not have "refresh every blah" >> set on the page? > > It does look like that. The idle time isn't the issue though, unless > I've somehow inadvertently set an idle timeout of less than five > seconds ;-) Yeah, I think idle time would be a red herring. > > Thanks for the feedback so far. I'm thinking of watching the LDAP > traffic with Wireshark next. You can give it a whirl, but I think all you'll find is a lack of traffic, if it was trying to check LDAP it would succeed. The problem will be that somewhere, somehow either: 1. The session cookie is dying 2. Somehow there are two fighting session cookies Will look into it when I can myself, but I'm up to my eyeballs in work atm. -- 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 May 6 12:14:22 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Wed, 06 May 2009 17:14:22 +0100 Subject: [rt-users] RT::Authen::ExternalAuth (?) issue In-Reply-To: <4A01A774.60408@mdibl.org> References: <4A0197BA.8060006@mdibl.org> <4A019F7F.9090106@jennic.com> <4A01A774.60408@mdibl.org> Message-ID: <4A01B75E.1020705@jennic.com> Wed 06 May 2009 16:06:28 GMT Roy McMorran wrote: > Stuff.. Just one thing Roy, when you did your upgrade to 3.8.2 can you confirm for absolute certainty that you ran the 4.0->4.1 schema upgrade bit from UPGRADING.mysql ? (It's a common bit people don't do because it looks like it's only meant for MySQL4.0 users, but it's actually meant for EVERYONE). -- 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 mcmorran at mdibl.org Wed May 6 14:44:35 2009 From: mcmorran at mdibl.org (Roy McMorran) Date: Wed, 06 May 2009 14:44:35 -0400 Subject: [rt-users] RT::Authen::ExternalAuth (?) issue In-Reply-To: <4A01B75E.1020705@jennic.com> References: <4A0197BA.8060006@mdibl.org> <4A019F7F.9090106@jennic.com> <4A01A774.60408@mdibl.org> <4A01B75E.1020705@jennic.com> Message-ID: <4A01DA93.9040407@mdibl.org> Mike Peachey wrote: > Just one thing Roy, when you did your upgrade to 3.8.2 can you confirm > for absolute certainty that you ran the 4.0->4.1 schema upgrade bit from > UPGRADING.mysql ? > Interesting. I did follow the schema upgrade process, but I have subsequently had to re-import the RT data. There are no "drop table"s in the dump, but still, I'd better take a closer look at that. Thanks, -r -- Roy McMorran Systems Administrator MDI Biological Laboratory mcmorran at mdibl.org From vadud3 at gmail.com Wed May 6 15:28:12 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Wed, 6 May 2009 15:28:12 -0400 Subject: [rt-users] same scrips but one does not send the autoreply to requestor Message-ID: I have the exact same scrips on rt 3.8.2 for the two queues "config-change" and "syshelp" "syshelp" queue does autoreply w/ ticket number to the requester, but "config-change" does not Here are the scrips 87 On Comment Notify Owner as Comment with template Admin Comment Imported from RT 2.0 159 On Comment Notify Other Recipients as Comment with template Correspondence On Comment Notify Other Recipients as Comment 6 On Correspond Notify Other Recipients with template Correspondence On Correspond Notify Other Recipients 139 On Correspond Notify Owner with template Correspondence On Correspond Notify Owner 130 On Correspond Notify Requestors and Ccs with template Correspondence On Correspond Notify Requestors and Ccs 1 On Correspond Open Tickets with template Blank On Correspond Open Tickets 167 On Owner Change Notify Owner with template Transaction Owner Change Request is coming from same requester and I do not see on maillog of the RT not even trying to reply when sending a request to "config-change", but for "syshelp" queue as soon as the ticket is created (in rt.log) a email goes back as a reply (in syslog) How do I debug this? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From cbrockett at barracuda.com Wed May 6 15:43:44 2009 From: cbrockett at barracuda.com (Cassandra L. Brockett) Date: Wed, 6 May 2009 12:43:44 -0700 Subject: [rt-users] Notify queue owners on new ticket or ticket closure In-Reply-To: References: Message-ID: <3BBAC6B669B5FB4E9CB7E7C3BEF58A6D0E4F56F9@bn-scl-be02.Cudanet.local> Hi everyone, I'm trying to add what should be a simple scrip, and for some reason I'm blanking on how to do this, and I know it's simple enough as I can't find documentation on it J Simply put, we migrated to 3.8.2 (a few months back) and I'd like to notify the queue owners on new tickets in the queue (direct creation or tickets moved to the queue), but not spam them with all the ticket emails by making them a watcher (like how rt 3.6.5 used to do). At the moment we have the queue owners set as watchers, but it's a lot of extra email and things get lost occasionally... Regards, Cassandra Brockett ---------------------------------- Check out the Barracuda Spam & Virus Firewall - offering the fastest virus & malware protection in the industry: www.barracudanetworks.com/spam -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Wed May 6 16:13:57 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 7 May 2009 00:13:57 +0400 Subject: [rt-users] Notify queue owners on new ticket or ticket closure In-Reply-To: <3BBAC6B669B5FB4E9CB7E7C3BEF58A6D0E4F56F9@bn-scl-be02.Cudanet.local> References: <3BBAC6B669B5FB4E9CB7E7C3BEF58A6D0E4F56F9@bn-scl-be02.Cudanet.local> Message-ID: <589c94400905061313k23ce032ayab8ad2d9e1ee7b7e@mail.gmail.com> http://wiki.bestpractical.com/view/EmailGroup ? On Wed, May 6, 2009 at 11:43 PM, Cassandra L. Brockett wrote: > Hi everyone, > > > > I?m trying to add what should be a simple scrip, and for some reason I?m > blanking on how to do this, and I know it?s simple enough as I can?t find > documentation on it J > > > > Simply put, we migrated to 3.8.2 (a few months back) and I?d like to notify > the queue owners on new tickets in the queue (direct creation or tickets > moved to the queue), but not spam them with all the ticket emails by making > them a watcher (like how rt 3.6.5 used to do).? At the moment we have the > queue owners set as watchers, but it?s a lot of extra email and things get > lost occasionally? > > > > Regards, > > Cassandra Brockett > > > > ---------------------------------- > Check out the Barracuda Spam & Virus Firewall - offering the fastest virus & > malware protection in the industry: www.barracudanetworks.com/spam > _______________________________________________ > 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 cbrockett at barracuda.com Wed May 6 16:23:07 2009 From: cbrockett at barracuda.com (Cassandra L. Brockett) Date: Wed, 6 May 2009 13:23:07 -0700 Subject: [rt-users] Notify queue owners on new ticket or ticket closure In-Reply-To: <589c94400905061313k23ce032ayab8ad2d9e1ee7b7e@mail.gmail.com> References: <3BBAC6B669B5FB4E9CB7E7C3BEF58A6D0E4F56F9@bn-scl-be02.Cudanet.local> <589c94400905061313k23ce032ayab8ad2d9e1ee7b7e@mail.gmail.com> Message-ID: <3BBAC6B669B5FB4E9CB7E7C3BEF58A6D0E4F56FB@bn-scl-be02.Cudanet.local> *facepalm* I knew it would be something simple... giving that a try now... I've got it set to send email on ticket create, or queue change, let's see what happens with that :) -- Cass -----Original Message----- From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com] Sent: Wednesday, May 06, 2009 1:14 PM To: Cassandra L. Brockett Cc: rt-users Users Subject: Re: [rt-users] Notify queue owners on new ticket or ticket closure http://wiki.bestpractical.com/view/EmailGroup ? On Wed, May 6, 2009 at 11:43 PM, Cassandra L. Brockett wrote: > Hi everyone, > > > > I?m trying to add what should be a simple scrip, and for some reason I?m > blanking on how to do this, and I know it?s simple enough as I can?t find > documentation on it J > > > > Simply put, we migrated to 3.8.2 (a few months back) and I?d like to notify > the queue owners on new tickets in the queue (direct creation or tickets > moved to the queue), but not spam them with all the ticket emails by making > them a watcher (like how rt 3.6.5 used to do).? At the moment we have the > queue owners set as watchers, but it?s a lot of extra email and things get > lost occasionally? > > > > Regards, > > Cassandra Brockett > > > > ---------------------------------- > Check out the Barracuda Spam & Virus Firewall - offering the fastest virus & > malware protection in the industry: www.barracudanetworks.com/spam > _______________________________________________ > 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. ---------------------------------- Check out the Barracuda Spam & Virus Firewall - offering the fastest virus & malware protection in the industry: www.barracudanetworks.com/spam From vadud3 at gmail.com Wed May 6 17:10:03 2009 From: vadud3 at gmail.com (Asif Iqbal) Date: Wed, 6 May 2009 17:10:03 -0400 Subject: [rt-users] same scrips but one does not send the autoreply to requestor In-Reply-To: References: Message-ID: was missing the autoreply scrip, duh! On Wed, May 6, 2009 at 3:28 PM, Asif Iqbal wrote: > I have the exact same scrips on rt 3.8.2 for the two queues "config-change" > and "syshelp" > > "syshelp" queue does autoreply w/ ticket number to the requester, but > "config-change" does not > > Here are the scrips > > 87 On Comment Notify Owner as Comment with template Admin Comment > Imported from RT 2.0 > 159 On Comment Notify Other Recipients as Comment with template > Correspondence > On Comment Notify Other Recipients as Comment > 6 On Correspond Notify Other Recipients with template Correspondence > On Correspond Notify Other Recipients > 139 On Correspond Notify Owner with template Correspondence > On Correspond Notify Owner > 130 On Correspond Notify Requestors and Ccs with template Correspondence > On Correspond Notify Requestors and Ccs > 1 On Correspond Open Tickets with template Blank > On Correspond Open Tickets > 167 On Owner Change Notify Owner with template Transaction > Owner Change > > Request is coming from same requester and I do not see on maillog of the RT > not even trying to reply when sending > a request to "config-change", but for "syshelp" queue as soon as the ticket > is created (in rt.log) a email goes back as > a reply (in syslog) > > How do I debug this? > > -- > Asif Iqbal > PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > > > -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From mcmorran at mdibl.org Wed May 6 17:32:01 2009 From: mcmorran at mdibl.org (Roy McMorran) Date: Wed, 06 May 2009 17:32:01 -0400 Subject: [rt-users] RT::Authen::ExternalAuth (?) issue In-Reply-To: <4A01DA93.9040407@mdibl.org> References: <4A0197BA.8060006@mdibl.org> <4A019F7F.9090106@jennic.com> <4A01A774.60408@mdibl.org> <4A01B75E.1020705@jennic.com> <4A01DA93.9040407@mdibl.org> Message-ID: <4A0201D1.4000708@mdibl.org> Roy McMorran wrote: > Mike Peachey wrote: > >> Just one thing Roy, when you did your upgrade to 3.8.2 can you confirm >> for absolute certainty that you ran the 4.0->4.1 schema upgrade bit from >> UPGRADING.mysql ? >> >> > > Interesting. I did follow the schema upgrade process, but I have > subsequently had to re-import the RT data. There are no "drop table"s > in the dump, but still, I'd better take a closer look at that. > > Thanks, > -r > > Mike, I think you hit the nail right on the head. I had to re-run the schema upgrade (i.e. all the ALTER TABLE statements that updated the character sets). Since then I haven't seen any spurious login requests. Nothing at all to do with LDAP authentication then...that was a red herring. Thanks for your help! Cheers, -r -- Roy McMorran Systems Administrator MDI Biological Laboratory mcmorran at mdibl.org From nastlinux at gmail.com Wed May 6 20:10:57 2009 From: nastlinux at gmail.com (nast linux) Date: Thu, 7 May 2009 07:10:57 +0700 Subject: [rt-users] How to delete user Message-ID: <5e5450110905061710w1490a94vd7dc0d3dc72721dc@mail.gmail.com> Dear All, I just do disable user, but I can not delete user. How to delete user database? Should I delete directly through mysql? Thanks, ns From ruslan.zakirov at gmail.com Wed May 6 20:27:32 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 7 May 2009 04:27:32 +0400 Subject: [rt-users] How to delete user In-Reply-To: <5e5450110905061710w1490a94vd7dc0d3dc72721dc@mail.gmail.com> References: <5e5450110905061710w1490a94vd7dc0d3dc72721dc@mail.gmail.com> Message-ID: <589c94400905061727n301a3ef5x66cdcce722881ec5@mail.gmail.com> shredder On Thu, May 7, 2009 at 4:10 AM, nast linux wrote: > Dear All, > > I just do disable user, but I can not delete user. > How to delete user database? > Should I delete directly through mysql? > > Thanks, > ns > _______________________________________________ > 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 jmacgillivray at hotmail.com Wed May 6 20:47:54 2009 From: jmacgillivray at hotmail.com (John MacGillivray) Date: Thu, 7 May 2009 00:47:54 +0000 Subject: [rt-users] trying to create an ticket in Rt with an email. Message-ID: This is what i have done. 1) I have RT installed in a zone. Mail is working. From with in RT, if i send an email it will get to the person. So i have RT working with my mail server. On my mail server I added these lines to my aliases file. I have the following in my /etc/mail/aliases: rt: "|/opt/rt3/bin/rt-mailgate --queue HelpDesk --action correspond --url http://myhost.mydomain/rt3/" rt-comment: "|/opt/rt3/bin/rt-mailgate --queue HelpDesk --action comment --url http://myhost.mydomain/rt3/" on my RT server I have in the /etc/aliases HelpDesk: "|/opt/rt3/bin/rt-mailgate --queue HelpDesk --action correspond --url https://myhost.mydomain/rt3" HelpDesk-comment: "|/opt/rt3/bin/rt-mailgate --queue HelpDesk --action comment --url "https://myhost.mydomain/rt3 In RT. I have the account RT I send and email to Rt at myhost.mydomain.ca I recieve the bounce message. : Command died with status 1: "/opt/rt3/bin/rt-mailgate --queue HelpDesk --action correspond --url https://rt.mydomain/rt3". Command output: local: fatal: execvp /opt/rt3/bin/rt-mailgate: Permission denied Could someone please help me out.Thanks for your time. John _________________________________________________________________ Find info faster and easier with Internet Explorer 8. http://go.microsoft.com/?linkid=9655583 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lwebb at uow.edu.au Wed May 6 20:57:07 2009 From: lwebb at uow.edu.au (Lachlan Webb) Date: Thu, 07 May 2009 10:57:07 +1000 Subject: [rt-users] trying to create an ticket in Rt with an email. In-Reply-To: References: Message-ID: <4A0231E3.2070201@uow.edu.au> On 7/5/09 10:47 AM, John MacGillivray wrote: > : Command died with status 1: "/opt/rt3/bin/rt-mailgate > --queue HelpDesk --action correspond --urlhttps://rt.mydomain/rt3". > Command output: local: fatal: execvp /opt/rt3/bin/rt-mailgate: Permission > denied > > > Hi, Looks like a permissions issue. the files should be executable by the mail user. I suspect 755 would be fine, as the mailgate just submits an http request. Regards, Lachlan -------------- next part -------------- An HTML attachment was scrubbed... URL: From chanty_kh at yahoo.com Thu May 7 02:23:39 2009 From: chanty_kh at yahoo.com (ty chan) Date: Wed, 6 May 2009 23:23:39 -0700 (PDT) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup Message-ID: <717129.55622.qm@web52302.mail.re2.yahoo.com> The debug option was turned by Set($LogToFile, 'debug'); Below is rt.log content: Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xbc9ce28)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 [Thu May 7 06:16:58 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81) Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xbc9ce28)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 [Thu May 7 06:16:59 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 113. (/opt/rt3/bin/mason_handler.fcgi:81) Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0xbc9ce28)', '') called at /opt/rt3/bin/mason_handler.fcgi line 81 ________________________________ From: jul To: ty chan Sent: Wednesday, May 6, 2009 10:54:48 PM Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup ty chan a ?crit : > please see below file lists: > > [root at localhost Mason]# pwd > /usr/lib/perl5/site_perl/5.8.8/HTML/Mason > > exceptions.pm does exist. :) > oops :) You'll have to put rt in debug mode, and watch log file for anything unusual. Standard procedure. I told you it would hellish. -- He who spends a storm beneath a tree, takes life with a grain of TNT. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jul-rt at julbox.net Thu May 7 03:09:41 2009 From: jul-rt at julbox.net (jul) Date: Thu, 7 May 2009 09:09:41 +0200 (CEST) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <717129.55622.qm@web52302.mail.re2.yahoo.com> References: <717129.55622.qm@web52302.mail.re2.yahoo.com> Message-ID: <49464.84.103.45.38.1241680181.squirrel@squirrel.est-unique.net> By the way what do you mean by : I only see in text mode ? HTML is text :) wouldn't you have 404 http errors too ? I mean wouldn't apache fail to serve some js / images ? wouldn't you be missing some aliases in your apache configuration scripts ? If you mean you lack images, then it means you have a misconfigured Alias /rt/NoAuth/images /opt/rt3/share/html/NoAuth/images and maybe Order Allow,Deny Allow from 127.0.0.1 Allow from your-public-ip (Firefox -> firebug or apache log) Else, I can't see the problem Do you clean mason cache when restarting apache, do you restart apache after modifications ? (reload graceful don't work with persistant mode bad SIGHUP propagation) I am quite clueless at this point ... :( -- Even if you persuade me, you won't persuade me. -- Aristophanes From bertignac at gmail.com Thu May 7 03:46:49 2009 From: bertignac at gmail.com (L B) Date: Thu, 7 May 2009 09:46:49 +0200 Subject: [rt-users] RTx-BecomeUser extension and RT 3.8.x ? Message-ID: Hello, Anyone has this extension working on a RT 3.8.x ? -- L.B. From v.wawryk at science-computing.de Thu May 7 04:40:09 2009 From: v.wawryk at science-computing.de (Violetta J. Wawryk) Date: Thu, 07 May 2009 10:40:09 +0200 Subject: [rt-users] open tickets for certain domain-email-adresses Message-ID: <4A029E69.4090106@science-computing.de> Hi, we have a queue in our RT that nobody should see except the Queue-Admins. But we need about 100 Users to open Tickets via email in that queue, their email-addresses have all the same domain name. Since the Users can change it would be to much hassle to look through all the users again and again to get them their own accounts and put them in a certain group. I don't want to give "Everybody" the right to "open a Ticket" because then all other Users who can log in the RT could open a Ticket in that Queue via the Quick Ticket opening thing on the top right corner. Has anybody an idea to solve this problem? I couldn't find the answer anywhere so far. Thanks and regards, Violetta -- ________________________________ creating IT solutions Violetta J. Wawryk science + computing ag IT-Service Hagellocher Weg 73 phone +49 7071 9457 282 72070 Tuebingen, Germany fax +49 7071 9457 211 www.science-computing.de -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Michel Lepert Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 From prescott at wcoil.com Thu May 7 08:36:21 2009 From: prescott at wcoil.com (prescott at wcoil.com) Date: Thu, 7 May 2009 08:36:21 -0400 (EDT) Subject: [rt-users] adding button to ticket page Message-ID: What is the proper way to customize rt to add a button into a ticket so I can perform an outside function? What I want to do is to have a label printer print a address label from a ticket. This would be done when the staff person is adding the ticket. this should not be done for all tickets, and it only needs to be done on demand. I can use the ticket id to look up the correct information, I just don't know how to go about customizing for this... Thanks in advance. From jchome at jc-ix.net Thu May 7 08:45:43 2009 From: jchome at jc-ix.net (Frederic Jaeckel) Date: Thu, 7 May 2009 14:45:43 +0200 Subject: [rt-users] "delete" Button in Ticket view. Message-ID: <20090507144543.0e722a1e@pc30b.int.bfk.de> Hi, is it possible to get the "delete" Button back int the Ticket View like in rt 3.6.*? It was so handy in the upper right where "Open","Take"... is placed. :) Best regards, Frederic Jaeckel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available URL: From domm at cpan.org Thu May 7 10:58:08 2009 From: domm at cpan.org (Thomas Klausner) Date: Thu, 7 May 2009 16:58:08 +0200 Subject: [rt-users] Autogenerating a password for requestors Message-ID: <20090507145808.GG26576@dedomm.validad.net> Hi! I've got a slightly complex question (at least to me..) and I haven't been able to come up with s solution after lots of googling, trying stuff from the wiki, etc. My bigger goal is to set up RT so that requestors get an email notifying them of their ticket id etc aftre creation. If they are new users, they should get a autocreated password. There is a page in the wiki on this http://wiki.bestpractical.com/view/AutogeneratedPassword This works when I submit a ticket via email. But... On our website, we have a small feedback box (yes, inspired by hiveminder ;-) User can enter their problems there, which get temporarily stored in our DB. A cronjob than takes the proto-tickets and submits them to our RT via RT::Client::Rest. There we log into RT with a system user and set the requestor to the users email address: $ticket = RT::Client::REST::Ticket->new( rt => $rt, subject => $subject, queue => $queue, requestors => \@requestors, )->store( text => join( "\n", $subject, '', @desc ) ); This works perfectly, but not with the Password autogeneration. After some trial and error, I figured out that RT::Client::REST seems to set the requestors AFTER ticket creation, thus there are no requestors during 'On Create'. I figured out the correct custom condition (I think): return 0 unless $self->TransactionObj->Type eq 'AddWatcher'; return 0 unless $self->TransactionObj->Field eq 'Requestor'; return 1; But I wasn't able to get template from AutogeneratedPassword to work. I guess, some of the values used in there do not apply to this later stage. So, any pointers on how do autogenerate a password right after on Create? Thanks! -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} From david.ocallaghan at cs.tcd.ie Thu May 7 12:09:01 2009 From: david.ocallaghan at cs.tcd.ie (David O'Callaghan) Date: Thu, 07 May 2009 17:09:01 +0100 Subject: [rt-users] "delete" Button in Ticket view. In-Reply-To: <20090507144543.0e722a1e@pc30b.int.bfk.de> References: <20090507144543.0e722a1e@pc30b.int.bfk.de> Message-ID: <4A03079D.2070209@cs.tcd.ie> On 07/05/09 13:45, Frederic Jaeckel wrote: > is it possible to get the "delete" Button back int the Ticket View like > in rt 3.6.*? It was so handy in the upper right where "Open","Take"... > is placed. :) > +1 for this suggestion. Alternatively, is there a quick way to implement this feature myself? Should I just look at the code for 3.6? David From barnesaw at ucrwcu.rwc.uc.edu Thu May 7 12:37:25 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Thu, 07 May 2009 12:37:25 -0400 Subject: [rt-users] "delete" Button in Ticket view. In-Reply-To: <4A03079D.2070209@cs.tcd.ie> References: <20090507144543.0e722a1e@pc30b.int.bfk.de> <4A03079D.2070209@cs.tcd.ie> Message-ID: <4A030E45.2040801@ucrwcu.rwc.uc.edu> Should be a simple callback in Elements/Tabs I would think. Or just a local mod to Elements/Tabs for the not-as-clean route. David O'Callaghan wrote: > On 07/05/09 13:45, Frederic Jaeckel wrote: > >> is it possible to get the "delete" Button back int the Ticket View like >> in rt 3.6.*? It was so handy in the upper right where "Open","Take"... >> is placed. :) >> >> > +1 for this suggestion. > > Alternatively, is there a quick way to implement this feature myself? > Should I just look at the code for 3.6? > > David > _______________________________________________ > 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 > -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From daviswj at comcast.net Thu May 7 13:00:30 2009 From: daviswj at comcast.net (Bill Davis) Date: Thu, 07 May 2009 11:00:30 -0600 Subject: [rt-users] "delete" Button in Ticket view. In-Reply-To: <4A03079D.2070209@cs.tcd.ie> References: <20090507144543.0e722a1e@pc30b.int.bfk.de> <4A03079D.2070209@cs.tcd.ie> Message-ID: <4A0313AE.8090105@comcast.net> An HTML attachment was scrubbed... URL: From jesse at bestpractical.com Thu May 7 13:32:12 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Thu, 7 May 2009 13:32:12 -0400 Subject: [rt-users] "delete" Button in Ticket view. In-Reply-To: <20090507144543.0e722a1e@pc30b.int.bfk.de> References: <20090507144543.0e722a1e@pc30b.int.bfk.de> Message-ID: <20090507173212.GG23835@bestpractical.com> On Thu, May 07, 2009 at 02:45:43PM +0200, Frederic Jaeckel wrote: > Hi, > > is it possible to get the "delete" Button back int the Ticket View like > in rt 3.6.*? It was so handy in the upper right where "Open","Take"... > is placed. :) As far as I know, no such thing was ever built into RT 3.6. However, RT::Extension::QuickDelete should work as well on 3.8 as it did on 3.6. http://search.cpan.org/dist/RT-Extension-QuickDelete/ > > Best regards, > Frederic Jaeckel > _______________________________________________ > 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 allen+rtlist at crystalfontz.com Thu May 7 13:44:01 2009 From: allen+rtlist at crystalfontz.com (allen+rtlist at crystalfontz.com) Date: Thu, 7 May 2009 10:44:01 -0700 Subject: [rt-users] Autogenerating a password for requestors Message-ID: <885d981e0905071044m31f1df84v6b6911ee12a3789e@mail.gmail.com> > My bigger goal is to set up RT so that requestors get an email > notifying them of their ticket id etc aftre creation. If they are new > users, they should get a autocreated password. > > There is a page in the wiki on this > http://wiki.bestpractical.com/view/AutogeneratedPassword > > This works when I submit a ticket via email. > > But I wasn't able to get template from AutogeneratedPassword > to work. I guess, some of the values used in there do not apply to this > later stage. I noticed that the Autogeneratepassword template scrip offered in the wiki works fine at creating and emailing a password to a new user who just created a ticket by email, but it did not seem to do the same when a privileged user manually created a ticket in the RT web interface. The reason it didn;t is because in that case, the Transaction CreatorObj is the privileged user, not the new user. Therefore, the scripted tests that determine whether to set a password fail and the whole set password script is skipped. I (think) I fixed this by changing the "Autoreply" Templat script to be like so: --- begin Autoreply template --- Greetings, Your support ticket [{$Ticket->QueueObj->SubjectTag || $rtname} #{$Ticket->id()}] regarding: "{$Ticket->Subject()}" has been created, and a summary appears below. Please check the history and progress of all your tickets and communicate with our staff about your issue by logging in to the web-based ticket system at: { *RT::User::GenerateRandomNextChar = \&RT::User::_GenerateRandomNextChar; # CHANGED NEXT 3 LINES TO TEST REQUESTOR INSTEAD OF CREATOR # SO THAT WILL EMAIL REQUESTOR A PASSWORD WHEN STAFF CREATES # THE TICKET IN WEB INTERFACE #if (($Transaction->CreatorObj->id != $RT::Nobody->id) && # (!$Transaction->CreatorObj->Privileged) && # ($Transaction->CreatorObj->__Value('Password') eq '*NO-PASSWORD*') if (($Ticket->Requestors->UserMembersObj->First->Id() != $RT::Nobody->id) && (!$Ticket->Requestors->UserMembersObj->First->Privileged) && ($Ticket->Requestors->UserMembersObj->First->__Value('Password') eq '*NO-PASSWORD*') ) { my $user = RT::User->new($RT::SystemUser); # $user->Load($Transaction->CreatorObj->Id); $user->Load($Ticket->Requestors->UserMembersObj->First->Id()); my ($stat, $pass) = $user->SetRandomPassword(); if (!$stat) { $OUT .= "An internal error has occurred. RT was not able to set a password for you. Please contact your local RT administrator for assistance."; } use URI::Escape; $OUT .= " ". $RT::WebURL."SelfService/?user=". uri_escape($user->Name)."&pass=". uri_escape($pass)." Your username and password for the ticket system are: Username: ".$user->Name." Password: ".$pass." You may change the password after you login if you wish."; } else { $OUT .= " ". $RT::WebURL ."Ticket/Display.html?id=". $Ticket->id(); } } This is an automated message. Please do not reply. Thank you, {$Ticket->QueueObj->CorrespondAddress()} ------------------------------------------------------------------------- {$Transaction->Content()} --- end Autoreply template --- I don;t know if that is right or proper, but it seems to work. Allen From jeffp at burstek.com Thu May 7 13:57:27 2009 From: jeffp at burstek.com (Jeff Palmer) Date: Thu, 7 May 2009 12:57:27 -0500 Subject: [rt-users] rt command line, to see all tickets updated yesterday. Message-ID: Hello, I'm trying to use the rt command line to get a list of all tickets that were modified yesterday. I currently have: rt ls -t ticket "Queue = 'Support' AND Status != 'rejected' AND LastUpdated = '2009-05-06" It seems simple enough, but apparently the query is larger than I had anticipated, because the web server times out before returning any results. I'm looking for ideas/optimizations, to make this faster and more reliable. As an aside, I know I can add the -f switch to pull things like id, and subject. Is there a way to pull info out of a customfield also? An example: rt ls -t ticket "Queue = 'Support' AND Status != 'rejected' AND LastUpdated = '$EXPIRE'" -f id,subject,customfield Any help or advice would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: From domm at cpan.org Thu May 7 15:21:51 2009 From: domm at cpan.org (Thomas Klausner) Date: Thu, 7 May 2009 21:21:51 +0200 Subject: [rt-users] Autogenerating a password for requestors In-Reply-To: <885d981e0905071044m31f1df84v6b6911ee12a3789e@mail.gmail.com> References: <885d981e0905071044m31f1df84v6b6911ee12a3789e@mail.gmail.com> Message-ID: <20090507192150.GA29775@xps1330.o.factline.com> Hi! On Thu, May 07, 2009 at 10:44:01AM -0700, allen+rtlist at crystalfontz.com wrote: > # CHANGED NEXT 3 LINES TO TEST REQUESTOR INSTEAD OF CREATOR > # SO THAT WILL EMAIL REQUESTOR A PASSWORD WHEN STAFF CREATES > # THE TICKET IN WEB INTERFACE Worked like a charm, thanks a lot! -- #!/usr/bin/perl http://domm.plix.at for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/} From toml at bitstatement.net Thu May 7 16:00:46 2009 From: toml at bitstatement.net (Tom Lahti) Date: Thu, 07 May 2009 13:00:46 -0700 Subject: [rt-users] Autogenerating a password for requestors In-Reply-To: <20090507192150.GA29775@xps1330.o.factline.com> References: <885d981e0905071044m31f1df84v6b6911ee12a3789e@mail.gmail.com> <20090507192150.GA29775@xps1330.o.factline.com> Message-ID: <4A033DEE.7030600@bitstatement.net> >> # CHANGED NEXT 3 LINES TO TEST REQUESTOR INSTEAD OF CREATOR >> # SO THAT WILL EMAIL REQUESTOR A PASSWORD WHEN STAFF CREATES >> # THE TICKET IN WEB INTERFACE > > Worked like a charm, thanks a lot! Yikes! If I called someone and made a request via the phone and they emailed a password for some system I'd never heard of, I'd probably flag it as spam. I sure as heck wouldn't log into it, because (a) I don't know if it really came from them, (b) I don't know what this system does -- XSS attack, anyone? (c) the password was just emailed across the net in clear text. Oi vay. On the other hand, if I made the request via email, I might totally expect to get a autoreply via email, but I'd still want my new password encrypted. Perhaps RT can discover attached GPG/PGP keys and add them to a user's record at autocreate? Now that would be awesome. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From ruslan.zakirov at gmail.com Thu May 7 19:35:59 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 8 May 2009 03:35:59 +0400 Subject: [rt-users] rt command line, to see all tickets updated yesterday. In-Reply-To: References: Message-ID: <589c94400905071635m492ccfaei82a0db782903ad7f@mail.gmail.com> On Thu, May 7, 2009 at 9:57 PM, Jeff Palmer wrote: > Hello, > > > > I?m trying to use the rt command line to get a list of all tickets that were > modified yesterday.? I currently have: > > > > rt ls -t ticket "Queue = 'Support' AND Status != 'rejected' AND LastUpdated > = '2009-05-06" > > > > It seems simple enough,? but apparently the query is larger than I had > anticipated, because the web server times out before returning any results. > > I?m looking for ideas/optimizations, to make this faster and more reliable. How many tickets do you have in support queue? For mysql ideal index would be (Queue, LastUpdated), however I don't think it's the problem, expecially if you have less than 100k tickets in the queue. Slow logs may help you identify real bottleneck. > As an aside,? I know I can add the ?f switch to pull things like id, and > subject.? Is there a way to pull info out of a customfield also?? An > example: > > rt ls -t ticket "Queue = 'Support' AND Status != 'rejected' AND LastUpdated > = '$EXPIRE'" -f id,subject,customfield I don't remember exact syntax, but it's probably CustomField.{Name} or something like that. Hope somebody come up with exact version :) > > Any help or advice would be greatly appreciated. > -- Best regards, Ruslan. From chanty_kh at yahoo.com Thu May 7 21:52:11 2009 From: chanty_kh at yahoo.com (ty chan) Date: Thu, 7 May 2009 18:52:11 -0700 (PDT) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <6DE14847-A732-41E3-85FE-C534A96BF023@julbox.net> References: <717129.55622.qm@web52302.mail.re2.yahoo.com> <49464.84.103.45.38.1241680181.squirrel@squirrel.est-unique.net> <409271.14172.qm@web52301.mail.re2.yahoo.com> <6DE14847-A732-41E3-85FE-C534A96BF023@julbox.net> Message-ID: <930622.9040.qm@web52304.mail.re2.yahoo.com> I am sure about debugging with Firebug. please see below my rt3.conf file as below: [root at rt conf.d]# cat rt3.conf #LoadModule fcgid_module modules/mod_fcgid.so # Sane place to put sockets and shared memory file SocketPath run/mod_fcgid SharememPath run/fcgid_shm Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/ [root at rt conf.d]# all are what i have one http config. please advise what else should i add in rt3.conf. regards, chanty ________________________________ From: julien To: ty chan Sent: Thursday, May 7, 2009 6:01:05 PM Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup Use firebug to see what is not loading, looks like you have a misconfigured apache sites (see previous mail) (url rewriting should rewrite the static link to your css & images) Le 7 mai 09 ? 09:21, ty chan a ?crit : please take a look at how the page look like in the attachment file. ________________________________ From: jul To: ty chan Cc: rt-users at lists.bestpractical.com Sent: Thursday, May 7, 2009 2:09:41 PM Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup By the way what do you mean by : I only see in text mode ? HTML is text :) wouldn't you have 404 http errors too ? I mean wouldn't apache fail to serve some js / images ? wouldn't you be missing some aliases in your apache configuration scripts ? If you mean you lack images, then it means you have a misconfigured Alias /rt/NoAuth/images /opt/rt3/share/html/NoAuth/images and maybe Order Allow,Deny Allow from 127.0.0.1 Allow from your-public-ip (Firefox -> firebug or apache log) Else, I can't see the problem Do you clean mason cache when restarting apache, do you restart apache after modifications ? (reload graceful don't work with persistant mode bad SIGHUP propagation) I am quite clueless at this point ... :( -- Even if you persuade me, you won't persuade me. -- Aristophanes -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmoseley at corp.xanadoo.com Thu May 7 22:02:22 2009 From: jmoseley at corp.xanadoo.com (jmoseley at corp.xanadoo.com) Date: Thu, 7 May 2009 21:02:22 -0500 Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: <930622.9040.qm@web52304.mail.re2.yahoo.com> Message-ID: You need to uncomment the LoadModule line and add: AddHandler fcgid-script fcg fcgi fpl This assumes you have installed mod_fcgid from CentOS's yum respository and are not trying to use mod_perl or mod_fastcgi. James Moseley ty chan To Sent by: julien rt-users-bounces@ cc lists.bestpractic rt-users at lists.bestpractical.com al.com Subject Re: [rt-users] Reqest Tracker CentOS 5.3 setup 05/07/2009 08:52 PM I am sure about debugging with Firebug. please see below my rt3.conf file as below: [root at rt conf.d]# cat rt3.conf #LoadModule fcgid_module modules/mod_fcgid.so # Sane place to put sockets and shared memory file SocketPath run/mod_fcgid SharememPath run/fcgid_shm Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/ From chanty_kh at yahoo.com Thu May 7 23:05:45 2009 From: chanty_kh at yahoo.com (ty chan) Date: Thu, 7 May 2009 20:05:45 -0700 (PDT) Subject: [rt-users] Reqest Tracker CentOS 5.3 setup In-Reply-To: References: Message-ID: <765847.21247.qm@web52302.mail.re2.yahoo.com> Ok, rt3.conf looks like as below: [root at rt conf.d]# cat rt3.conf LoadModule fcgid_module modules/mod_fcgid.so # Use FastCGI to process .fcg .fcgi & .fpl scripts # Don't do this if mod_fastcgi is present, as it will try to do the samei thing AddHandler fcgid-script fcg fcgi fpl # Sane place to put sockets and shared memory file SocketPath run/mod_fcgid SharememPath run/fcgid_shm # Main instance Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/ [root at rt conf.d]# but i still have the same result. regards, chanty ________________________________ From: "jmoseley at corp.xanadoo.com" To: ty chan Cc: julien ; rt-users at lists.bestpractical.com; rt-users-bounces at lists.bestpractical.com Sent: Friday, May 8, 2009 9:02:22 AM Subject: Re: [rt-users] Reqest Tracker CentOS 5.3 setup You need to uncomment the LoadModule line and add: AddHandler fcgid-script fcg fcgi fpl This assumes you have installed mod_fcgid from CentOS's yum respository and are not trying to use mod_perl or mod_fastcgi. James Moseley ty chan To Sent by: julien rt-users-bounces@ cc lists.bestpractic rt-users at lists.bestpractical.com al.com Subject Re: [rt-users] Reqest Tracker CentOS 5.3 setup 05/07/2009 08:52 PM I am sure about debugging with Firebug. please see below my rt3.conf file as below: [root at rt conf.d]# cat rt3.conf #LoadModule fcgid_module modules/mod_fcgid.so # Sane place to put sockets and shared memory file SocketPath run/mod_fcgid SharememPath run/fcgid_shm Alias /rt/NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Hoogstraten at ingram.nl Fri May 8 02:47:03 2009 From: Ton.Hoogstraten at ingram.nl (Hoogstraten, Ton) Date: Fri, 8 May 2009 08:47:03 +0200 Subject: [rt-users] bypassing the ACL Message-ID: <891469DFBBD7364EB24DEEB101767D86505BDF@nlutxch101.corporate.ingrammicro.com> Hi, I'm looking at a point of conflict that I'm having with myself and RT. I made an option that makes it easy and quick to create a DependsOn ticket in queues where users have SeeQueue/CreateTicket permission for. People like to call them SubTickets here. Now the problem is if they don't have ShowTicket permission for the DependsOn ticket they can't see information like status and owner. I can grant that to the Requestor role (since who creates the ticket becomes the requestor) But they also want other members who have access to the same queue's as the Requestor to be able to see the information. The main info they want to be able to see is ticket ID, Subject, Owner and Status. What would be the up and downside if I add that ticket information in the display by over-ruling the ACL with the SystemUser? What possible other solutions can I look at? I don't want to give all users the SeeQueue and ShowTicket Permissions for all queue's they can create DependsOn tickets in. If you do that those queue's will also be displayed in their 'At a glance' view. Giving them just SeeQueue and CreateTicket allows them to create a ticket in a different queue without seeing further information including the DependsOn information (I just double checked. It looks like you can see ID and Owner, but not Subject and Status without ShowTicket). Kind regards, Ton Hoogstraten -------------- next part -------------- An HTML attachment was scrubbed... URL: From ulf.renman at gmail.com Fri May 8 10:58:36 2009 From: ulf.renman at gmail.com (Ulf Renman) Date: Fri, 8 May 2009 16:58:36 +0200 Subject: [rt-users] Customizing MessageBox Message-ID: <90e5796f0905080758p13b3f3a2sc9c10be7beca93d3@mail.gmail.com> Im a beginner coding RT-stuff so please be patient. I want to customize the message template. The first thing I made was to make use of this example: http://wiki.bestpractical.com/view/SignatureToTheTop That worked exellent. But now I want to include the name of the queue which the ticket belongs to. And later on I whant to include a queue-customized signature to every message. I have looked at the Branded Queues extention ( http://search.cpan.org/dist/RT-Extension-BrandedQueues/) so I have been able to add a field to the queue-page. My main problem now is that I'm not able to figure out how to access the queue-object in the /html/Elements/MessageBox file. Please help /Ulf -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfh at vialtus.com Fri May 8 12:32:36 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Fri, 08 May 2009 17:32:36 +0100 Subject: [rt-users] Customizing MessageBox In-Reply-To: <90e5796f0905080758p13b3f3a2sc9c10be7beca93d3@mail.gmail.com> References: <90e5796f0905080758p13b3f3a2sc9c10be7beca93d3@mail.gmail.com> Message-ID: <4A045EA4.3050305@vialtus.com> Hi; Do you need the Queue name in the MessageBox or in the emails sent out, you can modify the Templates to include queue name, for example you can modify the admin Correspondence template to include: Ticket Queue = {$Ticket->QueueObj->Name} you do that below the line: This is an admin correspondence: Regards; Roy Ulf Renman wrote: > Im a beginner coding RT-stuff so please be patient. > > I want to customize the message template. The first thing I made was > to make use of this example: > http://wiki.bestpractical.com/view/SignatureToTheTop > > That worked exellent. But now I want to include the name of the queue > which the ticket belongs to. And later on I whant to include a > queue-customized signature to every message. > > I have looked at the Branded Queues extention > (http://search.cpan.org/dist/RT-Extension-BrandedQueues/) so I have > been able to add a field to the queue-page. > > My main problem now is that I'm not able to figure out how to access > the queue-object in the /html/Elements/MessageBox file. > > Please help > > /Ulf From jboris at adphila.org Fri May 8 12:44:24 2009 From: jboris at adphila.org (John BORIS) Date: Fri, 08 May 2009 12:44:24 -0400 Subject: [rt-users] All Queues showing up in RT at a Glance Message-ID: <4A042928.2594.002B.0@adphila.org> All of the Queues are showing up in RT at a glance when I select MyAdminQueues even though the user is not the Admin of that Queue. I am running 3.6.6 Is there a way to clear this up? I looked at the Queues and the users I see this with are not the Administrators of those queues. 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 kfcrocker at lbl.gov Fri May 8 14:42:19 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 08 May 2009 11:42:19 -0700 Subject: [rt-users] How to delete user In-Reply-To: <589c94400905061727n301a3ef5x66cdcce722881ec5@mail.gmail.com> References: <5e5450110905061710w1490a94vd7dc0d3dc72721dc@mail.gmail.com> <589c94400905061727n301a3ef5x66cdcce722881ec5@mail.gmail.com> Message-ID: <4A047D0B.3070806@lbl.gov> Nast, When a User is created, there are a bunch of tables that are affected (Principals, Groups, GroupMembers, ACL, Transactions, etc.). If you just delete a record from the User table, then everything gets out of sync. For example, the history on a ticket will show an error because the history of a ticket uses transaction records that are referring to the UserId you just blew away. Not Good! Like Ruslan said, use Shredder. These tools are developed to keep all that RT stuff in the background in sync. Kenn LBNL On 5/6/2009 5:27 PM, Ruslan Zakirov wrote: > shredder > > On Thu, May 7, 2009 at 4:10 AM, nast linux wrote: > >> Dear All, >> >> I just do disable user, but I can not delete user. >> How to delete user database? >> Should I delete directly through mysql? >> >> Thanks, >> ns >> _______________________________________________ >> 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 Fri May 8 14:47:36 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 08 May 2009 11:47:36 -0700 Subject: [rt-users] open tickets for certain domain-email-adresses In-Reply-To: <4A029E69.4090106@science-computing.de> References: <4A029E69.4090106@science-computing.de> Message-ID: <4A047E48.9070807@lbl.gov> Violetta, I can help, but it's still not clear to me what you want. You say you only want the Admins (I'm assuming here you mean the AdminCc Watcher for the Queue) to "See the Queue" and then you mention something about the users "can change it". Change what? If you only want AdminCcs to see the queue, how do you expect a User to see a ticket and change it. I'm confused. I can tell you how to set the privileges so that the USers can create tickets via Email and NOT see the Queue, but I really do not understand what you're looking for. Please give me a more concise description of your Queue setup/usage and what you want and then I can help. Kenn LBNL On 5/7/2009 1:40 AM, Violetta J. Wawryk wrote: > Hi, > > we have a queue in our RT that nobody should see except the > Queue-Admins. But we need about 100 Users to open Tickets via email in > that queue, their email-addresses have all the same domain name. > > Since the Users can change it would be to much hassle to look through > all the users again and again to get them their own accounts and put > them in a certain group. > > I don't want to give "Everybody" the right to "open a Ticket" because > then all other Users who can log in the RT could open a Ticket in that > Queue via the Quick Ticket opening thing on the top right corner. > > Has anybody an idea to solve this problem? I couldn't find the answer > anywhere so far. > > Thanks and regards, > > Violetta > > > From kfcrocker at lbl.gov Fri May 8 14:51:49 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 08 May 2009 11:51:49 -0700 Subject: [rt-users] bypassing the ACL In-Reply-To: <891469DFBBD7364EB24DEEB101767D86505BDF@nlutxch101.corporate.ingrammicro.com> References: <891469DFBBD7364EB24DEEB101767D86505BDF@nlutxch101.corporate.ingrammicro.com> Message-ID: <4A047F45.4020800@lbl.gov> Ton, You need to change your RT_SiteConfig.pm in etc to turn off "StrictACL". By turning it off, it allows users from one queue to "link" to tickets in other Queues that they have no privileges for. Hope this helps. Kenn LBNL On 5/7/2009 11:47 PM, Hoogstraten, Ton wrote: > > Hi, > > > > I'm looking at a point of conflict that I'm having with myself and RT. > I made an option that makes it easy and quick to create a DependsOn > ticket in queues where users have SeeQueue/CreateTicket permission > for. People like to call them SubTickets here. Now the problem is if > they don't have ShowTicket permission for the DependsOn ticket they > can't see information like status and owner. I can grant that to the > Requestor role (since who creates the ticket becomes the requestor) > But they also want other members who have access to the same queue's > as the Requestor to be able to see the information. > > > > The main info they want to be able to see is ticket ID, Subject, Owner > and Status. What would be the up and downside if I add that ticket > information in the display by over-ruling the ACL with the SystemUser? > What possible other solutions can I look at? I don't want to give all > users the SeeQueue and ShowTicket Permissions for all queue's they can > create DependsOn tickets in. If you do that those queue's will also be > displayed in their 'At a glance' view. Giving them just SeeQueue and > CreateTicket allows them to create a ticket in a different queue > without seeing further information including the DependsOn information > (I just double checked. It looks like you can see ID and Owner, but > not Subject and Status without ShowTicket). > > > > Kind regards, > > > > Ton Hoogstraten > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Fri May 8 14:57:12 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 08 May 2009 11:57:12 -0700 Subject: [rt-users] All Queues showing up in RT at a Glance In-Reply-To: <4A042928.2594.002B.0@adphila.org> References: <4A042928.2594.002B.0@adphila.org> Message-ID: <4A048088.6030404@lbl.gov> JOhn, there should be an "Edit" option to the right of the display. Use that. Kenn LBNL On 5/8/2009 9:44 AM, John BORIS wrote: > All of the Queues are showing up in RT at a glance when I select > MyAdminQueues even though the user is not the Admin of that Queue. I am > running 3.6.6 > > Is there a way to clear this up? I looked at the Queues and the users > I see this with are not the Administrators of those queues. > > > 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 > > From phil at five-lawrences.com Fri May 8 16:47:10 2009 From: phil at five-lawrences.com (Phil Lawrence) Date: Fri, 8 May 2009 15:47:10 -0500 Subject: [rt-users] index.html not found (CentOS-5.3 RT-3.8.2 FastCGI) Message-ID: I have a fresh test install, but my old recipe no longer works :-). Can someone please help with the following: __PROBLEM__ This URL displays the login page fine: http://scmtest.tld.com/rt However, clicking the Login button leads to a 404 page for: http://scmtest.tld.com/index.html Specifically, here is the error from /var/log/httpd/error_log: ... [error] [client 10.5.0.143] File does not exist: /var/www/html/index.html, referer: http://scmtest.tld.com/rt I've tried making an alias for /rt in the rt3.conf httpd conf file, but that only seems to make my images and css disappear from the login page (and doesn't change the problem I specified above). Any ideas? __CONFIG__ basic setup: CentOS-5.3 RT-3.8.2 FastCGI I installed RT with default layout. (config.log appended below) /etc/httpd/conf/httpd.conf is untouched out of the box # cat /etc/httpd/conf.d/fastcgi.conf LoadModule fastcgi_module modules/mod_fastcgi.so # cat /etc/httpd/conf.d/rt3.conf NameVirtualHost *:80 ServerAdmin root DocumentRoot /var/www/html/ # Adding the following for RT (the ticket tracker) AddHandler fastcgi-script fcgi Alias /rt/ /opt/rt3/share/html/ Options FollowSymLinks ExecCGI AllowOverride None # Pass through requests to display images Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi Here is my site config: # diff RT_Config.pm RT_SiteConfig.pm 37c37 < Set($rtname , "example.com"); --- > Set($rtname , "rt"); 73c73 < Set($Organization , "example.com"); --- > Set($Organization , "scmtest.tld.com"); 91c91 < Set($Timezone , 'US/Eastern'); --- > Set($Timezone , 'US/Central'); 118,119c118,119 < Set($DatabaseHost , 'localhost'); < Set($DatabaseRTHost , 'localhost'); --- > Set($DatabaseHost , ''); > Set($DatabaseRTHost , ''); 144c144 < Set($DatabasePassword , 'rt_pass'); --- > Set($DatabasePassword , 'password'); 659c659 < Set($LogToSyslog , 'info'); --- > Set($LogToSyslog , 'debug'); 761c761 < Set($WebPath, ""); --- > Set($WebPath, "/rt"); 778c778 < Set( $WebDomain, 'localhost' ); --- > Set( $WebDomain, 'scmtest.tld.com' ); 850c850 < Set($MessageBoxWrap, "HARD"); --- > Set($MessageBoxWrap, "SOFT"); Here is ~/src/rt-3.8.2/config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by RT configure 3.8.2, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --with-apachectl=/usr/sbin/apachectl --with-web-user=apache --with-web-group=apache --with-mysql --with-web-handler=fastcgi ## --------- ## ## Platform. ## ## --------- ## hostname = scmtest.tld.com uname -m = i686 uname -r = 2.6.18-128.1.6.el5 uname -s = Linux uname -v = #1 SMP Wed Apr 1 09:19:18 EDT 2009 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/bin PATH: /usr/local/bin PATH: /bin PATH: /usr/bin PATH: /home/phil/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1846: checking for a BSD-compatible install configure:1902: result: /usr/bin/install -c configure:1917: checking for gawk configure:1933: found /bin/gawk configure:1944: result: gawk configure:1958: checking for perl configure:1976: found /usr/local/bin/perl configure:1989: result: /usr/local/bin/perl configure:2334: checking for chosen layout configure:2349: result: relative configure:2558: checking if group rt3 exists configure:2564: result: not found configure:2558: checking if group rt exists configure:2561: result: found configure:2592: checking if database name is valid configure:2595: result: yes configure:2690: checking for gcc configure:2706: found /usr/bin/gcc configure:2717: result: gcc configure:2955: checking for C compiler version configure:2962: gcc --version >&5 gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44) Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2965: $? = 0 configure:2972: gcc -v >&5 Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) configure:2975: $? = 0 configure:2982: gcc -V >&5 gcc: '-V' option must have argument configure:2985: $? = 1 configure:3008: checking for C compiler default output file name configure:3035: gcc conftest.c >&5 configure:3038: $? = 0 configure:3076: result: a.out configure:3093: checking whether the C compiler works configure:3103: ./a.out configure:3106: $? = 0 configure:3123: result: yes configure:3130: checking whether we are cross compiling configure:3132: result: no configure:3135: checking for suffix of executables configure:3142: gcc -o conftest conftest.c >&5 configure:3145: $? = 0 configure:3169: result: configure:3175: checking for suffix of object files configure:3201: gcc -c conftest.c >&5 configure:3204: $? = 0 configure:3227: result: o configure:3231: checking whether we are using the GNU C compiler configure:3260: gcc -c conftest.c >&5 configure:3266: $? = 0 configure:3283: result: yes configure:3288: checking whether gcc accepts -g configure:3318: gcc -c -g conftest.c >&5 configure:3324: $? = 0 configure:3423: result: yes configure:3440: checking for gcc option to accept ISO C89 configure:3514: gcc -c -g -O2 conftest.c >&5 configure:3520: $? = 0 configure:3543: result: none needed configure:3562: checking for aginitlib in -lgraph configure:3597: gcc -o conftest -g -O2 conftest.c -lgraph >&5 /usr/bin/ld: cannot find -lgraph collect2: ld returned 1 exit status configure:3603: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "RT" | #define PACKAGE_TARNAME "rt" | #define PACKAGE_VERSION "3.8.2" | #define PACKAGE_STRING "RT 3.8.2" | #define PACKAGE_BUGREPORT "rt-bugs at bestpractical.com" | /* end confdefs.h. */ | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char aginitlib (); | int | main () | { | return aginitlib (); | ; | return 0; | } configure:3621: result: no configure:3647: checking for gdlib-config configure:3663: found /usr/local/bin/gdlib-config configure:3675: result: yes configure:3703: checking for gpg configure:3719: found /usr/bin/gpg configure:3731: result: yes configure:4010: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by RT config.status 3.8.2, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on scmtest.tld.com config.status:697: creating etc/upgrade/3.8-branded-queues-extension config.status:697: creating etc/upgrade/3.8-ical-extension config.status:697: creating sbin/rt-attributes-viewer config.status:697: creating sbin/rt-dump-database config.status:697: creating sbin/rt-setup-database config.status:697: creating sbin/rt-test-dependencies config.status:697: creating sbin/rt-email-digest config.status:697: creating sbin/rt-email-dashboards config.status:697: creating sbin/rt-clean-sessions config.status:697: creating sbin/rt-shredder config.status:697: creating sbin/rt-validator config.status:697: creating sbin/rt-email-group-admin config.status:697: creating sbin/rt-server config.status:697: creating bin/mason_handler.fcgi config.status:697: creating bin/mason_handler.scgi config.status:697: creating bin/standalone_httpd config.status:697: creating bin/rt-crontool config.status:697: creating bin/rt-mailgate config.status:697: creating bin/rt config.status:697: creating Makefile config.status:697: creating etc/RT_Config.pm config.status:697: creating lib/RT.pm config.status:697: creating bin/mason_handler.svc config.status:697: creating bin/webmux.pl ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PERL_set= ac_cv_env_PERL_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_lib_graph_aginitlib=no ac_cv_objext=o ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_install='/usr/bin/install -c' ac_cv_prog_AWK=gawk ac_cv_prog_RT_GD=yes ac_cv_prog_RT_GPG=yes ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ## ----------------- ## ## Output variables. ## ## ----------------- ## APACHECTL='/usr/sbin/apachectl' AWK='gawk' BIN_OWNER='root' CC='gcc' CFLAGS='-g -O2' COMMENT_INPLACE_LAYOUT='' CONFIG_FILE_PATH='etc' CONFIG_FILE_PATH_R='/opt/rt3/etc' CPPFLAGS='' DATABASE_ENV_PREF='' DB_DATABASE='rt3' DB_DBA='root' DB_HOST='localhost' DB_PORT='' DB_RT_HOST='localhost' DB_RT_PASS='rt_pass' DB_RT_USER='rt_user' DB_TYPE='mysql' DEFS='-DPACKAGE_NAME=\"RT\" -DPACKAGE_TARNAME=\"rt\" -DPACKAGE_VERSION=\"3.8.2\" -DPACKAGE_STRING=\"RT\ 3.8.2\" -DPACKAGE_BUGREPORT=\"rt-bugs at bestpractical.com\"' ECHO_C='' ECHO_N='-n' ECHO_T='' EXEEXT='' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LIBS_GROUP='bin' LIBS_OWNER='root' LOCAL_ETC_PATH='local/etc' LOCAL_ETC_PATH_R='/opt/rt3/local/etc' LOCAL_LEXICON_PATH='local/po' LOCAL_LEXICON_PATH_R='/opt/rt3/local/po' LOCAL_LIB_PATH='local/lib' LOCAL_LIB_PATH_R='/opt/rt3/local/lib' LTLIBOBJS='' MASON_DATA_PATH='var/mason_data' MASON_DATA_PATH_R='/opt/rt3/var/mason_data' MASON_HTML_PATH='share/html' MASON_HTML_PATH_R='/opt/rt3/share/html' MASON_LOCAL_HTML_PATH='local/html' MASON_LOCAL_HTML_PATH_R='/opt/rt3/local/html' MASON_SESSION_PATH='var/session_data' MASON_SESSION_PATH_R='/opt/rt3/var/session_data' OBJEXT='o' PACKAGE_BUGREPORT='rt-bugs at bestpractical.com' PACKAGE_NAME='RT' PACKAGE_STRING='RT 3.8.2' PACKAGE_TARNAME='rt' PACKAGE_VERSION='3.8.2' PATH_SEPARATOR=':' PERL='/usr/local/bin/perl' RTGROUP='rt' RT_BIN_PATH='bin' RT_BIN_PATH_R='/opt/rt3/bin' RT_DEVEL_MODE='0' RT_DOC_PATH='share/doc' RT_DOC_PATH_R='/opt/rt3/share/doc' RT_ETC_PATH='etc' RT_ETC_PATH_R='/opt/rt3/etc' RT_GD='1' RT_GPG='1' RT_GRAPHVIZ='0' RT_LIB_PATH='lib' RT_LIB_PATH_R='/opt/rt3/lib' RT_LOCAL_PATH='local' RT_LOCAL_PATH_R='/opt/rt3/local' RT_LOG_PATH='var/log' RT_LOG_PATH_R='/opt/rt3/var/log' RT_MAN_PATH='man' RT_MAN_PATH_R='/opt/rt3/man' RT_PATH='/opt/rt3' RT_PATH_R='/opt/rt3' RT_SBIN_PATH='sbin' RT_SBIN_PATH_R='/opt/rt3/sbin' RT_VAR_PATH='var' RT_VAR_PATH_R='/opt/rt3/var' RT_VERSION_MAJOR='3' RT_VERSION_MINOR='8' RT_VERSION_PATCH='2' SHELL='/bin/sh' SPEEDY_BIN='/usr/local/bin/speedy' WEB_GROUP='apache' WEB_HANDLER='fastcgi' WEB_USER='apache' ac_ct_CC='gcc' bindir='bin' build_alias='' customdir='local' custometcdir='local/etc' customhtmldir='local/html' customlexdir='local/po' customlibdir='local/lib' datadir='share' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='/opt/rt3' exp_bindir='bin' exp_customdir='local' exp_custometcdir='local/etc' exp_customhtmldir='local/html' exp_customlexdir='local/po' exp_customlibdir='local/lib' exp_datadir='share' exp_exec_prefix='/opt/rt3' exp_htmldir='share/html' exp_libdir='lib' exp_localstatedir='var' exp_logfiledir='var/log' exp_mandir='man' exp_manualdir='share/doc' exp_masonstatedir='var/mason_data' exp_prefix='/opt/rt3' exp_sbindir='sbin' exp_sessionstatedir='var/session_data' exp_sysconfdir='etc' host_alias='' htmldir='share/html' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='var' logfiledir='var/log' mandir='man' manualdir='share/doc' masonstatedir='var/mason_data' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/opt/rt3' program_transform_name='s,x,x,' psdir='${docdir}' rt_layout_name='relative' rt_version_major='3' rt_version_minor='8' rt_version_patch='2' sbindir='sbin' sessionstatedir='var/session_data' sharedstatedir='${prefix}/com' sysconfdir='etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "RT" #define PACKAGE_TARNAME "rt" #define PACKAGE_VERSION "3.8.2" #define PACKAGE_STRING "RT 3.8.2" #define PACKAGE_BUGREPORT "rt-bugs at bestpractical.com" configure: exit 0 From ruslan.zakirov at gmail.com Fri May 8 17:03:53 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 9 May 2009 01:03:53 +0400 Subject: [rt-users] index.html not found (CentOS-5.3 RT-3.8.2 FastCGI) In-Reply-To: References: Message-ID: <589c94400905081403n3a2c958cuc769ddb37c6e4e74@mail.gmail.com> use http://scmtest.tld.com/rt/ with trailing slash. On Sat, May 9, 2009 at 12:47 AM, Phil Lawrence wrote: > I have a fresh test install, but my old recipe no longer works :-). > Can someone please help with the following: > > __PROBLEM__ > This URL displays the login page fine: > ? ?http://scmtest.tld.com/rt > > However, clicking the Login button leads to a 404 page for: > ? ?http://scmtest.tld.com/index.html > > Specifically, here is the error from /var/log/httpd/error_log: > ... [error] [client 10.5.0.143] File does not exist: > /var/www/html/index.html, referer: http://scmtest.tld.com/rt > > I've tried making an alias for /rt in the rt3.conf httpd conf file, > but that only seems to make my images and css disappear from the login > page (and doesn't change the problem I specified above). ?Any ideas? > > __CONFIG__ > basic setup: CentOS-5.3 RT-3.8.2 FastCGI > > I installed RT with default layout. ?(config.log appended below) > > /etc/httpd/conf/httpd.conf is untouched out of the box > > # cat /etc/httpd/conf.d/fastcgi.conf > LoadModule fastcgi_module modules/mod_fastcgi.so > > # cat /etc/httpd/conf.d/rt3.conf > NameVirtualHost *:80 > > ?ServerAdmin root > > ?DocumentRoot /var/www/html/ > > ?# Adding the following for RT (the ticket tracker) > ?AddHandler fastcgi-script fcgi > > ?Alias /rt/ /opt/rt3/share/html/ > ? > ? ?Options FollowSymLinks ExecCGI > ? ?AllowOverride None > ? > > ?# Pass through requests to display images > ?Alias /NoAuth/images/ /opt/rt3/share/html/NoAuth/images/ > > > FastCgiServer /opt/rt3/bin/mason_handler.fcgi -idle-timeout 120 > ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi > > Here is my site config: > # diff RT_Config.pm RT_SiteConfig.pm > 37c37 > < Set($rtname , "example.com"); > --- >> Set($rtname , "rt"); > 73c73 > < Set($Organization , "example.com"); > --- >> Set($Organization , "scmtest.tld.com"); > 91c91 > < Set($Timezone , 'US/Eastern'); > --- >> Set($Timezone , 'US/Central'); > 118,119c118,119 > < Set($DatabaseHost ? , 'localhost'); > < Set($DatabaseRTHost , 'localhost'); > --- >> Set($DatabaseHost ? , ''); >> Set($DatabaseRTHost , ''); > 144c144 > < Set($DatabasePassword , 'rt_pass'); > --- >> Set($DatabasePassword , 'password'); > 659c659 > < Set($LogToSyslog ? ?, 'info'); > --- >> Set($LogToSyslog ? ?, 'debug'); > 761c761 > < Set($WebPath, ""); > --- >> Set($WebPath, "/rt"); > 778c778 > < Set( $WebDomain, 'localhost' ); > --- >> Set( $WebDomain, 'scmtest.tld.com' ); > 850c850 > < Set($MessageBoxWrap, "HARD"); > --- >> Set($MessageBoxWrap, "SOFT"); > > Here is ~/src/rt-3.8.2/config.log > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by RT configure 3.8.2, which was > generated by GNU Autoconf 2.61. ?Invocation command line was > > ?$ ./configure --with-apachectl=/usr/sbin/apachectl > --with-web-user=apache --with-web-group=apache --with-mysql > --with-web-handler=fastcgi > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = scmtest.tld.com > uname -m = i686 > uname -r = 2.6.18-128.1.6.el5 > uname -s = Linux > uname -v = #1 SMP Wed Apr 1 09:19:18 EDT 2009 > > /usr/bin/uname -p = unknown > /bin/uname -X ? ? = unknown > > /bin/arch ? ? ? ? ? ? ?= i686 > /usr/bin/arch -k ? ? ? = unknown > /usr/convex/getsysinfo = unknown > /usr/bin/hostinfo ? ? ?= unknown > /bin/machine ? ? ? ? ? = unknown > /usr/bin/oslevel ? ? ? = unknown > /bin/universe ? ? ? ? ?= unknown > > PATH: /usr/kerberos/bin > PATH: /usr/local/bin > PATH: /bin > PATH: /usr/bin > PATH: /home/phil/bin > > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1846: checking for a BSD-compatible install > configure:1902: result: /usr/bin/install -c > configure:1917: checking for gawk > configure:1933: found /bin/gawk > configure:1944: result: gawk > configure:1958: checking for perl > configure:1976: found /usr/local/bin/perl > configure:1989: result: /usr/local/bin/perl > configure:2334: checking for chosen layout > configure:2349: result: relative > configure:2558: checking if group rt3 exists > configure:2564: result: not found > configure:2558: checking if group rt exists > configure:2561: result: found > configure:2592: checking if database name is valid > configure:2595: result: yes > configure:2690: checking for gcc > configure:2706: found /usr/bin/gcc > configure:2717: result: gcc > configure:2955: checking for C compiler version > configure:2962: gcc --version >&5 > gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. ?There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > configure:2965: $? = 0 > configure:2972: gcc -v >&5 > Using built-in specs. > Target: i386-redhat-linux > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man > --infodir=/usr/share/info --enable-shared --enable-threads=posix > --enable-checking=release --with-system-zlib --enable-__cxa_atexit > --disable-libunwind-exceptions --enable-libgcj-multifile > --enable-languages=c,c++,objc,obj-c++,java,fortran,ada > --enable-java-awt=gtk --disable-dssi --enable-plugin > --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre > --with-cpu=generic --host=i386-redhat-linux > Thread model: posix > gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) > configure:2975: $? = 0 > configure:2982: gcc -V >&5 > gcc: '-V' option must have argument > configure:2985: $? = 1 > configure:3008: checking for C compiler default output file name > configure:3035: gcc ? ?conftest.c ?>&5 > configure:3038: $? = 0 > configure:3076: result: a.out > configure:3093: checking whether the C compiler works > configure:3103: ./a.out > configure:3106: $? = 0 > configure:3123: result: yes > configure:3130: checking whether we are cross compiling > configure:3132: result: no > configure:3135: checking for suffix of executables > configure:3142: gcc -o conftest ? ?conftest.c ?>&5 > configure:3145: $? = 0 > configure:3169: result: > configure:3175: checking for suffix of object files > configure:3201: gcc -c ? conftest.c >&5 > configure:3204: $? = 0 > configure:3227: result: o > configure:3231: checking whether we are using the GNU C compiler > configure:3260: gcc -c ? conftest.c >&5 > configure:3266: $? = 0 > configure:3283: result: yes > configure:3288: checking whether gcc accepts -g > configure:3318: gcc -c -g ?conftest.c >&5 > configure:3324: $? = 0 > configure:3423: result: yes > configure:3440: checking for gcc option to accept ISO C89 > configure:3514: gcc ?-c -g -O2 ?conftest.c >&5 > configure:3520: $? = 0 > configure:3543: result: none needed > configure:3562: checking for aginitlib in -lgraph > configure:3597: gcc -o conftest -g -O2 ? conftest.c -lgraph ? >&5 > /usr/bin/ld: cannot find -lgraph > collect2: ld returned 1 exit status > configure:3603: $? = 1 > configure: failed program was: > | /* confdefs.h. ?*/ > | #define PACKAGE_NAME "RT" > | #define PACKAGE_TARNAME "rt" > | #define PACKAGE_VERSION "3.8.2" > | #define PACKAGE_STRING "RT 3.8.2" > | #define PACKAGE_BUGREPORT "rt-bugs at bestpractical.com" > | /* end confdefs.h. ?*/ > | > | /* Override any GCC internal prototype to avoid an error. > | ? ?Use char because int might match the return type of a GCC > | ? ?builtin and then its argument prototype would still apply. ?*/ > | #ifdef __cplusplus > | extern "C" > | #endif > | char aginitlib (); > | int > | main () > | { > | return aginitlib (); > | ? ; > | ? return 0; > | } > configure:3621: result: no > configure:3647: checking for gdlib-config > configure:3663: found /usr/local/bin/gdlib-config > configure:3675: result: yes > configure:3703: checking for gpg > configure:3719: found /usr/bin/gpg > configure:3731: result: yes > configure:4010: creating ./config.status > > ## ---------------------- ## > ## Running config.status. ## > ## ---------------------- ## > > This file was extended by RT config.status 3.8.2, which was > generated by GNU Autoconf 2.61. ?Invocation command line was > > ?CONFIG_FILES ? ?= > ?CONFIG_HEADERS ?= > ?CONFIG_LINKS ? ?= > ?CONFIG_COMMANDS = > ?$ ./config.status > > on scmtest.tld.com > > config.status:697: creating etc/upgrade/3.8-branded-queues-extension > config.status:697: creating etc/upgrade/3.8-ical-extension > config.status:697: creating sbin/rt-attributes-viewer > config.status:697: creating sbin/rt-dump-database > config.status:697: creating sbin/rt-setup-database > config.status:697: creating sbin/rt-test-dependencies > config.status:697: creating sbin/rt-email-digest > config.status:697: creating sbin/rt-email-dashboards > config.status:697: creating sbin/rt-clean-sessions > config.status:697: creating sbin/rt-shredder > config.status:697: creating sbin/rt-validator > config.status:697: creating sbin/rt-email-group-admin > config.status:697: creating sbin/rt-server > config.status:697: creating bin/mason_handler.fcgi > config.status:697: creating bin/mason_handler.scgi > config.status:697: creating bin/standalone_httpd > config.status:697: creating bin/rt-crontool > config.status:697: creating bin/rt-mailgate > config.status:697: creating bin/rt > config.status:697: creating Makefile > config.status:697: creating etc/RT_Config.pm > config.status:697: creating lib/RT.pm > config.status:697: creating bin/mason_handler.svc > config.status:697: creating bin/webmux.pl > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > > ac_cv_c_compiler_gnu=yes > ac_cv_env_CC_set= > ac_cv_env_CC_value= > ac_cv_env_CFLAGS_set= > ac_cv_env_CFLAGS_value= > ac_cv_env_CPPFLAGS_set= > ac_cv_env_CPPFLAGS_value= > ac_cv_env_LDFLAGS_set= > ac_cv_env_LDFLAGS_value= > ac_cv_env_LIBS_set= > ac_cv_env_LIBS_value= > ac_cv_env_PERL_set= > ac_cv_env_PERL_value= > ac_cv_env_build_alias_set= > ac_cv_env_build_alias_value= > ac_cv_env_host_alias_set= > ac_cv_env_host_alias_value= > ac_cv_env_target_alias_set= > ac_cv_env_target_alias_value= > ac_cv_lib_graph_aginitlib=no > ac_cv_objext=o > ac_cv_path_PERL=/usr/local/bin/perl > ac_cv_path_install='/usr/bin/install -c' > ac_cv_prog_AWK=gawk > ac_cv_prog_RT_GD=yes > ac_cv_prog_RT_GPG=yes > ac_cv_prog_ac_ct_CC=gcc > ac_cv_prog_cc_c89= > ac_cv_prog_cc_g=yes > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > APACHECTL='/usr/sbin/apachectl' > AWK='gawk' > BIN_OWNER='root' > CC='gcc' > CFLAGS='-g -O2' > COMMENT_INPLACE_LAYOUT='' > CONFIG_FILE_PATH='etc' > CONFIG_FILE_PATH_R='/opt/rt3/etc' > CPPFLAGS='' > DATABASE_ENV_PREF='' > DB_DATABASE='rt3' > DB_DBA='root' > DB_HOST='localhost' > DB_PORT='' > DB_RT_HOST='localhost' > DB_RT_PASS='rt_pass' > DB_RT_USER='rt_user' > DB_TYPE='mysql' > DEFS='-DPACKAGE_NAME=\"RT\" -DPACKAGE_TARNAME=\"rt\" > -DPACKAGE_VERSION=\"3.8.2\" -DPACKAGE_STRING=\"RT\ 3.8.2\" > -DPACKAGE_BUGREPORT=\"rt-bugs at bestpractical.com\"' > ECHO_C='' > ECHO_N='-n' > ECHO_T='' > EXEEXT='' > INSTALL_DATA='${INSTALL} -m 644' > INSTALL_PROGRAM='${INSTALL}' > INSTALL_SCRIPT='${INSTALL}' > LDFLAGS='' > LIBOBJS='' > LIBS='' > LIBS_GROUP='bin' > LIBS_OWNER='root' > LOCAL_ETC_PATH='local/etc' > LOCAL_ETC_PATH_R='/opt/rt3/local/etc' > LOCAL_LEXICON_PATH='local/po' > LOCAL_LEXICON_PATH_R='/opt/rt3/local/po' > LOCAL_LIB_PATH='local/lib' > LOCAL_LIB_PATH_R='/opt/rt3/local/lib' > LTLIBOBJS='' > MASON_DATA_PATH='var/mason_data' > MASON_DATA_PATH_R='/opt/rt3/var/mason_data' > MASON_HTML_PATH='share/html' > MASON_HTML_PATH_R='/opt/rt3/share/html' > MASON_LOCAL_HTML_PATH='local/html' > MASON_LOCAL_HTML_PATH_R='/opt/rt3/local/html' > MASON_SESSION_PATH='var/session_data' > MASON_SESSION_PATH_R='/opt/rt3/var/session_data' > OBJEXT='o' > PACKAGE_BUGREPORT='rt-bugs at bestpractical.com' > PACKAGE_NAME='RT' > PACKAGE_STRING='RT 3.8.2' > PACKAGE_TARNAME='rt' > PACKAGE_VERSION='3.8.2' > PATH_SEPARATOR=':' > PERL='/usr/local/bin/perl' > RTGROUP='rt' > RT_BIN_PATH='bin' > RT_BIN_PATH_R='/opt/rt3/bin' > RT_DEVEL_MODE='0' > RT_DOC_PATH='share/doc' > RT_DOC_PATH_R='/opt/rt3/share/doc' > RT_ETC_PATH='etc' > RT_ETC_PATH_R='/opt/rt3/etc' > RT_GD='1' > RT_GPG='1' > RT_GRAPHVIZ='0' > RT_LIB_PATH='lib' > RT_LIB_PATH_R='/opt/rt3/lib' > RT_LOCAL_PATH='local' > RT_LOCAL_PATH_R='/opt/rt3/local' > RT_LOG_PATH='var/log' > RT_LOG_PATH_R='/opt/rt3/var/log' > RT_MAN_PATH='man' > RT_MAN_PATH_R='/opt/rt3/man' > RT_PATH='/opt/rt3' > RT_PATH_R='/opt/rt3' > RT_SBIN_PATH='sbin' > RT_SBIN_PATH_R='/opt/rt3/sbin' > RT_VAR_PATH='var' > RT_VAR_PATH_R='/opt/rt3/var' > RT_VERSION_MAJOR='3' > RT_VERSION_MINOR='8' > RT_VERSION_PATCH='2' > SHELL='/bin/sh' > SPEEDY_BIN='/usr/local/bin/speedy' > WEB_GROUP='apache' > WEB_HANDLER='fastcgi' > WEB_USER='apache' > ac_ct_CC='gcc' > bindir='bin' > build_alias='' > customdir='local' > custometcdir='local/etc' > customhtmldir='local/html' > customlexdir='local/po' > customlibdir='local/lib' > datadir='share' > datarootdir='${prefix}/share' > docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' > dvidir='${docdir}' > exec_prefix='/opt/rt3' > exp_bindir='bin' > exp_customdir='local' > exp_custometcdir='local/etc' > exp_customhtmldir='local/html' > exp_customlexdir='local/po' > exp_customlibdir='local/lib' > exp_datadir='share' > exp_exec_prefix='/opt/rt3' > exp_htmldir='share/html' > exp_libdir='lib' > exp_localstatedir='var' > exp_logfiledir='var/log' > exp_mandir='man' > exp_manualdir='share/doc' > exp_masonstatedir='var/mason_data' > exp_prefix='/opt/rt3' > exp_sbindir='sbin' > exp_sessionstatedir='var/session_data' > exp_sysconfdir='etc' > host_alias='' > htmldir='share/html' > includedir='${prefix}/include' > infodir='${datarootdir}/info' > libdir='lib' > libexecdir='${exec_prefix}/libexec' > localedir='${datarootdir}/locale' > localstatedir='var' > logfiledir='var/log' > mandir='man' > manualdir='share/doc' > masonstatedir='var/mason_data' > oldincludedir='/usr/include' > pdfdir='${docdir}' > prefix='/opt/rt3' > program_transform_name='s,x,x,' > psdir='${docdir}' > rt_layout_name='relative' > rt_version_major='3' > rt_version_minor='8' > rt_version_patch='2' > sbindir='sbin' > sessionstatedir='var/session_data' > sharedstatedir='${prefix}/com' > sysconfdir='etc' > target_alias='' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > > #define PACKAGE_NAME "RT" > #define PACKAGE_TARNAME "rt" > #define PACKAGE_VERSION "3.8.2" > #define PACKAGE_STRING "RT 3.8.2" > #define PACKAGE_BUGREPORT "rt-bugs at bestpractical.com" > > configure: exit 0 > _______________________________________________ > 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 atsaloli.tech at gmail.com Fri May 8 19:54:45 2009 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Fri, 8 May 2009 16:54:45 -0700 Subject: [rt-users] rt-mailgate: how to give the Everyone pseudogroup the privelege "CreateTicket" ? Message-ID: Hi. I am configuring an email gateway for RT 3.8.2. rt-mailgate fails with: /opt/rt3/bin/rt-mailgate: connecting to https://rt.example.com/rt//REST/1.0/NoAuth/mail-gateway not ok - Could not load a valid user The fine manual states, You also need to give the Everyone pseudogroup the privilege "CreateTicket" on all queues that rt-mailgate will be using, because mail requests are by default unauthenticated. How do I give Everyone this privilege, please? I don't see Everyone in my RT Web interface when logged in as root, nor do I see any mention of Everyone in $RT_HOME/etc/ ? Best, Aleksey From atsaloli.tech at gmail.com Fri May 8 20:09:45 2009 From: atsaloli.tech at gmail.com (Aleksey Tsalolikhin) Date: Fri, 8 May 2009 17:09:45 -0700 Subject: [rt-users] rt-mailgate: how to give the Everyone pseudogroup the privelege "CreateTicket" ? In-Reply-To: References: Message-ID: On Fri, May 8, 2009 at 4:54 PM, Aleksey Tsalolikhin wrote: > > The fine manual states, > > ? ? You also need to give the Everyone pseudogroup the privilege > ? ? "CreateTicket" on all queues that rt-mailgate will be using, > ? ? because mail requests are by default unauthenticated. > > How do I give Everyone this privilege, please? In RT Web interface, Configuration -> Global -> Group rights -> Everybody Thanks Trengo on the IRC channel! I'd like to add this to the manual... or have it added... which would be appropriate and what would be the next step, please? Best, -at From ruslan.zakirov at gmail.com Fri May 8 20:10:31 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 9 May 2009 04:10:31 +0400 Subject: [rt-users] rt-mailgate: how to give the Everyone pseudogroup the privelege "CreateTicket" ? In-Reply-To: References: Message-ID: <589c94400905081710r55d8c215xb4d12626f844ddeb@mail.gmail.com> UI -> Configuration -> Global -> Group Rights On Sat, May 9, 2009 at 3:54 AM, Aleksey Tsalolikhin wrote: > Hi. ?I am configuring an email gateway for RT 3.8.2. > > rt-mailgate fails with: > > /opt/rt3/bin/rt-mailgate: connecting to > https://rt.example.com/rt//REST/1.0/NoAuth/mail-gateway > not ok - Could not load a valid user > > > The fine manual states, > > ? ? You also need to give the Everyone pseudogroup the privilege > ? ? "CreateTicket" on all queues that rt-mailgate will be using, > ? ? because mail requests are by default unauthenticated. > > How do I give Everyone this privilege, please? ?I don't see Everyone in my > RT Web interface when logged in as root, nor do I see any mention of > Everyone in $RT_HOME/etc/ ? ? > > Best, > Aleksey > _______________________________________________ > 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 ruslan.zakirov at gmail.com Fri May 8 20:15:54 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 9 May 2009 04:15:54 +0400 Subject: [rt-users] rt-mailgate: how to give the Everyone pseudogroup the privelege "CreateTicket" ? In-Reply-To: References: Message-ID: <589c94400905081715k4434cc56k3a67701a5809b337@mail.gmail.com> http://wiki.bestpractical.com/view/Rights most probably On Sat, May 9, 2009 at 4:09 AM, Aleksey Tsalolikhin wrote: > On Fri, May 8, 2009 at 4:54 PM, Aleksey Tsalolikhin > wrote: >> >> The fine manual states, >> >> ? ? You also need to give the Everyone pseudogroup the privilege >> ? ? "CreateTicket" on all queues that rt-mailgate will be using, >> ? ? because mail requests are by default unauthenticated. >> >> How do I give Everyone this privilege, please? > > > In RT Web interface, > > Configuration -> Global -> Group rights -> Everybody > > Thanks Trengo on the IRC channel! > > I'd like to add this to the manual... ?or have it added... ? which > would be appropriate and what would be the next step, please? > > Best, > -at > _______________________________________________ > 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 bertignac at gmail.com Sun May 10 12:54:08 2009 From: bertignac at gmail.com (L B) Date: Sun, 10 May 2009 18:54:08 +0200 Subject: [rt-users] HTML templates for RT ? Message-ID: Hello, I found something here : http://wiki.bestpractical.com/view/SendHTMLEmail But I have a couple of questions : - why isn't it possible by default to send HTML emails ? Text emails in Outlook are not very sexy. - anyone has templates already done ? I can start making new ones and share them, but I'm pretty sure the work has been already started. Thanks ! -- L.B. From odhiambo at gmail.com Sun May 10 13:37:44 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Sun, 10 May 2009 20:37:44 +0300 Subject: [rt-users] HTML templates for RT ? In-Reply-To: References: Message-ID: <991123400905101037y3974142at2dd94eb5f19399db@mail.gmail.com> On Sun, May 10, 2009 at 7:54 PM, L B wrote: > Hello, > > I found something here : > http://wiki.bestpractical.com/view/SendHTMLEmail > > But I have a couple of questions : > > - why isn't it possible by default to send HTML emails ? Text emails > in Outlook are not very sexy. > - anyone has templates already done ? I can start making new ones and > share them, but I'm pretty sure the work has been already started. You really support Outlook that much? :-) HTML mail is evil. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Sun May 10 21:16:55 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Sun, 10 May 2009 21:16:55 -0400 Subject: [rt-users] HTML templates for RT ? In-Reply-To: References: Message-ID: On May 10, 2009, at 12:54 PM, L B wrote: > I found something here : http://wiki.bestpractical.com/view/SendHTMLEmail > But I have a couple of questions : I've updated this page. > - why isn't it possible by default to send HTML emails ? Text emails > in Outlook are not very sexy. > - anyone has templates already done ? I can start making new ones and > share them, but I'm pretty sure the work has been already started. You should read docs/templates.pod in your distribution for how to make RT send html email. We have not htmlified the default templates, but we'd welcome contributions. -kevin From Justin.Hayes at OrbisUK.com Mon May 11 02:36:12 2009 From: Justin.Hayes at OrbisUK.com (Justin Hayes) Date: Mon, 11 May 2009 07:36:12 +0100 Subject: [rt-users] Bug in 3.6.3 At A Glance saved search display Message-ID: <7C22B026-48EB-4C0F-BE65-157692B53874@OrbisUK.com> Hi, Here's an example: I create a saved search which will display tickets created in the last week. For me (who can see all queues) I see 10 results (the last 10 tickets created). However another user might only have permission to see 1 queue. Instead of seeing the last 10 tickets created in their queue they only seem to see whichever of the last 10 are in their queue, so they might only see 1 or 2 tickets, which is fairly misleading. I guess it's picking the last 10 from the resultset and THEN applying what you can view, which to me seems wrong. It should work out what the user can see, then show the last 10. Does anyone know if this can be fixed, or if it is fixed in 3.8? Thanks, Justin ------------------------------------------------- Justin Hayes Orbis Support Manager justin.hayes at orbisuk.com From aperotti at cutaway.it Mon May 11 04:12:46 2009 From: aperotti at cutaway.it (Andrea Perotti) Date: Mon, 11 May 2009 10:12:46 +0200 Subject: [rt-users] Autogenerating a password for requestors In-Reply-To: <4A033DEE.7030600@bitstatement.net> References: <885d981e0905071044m31f1df84v6b6911ee12a3789e@mail.gmail.com> <20090507192150.GA29775@xps1330.o.factline.com> <4A033DEE.7030600@bitstatement.net> Message-ID: <4A07DDFE.8000604@cutaway.it> Tom Lahti ha scritto: > the password was just emailed across the net in clear text. Oi vay. > > On the other hand, if I made the request via email, I might totally expect > to get a autoreply via email, but I'd still want my new password encrypted. Or, it could be nice to be able to set a status in RT where an user has just a one time password, after the first login he have to change it as first and only things to do. But I guess could be worth opening a new 3d for this topic... cheers -- Andrea Perotti Cutaway S.r.l. www.cutaway.it c/o Seat PagineGialle -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3480 bytes Desc: S/MIME Cryptographic Signature URL: From torsten.brumm at Kuehne-Nagel.com Mon May 11 06:26:15 2009 From: torsten.brumm at Kuehne-Nagel.com (Brumm, Torsten / Kuehne + Nagel / Ham MI-ID) Date: Mon, 11 May 2009 12:26:15 +0200 Subject: [rt-users] rt shredder slow In-Reply-To: References: Message-ID: <16426EA38D57E74CB1DE5A6AE1DB039401FE9114@w3hamboex11.ger.win.int.kn> >From RFC 2616: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2 The HTTP protocol does not place any a priori limit on the length of a URI. Servers MUST be able to handle the URI of any resource they serve, and SHOULD be able to handle URIs of unbounded length if they provide GET-based forms that could generate such URIs. A server SHOULD return 414 (Request-URI Too Long) status if a URI is longer than the server can handle (see section 10.4.15). Note: Servers ought to be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations might not properly support these lengths. Try the cli based shredder, its much faster! Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: 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, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne ________________________________ Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Asif Iqbal Gesendet: Sonntag, 3. Mai 2009 16:13 An: rt-users Users Betreff: Re: [rt-users] rt shredder slow On Sun, May 3, 2009 at 9:29 AM, Asif Iqbal wrote: rt shredder part of rt 3.8.2 seems extremely slow in wiping out tickets. I have over thousand tickets that needs to be wiped out. can I any way speed up rt shredder? also how can I run it through cron? When I pick 1000 as the limit for shredder I get this message Request-URI Too Large The requested URL's length exceeds the capacity limit for this server. Hmm.. should I not able to shred 1000 ticket at once? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? From torsten.brumm at Kuehne-Nagel.com Mon May 11 06:27:17 2009 From: torsten.brumm at Kuehne-Nagel.com (Brumm, Torsten / Kuehne + Nagel / Ham MI-ID) Date: Mon, 11 May 2009 12:27:17 +0200 Subject: [rt-users] rt shredder slow In-Reply-To: References: Message-ID: <16426EA38D57E74CB1DE5A6AE1DB039401FE911A@w3hamboex11.ger.win.int.kn> I'm not sure for 3.8.2 but for older RT versions with shredder installed from cpan, there were some hints at the perldoc of shredder for adding some indexes. Torsten Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: 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, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne ________________________________ Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Asif Iqbal Gesendet: Sonntag, 3. Mai 2009 15:30 An: rt-users Users Betreff: [rt-users] rt shredder slow rt shredder part of rt 3.8.2 seems extremely slow in wiping out tickets. I have over thousand tickets that needs to be wiped out. can I any way speed up rt shredder? also how can I run it through cron? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -------------- next part -------------- An HTML attachment was scrubbed... URL: From torsten.brumm at Kuehne-Nagel.com Mon May 11 06:31:48 2009 From: torsten.brumm at Kuehne-Nagel.com (Brumm, Torsten / Kuehne + Nagel / Ham MI-ID) Date: Mon, 11 May 2009 12:31:48 +0200 Subject: [rt-users] rt shredder slow In-Reply-To: <16426EA38D57E74CB1DE5A6AE1DB039401FE9114@w3hamboex11.ger.win.int.kn> References: <16426EA38D57E74CB1DE5A6AE1DB039401FE9114@w3hamboex11.ger.win.int.kn> Message-ID: <16426EA38D57E74CB1DE5A6AE1DB039401FE9125@w3hamboex11.ger.win.int.kn> Good article: http://www.boutell.com/newfaq/misc/urllength.html Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: 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, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne -----Urspruengliche Nachricht----- Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Brumm,Torsten / Kuehne + Nagel / Ham MI-ID Gesendet: Montag, 11. Mai 2009 12:26 An: Asif Iqbal; rt-users Users Betreff: Re: [rt-users] rt shredder slow >From RFC 2616: http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2 The HTTP protocol does not place any a priori limit on the length of a URI. Servers MUST be able to handle the URI of any resource they serve, and SHOULD be able to handle URIs of unbounded length if they provide GET-based forms that could generate such URIs. A server SHOULD return 414 (Request-URI Too Long) status if a URI is longer than the server can handle (see section 10.4.15). Note: Servers ought to be cautious about depending on URI lengths above 255 bytes, because some older client or proxy implementations might not properly support these lengths. Try the cli based shredder, its much faster! Kuehne + Nagel (AG & Co.) KG, Geschaeftsleitung: 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, Persoenlich haftende Gesellschaft: Kuehne & Nagel A.G., Sitz: Contern/Luxemburg Geschaeftsfuehrender Verwaltungsrat: Klaus-Michael Kuehne ________________________________ Von: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] Im Auftrag von Asif Iqbal Gesendet: Sonntag, 3. Mai 2009 16:13 An: rt-users Users Betreff: Re: [rt-users] rt shredder slow On Sun, May 3, 2009 at 9:29 AM, Asif Iqbal wrote: rt shredder part of rt 3.8.2 seems extremely slow in wiping out tickets. I have over thousand tickets that needs to be wiped out. can I any way speed up rt shredder? also how can I run it through cron? When I pick 1000 as the limit for shredder I get this message Request-URI Too Large The requested URL's length exceeds the capacity limit for this server. Hmm.. should I not able to shred 1000 ticket at once? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? _______________________________________________ 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 Mon May 11 10:20:13 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 11 May 2009 10:20:13 -0400 Subject: [rt-users] Bug in 3.6.3 At A Glance saved search display In-Reply-To: <7C22B026-48EB-4C0F-BE65-157692B53874@OrbisUK.com> References: <7C22B026-48EB-4C0F-BE65-157692B53874@OrbisUK.com> Message-ID: <02895A53-73E1-4A1B-8374-5ECDDA6E19C0@bestpractical.com> On May 11, 2009, at 2:36 AM, Justin Hayes wrote: > I create a saved search which will display tickets created in the last > week. For me (who can see all queues) I see 10 results (the last 10 > tickets created). > > However another user might only have permission to see 1 queue. > Instead of seeing the last 10 tickets created in their queue they only > seem to see whichever of the last 10 are in their queue, so they might > only see 1 or 2 tickets, which is fairly misleading. > > I guess it's picking the last 10 from the resultset and THEN applying > what you can view, which to me seems wrong. It should work out what > the user can see, then show the last 10. > > Does anyone know if this can be fixed, or if it is fixed in 3.8? There is an option for this in 3.8 that isn't enabled by default. You want the config option UseSQLForACLChecks -kevin From justin.hayes at orbisuk.com Mon May 11 12:50:18 2009 From: justin.hayes at orbisuk.com (Justin Hayes) Date: Mon, 11 May 2009 17:50:18 +0100 Subject: [rt-users] Bug in 3.6.3 At A Glance saved search display In-Reply-To: <02895A53-73E1-4A1B-8374-5ECDDA6E19C0@bestpractical.com> References: <7C22B026-48EB-4C0F-BE65-157692B53874@OrbisUK.com> <02895A53-73E1-4A1B-8374-5ECDDA6E19C0@bestpractical.com> Message-ID: <9EE55419-B612-490D-814D-0DCB4B04D662@orbisuk.com> Many thanks Kevin. Does it have any other effects? Just trying to understand why it's off by default. Looks like another reason to work on the upgrade. Cheers, Justin On 11 May 2009, at 15:20, Kevin Falcone wrote: > > On May 11, 2009, at 2:36 AM, Justin Hayes wrote: > >> I create a saved search which will display tickets created in the >> last >> week. For me (who can see all queues) I see 10 results (the last 10 >> tickets created). >> >> However another user might only have permission to see 1 queue. >> Instead of seeing the last 10 tickets created in their queue they >> only >> seem to see whichever of the last 10 are in their queue, so they >> might >> only see 1 or 2 tickets, which is fairly misleading. >> >> I guess it's picking the last 10 from the resultset and THEN applying >> what you can view, which to me seems wrong. It should work out what >> the user can see, then show the last 10. >> >> Does anyone know if this can be fixed, or if it is fixed in 3.8? > > There is an option for this in 3.8 that isn't enabled by default. > You want the config option UseSQLForACLChecks > > -kevin > _______________________________________________ > 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 ------------------------------------------------- Justin Hayes Orbis Support Manager justin.hayes at orbisuk.com From falcone at bestpractical.com Mon May 11 13:02:36 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Mon, 11 May 2009 13:02:36 -0400 Subject: [rt-users] Bug in 3.6.3 At A Glance saved search display In-Reply-To: <9EE55419-B612-490D-814D-0DCB4B04D662@orbisuk.com> References: <7C22B026-48EB-4C0F-BE65-157692B53874@OrbisUK.com> <02895A53-73E1-4A1B-8374-5ECDDA6E19C0@bestpractical.com> <9EE55419-B612-490D-814D-0DCB4B04D662@orbisuk.com> Message-ID: <77AFF483-8E8A-451E-BE67-B2C5FF2747D3@bestpractical.com> On May 11, 2009, at 12:50 PM, Justin Hayes wrote: > Many thanks Kevin. Does it have any other effects? Just trying to > understand why it's off by default. > Looks like another reason to work on the upgrade. It is documented in the config file, but the summary is that we're not convinced it works in every case (this is a really complex query). -kevin > On 11 May 2009, at 15:20, Kevin Falcone wrote: > >> >> On May 11, 2009, at 2:36 AM, Justin Hayes wrote: >> >>> I create a saved search which will display tickets created in the >>> last >>> week. For me (who can see all queues) I see 10 results (the last 10 >>> tickets created). >>> >>> However another user might only have permission to see 1 queue. >>> Instead of seeing the last 10 tickets created in their queue they >>> only >>> seem to see whichever of the last 10 are in their queue, so they >>> might >>> only see 1 or 2 tickets, which is fairly misleading. >>> >>> I guess it's picking the last 10 from the resultset and THEN >>> applying >>> what you can view, which to me seems wrong. It should work out what >>> the user can see, then show the last 10. >>> >>> Does anyone know if this can be fixed, or if it is fixed in 3.8? >> >> There is an option for this in 3.8 that isn't enabled by default. >> You want the config option UseSQLForACLChecks >> >> -kevin >> _______________________________________________ >> 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 > > > ------------------------------------------------- > Justin Hayes > Orbis Support Manager > justin.hayes at orbisuk.com > > > > From toml at bitstatement.net Mon May 11 13:25:24 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 11 May 2009 10:25:24 -0700 Subject: [rt-users] HTML templates for RT ? In-Reply-To: References: Message-ID: <4A085F84.7040208@bitstatement.net> > - why isn't it possible by default to send HTML emails ? Text emails > in Outlook are not very sexy. Tech types, which would be a large percentage of RT users, abhor HTML email. I do. I don't care about sexy, I care about information, and HTML-izing something usually doesn't mean adding useful visual information, it usually means clutter. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From tpearson at ois.pittstate.edu Mon May 11 13:25:15 2009 From: tpearson at ois.pittstate.edu (Timothy M. Pearson) Date: Mon, 11 May 2009 12:25:15 -0500 (CDT) Subject: [rt-users] RTIR - Installation Issue - YAML.pm path missing in @INC at Apache Startup In-Reply-To: <27643896.291242062159906.JavaMail.TPEARSON-PC$@TPEARSON-PC> Message-ID: <32573783.311242062714295.JavaMail.TPEARSON-PC$@TPEARSON-PC> Hi all, Briefly - This post asks for help with an installation issue with RTIR 2.4.1. I have a: CentOS 5.3 server with... RT v 3.8.2 installed, configured and working RTFM v 2.4.1 installed, configured and working RTIR v 2.4.1 ("perl Makefile.PL" reports all ok - "make install" succeeds) When I enable the RT:IR plugin in RT_SiteConfig.pm - apache fails to start with the following error: [Mon May 11 11:15:27 2009] [error] Can't locate YAML.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-FM/lib /opt/rt3/local/plugins/RT-IR/lib /opt/rt3/bin/../lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 437.\nBEGIN failed--compilation aborted at /opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 437.\nCompilation failed in require at /opt/rt3/bin/../lib/RT.pm line 625.\nCompilation failed in require at (eval 2) line 1.\n [Mon May 11 11:15:27 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server itsec.pittstate.edu:0, exiting... I've found nothing similar in searching the list archives, the wiki, or even Google. YAML.pm is present on my system at the following locations: [root at itsec usr]# cd /usr/lib/perl5 [root at itsec perl5]# find . -name YAML.pm ./site_perl/5.8.8/Module/Build/YAML.pm ./site_perl/5.8.8/Test/YAML.pm ./vendor_perl/5.8.8/Locale/Maketext/Extract/Plugin/YAML.pm ./vendor_perl/5.8.8/Module/Build/YAML.pm As apache reports, none of those paths appear in @INC at apache startup time. ***** Looking at the code: ***** Line 625 of RT.pm is in subroutine InitPlugins. However, if we back up a step and look at line 437 of RT.pm, we see that it's doing a "use:YAML;" right before making an attempt to log a critical error message that says "$self is not a ticket object like I expected"... it seems that had things been proceeding normally, $self WOULD have been a ticket object and we wouldn't have taken the "else" branch in this code. I'm not a perl guy, I'm a poor SysAdmin with a little programming experience. I'm hoping someone will take pity on me and offer some advice as to what the next step might be to try to resolve this problem. :) Thanks in advance! Tim Pearson Systems Administrator Pittsburg State University From ruslan.zakirov at gmail.com Mon May 11 14:01:54 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 11 May 2009 22:01:54 +0400 Subject: [rt-users] RTIR - Installation Issue - YAML.pm path missing in @INC at Apache Startup In-Reply-To: <32573783.311242062714295.JavaMail.TPEARSON-PC$@TPEARSON-PC> References: <27643896.291242062159906.JavaMail.TPEARSON-PC$@TPEARSON-PC> <32573783.311242062714295.JavaMail.TPEARSON-PC$@TPEARSON-PC> Message-ID: <589c94400905111101n3c1811a2lcfa2f92ae5108842@mail.gmail.com> Either install YAML perl module using the cpan shell or in lib/RT/IR.pm replace the following two lines use YAML; $RT::Logger->crit( "$self is not a ticket object like I expected" . YAML::Dump($self) ); with $RT::Logger->crit( "$self is not a ticket object like I expected"); Will be fixed in RTIR 2.4.2 On Mon, May 11, 2009 at 9:25 PM, Timothy M. Pearson wrote: > Hi all, > > Briefly - This post asks for help with an installation issue with RTIR 2.4.1. > > I have a: > CentOS 5.3 server with... > > RT v 3.8.2 installed, configured and working > RTFM v 2.4.1 installed, configured and working > RTIR v 2.4.1 ("perl Makefile.PL" reports all ok - "make install" succeeds) > > When I enable the RT:IR plugin in RT_SiteConfig.pm - apache fails to start with the following error: > > [Mon May 11 11:15:27 2009] [error] Can't locate YAML.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-FM/lib /opt/rt3/local/plugins/RT-IR/lib /opt/rt3/bin/../lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 437.\nBEGIN failed--compilation aborted at /opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 437.\nCompilation failed in require at /opt/rt3/bin/../lib/RT.pm line 625.\nCompilation failed in require at (eval 2) line 1.\n > > [Mon May 11 11:15:27 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server itsec.pittstate.edu:0, exiting... > > I've found nothing similar in searching the list archives, the wiki, or even Google. > > YAML.pm is present on my system at the following locations: > > [root at itsec usr]# cd /usr/lib/perl5 > [root at itsec perl5]# find . -name YAML.pm > ./site_perl/5.8.8/Module/Build/YAML.pm > ./site_perl/5.8.8/Test/YAML.pm > ./vendor_perl/5.8.8/Locale/Maketext/Extract/Plugin/YAML.pm > ./vendor_perl/5.8.8/Module/Build/YAML.pm > > As apache reports, none of those paths appear in @INC at apache startup time. > > ***** Looking at the code: ***** > > Line 625 of RT.pm is in subroutine InitPlugins. > > However, if we back up a step and look at line 437 of RT.pm, we see that it's doing a "use:YAML;" right before making an attempt to log a critical error message that says "$self is not a ticket object like I expected"... it seems that had things been proceeding normally, $self WOULD have been a ticket object and we wouldn't have taken the "else" branch in this code. > > I'm not a perl guy, I'm a poor SysAdmin with a little programming experience. ?I'm hoping someone will take pity on me and offer some advice as to what the next step might be to try to resolve this problem. :) > > Thanks in advance! > > > Tim Pearson > Systems Administrator > Pittsburg 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 > -- Best regards, Ruslan. From Eric_Malenfant at Mitel.com Mon May 11 14:58:27 2009 From: Eric_Malenfant at Mitel.com (Eric_Malenfant at Mitel.com) Date: Mon, 11 May 2009 14:58:27 -0400 Subject: [rt-users] How to modify the ticket # format? Message-ID: Hello all, New to the list, still newish to RT. I've been using an old 'hacked' up version of RT 2.0.x for some time now, and was recently asked if we could just "cut and move forward" - so instead of trying to migrate the DB and such, I've installed and deployed a new 3.8.2 deployment - and wow - nice changes since 2.0.x :) Anyways, one of the requirements I need to implement, is the ticket # needs to be in the format of YEARMONTHDAYxxxx Example: #200905110001 would be the 1st ticket for today. I can't seem to find out where I can do this, as I would also need this to automatically roll-over @ Midnight, GMT time (RT_Siteconfig.pm already has my timezone set to GMT) Any pointers? Eric Malenfant Mitel Networks IT Systems Specialist AD / UNIX Systems / Network Applications Toll Free: 800.267.6244 ext 2864 Eric_Malenfant at mitel.com Unix is user friendly, it's just picky who it's friends are! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Mon May 11 15:48:42 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Mon, 11 May 2009 23:48:42 +0400 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: References: Message-ID: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> http://wiki.bestpractical.com/view/SetStartingId + cronjob to set it everyday, however you must understand limits on integers in your DB. On Mon, May 11, 2009 at 10:58 PM, wrote: > Hello all, New to the list, still newish to RT. > > I've been using an old 'hacked' up version of RT 2.0.x for some time now, > and was recently asked if we could just "cut and move forward" - so instead > of > trying to migrate the DB and such, I've installed and deployed a new 3.8.2 > deployment - and wow - nice changes since 2.0.x :) > > Anyways, one of the requirements I need to implement, is the ticket # needs > to be in the format of YEARMONTHDAYxxxx > > Example: #200905110001 ?would be the 1st ticket for today. > > I can't seem to find out where I can do this, as I would also need this to > automatically roll-over @ Midnight, GMT time (RT_Siteconfig.pm already has > my timezone set to GMT) > > Any pointers? > > Eric Malenfant > Mitel Networks > IT Systems Specialist > AD / UNIX Systems / Network Applications > Toll Free: 800.267.6244 ext 2864 > Eric_Malenfant at mitel.com > > Unix is user friendly, it's just picky who it's friends are! > _______________________________________________ > 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 toml at bitstatement.net Mon May 11 15:56:13 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 11 May 2009 12:56:13 -0700 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> Message-ID: <4A0882DD.8050503@bitstatement.net> Ruslan Zakirov wrote: > http://wiki.bestpractical.com/view/SetStartingId + cronjob to set it > everyday, however you must understand limits on integers in your DB. >> Example: #200905110001 would be the 1st ticket for today. A normal signed int in 32-bit mysql has a maximum value of 2147483647, which isn't big enough for the format requested. You'd need to alter the table structures to change ticket id's to a bigint. How much code that would break inside of RT, I have no idea. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From kfcrocker at lbl.gov Mon May 11 16:14:43 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Mon, 11 May 2009 13:14:43 -0700 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <4A0882DD.8050503@bitstatement.net> References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> <4A0882DD.8050503@bitstatement.net> Message-ID: <4A088733.3040808@lbl.gov> Tom, Why do you need a date prefixed to the Ticket ID? In my 40 years in this business from Manufacturing (MRP - Order processing, Capacity Planning, etc.)) to Retail to Banking industries I have always seen an ID Field defined as "non-intelligent". That way, the ID has one function only, to identify the record, not to define when (that's what dates are for). To put intelligence or some other meaning into a field that is designed for a singular purpose is pretty much considered a very outdated practice (for last 25 years) in DataBase design (ie. each field is used strictly for a single purpose and it's name indicates such function). Are you sure you want to design the Ticket ID this way? Kenn LBNL On 5/11/2009 12:56 PM, Tom Lahti wrote: > Ruslan Zakirov wrote: > >> http://wiki.bestpractical.com/view/SetStartingId + cronjob to set it >> everyday, however you must understand limits on integers in your DB. >> > > >>> Example: #200905110001 would be the 1st ticket for today. >>> > > A normal signed int in 32-bit mysql has a maximum value of 2147483647, which > isn't big enough for the format requested. You'd need to alter the table > structures to change ticket id's to a bigint. How much code that would > break inside of RT, I have no idea. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From echatham at broadvox.net Mon May 11 16:39:42 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 11 May 2009 16:39:42 -0400 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM Message-ID: <4ABA3E162F60624A949503A7F960245EB11299B076@CLEHBEXMS01.broadvox.local> Hello, I am brand new to RT request tracker. I am using the installation guide for CentOS 5.1 /RHEL 5.1 to install RT 3.6.6. http://wiki.bestpractical.com/view/Rhel5InstallGuide I am stuck at the point where it wants me to configure the variables in /etc/rt3/RT_SiteConfig.pm. The name of the server I am configuring for RT is "rtsrv01.domain.local." The website I want to use is http://rt3.domain.local. For the dbuser, do I want to use "root" or should I create another dbuser for RT? If so, what DB Permissions should I set? Lastly, I want the "htmldir" to be /opt/rt3/html not the default /usr/share/rt3/html. Where would I change that? Thank you for your assistance. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: From echatham at broadvox.net Mon May 11 17:28:39 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 11 May 2009 17:28:39 -0400 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM Message-ID: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local> Hello, I am brand new to RT request tracker. I am using the installation guide for CentOS 5.1 /RHEL 5.1 to install RT 3.6.6. http://wiki.bestpractical.com/view/Rhel5InstallGuide I am stuck at the point where it wants me to configure the variables in /etc/rt3/RT_SiteConfig.pm. The name of the server I am configuring for RT is "rtsrv01.domain.local." The website I want to use is http://rt3.domain.local. For the dbuser, do I want to use "root" or should I create another dbuser for RT? If so, what DB Permissions should I set? Lastly, I want the "htmldir" to be /opt/rt3/html not the default /usr/share/rt3/html. Where would I change that? Thank you for your assistance. Eric Chatham ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Mon May 11 17:35:30 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 12 May 2009 01:35:30 +0400 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11299B076@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B076@CLEHBEXMS01.broadvox.local> Message-ID: <589c94400905111435v4f0bd79qfedee5dcd59eccd9@mail.gmail.com> You shouldn't create an user in the DB, but as well you shouldn't use root. User and permissions are created during 'make initdb' step. This options can be configured using ./configure script as well. I don't think it's good idea to mess with pathes of a system when you havn't learnt how to configure it and install. Make a step at a time. On Tue, May 12, 2009 at 12:39 AM, Eric Chatham wrote: > Hello, > > > > I am brand new to RT request tracker.? I am using the installation guide for > CentOS 5.1 /RHEL 5.1 to install RT 3.6.6. > > > > http://wiki.bestpractical.com/view/Rhel5InstallGuide > > > > I am stuck at the point where it wants me to configure the variables in > /etc/rt3/RT_SiteConfig.pm.? The name of the server I am configuring for RT > is ?rtsrv01.domain.local.?? The website I want to use is > http://rt3.domain.local.? For the dbuser, do I want to use ?root? or should > I create another dbuser for RT?? If so, what DB Permissions should I set? > Lastly, I want the ?htmldir? to be /opt/rt3/html not the default > /usr/share/rt3/html.? Where would I change that? > > > > Thank you for your assistance. > > > > Eric Chatham > > ________________________________ > CONFIDENTIAL. This e-mail and any attached files are confidential and should > be destroyed and/or returned if you are not the intended and proper > recipient. > > _______________________________________________ > 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 toml at bitstatement.net Mon May 11 17:39:32 2009 From: toml at bitstatement.net (Tom Lahti) Date: Mon, 11 May 2009 14:39:32 -0700 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <4A088733.3040808@lbl.gov> References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> <4A0882DD.8050503@bitstatement.net> <4A088733.3040808@lbl.gov> Message-ID: <4A089B14.3060206@bitstatement.net> Ken Crocker wrote: > Tom, > > Why do you need a date prefixed to the Ticket ID? In my 40 years in I don't, the OP (Eric) does. Couldn't agree with you more on your point. There's already a "created date" field for each ticket. To add that again as part of the ticket ID will definitely be counterproductive. If the proposed cron job doesn't fire for some reason, you'll have a mess: ticket ID's with this embedded 'create date' will lie. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From ruslan.zakirov at gmail.com Mon May 11 17:41:10 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 12 May 2009 01:41:10 +0400 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local> Message-ID: <589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> Don't ever double post! You have high chances to be ignored completly as sort of punishment. On Tue, May 12, 2009 at 1:28 AM, Eric Chatham wrote: > Hello, > > > > I am brand new to RT request tracker.? I am using the installation guide for > CentOS 5.1 /RHEL 5.1 to install RT 3.6.6. [snip] -- Best regards, Ruslan. From echatham at broadvox.net Mon May 11 18:11:32 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 11 May 2009 18:11:32 -0400 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM In-Reply-To: <589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local> <589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> Sorry about the second e-mail. On the first one, I received an undeliverable NDR when I tried posting. Thank you for the reply. There is no step called "make initdb" on the installation guide I'm using for CentOS 5.1 from the wiki. There is a "rt-setup-database --action init" command though. I ran this command with the --dba and --dba-password flags, using root and the root password. I'm still unsure how to configure the RT_SiteConfig.pm perl module. Eric Chatham CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From ggreene at minervanetworks.com Mon May 11 18:42:30 2009 From: ggreene at minervanetworks.com (Gary Greene) Date: Mon, 11 May 2009 15:42:30 -0700 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> Message-ID: <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf > Of Eric Chatham > Sent: Monday, May 11, 2009 3:12 PM > To: Ruslan Zakirov > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] New to RT and need help with RT_SiteConfig.PM > > Sorry about the second e-mail. On the first one, I received > an undeliverable NDR when I tried posting. > > Thank you for the reply. There is no step called "make > initdb" on the installation guide I'm using for CentOS 5.1 > from the wiki. > > There is a "rt-setup-database --action init" command though. > I ran this command with the --dba and --dba-password flags, > using root and the root password. > > I'm still unsure how to configure the RT_SiteConfig.pm perl module. > > Eric Chatham > > CONFIDENTIAL. This e-mail and any attached files are > confidential and should be destroyed and/or returned if you > are not the intended and proper recipient. Sorry for being a little pedantic, but.... First, please don't top post, the flow of the conversation gets lost if you do, Second, this is a mailing list, your signature is more than a little silly in this case. Now on to the meat of the issue: The best way to configure your RT_SiteConfig.pm is to open it in your favourite editor (vi, emacs, or nano) and then edit what is there using the RT_Config.pm as a guide to what you can change. In most cases, both of these files will be located in /etc/rt3/. In most cases, a minimal configuration will override the default rtname, organization, webpath, webdomain, and timezone. These, and other options are fairly well documented in RT_Config.pm -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Cell: (650) 704-6633 Phone: (408) 240-1239 From kfcrocker at lbl.gov Mon May 11 18:48:28 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Mon, 11 May 2009 15:48:28 -0700 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <4A089B14.3060206@bitstatement.net> References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> <4A0882DD.8050503@bitstatement.net> <4A088733.3040808@lbl.gov> <4A089B14.3060206@bitstatement.net> Message-ID: <4A08AB3C.7070006@lbl.gov> Tom, Correct. Plus, you may well run out of viable Ticket ID's. IF I were you. I would do my best to dissuade. Lots of luck. Kenn LBNL On 5/11/2009 2:39 PM, Tom Lahti wrote: > Ken Crocker wrote: > >> Tom, >> >> Why do you need a date prefixed to the Ticket ID? In my 40 years in >> > > I don't, the OP (Eric) does. Couldn't agree with you more on your point. > There's already a "created date" field for each ticket. To add that again > as part of the ticket ID will definitely be counterproductive. If the > proposed cron job doesn't fire for some reason, you'll have a mess: ticket > ID's with this embedded 'create date' will lie. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Mon May 11 18:57:35 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Mon, 11 May 2009 15:57:35 -0700 Subject: [rt-users] Add User question Message-ID: <4A08AD5F.5050003@lbl.gov> To any and all, I want to set my RT Configuration to allow non-LDAP Users and LDAP Users alike to be added as "Unprivileged" users when they are CC's on a ticket during correspondance. Can anyone help me with this? Thanks. Kenn LBNL From jra at baylink.com Mon May 11 19:36:32 2009 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 11 May 2009 19:36:32 -0400 (EDT) Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <4A08AB3C.7070006@lbl.gov> Message-ID: <13537452.565241242084992661.JavaMail.root@benjamin.vicimarketing.com> ----- "Ken Crocker" wrote: > Correct. Plus, you may well run out of viable Ticket ID's. IF I> were > you. I would do my best to dissuade. Lots of luck. In a private message (for some reason, I expected to be on the wrong side of this argument) I provided the OP with several concrete reasons and examples as to why this is such a breathtakingly bad design choice, and he should hold his breath until he turns blue if his management tries to make him. :-) Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Start a man a fire, and he'll be warm all night. Set a man on fire, and he'll be warm for the rest of his life. From echatham at broadvox.net Mon May 11 20:09:25 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 11 May 2009 20:09:25 -0400 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM In-Reply-To: <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> Thanks for the reply. Can we please just overlook the "silly" signature? The message gets appended on all outgoing e-mail from our organization! Anyhow, I get the gist how to modify the file. I'm just wondering if someone could provide me with some examples? That would be greatly appreciated. Thanks, once again. :) -----Original Message----- From: Gary Greene [mailto:ggreene at minervanetworks.com] Sent: Monday, May 11, 2009 6:43 PM To: Eric Chatham; Ruslan Zakirov Cc: rt-users at lists.bestpractical.com Subject: RE: [rt-users] New to RT and need help with RT_SiteConfig.PM > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com > [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf > Of Eric Chatham > Sent: Monday, May 11, 2009 3:12 PM > To: Ruslan Zakirov > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] New to RT and need help with RT_SiteConfig.PM > > Sorry about the second e-mail. On the first one, I received > an undeliverable NDR when I tried posting. > > Thank you for the reply. There is no step called "make > initdb" on the installation guide I'm using for CentOS 5.1 > from the wiki. > > There is a "rt-setup-database --action init" command though. > I ran this command with the --dba and --dba-password flags, > using root and the root password. > > I'm still unsure how to configure the RT_SiteConfig.pm perl module. > > Eric Chatham > > CONFIDENTIAL. This e-mail and any attached files are > confidential and should be destroyed and/or returned if you > are not the intended and proper recipient. Sorry for being a little pedantic, but.... First, please don't top post, the flow of the conversation gets lost if you do, Second, this is a mailing list, your signature is more than a little silly in this case. Now on to the meat of the issue: The best way to configure your RT_SiteConfig.pm is to open it in your favourite editor (vi, emacs, or nano) and then edit what is there using the RT_Config.pm as a guide to what you can change. In most cases, both of these files will be located in /etc/rt3/. In most cases, a minimal configuration will override the default rtname, organization, webpath, webdomain, and timezone. These, and other options are fairly well documented in RT_Config.pm -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Cell: (650) 704-6633 Phone: (408) 240-1239 CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From change+lists.rt at nightwind.net Mon May 11 20:14:20 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Mon, 11 May 2009 17:14:20 -0700 Subject: [rt-users] New to RT and need help with RT_SiteConfig.PM In-Reply-To: <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> Message-ID: <1242087260.2569.1314959115@webmail.messagingengine.com> On Mon, 11 May 2009 20:09:25 -0400, "Eric Chatham" said: > Anyhow, I get the gist how to modify the file. I'm just wondering if > someone could provide me with some examples? That would be greatly > appreciated. Thanks, once again. :) Set($rtname, 'Your Name Here'); Set($Organization, 'Your Organization Here'); Set($CorrespondAddress , 'address at your.domain'); Set($CommentAddress , 'address-comment at your.domain'); Set($Timezone , 'US/Pacific'); # obviously choose what suits you Set($DatabaseType, 'mysql'); # e.g. Pg or mysql Set($DatabaseUser , 'dbuser'); Set($DatabasePassword , 'dbpass'); Set($DatabaseName , 'database'); Set($WebPath , "/rt"); Set($WebBaseURL , "http://www.your.domain"); Fill in as appropriate. It's fairly straightforward. Again, RT_Config.pm is quite well documented (perldoc RT_Config.pm and you'll see all the options). From matt at corp.spry.com Mon May 11 20:40:47 2009 From: matt at corp.spry.com (Matt Simerson) Date: Mon, 11 May 2009 17:40:47 -0700 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <13537452.565241242084992661.JavaMail.root@benjamin.vicimarketing.com> References: <13537452.565241242084992661.JavaMail.root@benjamin.vicimarketing.com> Message-ID: On May 11, 2009, at 4:36 PM, Jay R. Ashworth wrote: > ----- "Ken Crocker" wrote: >> Correct. Plus, you may well run out of viable Ticket ID's. IF I> >> were >> you. I would do my best to dissuade. Lots of luck. > > In a private message (for some reason, I expected to be on the wrong > side > of this argument) I provided the OP with several concrete reasons > and examples > as to why this is such a breathtakingly bad design choice, and he > should > hold his breath until he turns blue if his management tries to make > him. > > :-) Considering the current economic climate and the abundance of lightly skilled admins that would be willing to alter the RT DB schema to suit his suits wishes, perhaps an approach that doesn't involve turning blue would be advised. Since every RT ticket already has the ticket ID & date, it would not be terribly difficult to hack at the SQL queries that create, search, and retrieve tickets. If you have the skills, hack the queries to manipulate the ticket ID into the preferred format. You could also create a custom table that maps the 'normal' RT ticket ID and the 'preferred' ticket ID #. Another option is writing a custom web interface to RT, using the REST API. Have the web application handle the mapping and presentation of ticket IDs to and from the desired format. It's greatly simplified by using RT::Client::REST. I wrote one in only 387 lines of perl: $ wc -l lib/Spry/Tickets.pm 387 lib/Spry/Tickets.pm $ grep '^sub' lib/Spry/Tickets.pm sub new { sub rt_connect { sub rt_close_ticket { sub rt_create_ticket { sub rt_get_tickets { sub rt_update_ticket { sub _get_rt { If perl isn't your cup of tea, write your web app in your favorite language and interface directly with the database. You'll have a bit more testing to do during future RT upgrades, but the RT schema is quite stable. Either way, you'll have the ability to easily automate and radically alter how RT data is presented, thus appeasing the pointy haired man. Matt From adams.ken at hgc.com.au Mon May 11 22:39:50 2009 From: adams.ken at hgc.com.au (kenadams2) Date: Mon, 11 May 2009 19:39:50 -0700 (PDT) Subject: [rt-users] creating Tickets Message-ID: <23495170.post@talk.nabble.com> Hi I have just finished setting up RT and have a small problems with the way the users are setup. We have 35 users. 30 of them are remote. Each user has a queue so that tickets can be lodged to them. They all have create ticket privs so that they can create tickets BUT I dont want them to be able to create a ticket to another remote site. The tickets need to be created to a central place and from there it can be distributed if the need arises. At the moment when they create a ticket there is 35 different queues for them to choose from and I only want there to be the other 5. How can I do this. Thanks Ken Adams -- View this message in context: http://www.nabble.com/creating-Tickets-tp23495170p23495170.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From justin.hayes at orbisuk.com Tue May 12 02:39:13 2009 From: justin.hayes at orbisuk.com (Justin Hayes) Date: Tue, 12 May 2009 07:39:13 +0100 Subject: [rt-users] Bug in 3.6.3 At A Glance saved search display In-Reply-To: <77AFF483-8E8A-451E-BE67-B2C5FF2747D3@bestpractical.com> References: <7C22B026-48EB-4C0F-BE65-157692B53874@OrbisUK.com><02895A53-73E1-4A1B-8374-5ECDDA6E19C0@bestpractical.com><9EE55419-B612-490D-814D-0DCB4B04D662@orbisuk.com> <77AFF483-8E8A-451E-BE67-B2C5FF2747D3@bestpractical.com> Message-ID: Ok many thanks Kevin. I'm hoping to set up a 3.8 test environment so I'll have a play around with that setting on there. Justin On 11 May 2009, at 18:02, Kevin Falcone wrote: > > On May 11, 2009, at 12:50 PM, Justin Hayes wrote: > >> Many thanks Kevin. Does it have any other effects? Just trying to >> understand why it's off by default. >> Looks like another reason to work on the upgrade. > > It is documented in the config file, but the summary is that we're not > convinced > it works in every case (this is a really complex query). > > -kevin > >> On 11 May 2009, at 15:20, Kevin Falcone wrote: >> >>> >>> On May 11, 2009, at 2:36 AM, Justin Hayes wrote: >>> >>>> I create a saved search which will display tickets created in the >>>> last >>>> week. For me (who can see all queues) I see 10 results (the last 10 >>>> tickets created). >>>> >>>> However another user might only have permission to see 1 queue. >>>> Instead of seeing the last 10 tickets created in their queue they >>>> only >>>> seem to see whichever of the last 10 are in their queue, so they >>>> might >>>> only see 1 or 2 tickets, which is fairly misleading. >>>> >>>> I guess it's picking the last 10 from the resultset and THEN >>>> applying >>>> what you can view, which to me seems wrong. It should work out what >>>> the user can see, then show the last 10. >>>> >>>> Does anyone know if this can be fixed, or if it is fixed in 3.8? >>> >>> There is an option for this in 3.8 that isn't enabled by default. >>> You want the config option UseSQLForACLChecks >>> >>> -kevin >>> _______________________________________________ >>> 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 >> >> >> ------------------------------------------------- >> Justin Hayes >> Orbis 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 ------------------------------------------------- Justin Hayes Orbis Support Manager justin.hayes at orbisuk.com From david.hobley at mionegroup.com Tue May 12 04:12:24 2009 From: david.hobley at mionegroup.com (David Hobley) Date: Tue, 12 May 2009 18:12:24 +1000 (EST) Subject: [rt-users] RT-External-Auth debugging? In-Reply-To: <11346483.283071242115681618.JavaMail.root@mail.onegrp.com> Message-ID: <30383661.283131242115944062.JavaMail.root@mail.onegrp.com> All, I am trying to integrate RT::Authen:: ExternalAuth to my RT instance and it is not letting me log in. I have configured debugging in my RT_SiteConfig.pm: Set($LogToFile, 'debug'); Set($LogDir, '/var/log/rt'); but the only message I get indicating problems is a FAILED LOGIN error in the rt.log. How should I go about getting more detailed logging happening? -- Cheers, David From ruslan.zakirov at gmail.com Tue May 12 04:21:57 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 12 May 2009 12:21:57 +0400 Subject: [rt-users] RT-External-Auth debugging? In-Reply-To: <30383661.283131242115944062.JavaMail.root@mail.onegrp.com> References: <11346483.283071242115681618.JavaMail.root@mail.onegrp.com> <30383661.283131242115944062.JavaMail.root@mail.onegrp.com> Message-ID: <589c94400905120121n28e00dbwb916fcbc7d1e8dd6@mail.gmail.com> This often indicates that you havn't enabled the extension. Or installed incorrectly. If you're on RT 3.8.2 then can check system configuration via UI, especially Plugins option and loaded modules. On Tue, May 12, 2009 at 12:12 PM, David Hobley wrote: > All, > > I am trying to integrate RT::Authen:: ExternalAuth to my RT instance and it is not letting me log in. I have configured debugging in my RT_SiteConfig.pm: > > Set($LogToFile, 'debug'); > Set($LogDir, '/var/log/rt'); > > but the only message I get indicating problems is a FAILED LOGIN error in the rt.log. How should I go about getting more detailed logging happening? > > -- > Cheers, > David > _______________________________________________ > 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 jpenman.smithson at gmail.com Tue May 12 07:13:02 2009 From: jpenman.smithson at gmail.com (Jamie Penman-Smithson) Date: Tue, 12 May 2009 12:13:02 +0100 Subject: [rt-users] Notifications to AdminCc's Message-ID: <42acc2230905120413m1b107c79ud2401327f9ba27c4@mail.gmail.com> Hi all, I'm currently implementing RT in our department at work and I currently have the sysadmin team as AdminCc's for all relevant queues. However, some members of the team do not want to be notified of correspondence or comments for tickets which they do not own - but still want notifications about new (unowned) tickets. So I changed the default 'On Correspondence Notify AdminCcs' and 'On Comment Notify AdminCcs' scripts to disable them. Unfortunately, this means that if in future we want to have a ticket co-owned by two people we can do that, however they won't receive any notifications via email. I realise that this is probably a strange edge case, part of the reason for emailing the list was primarily to get some advice on whether anyone had come across this issue before and how they solved it in a sensible way. Thanks, -- -Jamie L. Penman-Smithson From Eric_Malenfant at Mitel.com Tue May 12 08:28:25 2009 From: Eric_Malenfant at Mitel.com (Eric_Malenfant at Mitel.com) Date: Tue, 12 May 2009 08:28:25 -0400 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <4A0882DD.8050503@bitstatement.net> References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> <4A0882DD.8050503@bitstatement.net> Message-ID: Well, modifying the code is what was done years ago for our current implementation. It was deployed back before Mitel had purchased E-Smith (old Linux distro) and is actually still in use today, but we have some new requirements which warrants an upgrade. The one thing that would be great to keep, is how we are numbering our tickets today. Today, when a ticket is created, it does get a number like this: id: 20090414054 this number would already be considered greater than 2147483647, and I believe from what I have heard about the history of this old RT 2.x deployment (I believe the old version in use is 2.0.7) was in fact that we worked with the devs to get this to work, and I can in fact see bigint(xx) in some parts of the schema. I can hack around that part. What I would like to know is where can I set the start # to begin with. If I do abandon this date format for tickets, I'd then want to start at something high, like 10000, not 1. Is that possible? Eric Malenfant Mitel Networks IT Systems Specialist AD / UNIX Systems / Network Applications Toll Free: 800.267.6244 ext 2864 Eric_Malenfant at mitel.com Unix is user friendly, it's just picky who it's friends are! Tom Lahti 05/11/2009 03:56 PM To Ruslan Zakirov cc Eric_Malenfant at mitel.com, rt-users at lists.bestpractical.com Subject Re: [rt-users] How to modify the ticket # format? Ruslan Zakirov wrote: > http://wiki.bestpractical.com/view/SetStartingId + cronjob to set it > everyday, however you must understand limits on integers in your DB. >> Example: #200905110001 would be the 1st ticket for today. A normal signed int in 32-bit mysql has a maximum value of 2147483647, which isn't big enough for the format requested. You'd need to alter the table structures to change ticket id's to a bigint. How much code that would break inside of RT, I have no idea. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From david.hobley at mionegroup.com Tue May 12 08:49:03 2009 From: david.hobley at mionegroup.com (David Hobley) Date: Tue, 12 May 2009 22:49:03 +1000 (EST) Subject: [rt-users] RT-External-Auth debugging? In-Reply-To: <589c94400905120121n28e00dbwb916fcbc7d1e8dd6@mail.gmail.com> Message-ID: <21800429.283391242132543650.JavaMail.root@mail.onegrp.com> Ruslan, thanks for your reply - how can I check this from the UI exactly? Given I can't login! I have the following in my RT_SiteConfig.pm, so I thought I had it all configured: Set($ExternalAuthPriority, [ 'Primary_LDAP' ]); Set($ExternalInfoPriority, [ 'Primary_LDAP' ]); Set($ExternalServiceUsesSSLorTLS, 0); Set($AutoCreateNonExternalUsers, 0); et($ExternalSettings, { 'Primary_LDAP' => { 'type' => 'ldap', 'server' => 'my.ldap.host', 'base' => 'ou=people,dc=MY,dc=DOMAIN', 'filter' => '(zimbraAccountStatus=active)', 'd_filter' => '(zimbraAccountStatus=closed)', 'tls' => 0, 'ssl_version' => 3, 'net_ldap_args' => [ version => 3 ], 'group' => 'RT_GROUP', 'group_attr' => 'memberUid', 'attr_match_list' => [ 'Name', 'EmailAddress' ], 'attr_map' => { 'Name' => 'uid', 'EmailAddress' => 'zimbraMailDeliveryAddress', 'Organization' => 'company', 'RealName' => 'cn', 'ExternalAuthId' => 'uid', 'Gecos' => 'uid', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'street', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co' } }}); # Set up any Plugins Set(@Plugins, qw(Extension::QuickDelete)); Set(@Plugins, qw(RT::Authen::ExternalAuth)); Set(@Plugins, qw(RT::FM)); Cheers, David ----- Original Message ----- From: "Ruslan Zakirov" To: "David Hobley" Cc: rt-users at lists.bestpractical.com Sent: Tuesday, 12 May, 2009 6:21:57 PM GMT +10:00 Canberra / Melbourne / Sydney Subject: Re: [rt-users] RT-External-Auth debugging? This often indicates that you havn't enabled the extension. Or installed incorrectly. If you're on RT 3.8.2 then can check system configuration via UI, especially Plugins option and loaded modules. On Tue, May 12, 2009 at 12:12 PM, David Hobley wrote: > All, > > I am trying to integrate RT::Authen:: ExternalAuth to my RT instance and it is not letting me log in. I have configured debugging in my RT_SiteConfig.pm: > > Set($LogToFile, 'debug'); > Set($LogDir, '/var/log/rt'); > > but the only message I get indicating problems is a FAILED LOGIN error in the rt.log. How should I go about getting more detailed logging happening? > > -- > Cheers, > David > _______________________________________________ > 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. -- Cheers, David Hobley IT Manager Creators of Miessence, MiVitality and MiEnviron Phone: +61 (7) 5582 7020 Fax: +61 (7) 5539 6719 USA Fax 1800 840 0827 Email : david.hobley at mionegroup.com Website: www.mionegroup.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike.peachey at jennic.com Tue May 12 08:56:19 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Tue, 12 May 2009 13:56:19 +0100 Subject: [rt-users] RT-External-Auth debugging? In-Reply-To: <21800429.283391242132543650.JavaMail.root@mail.onegrp.com> References: <21800429.283391242132543650.JavaMail.root@mail.onegrp.com> Message-ID: <4A0971F3.5020907@jennic.com> Tue 12 May 2009 13:49:03 GMT David Hobley wrote: > Ruslan, > > thanks for your reply - how can I check this from the UI exactly? Given > I can't login! Local accounts can always login. Login as root to check the configuration. > > I have the following in my RT_SiteConfig.pm, so I thought I had it all > configured: > > # Set up any Plugins > Set(@Plugins, qw(Extension::QuickDelete)); > Set(@Plugins, qw(RT::Authen::ExternalAuth)); > Set(@Plugins, qw(RT::FM)); You are overriding the @Plugins array twice. Replace these three lines with: Set(@Plugins, qw(Extension::QuickDelete RT::Authen::ExternalAuth RT::FM)); lot more difficult. order and makes replying cleanly a it totally screws up the reading Please try not to top-post because By the way, -- 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 Eric_Malenfant at Mitel.com Tue May 12 11:11:09 2009 From: Eric_Malenfant at Mitel.com (Eric_Malenfant at Mitel.com) Date: Tue, 12 May 2009 11:11:09 -0400 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> <4A0882DD.8050503@bitstatement.net> Message-ID: Well, I don't need to implement this style anymore - provided some reasoning, and was agreed upon. What I would like to do, is now to increase the baseline of the ticket # - I don't need to start @ 1- too low, so I want to start around 1000. Any idea how I can increase this number? Eric Malenfant Mitel Networks IT Systems Specialist AD / UNIX Systems / Network Applications Toll Free: 800.267.6244 ext 2864 Eric_Malenfant at mitel.com Unix is user friendly, it's just picky who it's friends are! Eric_Malenfant at Mitel.com Sent by: rt-users-bounces at lists.bestpractical.com 05/12/2009 08:28 AM To Tom Lahti cc rt-users at lists.bestpractical.com, Ruslan Zakirov Subject Re: [rt-users] How to modify the ticket # format? Well, modifying the code is what was done years ago for our current implementation. It was deployed back before Mitel had purchased E-Smith (old Linux distro) and is actually still in use today, but we have some new requirements which warrants an upgrade. The one thing that would be great to keep, is how we are numbering our tickets today. Today, when a ticket is created, it does get a number like this: id: 20090414054 this number would already be considered greater than 2147483647, and I believe from what I have heard about the history of this old RT 2.x deployment (I believe the old version in use is 2.0.7) was in fact that we worked with the devs to get this to work, and I can in fact see bigint(xx) in some parts of the schema. I can hack around that part. What I would like to know is where can I set the start # to begin with. If I do abandon this date format for tickets, I'd then want to start at something high, like 10000, not 1. Is that possible? Eric Malenfant Mitel Networks IT Systems Specialist AD / UNIX Systems / Network Applications Toll Free: 800.267.6244 ext 2864 Eric_Malenfant at mitel.com Unix is user friendly, it's just picky who it's friends are! Tom Lahti 05/11/2009 03:56 PM To Ruslan Zakirov cc Eric_Malenfant at mitel.com, rt-users at lists.bestpractical.com Subject Re: [rt-users] How to modify the ticket # format? Ruslan Zakirov wrote: > http://wiki.bestpractical.com/view/SetStartingId + cronjob to set it > everyday, however you must understand limits on integers in your DB. >> Example: #200905110001 would be the 1st ticket for today. A normal signed int in 32-bit mysql has a maximum value of 2147483647, which isn't big enough for the format requested. You'd need to alter the table structures to change ticket id's to a bigint. How much code that would break inside of RT, I have no idea. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ _______________________________________________ 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 falcone at bestpractical.com Tue May 12 11:25:34 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 12 May 2009 11:25:34 -0400 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> <4A0882DD.8050503@bitstatement.net> Message-ID: <487C0267-9149-4CEE-AF5A-BCE9655C6C92@bestpractical.com> On May 12, 2009, at 11:11 AM, Eric_Malenfant at Mitel.com wrote: > Well, I don't need to implement this style anymore - provided some > reasoning, and was agreed upon. > What I would like to do, is now to increase the baseline of the > ticket # - I don't need to start @ 1- too low, so I want to start > around 1000. > Any idea how I can increase this number? As Ruslan mentioned earlier in this thread: http://wiki.bestpractical.com/view/SetStartingId -kevin From ballmann at patronas.de Tue May 12 11:32:24 2009 From: ballmann at patronas.de (Bastian Ballmann) Date: Tue, 12 May 2009 17:32:24 +0200 Subject: [rt-users] Changing mail content in action module Message-ID: <4A099688.6060000@patronas.de> Hi list, I've programmed my own action module to create tickets from forwarded mails. Therefore I scan from and subject headers in all attachments and set the ticket's requestor to the original mail from and the subject to the original subject. Now I would like to also set the tickets content to the original content of the forwarded mail but I cannot find a way to do so. I have to set the $Transaction->Content before applying the template "Autoreply" and I know the Prepare method must be overwritten to do so, but if I change $self->TransactionObj->{'message'}->{'items'}->[0]->{'values'}->{'content'} it wont have any effect and I cannot find a set-method for the property Content of the transaction object. Any hint / advice? Greets & have a nice day! :) Basti -- Bastian Ballmann PATRONAS Financial Systems GmbH Schnewlinstr 4 79098 Freiburg fon +49 (0)761 400688-19 fax +49 (0)761 400688-50 ballmann at patronas.de http://www.patronas.de Amtsgericht Freiburg, HRB 7212 Gesch?ftsf?hrung: Heribert Steuer, Carsten Osswald This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From change+lists.rt at nightwind.net Tue May 12 12:27:17 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Tue, 12 May 2009 09:27:17 -0700 Subject: [rt-users] creating Tickets In-Reply-To: <23495170.post@talk.nabble.com> References: <23495170.post@talk.nabble.com> Message-ID: <1242145637.20600.1315087581@webmail.messagingengine.com> On Mon, 11 May 2009 19:39:50 -0700 (PDT), "kenadams2" said: > I have just finished setting up RT and have a small problems with the way > the users are setup. We have 35 users. 30 of them are remote. Each user > has a queue so that tickets can be lodged to them. They all have create > ticket privs so that they can create tickets BUT I dont want them to be able to > create a ticket to another remote site. The tickets need to be created to > a central place and from there it can be distributed if the need arises. At > the moment when they create a ticket there is 35 different queues for > them to choose from and I only want there to be the other 5. How can I do > this. It sounds like you've granted See Queue and Create Ticket privileges to all privileged users. You'll want to only grant See Queue and Create Ticket rights to users in the queue they're allowed to touch. Configuration -> Queues -> [queue name] -> User Rights. From toml at bitstatement.net Tue May 12 13:31:02 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 12 May 2009 10:31:02 -0700 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: References: <13537452.565241242084992661.JavaMail.root@benjamin.vicimarketing.com> Message-ID: <4A09B256.9060202@bitstatement.net> Matt Simerson wrote: > If perl isn't your cup of tea, write your web app in your favorite > language and interface directly with the database. You'll have a bit > more testing to do during future RT upgrades, but the RT schema is > quite stable. Actually, you're forgetting about the ruby library rt-client, which also uses RT's REST interface. I never recommend going directly to the database. If you want to use a language for which there is no REST client library, I recommend writing one, or porting one of the existing ones. From kfcrocker at lbl.gov Tue May 12 14:03:32 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 12 May 2009 11:03:32 -0700 Subject: [rt-users] Notifications to AdminCc's In-Reply-To: <42acc2230905120413m1b107c79ud2401327f9ba27c4@mail.gmail.com> References: <42acc2230905120413m1b107c79ud2401327f9ba27c4@mail.gmail.com> Message-ID: <4A09B9F4.9050608@lbl.gov> Jamie, This can be set up. Create a new Notification script the Notifies Owner on whatever and that will take care of them getting email on the tickets they own. However, you mentioned something about co-owned tickets. TO my knowledge, RT allows only 1 user to be a ticket owner. That data is in the ticket field, it is not a "MemberOf" data type. On the other hand, if these support people are also the requestors, then that you can do, as you have have many requestors on a ticket. In that case, set up your notifications for the requestor on whatever. You will have to decide how the tickets in a Queue are controlled. You may need to create a new group for 1 Queue and another for another Queue with the members that are working on the ticket and set up some notifications for them. I do not know how your change control is set up. Hope this helps. Kenn LBNL On 5/12/2009 4:13 AM, Jamie Penman-Smithson wrote: > Hi all, > > I'm currently implementing RT in our department at work and I > currently have the sysadmin team as AdminCc's for all relevant queues. > However, some members of the team do not want to be notified of > correspondence or comments for tickets which they do not own - but > still want notifications about new (unowned) tickets. > > So I changed the default 'On Correspondence Notify AdminCcs' and 'On > Comment Notify AdminCcs' scripts to disable them. Unfortunately, this > means that if in future we want to have a ticket co-owned by two > people we can do that, however they won't receive any notifications > via email. > > I realise that this is probably a strange edge case, part of the > reason for emailing the list was primarily to get some advice on > whether anyone had come across this issue before and how they solved > it in a sensible way. > > Thanks, > > From john.habermann at wilderness.org.au Tue May 12 20:05:17 2009 From: john.habermann at wilderness.org.au (john habermann) Date: Wed, 13 May 2009 10:05:17 +1000 Subject: [rt-users] how to stop search displaying tickets the user doesn't have permission to see in the results Message-ID: Hi I am having a problem where the unowned search is not restricting its results to only tickets that are in queues the user has the see ticket permission for. This is causing the unowned ticket list to not display any tickets in the rt at a glance page if another queue has 10 more recent unowned tickets in it. It affects any search in rt for example If you search for something in the quick search you get it saying that 5 tickets matched the search but only displaying 1 ticket in the list because 4 of the tickets would be in queues for which the user has no permission to see tickets. I have gone through global permissions and queue permissions trying to figure out how I can control this behaviour but not have not been successful. The 'see queue' and 'show tickets' permission are only set on a per queue basis to the group that is working on that queue. I think I must have broken something though in setting up my permissions as I don't remember this being the initial behaviour of the unowned tickets search. Thanks for any help. -- John Habermann Internet Programmer, System Administrator The Wilderness Society Inc http://www.wilderness.org.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From william.graboyes at theportalgrp.com Tue May 12 20:18:31 2009 From: william.graboyes at theportalgrp.com (William Graboyes) Date: Tue, 12 May 2009 17:18:31 -0700 Subject: [rt-users] how to stop search displaying tickets the user doesn't have permission to see in the results In-Reply-To: References: Message-ID: <8a5c3dac0905121718k5f071d7bved6c2d1977e58f3a@mail.gmail.com> Howdy John, >From my understanding this is a "feature" of RT, There isn't much one can do about it, the settings aren't granular enough to cover what a single user has the right to see, high up on my wish list is something along the lines of what you are looking for, I would love to be able to limit users to viewing only tickets in a certian queue, or even better as we run an "open" system here, the ability to say this user can only view his tickets. But dreams are dreams, and when you are like me, and I am not a perl coding maven, there isn't much you can do about it. Bill Graboyes On Tue, May 12, 2009 at 5:05 PM, john habermann < john.habermann at wilderness.org.au> wrote: > Hi > > I am having a problem where the unowned search is not restricting its > results to only tickets that are in queues the user has the see ticket > permission for. This is causing the unowned ticket list to not display any > tickets in the rt at a glance page if another queue has 10 more recent > unowned tickets in it. It affects any search in rt for example If you search > for something in the quick search you get it saying that 5 tickets matched > the search but only displaying 1 ticket in the list because 4 of the tickets > would be in queues for which the user has no permission to see tickets. > > I have gone through global permissions and queue permissions trying to > figure out how I can control this behaviour but not have not been > successful. The 'see queue' and 'show tickets' permission are only set on a > per queue basis to the group that is working on that queue. I think I must > have broken something though in setting up my permissions as I don't > remember this being the initial behaviour of the unowned tickets search. > > Thanks for any help. > > -- > John Habermann > Internet Programmer, System Administrator > The Wilderness Society Inc > http://www.wilderness.org.au > > _______________________________________________ > 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 john.habermann at wilderness.org.au Tue May 12 22:05:47 2009 From: john.habermann at wilderness.org.au (john habermann) Date: Wed, 13 May 2009 12:05:47 +1000 Subject: [rt-users] how to stop search displaying tickets the user doesn't have permission to see in the results In-Reply-To: <8a5c3dac0905121718k5f071d7bved6c2d1977e58f3a@mail.gmail.com> References: <8a5c3dac0905121718k5f071d7bved6c2d1977e58f3a@mail.gmail.com> Message-ID: Thanks for your reply Bill I think I hadn't noticed this "feature" before because I only had a couple of people using it but had just added a new user who forwarded a large number of emails to her queue in rt so that when I next looked at my default RT page my unowned tickets had disappeared. I did find this thread though http://www.gossamer-threads.com/lists/rt/users/80043?search_string=unownedsearch;#80043 which seemed to indicate that people shouldn't see tickets in their unowned list if those tickets where in queues they didn't have permission to see. Other emails seemed to indicate that if you only had the 'Show Ticket' and 'See Queue' permission set on a per queue basis then you should just be seeing unowned tickets from your queues. I wonder if this is something new in rt 3.8? On Wed, May 13, 2009 at 10:18 AM, William Graboyes < william.graboyes at theportalgrp.com> wrote: > Howdy John, > > From my understanding this is a "feature" of RT, There isn't much one can > do about it, the settings aren't granular enough to cover what a single user > has the right to see, high up on my wish list is something along the lines > of what you are looking for, I would love to be able to limit users to > viewing only tickets in a certian queue, or even better as we run an "open" > system here, the ability to say this user can only view his tickets. But > dreams are dreams, and when you are like me, and I am not a perl coding > maven, there isn't much you can do about it. > > Bill Graboyes > > > > On Tue, May 12, 2009 at 5:05 PM, john habermann < > john.habermann at wilderness.org.au> wrote: > >> Hi >> >> I am having a problem where the unowned search is not restricting its >> results to only tickets that are in queues the user has the see ticket >> permission for. This is causing the unowned ticket list to not display any >> tickets in the rt at a glance page if another queue has 10 more recent >> unowned tickets in it. It affects any search in rt for example If you search >> for something in the quick search you get it saying that 5 tickets matched >> the search but only displaying 1 ticket in the list because 4 of the tickets >> would be in queues for which the user has no permission to see tickets. >> >> I have gone through global permissions and queue permissions trying to >> figure out how I can control this behaviour but not have not been >> successful. The 'see queue' and 'show tickets' permission are only set on a >> per queue basis to the group that is working on that queue. I think I must >> have broken something though in setting up my permissions as I don't >> remember this being the initial behaviour of the unowned tickets search. >> >> Thanks for any help. >> >> -- >> John Habermann >> Internet Programmer, System Administrator >> The Wilderness Society Inc >> http://www.wilderness.org.au >> >> _______________________________________________ >> 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 >> > > -- John Habermann Internet Programmer, System Administrator The Wilderness Society Inc http://www.wilderness.org.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From john.habermann at wilderness.org.au Tue May 12 22:40:26 2009 From: john.habermann at wilderness.org.au (john habermann) Date: Wed, 13 May 2009 12:40:26 +1000 Subject: [rt-users] how to stop search displaying tickets the user doesn't have permission to see in the results In-Reply-To: <8a5c3dac0905121718k5f071d7bved6c2d1977e58f3a@mail.gmail.com> References: <8a5c3dac0905121718k5f071d7bved6c2d1977e58f3a@mail.gmail.com> Message-ID: I have just found what appears to be a solution for this problem enabling the UseSQLForACLChecks in your RT_SiteConfig.pm . Once I enabled this the unowned search now displays only tickets that the user has permission to see and any searches you run in simple search will return a result that matches tickets that you have permission to see. The option does warn about possible performance issues so will see whether I notice any impact on the system. I am using rt 3.8.2 and mysql 5.0. cheers John On Wed, May 13, 2009 at 10:18 AM, William Graboyes < william.graboyes at theportalgrp.com> wrote: > Howdy John, > > From my understanding this is a "feature" of RT, There isn't much one can > do about it, the settings aren't granular enough to cover what a single user > has the right to see, high up on my wish list is something along the lines > of what you are looking for, I would love to be able to limit users to > viewing only tickets in a certian queue, or even better as we run an "open" > system here, the ability to say this user can only view his tickets. But > dreams are dreams, and when you are like me, and I am not a perl coding > maven, there isn't much you can do about it. > > Bill Graboyes > > > > On Tue, May 12, 2009 at 5:05 PM, john habermann < > john.habermann at wilderness.org.au> wrote: > >> Hi >> >> I am having a problem where the unowned search is not restricting its >> results to only tickets that are in queues the user has the see ticket >> permission for. This is causing the unowned ticket list to not display any >> tickets in the rt at a glance page if another queue has 10 more recent >> unowned tickets in it. It affects any search in rt for example If you search >> for something in the quick search you get it saying that 5 tickets matched >> the search but only displaying 1 ticket in the list because 4 of the tickets >> would be in queues for which the user has no permission to see tickets. >> >> I have gone through global permissions and queue permissions trying to >> figure out how I can control this behaviour but not have not been >> successful. The 'see queue' and 'show tickets' permission are only set on a >> per queue basis to the group that is working on that queue. I think I must >> have broken something though in setting up my permissions as I don't >> remember this being the initial behaviour of the unowned tickets search. >> >> Thanks for any help. >> >> -- >> John Habermann >> Internet Programmer, System Administrator >> The Wilderness Society Inc >> http://www.wilderness.org.au >> >> _______________________________________________ >> 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 >> > > -- John Habermann Internet Programmer, System Administrator The Wilderness Society Inc http://www.wilderness.org.au -------------- next part -------------- An HTML attachment was scrubbed... URL: From hanane.ourdani at gmail.com Wed May 13 05:08:32 2009 From: hanane.ourdani at gmail.com (hanane ourdani) Date: Wed, 13 May 2009 09:08:32 +0000 Subject: [rt-users] how to add an hour in request tracker time Message-ID: hello: on summer we have to add an hour on request tracker, please can you tell me how can i do this and if there are an impact to the old tickets. thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From terence at deeproot.co.in Wed May 13 05:26:12 2009 From: terence at deeproot.co.in (Terence Monteiro) Date: Wed, 13 May 2009 14:56:12 +0530 Subject: [rt-users] how to add an hour in request tracker time In-Reply-To: References: Message-ID: <20090513092612.GD6905@deeproot.co.in> On Wed, May 13, 2009 at 09:08:32AM +0000, hanane ourdani wrote: > hello: > > on summer we have to add an hour on request tracker, please can you tell me > how can i do this and if there are an impact to the old tickets. You seem to be talking about daylight saving time. Setting your RT server timezone correctly in RT_SiteConfig.pm should do the trick. If your server timezone is correct and you are accessing the application in the same timezone, all users will see the correct created, last updated timestamps for tickets, new and old. -- Regards, Terence. http://www.deeproot.in Ph: +91 (80) 4089 0000 From otdmunka at gmail.com Wed May 13 06:42:28 2009 From: otdmunka at gmail.com (=?ISO-8859-1?Q?D=E1niel_Omaisz=2DTak=E1cs?=) Date: Wed, 13 May 2009 12:42:28 +0200 Subject: [rt-users] Ticket history name format change Message-ID: <3969058e0905130342r149b55cas97772b3f38b6acec@mail.gmail.com> Hi all, please help me, i need to change the username format in the ticket history to display not the username but the realname instead! For example: I have the users with random login chars: S2ttkt is Adam Kovacs S2ttkt - Ticket 44: Correspondence added to Adam Kovacs - Ticket 44: Correspondence added I tried changeing the Set($UsernameFormat to RealName, Verbose etc but nothing seams to modify the transaction creators name display format. Thankyou in forward! From ruslan.zakirov at gmail.com Wed May 13 07:27:38 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 13 May 2009 15:27:38 +0400 Subject: [rt-users] Changing mail content in action module In-Reply-To: <4A099688.6060000@patronas.de> References: <4A099688.6060000@patronas.de> Message-ID: <589c94400905130427u4616ae71u480af3d9c538a730@mail.gmail.com> On Tue, May 12, 2009 at 7:32 PM, Bastian Ballmann wrote: > Hi list, > > I've programmed my own action module to create tickets from > forwarded mails. > > Therefore I scan from and subject headers in all attachments > and set the ticket's requestor to the original mail from and the > subject to the original subject. > > Now I would like to also set the tickets content to the > original content of the forwarded mail but I cannot find > a way to do so. > > I have to set the $Transaction->Content before applying > the template "Autoreply" and I know the Prepare method > must be overwritten to do so, but if I change > $self->TransactionObj->{'message'}->{'items'}->[0]->{'values'}->{'content'} > it wont have any effect and I cannot find a set-method for > the property Content of the transaction object. > > Any hint / advice? > Greets & have a nice day! :) If you create a new ticket then you should pass MIME object to Create method in RT::Ticket. The same applies to transactions. You should provide everything you need during create, actually creating transactions manually is not good choice cuz they are created automatically when you change a ticket using its methods. > > Basti > > -- > Bastian Ballmann -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Wed May 13 09:51:37 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 13 May 2009 17:51:37 +0400 Subject: [rt-users] Ticket history name format change In-Reply-To: <3969058e0905130342r149b55cas97772b3f38b6acec@mail.gmail.com> References: <3969058e0905130342r149b55cas97772b3f38b6acec@mail.gmail.com> Message-ID: <589c94400905130651w514b9259l592cf9cdb8773ba4@mail.gmail.com> It's not covered by format option. Look into Transaction_Overlay.pm, there is a big hash with descriptions. 2009/5/13 D?niel Omaisz-Tak?cs : > Hi all, please help me, i need to change the username format in the > ticket history to display not the username but the realname instead! > For example: > I have the users with random login chars: > S2ttkt is Adam Kovacs > > S2ttkt - Ticket 44: Correspondence added > to > Adam Kovacs - Ticket 44: Correspondence added > > I tried changeing the Set($UsernameFormat to RealName, Verbose etc but > nothing seams to modify the transaction creators name display format. > > Thankyou in forward! > _______________________________________________ > 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 echatham at broadvox.net Wed May 13 12:14:28 2009 From: echatham at broadvox.net (Eric Chatham) Date: Wed, 13 May 2009 12:14:28 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> Hello All, I am trying to install the current PM for RT::Authen::ExternalAuth PM from CPAN. I am using the wiki.bestpractical guide for the installation. http://wiki.bestpractical.com/view/ExternalAuth I am stuck at the point where it is asking me to enter the path to the RT PM. I tried looking up RT.pm in the system and using the path to it in the Makefile.PL portion, but it is not taking. I also tried copying the RT.pm to one of the selections in the Makefile.PL answer prompt to no avail. Please assist in any way possible. I tried both the cpan install and manual installation. I am stuck at both places with the Makefile.PL script. Thank you greatly. :) Examples: [root@ ~ RT-Authen-ExternalAuth-0.08]# find / -name RT.pm /usr/lib/perl5/vendor_perl/5.8.8/RT/RT.pm /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/RT.pm /usr/lib/perl5/vendor_perl/5.8.8/RT.pm [root@ ~ RT-Authen-ExternalAuth-0.08]# cp /usr/lib/perl5/vendor_perl/5.8.8/RT.pm /usr/lib/perl5/vendor_perl/5.8.8/RT [root@ ~ RT-Authen-ExternalAuth-0.08]# perl Makefile.PL Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm Cannot determine author info from lib/RT/Authen/ExternalAuth.pm Cannot determine license info from lib/RT/Authen/ExternalAuth.pm Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib Path to your RT.pm: /usr/lib/perl5/vendor_perl/5.8.8/ Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib /usr/lib/perl5/vendor_perl/5.8.8/ /usr/lib/perl5/vendor_perl/5.8.8//rt3/lib /usr/lib/perl5/vendor_perl/5.8.8//lib/rt3 /usr/lib/perl5/vendor_perl/5.8.8//lib Path to your RT.pm: CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From kfcrocker at lbl.gov Wed May 13 12:48:06 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Wed, 13 May 2009 09:48:06 -0700 Subject: [rt-users] RT Question on adding users Message-ID: <4A0AF9C6.80604@lbl.gov> To any and all, I've asked this question before, but perhaps I didn't word it so it made any sense. When we add a 'CC' on any correspondance thru a ticket, we find that if the user is */not/* an RT User, as long as they pass the LDAP test, they get added, with their email address as their Id (NAME field). First question is: How do we get RT to drop the '@xxx.xxx' from the Id is uses for "NAME" on the USER Table. Secondly, how do we get RT to add a 'CC' to the USER table as an "unprivileged" user if they do NOT pass the LDAP test? Thank you in advance. This one has us confused. Hopefully, it's just a configuration thing. Kenn LBNL -------------- next part -------------- An HTML attachment was scrubbed... URL: From rtusers-20090205 at billmail.scconsult.com Wed May 13 15:02:30 2009 From: rtusers-20090205 at billmail.scconsult.com (Bill Cole) Date: Wed, 13 May 2009 15:02:30 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> Message-ID: <4A0B1946.3000609@billmail.scconsult.com> Eric Chatham wrote, On 5/13/09 12:14 PM: > Hello All, > > I am trying to install the current PM for RT::Authen::ExternalAuth PM > from CPAN. I am using the wiki.bestpractical guide for the > installation. > > http://wiki.bestpractical.com/view/ExternalAuth See the "Versions" note on that page. In another post, you say you are installing RT 3.6.6, but below it looks like you are trying to install RT::Authen::ExternalAuth 0.08. That won't work. I'm not sure that it is the source of your current issue, but you should get compatible versions before proceeding. > > I am stuck at the point where it is asking me to enter the path to the RT > PM. I tried looking up RT.pm in the system and using the path to it in > the Makefile.PL portion, but it is not taking. I also tried copying the > RT.pm to one of the selections in the Makefile.PL answer prompt to no > avail. Please assist in any way possible. I tried both the cpan install > and manual installation. I am stuck at both places with the Makefile.PL > script. Thank you greatly. :) > > Examples: > > [root@ ~ RT-Authen-ExternalAuth-0.08]# find / -name RT.pm > /usr/lib/perl5/vendor_perl/5.8.8/RT/RT.pm > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/Net/DNS/RR/RT.pm > /usr/lib/perl5/vendor_perl/5.8.8/RT.pm Obviously the second one is not the right RT.pm It, but the others are also in very odd places for RT.pm. Typically RT's perl modules are NOT installed under the general-use perl directory tree, but in a distinct directory such as /opt/rt3/. The specific layout is defined as part of the build/install process, and results in the various paths being defined in the RT.pm that gets installed. If you start moving parts of RT around after installation, you will break it. > [root@ ~ RT-Authen-ExternalAuth-0.08]# cp /usr/lib/perl5/vendor_perl/5.8.8/RT.pm /usr/lib/perl5/vendor_perl/5.8.8/RT > [root@ ~ RT-Authen-ExternalAuth-0.08]# perl Makefile.PL > Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm > Cannot determine author info from lib/RT/Authen/ExternalAuth.pm > Cannot determine license info from lib/RT/Authen/ExternalAuth.pm > Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/ rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib > Path to your RT.pm: /usr/lib/perl5/vendor_perl/5.8.8/ > Cannot find the location of RT.pm that defines $RT::LocalPath in: inc /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /opt/rt3/lib /opt/lib/rt3 /opt/lib /usr/local/rt3/lib /usr/local/lib/rt3 /usr/local/lib /home/ rt3/lib /home/lib/rt3 /home/lib /usr/rt3/lib /usr/lib/rt3 /usr/lib /sw/rt3/lib /sw/lib/rt3 /sw/lib /usr/lib/perl5/vendor_perl/5.8.8/ /usr/lib/perl5/vendor_perl/5.8.8//rt3/lib /usr/lib/perl5/vendor_perl/5.8.8//lib/rt3 /usr/lib/perl5/vendor_perl/5.8.8//lib > Path to your RT.pm: 3 possibilities: 1. This is because of the version mismatch. 2. That RT.pm is not the RT.pm you are looking for, i.e. it is not the top-level module for Request Tracker. 3. That RT.pm is not readable by the install process. (one might achieve such an oddity with something like SELinux) From falcone at bestpractical.com Wed May 13 16:12:32 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 13 May 2009 16:12:32 -0400 Subject: [rt-users] RT Question on adding users In-Reply-To: <4A0AF9C6.80604@lbl.gov> References: <4A0AF9C6.80604@lbl.gov> Message-ID: <49DECA0D-CB86-4BB7-949F-75270CCF576B@bestpractical.com> On May 13, 2009, at 12:48 PM, Ken Crocker wrote: > To any and all, > > > I've asked this question before, but perhaps I didn't word it so > it made any sense. When we add a 'CC' on any correspondance thru a > ticket, we find that if the user is not an RT User, as long as they > pass the LDAP test, they get added, with their email address as > their Id (NAME field). First question is: > > How do we get RT to drop the '@xxx.xxx' from the Id is uses for > "NAME" on the USER Table. You can use RT::User::CanonicalizeUserInfo to munge the Name, assuming you're not using RT::Authen::ExternalAuth which already overrides this. > Secondly, how do we get RT to add a 'CC' to the USER table as an > "unprivileged" user if they do NOT pass the LDAP test? You don't say how you're doing LDAP auth so answering this is hard. If you're using RT::Authen::ExternalAuth you want to check your setting of AutoCreateNonExternalUsers -kevin From kfcrocker at lbl.gov Wed May 13 17:18:21 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Wed, 13 May 2009 14:18:21 -0700 Subject: [rt-users] RT Question on adding users In-Reply-To: <49DECA0D-CB86-4BB7-949F-75270CCF576B@bestpractical.com> References: <4A0AF9C6.80604@lbl.gov> <49DECA0D-CB86-4BB7-949F-75270CCF576B@bestpractical.com> Message-ID: <4A0B391D.5000106@lbl.gov> Kevin, Thank you so much for answering. I looked through our RT_Config.pm file and did not see any reference to either "RT::User::CanonicalizeUserInfo" or "RT::Authen::ExternalAuth". Where do I find them and how do I set them? Our current applicable LDAP settings (in RT_SiteConfig.pm) are as follows: * *Set($AuthMethods, ['LDAP', 'Internal']);* * *Set($LdapExternalAuth, 1);* * *Set($LdapExternalInfo, 1);* * *Set($LdapAutoCreateNonLdapUsers, 0);* * *Set($LdapAttrMap, {'Name' => 'uid',* * 'EmailAddress' => 'mail',* * 'Organization' => 'o',* * 'RealName' => 'cn',* * 'ExternalContactInfoId' => 'dn',* * 'ExternalAuthId' => 'lblempnum',* * 'Gecos' => 'uid',* * 'WorkPhone' => 'telephonenumber',* * 'Address1' => 'lblmailstop',* * 'Address2' => 'postaladdress'}* * );* * *Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', 'EmailAddress', 'RealName', 'ExternalAuthId', 'WorkPhone', 'Address2']);* * *Set($LdapEmailAttrMatchList, ['uid']);* * *Set($LdapEmailAttrMatchPrefix, [''] );* * *Set($LdapTLS, 1);* * *Set($LdapSSLVersion, 3)*; Do I have all the LDAP settings I need? Do I need to add one? Change one? THANK you! Kenn LBNL On 5/13/2009 1:12 PM, Kevin Falcone wrote: > On May 13, 2009, at 12:48 PM, Ken Crocker wrote: > > >> To any and all, >> >> >> I've asked this question before, but perhaps I didn't word it so >> it made any sense. When we add a 'CC' on any correspondance thru a >> ticket, we find that if the user is not an RT User, as long as they >> pass the LDAP test, they get added, with their email address as >> their Id (NAME field). First question is: >> >> How do we get RT to drop the '@xxx.xxx' from the Id is uses for >> "NAME" on the USER Table. >> > > You can use RT::User::CanonicalizeUserInfo to munge the Name, assuming > you're > not using RT::Authen::ExternalAuth which already overrides this. > > >> Secondly, how do we get RT to add a 'CC' to the USER table as an >> "unprivileged" user if they do NOT pass the LDAP test? >> > > You don't say how you're doing LDAP auth so answering this is hard. > > If you're using RT::Authen::ExternalAuth you want to check your > setting of > AutoCreateNonExternalUsers > > -kevin > > _______________________________________________ > 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 david.hobley at mionegroup.com Wed May 13 18:53:15 2009 From: david.hobley at mionegroup.com (David Hobley) Date: Thu, 14 May 2009 08:53:15 +1000 (EST) Subject: [rt-users] RT-External-Auth debugging? In-Reply-To: <4A0971F3.5020907@jennic.com> Message-ID: <9291370.300971242255195244.JavaMail.root@mail.onegrp.com> ----- Original Message ----- From: "Mike Peachey" To: "David Hobley" Cc: "Ruslan Zakirov" , rt-users at lists.bestpractical.com Sent: Tuesday, May 12, 2009 10:56:19 PM GMT +10:00 Brisbane Subject: Re: [rt-users] RT-External-Auth debugging? Tue 12 May 2009 13:49:03 GMT David Hobley wrote: > > I have the following in my RT_SiteConfig.pm, so I thought I had it all > configured: > > # Set up any Plugins > Set(@Plugins, qw(Extension::QuickDelete)); > Set(@Plugins, qw(RT::Authen::ExternalAuth)); > Set(@Plugins, qw(RT::FM)); You are overriding the @Plugins array twice. Replace these three lines with: Set(@Plugins, qw(Extension::QuickDelete RT::Authen::ExternalAuth RT::FM)); That fixed it - thanks Mike (& Ruslan) appreciate your responses. Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From mhoover at thectogroup.com Wed May 13 20:58:20 2009 From: mhoover at thectogroup.com (Matt Hoover) Date: Wed, 13 May 2009 17:58:20 -0700 Subject: [rt-users] Query Builder search on Told In-Reply-To: <996ab0890904282322u336d54e0v86fbfa6bf63a77fd@mail.gmail.com> References: <996ab0890904242322l6798e930qd39b21cfac28ccde@mail.gmail.com> <0938ACD2-CFB2-47CE-B444-0D3F0860682D@netconsonance.com> <996ab0890904282322u336d54e0v86fbfa6bf63a77fd@mail.gmail.com> Message-ID: <996ab0890905131758v4422b73y81b1705c3d91f36e@mail.gmail.com> Let me hit this up again. Is there a way to do this via an overlay? I also saw a FromSQL file that looked promising... To refresh everyone - I need to be able to enter to query in advanced query something like: ( Status = 'open' OR Status = 'new' ) AND ( Owner = '__CurrentUser__' ) AND ( Starts < 'today' ) AND ( ( 'CF.{Type of work}' = 'Standard Work' ) OR ( 'CF.{Type of work}' = 'Engineering work required' ) ) AND Told IS NULL that last piece is not working for me.... "Told IS NULL" Help :) Thanks! Matt On Tue, Apr 28, 2009 at 11:22 PM, Matt Hoover wrote: > Joe- > Thanks for the recommendation :) I am pretty familiar with SQL. My > question surrounds the RT QUERY BUILDER INTERFACE. I am not able to get > these correct sql queries around "NULL" to work in the query builder. Try > what you think will work in query builder. I have not been able to make it > work. > > Trying something like: (except in query builder) > SELECT * FROM Tickets WHERE Told IS NULL AND STATUS != 'Resolved' .... > > Is there any way to pull this from the Query Builder interface? I would > like my users to be able to run this.... Thanks > > Matt > > > On Mon, Apr 27, 2009 at 9:17 AM, Jo Rhett wrote: > >> This is a very basic SQL question. You need to go get a good book on >> SQL. I recommend the pink book. (you'll understand when you see it) >> To answer your question: IS NULL not = NULL. But please don't take my >> answer and fail to purchase a good book on SQL. >> >> On Apr 24, 2009, at 11:22 PM, Matt Hoover wrote: >> >> In query builder - how do I search on dates that are NULL? I have tried >> Told = NULL and lots of other combinations... We are using RT 3.81 >> >> Thanks >> >> Matt >> _______________________________________________ >> 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 >> >> >> -- >> Jo Rhett >> Net Consonance : consonant endings by net philanthropy, open source and >> other randomness >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchome at jc-ix.net Thu May 14 03:53:57 2009 From: jchome at jc-ix.net (Frederic Jaeckel) Date: Thu, 14 May 2009 09:53:57 +0200 Subject: [rt-users] rt-3.8.1 is broken Message-ID: <20090514095357.0333c415@pc30b.int.bfk.de> Hi there, I just updated my NetBSD system from 4.0 to 5.0. During this my rt broke into pieces. I don't get whats wrong and the Stacktraces are indiscriptive. I reinstalled all perl modules inclusive all rt packages and nothing helps. The site loads, the login prompt is there, but no CSS is loaded. rt-mailgate also prints errors, but this could be a different problem. The error messages appearing in the logfile: ######################################################### [Thu May 14 07:48:40 2009] [debug]: RT's GnuPG libraries couldn't successfully read your configured GnuPG home directory (/var/spool/rt3/data/gpg). PGP support has been disabled (/usr/pkg/lib/rt3/RT/Config.pm:276) Trace begun at /usr/pkg/lib/rt3/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0x7f7ff37d5ac8)', 'RT\'s GnuPG libraries couldn\'t successfully read your configured GnuPG home directory (/var/spool/rt3/data/gpg). PGP support has been disabled') called at /usr/pkg/lib/rt3/RT/Config.pm line 276 RT::Config::__ANON__('RT::Config=HASH(0x7f7ff6c3bca8)', 'homedir', '/var/spool/rt3/data/gpg') called at /usr/pkg/lib/rt3/RT/Config.pm line 463 RT::Config::PostLoadCheck('RT::Config=HASH(0x7f7ff6c3bca8)') called at /usr/pkg/lib/rt3/RT.pm line 191 RT::Init at /usr/pkg/bin/webmux.pl line 144 RT::Mason::handler('Apache2::RequestRec=SCALAR(0x7f7ff2361a20)') called at -e line 0 eval {...} at -e line 0 [Thu May 14 07:48:40 2009] [crit]: no such exception class HTML::Mason::Exception::Abort at /usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Exceptions.pm line 113. Stack: [/usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Request.pm:628] [/usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Request.pm:642] [/usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Request.pm:506] (/usr/pkg/bin/webmux.pl:150) Trace begun at /usr/pkg/lib/rt3/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0x7f7ff37d5ac8)', '') called at /usr/pkg/bin/webmux.pl line 150 RT::Mason::handler('Apache2::RequestRec=SCALAR(0x7f7ff2361a20)') called at -e line 0 eval {...} at -e line 0 ######################################################### I would be pleased if someone could help me. best regards, Frederic Jaeckel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available URL: From jchome at jc-ix.net Thu May 14 04:19:07 2009 From: jchome at jc-ix.net (Frederic Jaeckel) Date: Thu, 14 May 2009 10:19:07 +0200 Subject: [rt-users] rt-3.8.1 is broken In-Reply-To: <20090514095357.0333c415@pc30b.int.bfk.de> References: <20090514095357.0333c415@pc30b.int.bfk.de> Message-ID: <20090514101907.16ae24be@pc30b.int.bfk.de> Sorry for disturbing, it's a bug in NetBSDs HTML::Mason. I'm going to fix that in NetBSD. Thanks for your thougts. regards, Frederic Jaeckel On Thu, 14 May 2009 09:53:57 +0200 Frederic Jaeckel wrote: > Hi there, > > I just updated my NetBSD system from 4.0 to 5.0. During this my rt > broke into pieces. > I don't get whats wrong and the Stacktraces are indiscriptive. > > I reinstalled all perl modules inclusive all rt packages and nothing > helps. The site loads, the login prompt is there, but no CSS is > loaded. rt-mailgate also prints errors, but this could be a different > problem. > > The error messages appearing in the logfile: > > ######################################################### > [Thu May 14 07:48:40 2009] [debug]: RT's GnuPG libraries couldn't > successfully read your configured GnuPG home directory > (/var/spool/rt3/data/gpg). PGP support has been disabled > (/usr/pkg/lib/rt3/RT/Config.pm:276) Trace begun > at /usr/pkg/lib/rt3/RT.pm line 289 > Log::Dispatch::__ANON__('Log::Dispatch=HASH(0x7f7ff37d5ac8)', 'RT\'s > GnuPG libraries couldn\'t successfully read your configured GnuPG > home directory (/var/spool/rt3/data/gpg). PGP support has been > disabled') called at /usr/pkg/lib/rt3/RT/Config.pm line 276 > RT::Config::__ANON__('RT::Config=HASH(0x7f7ff6c3bca8)', 'homedir', > '/var/spool/rt3/data/gpg') called at /usr/pkg/lib/rt3/RT/Config.pm > line 463 RT::Config::PostLoadCheck('RT::Config=HASH(0x7f7ff6c3bca8)') > called at /usr/pkg/lib/rt3/RT.pm line 191 RT::Init > at /usr/pkg/bin/webmux.pl line 144 > RT::Mason::handler('Apache2::RequestRec=SCALAR(0x7f7ff2361a20)') > called at -e line 0 eval {...} at -e line 0 [Thu May 14 07:48:40 > 2009] [crit]: no such exception class HTML::Mason::Exception::Abort > at /usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Exceptions.pm > line 113. > > Stack: > [/usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Request.pm:628] > [/usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Request.pm:642] > [/usr/pkg/lib/perl5/vendor_perl/5.10.0/HTML/Mason/Request.pm:506] > (/usr/pkg/bin/webmux.pl:150) Trace begun at /usr/pkg/lib/rt3/RT.pm > line 289 > Log::Dispatch::__ANON__('Log::Dispatch=HASH(0x7f7ff37d5ac8)', '') > called at /usr/pkg/bin/webmux.pl line 150 > RT::Mason::handler('Apache2::RequestRec=SCALAR(0x7f7ff2361a20)') > called at -e line 0 eval {...} at -e line 0 > ######################################################### > > I would be pleased if someone could help me. > > best regards, > Frederic Jaeckel From v.wawryk at science-computing.de Thu May 14 04:45:40 2009 From: v.wawryk at science-computing.de (Violetta J. Wawryk) Date: Thu, 14 May 2009 10:45:40 +0200 Subject: [rt-users] open tickets for certain domain-email-adresses In-Reply-To: <4A047E48.9070807@lbl.gov> References: <4A029E69.4090106@science-computing.de> <4A047E48.9070807@lbl.gov> Message-ID: <4A0BDA34.2070902@science-computing.de> Hi Ken, thanks for replying. I will try to describe it more clearly. The RT has different Queues, let's say Queue A and Queue B. We don't want the AdminCCs of queue A to know about the existents of queue B and vice versa. This is possible because we don't allow "Everybody" to "Open Tickets" in the certain Queues, just the group "AdminCCforQueueA" for queue A and group "AdminCCforQueueB" for queue B. Otherwise they could see the Ticket in RT on the top right corner where it says "New Ticket in" (hope you know what I mean). But there are still Requestors for queue B that are not AdminCCs, they will not login to the RT to look at their Tickets. Since they are more than 100 of them, and there EMail addresses end with the same domain name we hoped there would be the possibility of a wild card. So every Requestor that writes to that queue and has that domainname can open a Ticket. I hope this makes it more clear now. Thanks, Violetta Ken Crocker schrieb: > Violetta, > > I can help, but it's still not clear to me what you want. You say you > only want the Admins (I'm assuming here you mean the AdminCc Watcher for > the Queue) to "See the Queue" and then you mention something about the > users "can change it". Change what? If you only want AdminCcs to see the > queue, how do you expect a User to see a ticket and change it. I'm > confused. I can tell you how to set the privileges so that the USers can > create tickets via Email and NOT see the Queue, but I really do not > understand what you're looking for. Please give me a more concise > description of your Queue setup/usage and what you want and then I can > help. > > > Kenn > LBNL -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Michel Lepert Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 From ballmann at patronas.de Thu May 14 04:49:55 2009 From: ballmann at patronas.de (Bastian Ballmann) Date: Thu, 14 May 2009 10:49:55 +0200 Subject: [rt-users] Changing mail content in action module In-Reply-To: <589c94400905130427u4616ae71u480af3d9c538a730@mail.gmail.com> References: <4A099688.6060000@patronas.de> <589c94400905130427u4616ae71u480af3d9c538a730@mail.gmail.com> Message-ID: <4A0BDB33.8050703@patronas.de> Hi! Ruslan Zakirov schrieb: > On Tue, May 12, 2009 at 7:32 PM, Bastian Ballmann wrote: > > If you create a new ticket I dont create a new ticket or transaction. I want to modify an existing ticket before template is applied and change it's content. Greets & a sunny day :) Basti -- Bastian Ballmann PATRONAS Financial Systems GmbH Schnewlinstr 4 79098 Freiburg fon +49 (0)761 400688-19 fax +49 (0)761 400688-50 ballmann at patronas.de http://www.patronas.de Amtsgericht Freiburg, HRB 7212 Gesch?ftsf?hrung: Heribert Steuer, Carsten Osswald This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From roydepp at gmail.com Thu May 14 05:50:34 2009 From: roydepp at gmail.com (Roy Depp) Date: Thu, 14 May 2009 12:50:34 +0300 Subject: [rt-users] Create a reminder for a group/all privilege users - is it possible? Message-ID: Hi, I was wondering if there is a way to create a reminder for a group. Currently the drop down list of a reminder owner is single-select. Is there a way to change it to multi-select? Or add groups into the list? Maybe some way to create a reminder to all privilege users? This will be really useful when all staff need to be notified about an emergency situation and all attention must be focused on a single ticket (i.e. accidents, terrorist attack, etc'). Thanks, Roy. From jchome at jc-ix.net Thu May 14 08:02:29 2009 From: jchome at jc-ix.net (Frederic Jaeckel) Date: Thu, 14 May 2009 14:02:29 +0200 Subject: [rt-users] rt-3.8.1 is broken In-Reply-To: <20090514095357.0333c415@pc30b.int.bfk.de> References: <20090514095357.0333c415@pc30b.int.bfk.de> Message-ID: <20090514140229.4cba274b@pc30b.int.bfk.de> Does anyone has any hint? ;) ######################################################### May 14 14:01:08 jeveran RT: DBD::Pg::st execute failed: could not receive data from server: No such file or directory at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/Postgres.pm line 78. (/usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/Postgres.pm:78) May 14 14:01:08 jeveran RT: DBD::Pg::st execute failed: could not receive data from server: No such file or directory at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 44. (/usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:44) May 14 14:01:08 jeveran RT: DBD::Pg::st execute failed: could not receive data from server: No such file or directory at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 44. (/usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:44) ######################################################### best regards, Frederic Jaeckel -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: not available URL: From odhiambo at gmail.com Thu May 14 08:17:51 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Thu, 14 May 2009 15:17:51 +0300 Subject: [rt-users] rt-3.8.1 is broken In-Reply-To: <20090514140229.4cba274b@pc30b.int.bfk.de> References: <20090514095357.0333c415@pc30b.int.bfk.de> <20090514140229.4cba274b@pc30b.int.bfk.de> Message-ID: <991123400905140517k12d19944lff9940daab2015a7@mail.gmail.com> On Thu, May 14, 2009 at 3:02 PM, Frederic Jaeckel wrote: > Does anyone has any hint? ;) > > ######################################################### > May 14 14:01:08 jeveran RT: DBD::Pg::st execute failed: could not receive > data from server: No such file or directory at > /usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/Postgres.pm line > 78. > (/usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/Postgres.pm:78) > May 14 14:01:08 jeveran RT: DBD::Pg::st execute failed: could not receive > data from server: No such file or directory at > /usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm line 44. > (/usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:44) > May 14 14:01:08 jeveran RT: DBD::Pg::st execute failed: could not > receive data from server: No such file or directory > at /usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm > line 44. > (/usr/pkg/lib/perl5/vendor_perl/5.10.0/Apache/Session/Store/DBI.pm:44) > ######################################################### > If you perhaps upgraded perl, then you may get over this by reinstalling the perl modules for RT. make install-deps (or something. I can't remember the actual command) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Thu May 14 09:53:40 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 14 May 2009 09:53:40 -0400 Subject: [rt-users] RT Question on adding users In-Reply-To: <4A0B391D.5000106@lbl.gov> References: <4A0AF9C6.80604@lbl.gov> <49DECA0D-CB86-4BB7-949F-75270CCF576B@bestpractical.com> <4A0B391D.5000106@lbl.gov> Message-ID: <68926EEF-13CF-45B0-99A0-87666E920E60@bestpractical.com> I read the rt-users mailing list, its ok to send mail to just the list, rather than CCing me On May 13, 2009, at 5:18 PM, Ken Crocker wrote: > > Thank you so much for answering. I looked through our > RT_Config.pm file and did not see any reference to either > "RT::User::CanonicalizeUserInfo" This is a method on the RT::User where you can customize what RT does on user creation, you'll need to override and tweak it. It should already be overridden in User_Vendor.pm by the LDAP overlay you're using and you could add changes there. > or "RT::Authen::ExternalAuth". Where do I find them and how do I set > them? This is a perl module that implements LDAP auth, since you didn't tell us your RT version or how you were doing LDAP I had to do some guessing It appears you're using the older overlay method (probably with 3.6) > > Our current applicable LDAP settings (in RT_SiteConfig.pm) are > as follows: > ? Set($AuthMethods, ['LDAP', 'Internal']); > ? Set($LdapExternalAuth, 1); > ? Set($LdapExternalInfo, 1); This variable change name slightly between the Overlay and the formal extension > ? Set($LdapAutoCreateNonLdapUsers, 0); Try changing it to 1, it should let you create users that aren't in LDAP -kevin > ? > Set($LdapAttrMap, {'Name' => 'uid', > > 'EmailAddress' => 'mail', > > 'Organization' => 'o', > > 'RealName' => 'cn', > > 'ExternalContactInfoId' => 'dn', > > 'ExternalAuthId' => 'lblempnum', > > 'Gecos' => 'uid', > > 'WorkPhone' => 'telephonenumber', > > 'Address1' => 'lblmailstop', > > 'Address2' => 'postaladdress'} > > ); > ? Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', > 'EmailAddress', 'RealName', 'ExternalAuthId', 'WorkPhone', > 'Address2']); > ? Set($LdapEmailAttrMatchList, ['uid']); > ? Set($LdapEmailAttrMatchPrefix, [''] ); > ? Set($LdapTLS, 1); > ? Set($LdapSSLVersion, 3); > Do I have all the LDAP settings I need? Do I need to add one? > Change one? > > THANK you! > > Kenn > LBNL > > On 5/13/2009 1:12 PM, Kevin Falcone wrote: >> >> On May 13, 2009, at 12:48 PM, Ken Crocker wrote: >> >> >>> To any and all, >>> >>> >>> I've asked this question before, but perhaps I didn't word it so >>> it made any sense. When we add a 'CC' on any correspondance thru a >>> ticket, we find that if the user is not an RT User, as long as they >>> pass the LDAP test, they get added, with their email address as >>> their Id (NAME field). First question is: >>> >>> How do we get RT to drop the '@xxx.xxx' from the Id is uses for >>> "NAME" on the USER Table. >>> >> You can use RT::User::CanonicalizeUserInfo to munge the Name, >> assuming >> you're >> not using RT::Authen::ExternalAuth which already overrides this. >> >> >>> Secondly, how do we get RT to add a 'CC' to the USER table as an >>> "unprivileged" user if they do NOT pass the LDAP test? >>> >> You don't say how you're doing LDAP auth so answering this is hard. >> >> If you're using RT::Authen::ExternalAuth you want to check your >> setting of >> AutoCreateNonExternalUsers >> >> -kevin >> >> _______________________________________________ >> 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 rob.munsch at gmail.com Thu May 14 09:55:30 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Thu, 14 May 2009 09:55:30 -0400 Subject: [rt-users] Strange Mason error Message-ID: <8fae230c0905140655o3bb213d2qf455e4b2c6fe2508@mail.gmail.com> Hello list, My RT project was stalled for a bit. I went to look how it's been doing... and it isn't. I haven't touched it in a while, so i'm not sure what to trace this back to. I fixed it, but i'd like to know what happened. I'm seeing this in the logs: --- May 14 09:39:29 data postfix/local[4855]: 0C17C4560A4: to=< rt at rt.phillycarshare.org>, relay=local, delay=0.12, delays=0.02/0/0/0.1, dsn=4.3.0, status=deferred (temporary failure. Command output: RT server error. The RT server which handled your email did not behave as expected. It said: mkdir /opt/rt3/var/mason_data/obj/2098779359: Permission denied at /usr/local/share/perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line 107 ) --- ToObject.pm has this code block where line 107 appears, as marked: if (defined $file && !-f $file) { my ($dirname) = dirname($file); if (!-d $dirname) { unlink($dirname) if (-e _); LINE 107 -> push @newfiles, mkpath($dirname, 0, 0775); system_error "Couldn't create directory $dirname: $!" unless -d $dirname; } rmtree($file) if (-d $file); } So, ok, it's lost directory permissions somehow. While i wasn't paying attention to it. How?? How can i figure out what it's trying to write to? Also, i noticed that the "couldn't create!" error is NOT appearing in the logs. > mkdir /opt/rt3/var/mason_data/obj/2098779359: Permission denied in mason_data/ cache and etc are both owned by www-data, but obj is owned by root and in the root group. I'm assuming it must also be accessible by the webserver, but how could this have changed? chowning obj/ back to www-data solved the issue, but i'd like to avoid whatever caused it. Thanks, Rob -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From echatham at broadvox.net Thu May 14 11:35:59 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 14 May 2009 11:35:59 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4A0B1946.3000609@billmail.scconsult.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Bill Cole Sent: Wednesday, May 13, 2009 15:03 To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Installing and Using ExternalAuth > See the "Versions" note on that page. In another post, you say you are > installing RT 3.6.6, but below it looks like you are trying to install > RT::Authen::ExternalAuth 0.08. That won't work. I'm not sure that it is the > source of your current issue, but you should get compatible versions before > proceeding. Thank you for identifying that for me. Yes, I did install RT 3.6.1. I found the tarball for v0.05 at http://www.cpan.org/authors/id/Z/ZO/ZORDRAK/ > Obviously the second one is not the right RT.pm It, but the others are also > in very odd places for RT.pm. Typically RT's perl modules are NOT installed > under the general-use perl directory tree, but in a distinct directory such > as /opt/rt3/. The specific layout is defined as part of the build/install > process, and results in the various paths being defined in the RT.pm that > gets installed. If you start moving parts of RT around after installation, > you will break it. After extracting the file and following the instructions to complete the installation, there were no errors. I also found the documentation for setting the ExternalAuth variables in RT_SiteConfig.PM as well. Examples: [root at clehbrtsrv01 RT-Auth]# ls RT-Authen-ExternalAuth-0.05 RT-Authen-ExternalAuth-0.05.tar.gz [root at clehbrtsrv01 RT-Auth]# cd RT-Authen-ExternalAuth-0.05 [root at clehbrtsrv01 RT-Authen-ExternalAuth-0.05]# ls ChangeLog etc html inc lib LICENSE Makefile.PL MANIFEST META.yml README [root at clehbrtsrv01 RT-Authen-ExternalAuth-0.05]# Makefile.PL -bash: Makefile.PL: command not found [root at clehbrtsrv01 RT-Authen-ExternalAuth-0.05]# perl Makefile.PL Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm Cannot determine author info from lib/RT/Authen/ExternalAuth.pm Cannot determine license info from lib/RT/Authen/ExternalAuth.pm Using RT configuration from /usr/lib/perl5/vendor_perl/5.8.8/RT.pm: ./etc => /usr/local/rt3/etc/Authen-ExternalAuth ./html => /usr/share/rt3/html ./lib => /usr/local/rt3/lib Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm Checking if your kit is complete... Looks good Writing Makefile for RT::Authen::ExternalAuth [root at clehbrtsrv01 RT-Authen-ExternalAuth-0.05]# make cp lib/RT/Authen/ExternalAuth.pm blib/lib/RT/Authen/ExternalAuth.pm cp lib/RT/User_Vendor.pm blib/lib/RT/User_Vendor.pm Manifying blib/man3/RT::Authen::ExternalAuth.3pm [root at clehbrtsrv01 RT-Authen-ExternalAuth-0.05]# make install Installing /usr/local/rt3/lib/RT/User_Vendor.pm Installing /usr/local/rt3/lib/RT/Authen/ExternalAuth.pm Installing /usr/local/rt3/man/man3/RT::Authen::ExternalAuth.3pm Writing /usr/local/rt3/man/auto/RT/Authen/ExternalAuth/.packlist Appending installation info to /usr/local/rt3/lib/perllocal.pod Installing /usr/local/rt3/etc/Authen-ExternalAuth/RT_SiteConfig.pm Installing /usr/share/rt3/html/Callbacks/ExternalAuth/autohandler/Auth [root at clehbrtsrv01 RT-Authen-ExternalAuth-0.05]# > 3 possibilities: > > 1. This is because of the version mismatch. > 2. That RT.pm is not the RT.pm you are looking for, i.e. it is not the > top-level module for Request Tracker. > 3. That RT.pm is not readable by the install process. (one might achieve > such an oddity with something like SELinux) Speaking of SELinux, the instructions I followed say to "disable" this. Does it matter if I chose the "permissive" level? Also, I saw a question asked earlier on the mailing list. Is there a way to integrate both LDAP and non-LDAP? > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Ken Crocker > Sent: Monday, May 11, 2009 18:58 > To: rt Users > Subject: [rt-users] Add User question > > To any and all, > > > I want to set my RT Configuration to allow non-LDAP Users and LDAP > Users alike to be added as "Unprivileged" users when they are CC's on a > ticket during correspondance. Can anyone help me with this? Thanks. > > Kenn > LBNL > -------------------------- Thank you once again. :) _______________________________________________ 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 CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From kfcrocker at lbl.gov Thu May 14 11:44:47 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 14 May 2009 08:44:47 -0700 Subject: [rt-users] open tickets for certain domain-email-adresses In-Reply-To: <4A0BDA34.2070902@science-computing.de> References: <4A029E69.4090106@science-computing.de> <4A047E48.9070807@lbl.gov> <4A0BDA34.2070902@science-computing.de> Message-ID: <4A0C3C6F.80604@lbl.gov> Violetta, Makes good sense to me. Question, if those requestors are NOT going to login to RT, how are they going to "open" a ticket? If you have "CommandByMail" set up, they could do it via Email. If not, why not have the "Owners" of the tickets open them? I guess where I am confused is the activity you are expecting from the requestors and owners. What we do is: Globally grant: * Requestors; o "ReplyToTicket" (so they can communicate via email to the owner) o "SeeQueue" (so they can see what tickets are in a queue) o "ShowTicket" (so they can SEE THEIR Ticket in the queue) * Owners; o "ModifyTicket" (all owners can automatically modify a ticket they own. Keeps redundancy of this right at the queue level down) By Queue grant: * Support team/group (those that work on the ticket); o "CommentOnTicket" (anyone in the group might have an idea that helps) o "CreateTicket" (anyone in the group may need to create a sub-task/child ticket) o "OwnTicket" (anyone in the group can take/steal/own a ticket) o "ReplyToTicket" (anyone in the group can communicate via email on a ticket) o "SeeQueue" (intuitively obvious) o "ShowOutgoingEmail" (anyone in the group can see the communication going on in a ticket) o "ShowTicket" (anyone in the group can look at a ticket in the queue) o "ShowTicketComments" (same as above, only about comments) o "StealTicket" (goes with ownership) o "TakeTicket" (same thing as above) o "Watch" (intuitively obvious) * User group (all those damn requestors) o "CreateTicket" (anyone in the group can create a ticket) o "ReplyToTicket" (anyone in the group can communicate via email on a ticket) o "SeeQueue" (intuitively obvious. They have to see it to create a ticket via Web) o "ShowOutgoingEmail" (anyone in the group can see the communication going on in a ticket. This could be given JUST to the Requestor of the queue, if you do not want other requestors seeing email in other tickets in the queue) o "ShowTicket" (anyone in the group can look at a ticket in the queue or jsut the requestors in the queue. see above) o "ShowTicketComments" (same as above, only about comments. Could keep this at the requestor level as well) o "Watch" (intuitively obvious) That's what we do, but our granularity of control may be different than yours, especially if your requestors are NOT signing into RT. I hope this helps. Kenn LBNL On 5/14/2009 1:45 AM, Violetta J. Wawryk wrote: > Hi Ken, > > thanks for replying. > > I will try to describe it more clearly. > > The RT has different Queues, let's say Queue A and Queue B. > > We don't want the AdminCCs of queue A to know about the existents of > queue B and vice versa. This is possible because we don't allow > "Everybody" to "Open Tickets" in the certain Queues, just the group > "AdminCCforQueueA" for queue A and group "AdminCCforQueueB" for queue B. > Otherwise they could see the Ticket in RT on the top right corner > where it says "New Ticket in" (hope you know what I mean). > > But there are still Requestors for queue B that are not AdminCCs, they > will not login to the RT to look at their Tickets. Since they are more > than 100 of them, and there EMail addresses end with the same domain > name we hoped there would be the possibility of a wild card. So every > Requestor that writes to that queue and has that domainname can open a > Ticket. > > I hope this makes it more clear now. > > Thanks, > Violetta > > > Ken Crocker schrieb: >> Violetta, >> >> I can help, but it's still not clear to me what you want. You say >> you only want the Admins (I'm assuming here you mean the AdminCc >> Watcher for the Queue) to "See the Queue" and then you mention >> something about the users "can change it". Change what? If you only >> want AdminCcs to see the queue, how do you expect a User to see a >> ticket and change it. I'm confused. I can tell you how to set the >> privileges so that the USers can create tickets via Email and NOT see >> the Queue, but I really do not understand what you're looking for. >> Please give me a more concise description of your Queue setup/usage >> and what you want and then I can help. >> >> >> Kenn >> LBNL -------------- next part -------------- An HTML attachment was scrubbed... URL: From rtusers-20090205 at billmail.scconsult.com Thu May 14 12:17:45 2009 From: rtusers-20090205 at billmail.scconsult.com (Bill Cole) Date: Thu, 14 May 2009 12:17:45 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> Message-ID: <4A0C4429.8060700@billmail.scconsult.com> Eric Chatham wrote, On 5/14/09 11:35 AM: > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Bill Cole > Sent: Wednesday, May 13, 2009 15:03 > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Installing and Using ExternalAuth > [...] > >> 3 possibilities: >> >> 1. This is because of the version mismatch. >> 2. That RT.pm is not the RT.pm you are looking for, i.e. it is not the >> top-level module for Request Tracker. >> 3. That RT.pm is not readable by the install process. (one might achieve >> such an oddity with something like SELinux) > > Speaking of SELinux, the instructions I followed say to "disable" this. > Does it matter if I chose the "permissive" level? Dunno. I don't handle a lot of Linux machines, and none of them use SELinux at all. My RT lives in a FreeBSD jail. > Also, I saw a question > asked earlier on the mailing list. Is there a way to integrate both LDAP and > non-LDAP? With V0.08, the sample config file says: # 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); I don't know if that works... From falcone at bestpractical.com Thu May 14 12:35:17 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 14 May 2009 12:35:17 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4A0C4429.8060700@billmail.scconsult.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <4A0C4429.8060700@billmail.scconsult.com> Message-ID: <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> On May 14, 2009, at 12:17 PM, Bill Cole wrote: >> Also, I saw a question >> asked earlier on the mailing list. Is there a way to integrate both >> LDAP and >> non-LDAP? > > With V0.08, the sample config file says: > > # 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); By default, RT-Authen-ExternalAuth will look for a user/password in LDAP and then fall back to RT's internal auth. Toggling this setting will allow you to create users that don't have a mapping in LDAP -kevin From jpierce at cambridgeenergyalliance.org Thu May 14 12:31:09 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Thu, 14 May 2009 12:31:09 -0400 Subject: [rt-users] How to modify the ticket # format? In-Reply-To: <4A089B14.3060206@bitstatement.net> References: <589c94400905111248t204d58cfn247fa0bed34dabb3@mail.gmail.com> <4A0882DD.8050503@bitstatement.net> <4A088733.3040808@lbl.gov> <4A089B14.3060206@bitstatement.net> Message-ID: Don't modify the ticket number, but instead the RT tag? [Yoyodyne 2009-05-14 #1337] -- Cambridge Energy Alliance: Save money. Save the planet. From rtusers-20090205 at billmail.scconsult.com Thu May 14 12:42:45 2009 From: rtusers-20090205 at billmail.scconsult.com (Bill Cole) Date: Thu, 14 May 2009 12:42:45 -0400 Subject: [rt-users] RT Question on adding users In-Reply-To: <4A0B391D.5000106@lbl.gov> References: <4A0AF9C6.80604@lbl.gov> <49DECA0D-CB86-4BB7-949F-75270CCF576B@bestpractical.com> <4A0B391D.5000106@lbl.gov> Message-ID: <4A0C4A05.6020102@billmail.scconsult.com> Ken Crocker wrote, On 5/13/09 5:18 PM: > Kevin, > > > Thank you so much for answering. I looked through our RT_Config.pm file > and did not see any reference to either "RT::User::CanonicalizeUserInfo" > or "RT::Authen::ExternalAuth". Where do I find them and how do I set them? CanonicalizeUserInfo is a method in the RT::User, which is a part of the base package. I think Kevin was saying that you could write an "overlay" replacement for it. You probably already have an overlay in place, as it appears that you are using something related to the old LDAP overlay described at http://wiki.bestpractical.com/view/LdapUserLocalOverlay and http://wiki.bestpractical.com/view/LdapSiteConfigSettings. RT::Authen::ExternalAuth is an extension that can be used instead of that overlay approach, and it is nicely documented at http://wiki.bestpractical.com/view/ExternalAuth. > Our current applicable LDAP settings (in RT_SiteConfig.pm) are as follows: > > * *Set($AuthMethods, ['LDAP', 'Internal']);* > * *Set($LdapExternalAuth, 1);* > * *Set($LdapExternalInfo, 1);* > * *Set($LdapAutoCreateNonLdapUsers, 0);* That looks promising. I'd bet that if you set that to '1' instead, you'll get new internal users if they are not found in LDAP. From echatham at broadvox.net Thu May 14 12:47:25 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 14 May 2009 12:47:25 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <4A0C4429.8060700@billmail.scconsult.com> <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDB2EB@CLEHBEXMS01.broadvox.local> On Thursday, May 14, 2009 12:35, Kevin wrote: >>> Also, I saw a question >>> asked earlier on the mailing list. Is there a way to integrate both >>> LDAP and >>> non-LDAP? >> >> With V0.08, the sample config file says: >> >> # 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); > > By default, RT-Authen-ExternalAuth will look for a user/password > in LDAP and then fall back to RT's internal auth. > Toggling this setting will allow you to create users that don't > have a mapping in LDAP > > -kevin Thanks Kevin and Bill. I will use this setting. :) _______________________________________________ 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 CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From cwfox at us.fujitsu.com Thu May 14 14:18:22 2009 From: cwfox at us.fujitsu.com (Camron W. Fox) Date: Thu, 14 May 2009 08:18:22 -1000 Subject: [rt-users] Template fields in regular correspondence. Message-ID: <4A0C606E.6020405@us.fujitsu.com> Alle, Is it possible to use the autoreply template by hand? In that, I mean that the users did not expect to get as much SPAM as they are getting through spamassassin that is not getting tagged. SPAM that is tagged is being handled by a filter before it even gets to RT. They don't was autoreplies being sent to the sender addresses of the stuff that gets through, so they want to be able to manually use the autoreply template when they decide the ticket is valid. The environment is RT3.6.6, RHEL5.3, perl v5.8.8, Apache 2.2.3. Best Regards, Camron -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cwfox at us.fujitsu.com From echatham at broadvox.net Thu May 14 16:55:45 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 14 May 2009 16:55:45 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <4A0C4429.8060700@billmail.scconsult.com> <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDB44A@CLEHBEXMS01.broadvox.local> On Thursday, May 14, 2009 12:35, Kevin wrote: >> With V0.08, the sample config file says: >> >> # 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); > > By default, RT-Authen-ExternalAuth will look for a user/password > in LDAP and then fall back to RT's internal auth. > Toggling this setting will allow you to create users that don't > have a mapping in LDAP > Hi, Kevin After I installed the ExternalAuth v0.05, I began modifying my RT_SiteConfig.PM to reflect the LDAP setup. When I try to log onto through the Web Interface, I receive an error. When I try logging in with the default "root" login, I get the same error, but when I click "back" I'm logged in (as root). This only happens for the default "root" user for RT, otherwise no LDAP users can log in. Here is the Error from the Web Interface: error: Can't use an undefined value as an ARRAY reference at /usr/local/rt3/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: /usr/local/rt3/lib/RT/User_Vendor.pm:56 /usr/local/rt3/lib/RT/User_Vendor.pm:359 /usr/share/rt3/html/Callbacks/ExternalAuth/autohandler/Auth:35 /usr/share/rt3/html/Elements/Callback:85 /usr/share/rt3/html/autohandler:240 ------------------------------------------- I should stress, I'm not modifying the RT_Config.pm settings in /etc/rt3. I'm having a problem seeing the $rtname display our company domain. It still shows example.com. Here are my /etc/rt3/RT_SiteConfig.pm settings: Set($WebPath, "/rt3"); Set($rtname, "broadvox.local"); Set($Orginization, 'broadvox.local'); Set($CorrespondAddress, 'echatham at broadvox.net'); Set($CommentAddress, 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); Set($DatabaseType, 'mysql'); Set($WebBaseURL, 'http://rt.broadvox.local/'); Set(@Plugins, qw(RT::Authen::ExternalAuth)); # LDAP Set($AuthMethods, ['LDAP', 'Internal']); Set($LdapExternalAuth, 0); Set($LdapExternalInfo, 0); Set($LdapAutoCreateNonLdapUsers, 1); Set($LdapAttrMap, {'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Orginization' => 'o', 'RealName' => 'cn', 'ExternalContactInfoId' => 'dn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos', => 'sAMAccountName', 'WorkPhone', => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co'}); Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2']); Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', 'mailAlternateAddress']); Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); Set($LdapServer, 'clehbdc01.broadvox.local'); Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); Set($LdapFilter, '(objectClass=user)'); 1; ---------------------------------- Thank you for your assistance. :) -Eric CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From falcone at bestpractical.com Thu May 14 17:02:31 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Thu, 14 May 2009 17:02:31 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDB44A@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <4A0C4429.8060700@billmail.scconsult.com> <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> <4ABA3E162F60624A949503A7F960245EB112CDB44A@CLEHBEXMS01.broadvox.local> Message-ID: <7B1D01A5-7469-4FAA-9DEB-7A33FDC2C8D8@bestpractical.com> On May 14, 2009, at 4:55 PM, Eric Chatham wrote: > On Thursday, May 14, 2009 12:35, Kevin wrote: > >>> With V0.08, the sample config file says: >>> >>> # 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); >> >> By default, RT-Authen-ExternalAuth will look for a user/password >> in LDAP and then fall back to RT's internal auth. >> Toggling this setting will allow you to create users that don't >> have a mapping in LDAP >> > > After I installed the ExternalAuth v0.05, I began modifying my > RT_SiteConfig.PM to reflect the LDAP setup. When I try to log onto > through the Web Interface, I receive an error. When I try logging > in with the default "root" login, I get the same error, but when I > click "back" I'm logged in (as root). This only happens for the > default "root" user for RT, otherwise no LDAP users can log in. > Here is the Error from the Web Interface: You didn't define the ExternalAuthPriority array to tell the externalauth what to do. RT's internal auth is kicking in and recognizing the root user/pass -kevin > > > error: Can't use an undefined value as an ARRAY reference at /usr/ > local/rt3/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: /usr/local/rt3/lib/RT/User_Vendor.pm:56 > /usr/local/rt3/lib/RT/User_Vendor.pm:359 > /usr/share/rt3/html/Callbacks/ExternalAuth/autohandler/Auth:35 > /usr/share/rt3/html/Elements/Callback:85 > /usr/share/rt3/html/autohandler:240 > > ------------------------------------------- > > I should stress, I'm not modifying the RT_Config.pm settings in /etc/ > rt3. I'm having a problem seeing the $rtname display our company > domain. It still shows example.com. > > Here are my /etc/rt3/RT_SiteConfig.pm settings: > > Set($WebPath, "/rt3"); > Set($rtname, "broadvox.local"); > Set($Orginization, 'broadvox.local'); > Set($CorrespondAddress, 'echatham at broadvox.net'); > Set($CommentAddress, 'echatham at infotelecom.us'); > Set($Timezone, 'US/Eastern'); > Set($DatabaseType, 'mysql'); > Set($WebBaseURL, 'http://rt.broadvox.local/'); > Set(@Plugins, qw(RT::Authen::ExternalAuth)); > > # LDAP > Set($AuthMethods, ['LDAP', 'Internal']); > Set($LdapExternalAuth, 0); > Set($LdapExternalInfo, 0); > Set($LdapAutoCreateNonLdapUsers, 1); > Set($LdapAttrMap, {'Name' => 'sAMAccountName', > 'EmailAddress' => 'mail', > 'Orginization' => 'o', > 'RealName' => 'cn', > 'ExternalContactInfoId' => 'dn', > 'ExternalAuthId' => 'sAMAccountName', > 'Gecos', => 'sAMAccountName', > 'WorkPhone', => 'telephoneNumber', > 'Address1' => 'streetAddress', > 'City' => 'l', > 'State' => 'st', > 'Zip' => 'postalCode', > 'Country' => 'co'}); > Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', > 'EmailAddress', 'RealName', > 'WorkPhone', 'Address2']); > Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', > 'mailAlternateAddress']); > Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); > Set($LdapServer, 'clehbdc01.broadvox.local'); > Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); > Set($LdapFilter, '(objectClass=user)'); > 1; > > ---------------------------------- > > Thank you for your assistance. :) > > > -Eric > > CONFIDENTIAL. This e-mail and any attached files are confidential > and should be destroyed and/or returned if you are not the intended > and proper recipient. > From echatham at broadvox.net Thu May 14 17:21:45 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 14 May 2009 17:21:45 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <7B1D01A5-7469-4FAA-9DEB-7A33FDC2C8D8@bestpractical.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <4A0C4429.8060700@billmail.scconsult.com> <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> <4ABA3E162F60624A949503A7F960245EB112CDB44A@CLEHBEXMS01.broadvox.local> <7B1D01A5-7469-4FAA-9DEB-7A33FDC2C8D8@bestpractical.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDB47D@CLEHBEXMS01.broadvox.local> On Thursday, May 14, 2009 17:03, Kevin wrote: >> After I installed the ExternalAuth v0.05, I began modifying my >> RT_SiteConfig.PM to reflect the LDAP setup. When I try to log onto >> through the Web Interface, I receive an error. When I try logging >> in with the default "root" login, I get the same error, but when I >> click "back" I'm logged in (as root). This only happens for the >> default "root" user for RT, otherwise no LDAP users can log in. >> Here is the Error from the Web Interface: > > You didn't define the ExternalAuthPriority array to tell the > externalauth > what to do. > > RT's internal auth is kicking in and recognizing the root user/pass Hello, Kevin. Thank you for the reply. Where do I define the array at and how do I define it? -Eric > > > error: Can't use an undefined value as an ARRAY reference at /usr/ > local/rt3/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: /usr/local/rt3/lib/RT/User_Vendor.pm:56 > /usr/local/rt3/lib/RT/User_Vendor.pm:359 > /usr/share/rt3/html/Callbacks/ExternalAuth/autohandler/Auth:35 > /usr/share/rt3/html/Elements/Callback:85 > /usr/share/rt3/html/autohandler:240 > > ------------------------------------------- > > I should stress, I'm not modifying the RT_Config.pm settings in /etc/ > rt3. I'm having a problem seeing the $rtname display our company > domain. It still shows example.com. > > Here are my /etc/rt3/RT_SiteConfig.pm settings: > > Set($WebPath, "/rt3"); > Set($rtname, "broadvox.local"); > Set($Orginization, 'broadvox.local'); > Set($CorrespondAddress, 'echatham at broadvox.net'); Set($CommentAddress, > 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); > Set($DatabaseType, 'mysql'); Set($WebBaseURL, > 'http://rt.broadvox.local/'); Set(@Plugins, > qw(RT::Authen::ExternalAuth)); > > # LDAP > Set($AuthMethods, ['LDAP', 'Internal']); Set($LdapExternalAuth, 0); > Set($LdapExternalInfo, 0); Set($LdapAutoCreateNonLdapUsers, 1); > Set($LdapAttrMap, {'Name' => 'sAMAccountName', > 'EmailAddress' => 'mail', > 'Orginization' => 'o', > 'RealName' => 'cn', > 'ExternalContactInfoId' => 'dn', > 'ExternalAuthId' => 'sAMAccountName', > 'Gecos', => 'sAMAccountName', > 'WorkPhone', => 'telephoneNumber', > 'Address1' => 'streetAddress', > 'City' => 'l', > 'State' => 'st', > 'Zip' => 'postalCode', > 'Country' => 'co'}); > Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', > 'EmailAddress', 'RealName', > 'WorkPhone', 'Address2']); > Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', > 'mailAlternateAddress']); > Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); > Set($LdapServer, 'clehbdc01.broadvox.local'); Set($LdapBase, > 'OU=USA,DC=broadvox,DC=local'); Set($LdapFilter, > '(objectClass=user)'); 1; > > ---------------------------------- > > Thank you for your assistance. :) > > > -Eric CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From ruslan.zakirov at gmail.com Thu May 14 18:29:34 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 15 May 2009 02:29:34 +0400 Subject: [rt-users] Strange Mason error In-Reply-To: <8fae230c0905140655o3bb213d2qf455e4b2c6fe2508@mail.gmail.com> References: <8fae230c0905140655o3bb213d2qf455e4b2c6fe2508@mail.gmail.com> Message-ID: <589c94400905141529i641504f0p85b40e7cbac1a422@mail.gmail.com> Do you run rt-email-* scripts by cron as root? It may cause this. We fixed this in the repo will be part of RT 3.8.3. You can run those scripts as www user I think. On Thu, May 14, 2009 at 5:55 PM, Rob Munsch wrote: > Hello list, > > My RT project was stalled for a bit.? I went to look how it's been doing... > and it isn't.? I haven't touched it in a while, so i'm not sure what to > trace this back to.? I fixed it, but i'd like to know what happened. > > I'm seeing this in the logs: > --- > May 14 09:39:29 data postfix/local[4855]: 0C17C4560A4: > to=, relay=local, delay=0.12, delays=0.02/0/0/0.1, > dsn=4.3.0, status=deferred (temporary failure. Command output: RT server > error.? The RT server which handled your email did not behave as expected. > It said:? mkdir /opt/rt3/var/mason_data/obj/2098779359: Permission denied at > /usr/local/share/perl/5.8.8/HTML/Mason/Compiler/ToObject.pm line 107? ) > --- > > ToObject.pm has this code block where line 107 appears, as marked: > > ??? if (defined $file && !-f $file) { > ??????? my ($dirname) = dirname($file); > ??????? if (!-d $dirname) { > ??????????? unlink($dirname) if (-e _); > LINE 107 ->????? push @newfiles, mkpath($dirname, 0, 0775); > ??????????? system_error "Couldn't create directory $dirname: $!" > ??????????????? unless -d $dirname; > ??????? } > ??????? rmtree($file) if (-d $file); > ??? } > > So, ok, it's lost directory permissions somehow.? While i wasn't paying > attention to it.? How?? > How can i figure out what it's trying to write to?? Also, i noticed that the > "couldn't create!" error is NOT appearing in the logs. > > ?> mkdir /opt/rt3/var/mason_data/obj/2098779359: Permission denied > > in mason_data/ cache and etc are both owned by www-data, but obj is owned by > root and in the root group.? I'm assuming it must also be accessible by the > webserver, but how could this have changed?? chowning obj/ back to www-data > solved the issue, but i'd like to avoid whatever caused it. > > Thanks, > Rob > > -- > /chown -R us:us /yourbase > > > _______________________________________________ > 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 jarends at illinois.edu Thu May 14 18:32:10 2009 From: jarends at illinois.edu (John Arends) Date: Thu, 14 May 2009 17:32:10 -0500 Subject: [rt-users] Weird error Message-ID: I've never seen this before, upon logging into RT the error I am pasting below. It only occurs when I change a user's username to prv.username/ad. It's kind of a strange way of naming an account, but it allows me to use a custom authentication tool. Never had a problem with this until now. Any ideas? System error error: Can't call method "Attributes" on an undefined value at /usr/ share/rt3/html/Elements/ShowSearch line 65. context: ... 61: my $query_link_url = 'Search/Results.html'; 62: 63: if ($SavedSearch) { 64: my ( $container_object, $search_id ) = _parse_saved_search($SavedSearch); 65: $search = $container_object->Attributes->WithId($search_id); 66: unless ( $search->Id && ref( $SearchArg = $search->Content ) eq 'HASH' ) { 67: $m->out("Saved Search $SavedSearch not found"); 68: return; 69: } ... code stack: /usr/share/rt3/html/Elements/ShowSearch:65 /usr/share/rt3/html/Elements/MyRT:94 /usr/share/rt3/html/index.html:81 /usr/share/rt3/html/autohandler:291 raw error Can't call method "Attributes" on an undefined value at /usr/share/rt3/ html/Elements/ShowSearch line 65. Trace begun at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ Exceptions.pm line 129 HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Attributes" on an undefined value at /usr/share/rt3/html/Elements/ ShowSearch line 65.^J') called at /usr/share/rt3/html/Elements/ ShowSearch line 65 HTML::Mason::Commands::__ANON__('SavedSearch', 'RT::User-104- SavedSearch-176', 'Override', 'HASH(0xb0d3980)') called at /usr/lib/ perl5/vendor_perl/5.8.8/HTML/Mason/Component.pm line 135 HTML ::Mason ::Component::run('HTML::Mason::Component::FileBased=HASH(0xac76508)', 'SavedSearch', 'RT::User-104-SavedSearch-176', 'Override', 'HASH(0xb0d3980)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/ Mason/Request.pm line 1251 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1245 HTML::Mason::Request::comp(undef, undef, 'SavedSearch', 'RT::User-104- SavedSearch-176', 'Override', 'HASH(0xb0d3980)') called at /usr/share/ rt3/html/Elements/MyRT line 94 HTML::Mason::Commands::__ANON__('HASH(0xb0be15c)') called at /usr/ share/rt3/html/Elements/MyRT line 52 HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.8/ HTML/Mason/Component.pm line 135 HTML ::Mason ::Component::run('HTML::Mason::Component::FileBased=HASH(0xac63bfc)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1251 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1245 HTML::Mason::Request::comp(undef, undef) called at /usr/share/rt3/html/ index.html line 81 HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.8/ HTML/Mason/Component.pm line 135 HTML ::Mason ::Component::run('HTML::Mason::Component::FileBased=HASH(0xaabdb5c)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1251 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1245 HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/ rt3/html/autohandler line 291 HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/vendor_perl/5.8.8/ HTML/Mason/Component.pm line 135 HTML ::Mason ::Component::run('HTML::Mason::Component::FileBased=HASH(0xaaf8240)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1246 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1245 HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/ perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 459 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 459 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 411 HTML ::Mason ::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb0c17ec)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168 HTML ::Mason ::Request ::ApacheHandler ::exec('HTML::Mason::Request::ApacheHandler=HASH(0xb0c17ec)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 826 HTML ::Mason ::ApacheHandler ::handle_request('HTML::Mason::ApacheHandler=HASH(0x9ffc518)', 'Apache2::RequestRec=SCALAR(0xb0d7474)') called at /usr/sbin/webmux.pl line 125 eval {...} at /usr/sbin/webmux.pl line 125 RT::Mason::handler('Apache2::RequestRec=SCALAR(0xb0d7474)') called at - e line 0 eval {...} at -e line 0 -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Fri May 15 07:59:22 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 15 May 2009 07:59:22 -0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDB47D@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <4A0C4429.8060700@billmail.scconsult.com> <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> <4ABA3E162F60624A949503A7F960245EB112CDB44A@CLEHBEXMS01.broadvox.local> <7B1D01A5-7469-4FAA-9DEB-7A33FDC2C8D8@bestpractical.com> <4ABA3E162F60624A949503A7F960245EB112CDB47D@CLEHBEXMS01.broadvox.local> Message-ID: On May 14, 2009, at 5:21 PM, Eric Chatham wrote: > On Thursday, May 14, 2009 17:03, Kevin wrote: > >>> After I installed the ExternalAuth v0.05, I began modifying my >>> RT_SiteConfig.PM to reflect the LDAP setup. When I try to log onto >>> through the Web Interface, I receive an error. When I try logging >>> in with the default "root" login, I get the same error, but when I >>> click "back" I'm logged in (as root). This only happens for the >>> default "root" user for RT, otherwise no LDAP users can log in. >>> Here is the Error from the Web Interface: >> >> You didn't define the ExternalAuthPriority array to tell the >> externalauth >> what to do. >> >> RT's internal auth is kicking in and recognizing the root user/pass > > Hello, Kevin. Thank you for the reply. Where do I define the array > at and how do I define it? It is documented in the etc/RT_SiteConfig.pm that ships with the module You should be copying that into your config and editing it -kevin > > >> >> >> error: Can't use an undefined value as an ARRAY reference at /usr/ >> local/rt3/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: /usr/local/rt3/lib/RT/User_Vendor.pm:56 >> /usr/local/rt3/lib/RT/User_Vendor.pm:359 >> /usr/share/rt3/html/Callbacks/ExternalAuth/autohandler/Auth:35 >> /usr/share/rt3/html/Elements/Callback:85 >> /usr/share/rt3/html/autohandler:240 >> >> ------------------------------------------- >> >> I should stress, I'm not modifying the RT_Config.pm settings in /etc/ >> rt3. I'm having a problem seeing the $rtname display our company >> domain. It still shows example.com. >> >> Here are my /etc/rt3/RT_SiteConfig.pm settings: >> >> Set($WebPath, "/rt3"); >> Set($rtname, "broadvox.local"); >> Set($Orginization, 'broadvox.local'); >> Set($CorrespondAddress, 'echatham at broadvox.net'); >> Set($CommentAddress, >> 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); >> Set($DatabaseType, 'mysql'); Set($WebBaseURL, >> 'http://rt.broadvox.local/'); Set(@Plugins, >> qw(RT::Authen::ExternalAuth)); >> >> # LDAP >> Set($AuthMethods, ['LDAP', 'Internal']); Set($LdapExternalAuth, 0); >> Set($LdapExternalInfo, 0); Set($LdapAutoCreateNonLdapUsers, 1); >> Set($LdapAttrMap, {'Name' => 'sAMAccountName', >> 'EmailAddress' => 'mail', >> 'Orginization' => 'o', >> 'RealName' => 'cn', >> 'ExternalContactInfoId' => 'dn', >> 'ExternalAuthId' => 'sAMAccountName', >> 'Gecos', => 'sAMAccountName', >> 'WorkPhone', => 'telephoneNumber', >> 'Address1' => 'streetAddress', >> 'City' => 'l', >> 'State' => 'st', >> 'Zip' => 'postalCode', >> 'Country' => 'co'}); >> Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', >> 'EmailAddress', 'RealName', >> 'WorkPhone', 'Address2']); >> Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', >> 'mailAlternateAddress']); >> Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); >> Set($LdapServer, 'clehbdc01.broadvox.local'); Set($LdapBase, >> 'OU=USA,DC=broadvox,DC=local'); Set($LdapFilter, >> '(objectClass=user)'); 1; >> >> ---------------------------------- >> >> Thank you for your assistance. :) >> >> >> -Eric > > CONFIDENTIAL. This e-mail and any attached files are confidential > and should be destroyed and/or returned if you are not the intended > and proper recipient. > _______________________________________________ > 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 localzuk at gmail.com Fri May 15 08:43:28 2009 From: localzuk at gmail.com (Tony A) Date: Fri, 15 May 2009 13:43:28 +0100 Subject: [rt-users] Issue with ExternalAuth and RT 3.8.2 Message-ID: <121444c6fba.-2523012171224246389.-7848040581083473528@gmail.com> Hi everyone, I have just updated to RT 3.8.2 and ExternalAuth 0.08, and haven't changed my config files in any way. Now, when I log in, I receive the following line, and nothing else, unless I refresh, then everything works as it is supposed to. RT::User::UpdateFromExternal Unimplemented in HTML::Mason::Commands. (/opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth line 73) I've had a search arround and there are a few discussions regarding this line, and nothing jumps out as a solution. Any ideas? My RT_SiteConfig is as below: Cheers Tony Ayre Network Manager Minehead Middle School $DatabasePassword = '[PASSWORD]'; $MailCommand = 'sendmailpipe'; $SemdmailArguments = '-oi'; $CorrespondAddress = '[EMAIL]'; $CommentAddress = '[EMAIL]'; $Timezone = 'Europe/London'; Set( $rtname, 'supportdesk2/rt'); Set( $Organization, "MMS"); Set ($WebBaseURL , 'http://supportdesk2/'); Set ($WebPath , '/rt'); Set($WebImageURL, $WebPath . "/NoAuth/images/"); Set($LogoURL, $WebImagesURL . "logo.gif"); Set($LogoLinkURL, "http://supportdesk2/rt"); Set($LogoImageURL, $WebImagesURL . "logo.gif"); Set($LogoAltText, "MMS ICT Helpdesk"); #Set(@Plugins,(qw(Extension::QuickDelete))); Set(@Plugins,'RT::FM','RT::IR','RTx::Statistics', 'RTx::Calendar','RTx::Tags',(qw(RTx::EmailCompletion)),qw(RT::Authen::ExternalAuth)); Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar ?? ? MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]); # THE EXTERNAL AUTH Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, [ 'My_LDAP']); Set($ExternalServiceUsesSSLorTLS, 0); Set($AutoCreateNonExternalUsers, 0); Set($ExternalSettings, { 'My_LDAP' => { 'type' => 'ldap', 'auth' => 1, 'info' => 1, 'server' => '10.5.143.10', 'user' => 'CN=Administrator,CN=Users,DC=[DC],DC=[DC],DC=[DC],DC=[DC]', 'pass' => '[PASSWORD]', 'base' => 'ou=Staff,ou=Managed Users,dc=[DC],dc=[DC],dc=[DC],dc=[DC]', 'filter' => '(objectClass=*)', 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', 'tls' => 0, 'net_ldap_args' => [ version => 3 ], '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; -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Fri May 15 08:58:52 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 15 May 2009 08:58:52 -0400 Subject: [rt-users] Issue with ExternalAuth and RT 3.8.2 In-Reply-To: <121444c6fba.-2523012171224246389.-7848040581083473528@gmail.com> References: <121444c6fba.-2523012171224246389.-7848040581083473528@gmail.com> Message-ID: <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> On May 15, 2009, at 8:43 AM, Tony A wrote: > Hi everyone, > > I have just updated to RT 3.8.2 and ExternalAuth 0.08, and haven't > changed my config files in any way. Now, when I log in, I receive > the following line, and nothing else, unless I refresh, then > everything works as it is supposed to. > > RT::User::UpdateFromExternal Unimplemented in HTML::Mason::Commands. > (/opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth line 73) This sounds like you have an old version of a callback installed in local that is conflicting RT-Authen-ExternalAuth lives in /opt/rt3/local/plugins/RT-Authen- ExternalAuth Also, version 0.08 of ExternalAuth has a callback that is less than 73 lines long and doesn't call UpdateFromExternal. Did you try installing one of the manual overlays from the wiki, or an older version of ExternalAuth previously? You probably want to remove the local/html/Callbacks/ExternalAuth/ autohandler file, but there may be other things in local/ that need to be removed also -kevin > > I've had a search arround and there are a few discussions regarding > this line, and nothing jumps out as a solution. > > Any ideas? > > My RT_SiteConfig is as below: > > Cheers > Tony Ayre > Network Manager > Minehead Middle School > > > > $DatabasePassword = '[PASSWORD]'; > > $MailCommand = 'sendmailpipe'; > $SemdmailArguments = '-oi'; > > $CorrespondAddress = '[EMAIL]'; > $CommentAddress = '[EMAIL]'; > > $Timezone = 'Europe/London'; > > Set( $rtname, 'supportdesk2/rt'); > Set( $Organization, "MMS"); > Set ($WebBaseURL , 'http://supportdesk2/'); > Set ($WebPath , '/rt'); > > Set($WebImageURL, $WebPath . "/NoAuth/images/"); > Set($LogoURL, $WebImagesURL . "logo.gif"); > Set($LogoLinkURL, "http://supportdesk2/rt"); > Set($LogoImageURL, $WebImagesURL . "logo.gif"); > Set($LogoAltText, "MMS ICT Helpdesk"); > > > #Set(@Plugins,(qw(Extension::QuickDelete))); > Set(@Plugins,'RT::FM','RT::IR','RTx::Statistics', > 'RTx::Calendar','RTx::Tags', > (qw(RTx::EmailCompletion)),qw(RT::Authen::ExternalAuth)); > > Set($HomepageComponents, [qw(QuickCreate Quicksearch MyCalendar > MyAdminQueues MySupportQueues MyReminders RefreshHomepage)]); > # THE EXTERNAL AUTH > > Set($ExternalAuthPriority, ['My_LDAP']); > Set($ExternalInfoPriority, [ 'My_LDAP']); > > Set($ExternalServiceUsesSSLorTLS, 0); > > Set($AutoCreateNonExternalUsers, 0); > > Set($ExternalSettings, { > 'My_LDAP' => { > 'type' => 'ldap', > 'auth' => 1, > 'info' => 1, > 'server' => '10.5.143.10', > 'user' => > 'CN=Administrator,CN=Users,DC=[DC],DC=[DC],DC=[DC],DC=[DC]', > 'pass' => '[PASSWORD]', > 'base' => 'ou=Staff,ou=Managed Users,dc=[DC],dc=[DC],dc=[DC],dc=[DC]', > 'filter' => '(objectClass=*)', > 'd_filter' => '(userAccountControl:1.2.840.113556.1.4.803:=2)', > 'tls' => 0, > 'net_ldap_args' => [ version => 3 ], > '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; > > _______________________________________________ > 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 victor.da.fonseca at fr.schindler.com Fri May 15 08:52:33 2009 From: victor.da.fonseca at fr.schindler.com (victor.da.fonseca at fr.schindler.com) Date: Fri, 15 May 2009 14:52:33 +0200 Subject: [rt-users] Victor Da Fonseca/KW/ECS/SCHINDLER est absent(e). Message-ID: Je serai absent(e) du 15/05/2009 au 16/05/2009. I'am out of office between 16/05/2009 and 25/05/2009. Mail is not forwarded. ***************************************** Nota : Les informations contenues dans ce message sont exclusivement destinées aux personnes nommées ci-dessus et peuvent contenir des données confidentielles ou protégées. Une erreur de transmission n'entraîne aucune renonciation à la confidentialité de ces données. Si vous n'êtes pas le destinataire prévu de ce message, vous êtes informés que vous ne devez pas l'utiliser, le divulguer ou le copier, sous quelque forme que ce soit. Si vous avez reçu ce courrier électronique par erreur, merci de le supprimer ainsi que ses éventuelles copies et d'informer immédiatement l'expéditeur.
Notice : The information contained in this message is intended only foruse of the individual(s) named above and may contain confidential,proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you are not the intended recipient of this message you are hereby notified that you must not use, disseminate, copy it in any form or take any action in reliance of it. If you have received this message in error please delete it and any copies of it and notify the sender immediately. ********************************************** From localzuk at gmail.com Fri May 15 09:29:19 2009 From: localzuk at gmail.com (Tony A) Date: Fri, 15 May 2009 14:29:19 +0100 Subject: [rt-users] Issue with ExternalAuth and RT 3.8.2 In-Reply-To: <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> References: <121444c6fba.-2523012171224246389.-7848040581083473528@gmail.com> <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> Message-ID: <12144766a13.-8017929715075420943.950792324019073689@gmail.com> On May 15, 2009, at 8:43 AM, Tony A wrote: > Hi everyone, > > I have just updated to RT 3.8.2 and ExternalAuth 0.08, and haven't > changed my config files in any way. Now, when I log in, I receive > the following line, and nothing else, unless I refresh, then > everything works as it is supposed to. > > RT::User::UpdateFromExternal Unimplemented in HTML::Mason::Commands. > (/opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth line 73) This sounds like you have an old version of a callback installed in local that is conflicting RT-Authen-ExternalAuth lives in /opt/rt3/local/plugins/RT-Authen- ExternalAuth Also, version 0.08 of ExternalAuth has a callback that is less than 73 lines long and doesn't call UpdateFromExternal. Did you try installing one of the manual overlays from the wiki, or an older version of ExternalAuth previously? You probably want to remove the local/html/Callbacks/ExternalAuth/ autohandler file, but there may be other things in local/ that need to be removed also -kevinHi Kevin, Thanks for the response. I went through various problems previously with getting LDAP authentication working, but haven't touched any of that for a good 6 months or more - so knowing exactly what I installed and didn't install is a little difficult now. But yes, older versions of ExternalAuth have been installed, and then updated. I have moved the autohandler file you mention (not deleted it, just in case), and now receive this error: Undefined subroutine &RT::Authen::ExternalAuth::DoAuth called at /opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth line 25. So, I am guessing that the file listed is calling that file I moved? I'm not much good when it comes to perl, but any tips on what else needs altering would be helpful. Thanks Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From localzuk at gmail.com Fri May 15 09:38:55 2009 From: localzuk at gmail.com (Tony A) Date: Fri, 15 May 2009 14:38:55 +0100 Subject: [rt-users] Issue with ExternalAuth and RT 3.8.2 In-Reply-To: <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> References: <121444c6fba.-2523012171224246389.-7848040581083473528@gmail.com> <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> Message-ID: <121447f32f2.-8965365717520061671.1240891290678221252@gmail.com> Hi again, Update, realising that RT::Authen::ExternalAuth likely installs a version of the autohandler file into that location, I have installed it from the tar file. ie. downloaded RT-Authen-ExternalAuth-0.08.tar.gz and taken the file from there. However, this does not solve it. I now get: Undefined subroutine &RT::Authen::ExternalAuth::DoAuth called at /opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth line 25. Am I right in thinking I seem to have 2 versions of ExternalAuth, part of one and part of another still existing? Would I also be right in thinking that removing it and reinstalling the plugin entirely would likely fix things? If so, how do I do that? Cheers Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From localzuk at gmail.com Fri May 15 09:45:43 2009 From: localzuk at gmail.com (Tony A) Date: Fri, 15 May 2009 14:45:43 +0100 Subject: [rt-users] Issue with ExternalAuth and RT 3.8.2 In-Reply-To: <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> References: <121444c6fba.-2523012171224246389.-7848040581083473528@gmail.com> <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> Message-ID: <12144856ecc.2686209426551410007.7936685734336529591@gmail.com> Ah, so, if I had read the README file properly... I would have seen: "UPGRADING If you are upgrading from 0.05 you may have some leftover parts of the module in $RTHOME/local/lib/RT/User_Vendor.pm $RTHOME/local/lib/RT/Authen/External_Auth.pm that will conflict with the new install and these should be removed" Now, the thing is... what are these parts and what needs removing? Sorry about all the posts, I'm investigating as I go along. Cheers Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From Markus.Kummer at t-systems.com Fri May 15 09:50:41 2009 From: Markus.Kummer at t-systems.com (Markus.Kummer at t-systems.com) Date: Fri, 15 May 2009 15:50:41 +0200 Subject: [rt-users] MinPasswordLength and additional password rules Message-ID: <6794FA491BD5754DB88F0A3D1E53C2F30CD31C@S4DE8PSAAQG.t-systems.com> Hi all, I'm are using RT 3.8.2 and looking for a possibillity to implement password rules for the RT Users. The only thing I found is that I can set a MinPasswordLength in RT_SiteConfig.pm. So I set the following Set($MinPasswordLength, 8); in RT_SiteConfig.pm, cleared the cache (rm -r mason-data/obj) and restarted the apache web server. The change had no effect. I'm able to specify a password with six characters only. If I specify a password with less than five chars I got the error message "Password needs to be at least 5 characters long" which seems to be the default. Do I have to ajust something else to get it working? Additionally the following rules are needed: - specify out of which characters a password has to be combined. - the administrator shouldn't know the password. So when a user is created the password should be generated automatically and send to him/her by email. Similar to the AutogeneratedPassword template but OnUserCreate only. - the user should be forced to renew his password after a certain period. - a forgot password link Is there any chance to realize it? Best regards, Markus Kummer ================================== T-Systems Enterprise Services GmbH Systems Integration / ADSF / SF / Telco / Network Planning Systems Rabinstrasse 8 D- 53111 Bonn Tel: +49 228 9841 382 E-Mail: markus.kummer at t-systems.com T-Systems Enterprise Services GmbH Aufsichtsrat: Ren? Obermann (Vorsitzender) Gesch?ftsf?hrung: Reinhard Clemens (Vorsitzender), Olaf Heyden, Joachim Langmack, Dr. Matthias Schuster, Klaus Werner Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der Gesellschaft: Frankfurt am Main WEEE-Reg.-Nr. DE87523644 From localzuk at gmail.com Fri May 15 10:13:13 2009 From: localzuk at gmail.com (Tony A) Date: Fri, 15 May 2009 15:13:13 +0100 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local><589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <4A0C4429.8060700@billmail.scconsult.com> <816F4508-3474-40CF-9E32-3C7FC92B8CE3@bestpractical.com> <4ABA3E162F60624A949503A7F960245EB112CDB44A@CLEHBEXMS01.broadvox.local> <7B1D01A5-7469-4FAA-9DEB-7A33FDC2C8D8@bestpractical.com> <4ABA3E162F60624A949503A7F960245EB112CDB47D@CLEHBEXMS01.broadvox.local> Message-ID: <121449e9c7d.4857403154337620190.7108369400400723446@gmail.com> Heh, thanks to Kevin, you pointed me in the right direction. I have now put the ExternalAuth.pm file from 0.08 in place of the broken one from 0.05. All is working properly. Thanks! Tony -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Fri May 15 10:19:32 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 15 May 2009 18:19:32 +0400 Subject: [rt-users] Issue with ExternalAuth and RT 3.8.2 In-Reply-To: <12144856ecc.2686209426551410007.7936685734336529591@gmail.com> References: <121444c6fba.-2523012171224246389.-7848040581083473528@gmail.com> <5D3ABED3-A2AD-4588-91B2-8CC50CA3CBBE@bestpractical.com> <12144856ecc.2686209426551410007.7936685734336529591@gmail.com> Message-ID: <589c94400905150719v400c4770mab57dca810195cff@mail.gmail.com> New version of the module as well as other updated plugins live in local/plugins dir. List of files you can get from MANIFEST of an extension and delete them from local/html, local/lib/, local/etc/EXT/... On Fri, May 15, 2009 at 5:45 PM, Tony A wrote: > Ah, so, if I had read the README file properly... I would have seen: > "UPGRADING > If you are upgrading from 0.05 you may have some leftover > parts of the module in > $RTHOME/local/lib/RT/User_Vendor.pm > $RTHOME/local/lib/RT/Authen/External_Auth.pm > that will conflict with the new install and these should be removed" > Now, the thing is... what are these parts and what needs removing? > Sorry about all the posts, I'm investigating as I go along. > Cheers > Tony > _______________________________________________ > 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 ruslan.zakirov at gmail.com Fri May 15 10:27:43 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 15 May 2009 18:27:43 +0400 Subject: [rt-users] Template fields in regular correspondence. In-Reply-To: <4A0C606E.6020405@us.fujitsu.com> References: <4A0C606E.6020405@us.fujitsu.com> Message-ID: <589c94400905150727i636c2eb2g220cd33fad345b56@mail.gmail.com> I don't think so. However you can do the following, add valid status and send when ticket's status changes. Or you can send it on first update, but not if update is deletion of the ticket. On Thu, May 14, 2009 at 10:18 PM, Camron W. Fox wrote: > Alle, > > ? ? ? ?Is it possible to use the autoreply template by hand? In that, I mean > that the users did not expect to get as much SPAM as they are getting > through spamassassin that is not getting tagged. SPAM that is tagged is > being handled by a filter before it even gets to RT. They don't was > autoreplies being sent to the sender addresses of the stuff that gets > through, so they want to be able to manually use the autoreply template > when they decide the ticket is valid. > ? ? ? ?The environment is RT3.6.6, RHEL5.3, perl v5.8.8, Apache 2.2.3. > > Best Regards, > Camron > > -- > Camron W. Fox > Hilo Office > High Performance Computing Group > Fujitsu Management Services of America, Inc. > E-mail: ? ? ? ? cwfox at us.fujitsu.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 > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Fri May 15 10:33:40 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 15 May 2009 18:33:40 +0400 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local> <589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> Message-ID: <589c94400905150733q6cefacc0s7c3a4255d5c079c0@mail.gmail.com> On Thu, May 14, 2009 at 7:35 PM, Eric Chatham wrote: > -----Original Message----- > From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Bill Cole > Sent: Wednesday, May 13, 2009 15:03 > To: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Installing and Using ExternalAuth > >> See the "Versions" note on that page. In another post, you say you are >> installing RT 3.6.6, but below it looks like you are trying to install >> RT::Authen::ExternalAuth 0.08. That won't work. I'm not sure that it is the >> source of your current issue, but you should get compatible versions before >> proceeding. > > Thank you for identifying that for me. ?Yes, I did install RT 3.6.1. ?I found the tarball for v0.05 at http://www.cpan.org/authors/id/Z/ZO/ZORDRAK/ RT 3.6.1 is out of date release with many bugs. No offence, but there is no any sane reason to install 3.6.1 when 3.8.2 and 3.6.6 are out. [snip] -- Best regards, Ruslan. From elacour at easter-eggs.com Fri May 15 10:44:38 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Fri, 15 May 2009 16:44:38 +0200 Subject: [rt-users] Installing and Using ExternalAuth In-Reply-To: <589c94400905150733q6cefacc0s7c3a4255d5c079c0@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB11299B0C3@CLEHBEXMS01.broadvox.local> <589c94400905111441w1b22676cpbb63e49922acdaf1@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11299B0FA@CLEHBEXMS01.broadvox.local> <7DC08293B3E4A24BB1FEB61A90FC367B0226E16A@scmail-00.minervanetworks.com> <4ABA3E162F60624A949503A7F960245EB111C953B8@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB11299B70C@CLEHBEXMS01.broadvox.local> <4A0B1946.3000609@billmail.scconsult.com> <4ABA3E162F60624A949503A7F960245EB112CDB268@CLEHBEXMS01.broadvox.local> <589c94400905150733q6cefacc0s7c3a4255d5c079c0@mail.gmail.com> Message-ID: <20090515144437.GD16078@easter-eggs.com> On Fri, May 15, 2009 at 06:33:40PM +0400, Ruslan Zakirov wrote: > > RT 3.6.1 is out of date release with many bugs. No offence, but there > is no any sane reason to install 3.6.1 when 3.8.2 and 3.6.6 are out. > s/3.6.6/3.6.7/ ;) From v.wawryk at science-computing.de Fri May 15 10:22:49 2009 From: v.wawryk at science-computing.de (Violetta J. Wawryk) Date: Fri, 15 May 2009 16:22:49 +0200 Subject: [rt-users] open tickets for certain domain-email-adresses In-Reply-To: <4A0C3C6F.80604@lbl.gov> References: <4A029E69.4090106@science-computing.de> <4A047E48.9070807@lbl.gov> <4A0BDA34.2070902@science-computing.de> <4A0C3C6F.80604@lbl.gov> Message-ID: <4A0D7AB9.4030704@science-computing.de> Hi Ken, > * User group (all those damn requestors) > o "CreateTicket" (anyone in the group can create a ticket) That exactly is the Problem. How can I define who is in that Usergroup without adding manually all that 100 requestors with their emailadress? Regards, Violetta -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Michel Lepert Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 From vincent at 4pm.ie Fri May 15 12:07:42 2009 From: vincent at 4pm.ie (Vincent Beau) Date: Fri, 15 May 2009 17:07:42 +0100 Subject: [rt-users] Send queue responses using the queue own email address on Google Apps Message-ID: <4A0D934E.6090400@4pm.ie> Hello, I'm forced to use Google Apps as the email server for RT. I use fetchmail to get the emails from Google Servers, but I'm lost about the responses. I want RT to use each queue dedicated email address rather than the postmaster one. I added the queues in the /etc/aliases as with a regular server, but I can't figure out why RT keeps using the postmaster one as sender for every queue. Do somebody have an idea ? Thanks in advance for your response. Best regards, Vincent -- Vincent Beau vincent at 4pm.ie From kfcrocker at lbl.gov Fri May 15 12:29:20 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 15 May 2009 09:29:20 -0700 Subject: [rt-users] open tickets for certain domain-email-adresses In-Reply-To: <4A0D7AB9.4030704@science-computing.de> References: <4A029E69.4090106@science-computing.de> <4A047E48.9070807@lbl.gov> <4A0BDA34.2070902@science-computing.de> <4A0C3C6F.80604@lbl.gov> <4A0D7AB9.4030704@science-computing.de> Message-ID: <4A0D9860.3010408@lbl.gov> Violetta, At the moment, I don't know. I'm not sure there is an easy way to do this. You would have to identify a condition that would "catch" these particular requestors (maybe a domain name from their email, or something like that) and then create some action code that would add them to a defined group. I have a different problem where I want to populate a CF with UserIDs of new additions to a specific group. I haven't had the time to sit down and analyze the Transaction data to get my condition info, but I think it is doable with a lot of DB research on the Transaction and Groups Tables. You may need to get some real good perl help on this and I'm only a beginner perl guy. Sorry. Kenn LBNL On 5/15/2009 7:22 AM, Violetta J. Wawryk wrote: > Hi Ken, > >> * User group (all those damn requestors) >> o "CreateTicket" (anyone in the group can create a ticket) > > That exactly is the Problem. How can I define who is in that Usergroup > without adding manually all that 100 requestors with their emailadress? > > Regards, > > Violetta > > From kfcrocker at lbl.gov Fri May 15 12:39:07 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Fri, 15 May 2009 09:39:07 -0700 Subject: [rt-users] RT Question on adding users In-Reply-To: <68926EEF-13CF-45B0-99A0-87666E920E60@bestpractical.com> References: <4A0AF9C6.80604@lbl.gov> <49DECA0D-CB86-4BB7-949F-75270CCF576B@bestpractical.com> <4A0B391D.5000106@lbl.gov> <68926EEF-13CF-45B0-99A0-87666E920E60@bestpractical.com> Message-ID: <4A0D9AAB.3080706@lbl.gov> Kevin, Yes, I am using LDAP and yes, we are on 3.6.4. I tried turning that switch on "Set($LdapAutoCreateNonLdapUsers, 1);" and it didn't work. Earlier in this thread, User_Vendor.pm was mentioned and I went looking for some of this stuff. I tried to find " /opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth" and could not. What I found was: -bash-3.00$ cd Callbacks -bash-3.00$ ls -l total 16 drwxr-xr-x 3 rt rt 4096 Feb 6 2008 LDAP drwxr-xr-x 4 rt rt 4096 Jan 29 2008 RTx-RightsMatrix I DID find Auth here:"opt/rt3/local/html/Callbacks/LDAP/autohandler/". Am I missing some software that I need to change or refer to? Thanks. Kenn LBNL On 5/14/2009 6:53 AM, Kevin Falcone wrote: > I read the rt-users mailing list, its ok to send mail to just the list, > rather than CCing me > > On May 13, 2009, at 5:18 PM, Ken Crocker wrote: > >> Thank you so much for answering. I looked through our >> RT_Config.pm file and did not see any reference to either >> "RT::User::CanonicalizeUserInfo" >> > > This is a method on the RT::User where you can customize what RT does > on user creation, > you'll need to override and tweak it. > > It should already be overridden in User_Vendor.pm by the LDAP overlay > you're > using and you could add changes there. > > >> or "RT::Authen::ExternalAuth". Where do I find them and how do I set >> them? >> > > This is a perl module that implements LDAP auth, since you didn't tell > us your > RT version or how you were doing LDAP I had to do some guessing > It appears you're using the older overlay method (probably with 3.6) > > >> Our current applicable LDAP settings (in RT_SiteConfig.pm) are >> as follows: >> ? Set($AuthMethods, ['LDAP', 'Internal']); >> ? Set($LdapExternalAuth, 1); >> ? Set($LdapExternalInfo, 1); >> > > This variable change name slightly between the Overlay and the > formal extension > > >> ? Set($LdapAutoCreateNonLdapUsers, 0); >> > > Try changing it to 1, it should let you create users that > aren't in LDAP > > -kevin > > > >> ? >> Set($LdapAttrMap, {'Name' => 'uid', >> >> 'EmailAddress' => 'mail', >> >> 'Organization' => 'o', >> >> 'RealName' => 'cn', >> >> 'ExternalContactInfoId' => 'dn', >> >> 'ExternalAuthId' => 'lblempnum', >> >> 'Gecos' => 'uid', >> >> 'WorkPhone' => 'telephonenumber', >> >> 'Address1' => 'lblmailstop', >> >> 'Address2' => 'postaladdress'} >> >> ); >> ? Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', >> 'EmailAddress', 'RealName', 'ExternalAuthId', 'WorkPhone', >> 'Address2']); >> ? Set($LdapEmailAttrMatchList, ['uid']); >> ? Set($LdapEmailAttrMatchPrefix, [''] ); >> ? Set($LdapTLS, 1); >> ? Set($LdapSSLVersion, 3); >> Do I have all the LDAP settings I need? Do I need to add one? >> Change one? >> >> THANK you! >> >> Kenn >> LBNL >> >> On 5/13/2009 1:12 PM, Kevin Falcone wrote: >> >>> On May 13, 2009, at 12:48 PM, Ken Crocker wrote: >>> >>> >>> >>>> To any and all, >>>> >>>> >>>> I've asked this question before, but perhaps I didn't word it so >>>> it made any sense. When we add a 'CC' on any correspondance thru a >>>> ticket, we find that if the user is not an RT User, as long as they >>>> pass the LDAP test, they get added, with their email address as >>>> their Id (NAME field). First question is: >>>> >>>> How do we get RT to drop the '@xxx.xxx' from the Id is uses for >>>> "NAME" on the USER Table. >>>> >>>> >>> You can use RT::User::CanonicalizeUserInfo to munge the Name, >>> assuming >>> you're >>> not using RT::Authen::ExternalAuth which already overrides this. >>> >>> >>> >>>> Secondly, how do we get RT to add a 'CC' to the USER table as an >>>> "unprivileged" user if they do NOT pass the LDAP test? >>>> >>>> >>> You don't say how you're doing LDAP auth so answering this is hard. >>> >>> If you're using RT::Authen::ExternalAuth you want to check your >>> setting of >>> AutoCreateNonExternalUsers >>> >>> -kevin >>> >>> _______________________________________________ >>> 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 -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Fri May 15 13:46:12 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 15 May 2009 21:46:12 +0400 Subject: [rt-users] Send queue responses using the queue own email address on Google Apps In-Reply-To: <4A0D934E.6090400@4pm.ie> References: <4A0D934E.6090400@4pm.ie> Message-ID: <589c94400905151046g683e1601tc2073ccdd420a85c@mail.gmail.com> Outgoing email has nothing to do with aliases. Goto UI->Configuration->Queues-> and set email addresses. On Fri, May 15, 2009 at 8:07 PM, Vincent Beau wrote: > Hello, > > I'm forced to use Google Apps as the email server for RT. > > I use fetchmail to get the emails from Google Servers, but I'm lost > about the responses. > > I want RT to use each queue dedicated email address rather than the > postmaster one. > > I added the queues in the /etc/aliases as with a regular server, but I > can't figure out why RT keeps using the postmaster one as sender for > every queue. > > Do somebody have an idea ? > > Thanks in advance for your response. > > Best regards, > > > Vincent > > -- > Vincent Beau > vincent at 4pm.ie > > _______________________________________________ > 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 fran at cis.uab.edu Fri May 15 13:45:32 2009 From: fran at cis.uab.edu (Fran Fabrizio) Date: Fri, 15 May 2009 12:45:32 -0500 Subject: [rt-users] Including custom field values in templates Message-ID: <4A0DAA3C.4080107@cis.uab.edu> Struggling with this one. Created a custom field called "AoR" which is a Select One Value field. Applies to Tickets. Added it to my queue. Can see and use it on the web interface no problem. I just want to modify my standard template for On Resolve to include a phrase like "A ticket with AoR: SampleValue was just resolved" but I can't for the life of me figure out how to use the $Ticket variable to get to the custom fields or their values. Been reading docs, source code, RT Essentials book and prolific use of Data::Dumper to try to figure this out, but I'm just missing it. :-/ Can someone help? Thanks, Fran -- Fran Fabrizio Senior Systems Analyst Department of Computer and Information Sciences University of Alabama at Birmingham http://www.cis.uab.edu/ 205.934.0653 From gleduc at mail.sdsu.edu Fri May 15 14:21:17 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Fri, 15 May 2009 11:21:17 -0700 Subject: [rt-users] Including custom field values in templates In-Reply-To: <4A0DAA3C.4080107@cis.uab.edu> References: <4A0DAA3C.4080107@cis.uab.edu> Message-ID: <6.2.1.2.2.20090515111531.02da1260@mail.sdsu.edu> Hi Fran, To use the value of a custom field "AoR" in a template: my $aor = $Ticket->FirstCustomFieldValue('AoR'); Regards, Gene At 10:45 AM 5/15/2009, Fran Fabrizio wrote: >Struggling with this one. Created a custom field called "AoR" which is >a Select One Value field. Applies to Tickets. Added it to my queue. >Can see and use it on the web interface no problem. > >I just want to modify my standard template for On Resolve to include a >phrase like "A ticket with AoR: SampleValue was just resolved" but I >can't for the life of me figure out how to use the $Ticket variable to >get to the custom fields or their values. -- Gene LeDuc, GSEC Security Analyst San Diego State University From rosso at gravity.phys.uwm.edu Fri May 15 14:23:32 2009 From: rosso at gravity.phys.uwm.edu (Ross Oldenburg) Date: Fri, 15 May 2009 13:23:32 -0500 Subject: [rt-users] Merging two RT databases Message-ID: <4A0DB324.9080401@gravity.phys.uwm.edu> Hi, I was recently asked to merge 2 RT databases together. I don't need to import users, queues, or ACLs, but I would like to preserve all tickets and transactions from the old database. I can't imagine I'm the first person who's had to do this, and I'm wondering if anyone already has a script written. Essentially, I would like to iterate through the tickets in the "old" database and play them back into the "new" one, basically adding a constant to all ticket numbers and transaction numbers. It doesn't matter for my purposes to keep the ticket numbers the same (and would be impossible at this stage anyway). I would like to use the RT codebase instead of writing a perl script that interacts with the MySQL DB directly. I think the latter approach would be less reliable. I should also note that I can take RT offline to do the merge if necessary. Anyway, I'm wondering if anyone has had to do this before and if anyone already has a script. If I end up writing my own, I will share it with the list. Thanks for your time and consideration, Ross Oldenburg UWM Center for Gravitation and Cosmology From toml at bitstatement.net Fri May 15 14:34:58 2009 From: toml at bitstatement.net (Tom Lahti) Date: Fri, 15 May 2009 11:34:58 -0700 Subject: [rt-users] Merging two RT databases In-Reply-To: <4A0DB324.9080401@gravity.phys.uwm.edu> References: <4A0DB324.9080401@gravity.phys.uwm.edu> Message-ID: <4A0DB5D2.9030904@bitstatement.net> > I would like to use the RT codebase instead of writing a perl script > that interacts with the MySQL DB directly. I think the latter approach > would be less reliable. If I had to do this, I would use the REST interfaces. Do a REST request to one RT to get ticket info, then turn around and use the REST interface on the other to create a new ticket. Problem is, you don't specify a ticket number when you create a new ticket. RT assigns one. If you absolutely have to do that, you've no choice but to dig into the db schema, which will be exponentially more difficult. But you can always create a special queue just for the merged tickets, or add a custom field and set its valued to "merged from other system" or some such, so that you can tell them apart. > I should also note that I can take RT offline to do the merge if necessary. Shouldn't be necessary if you can use the REST interfaces. Have a look at http://wiki.bestpractical.com/view/REST. There are convenience libraries already written for both perl and ruby (the latter is my work). -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From johnathan.bell at baker.edu Fri May 15 14:56:34 2009 From: johnathan.bell at baker.edu (Johnathan Bell) Date: Fri, 15 May 2009 14:56:34 -0400 Subject: [rt-users] Scripted modifications to RT's Database or LDAP Group Synchronization? Message-ID: <4A0DBAE2.6080408@baker.edu> Not sure if this should go into RT-Users or RT-Devel, so I thought I'd start here first. Please let me know if this should go to the other list. I'm trying to find or create some way for LDAP group memberships to appear in Request Tracker. Digging through the wiki and the gossamer-threads site, the only thing I can find that looks like it will do what I want is the rtimportldap.pl script, and it's woefully out of date by all appearances. Furthermore, this was written more with Active Directory in mind. We are using Samba and a homegrown LDAP solution. To that end, I'm trying to write a utility in Python to sync various LDAP groups with their respective groups on RT. I know that RT is written in perl, but I am much more familiar with Python and was hoping I can continue using it. I have a utility that mostly works, but I've hit a snag. I need to know how RT defines a user as "Privileged" in the database. It appears that there's a special group that there has to be an entry in GroupMembers for membership in the unnamed group of type "Privileged". Modifying this entry (and making sure that users aren't part of the "Unprivileged" group) seems to give them everything that makes a Privileged user special, except that they don't show up in the Privileged Users list in Configuration -> Users... Are there some database entries that I missed? I can't seem to see anything obvious. Thanks. -- Johnathan Bell Internet System Administrator, Baker College From jrhett at netconsonance.com Fri May 15 15:08:52 2009 From: jrhett at netconsonance.com (Jo Rhett) Date: Fri, 15 May 2009 12:08:52 -0700 Subject: [rt-users] integrate calendar into Reminder page? Message-ID: <1155FE6B-B328-4290-8A55-E0A286B8F4FE@netconsonance.com> I'm not sure why the calendar is a popup. There's lots of room for it on the reminders page itself. Would you accept a patch that put the calendar on the page, and got rid of the popup? -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness From jpierce at cambridgeenergyalliance.org Fri May 15 15:13:27 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 15 May 2009 15:13:27 -0400 Subject: [rt-users] integrate calendar into Reminder page? In-Reply-To: <1155FE6B-B328-4290-8A55-E0A286B8F4FE@netconsonance.com> References: <1155FE6B-B328-4290-8A55-E0A286B8F4FE@netconsonance.com> Message-ID: On Fri, May 15, 2009 at 15:08, Jo Rhett wrote: > I'm not sure why the calendar is a popup. ?There's lots of room for it > on the reminders page itself. ?Would you accept a patch that put the > calendar on the page, and got rid of the popup? It's probably a pop-up because of code reuse. There is not enough room for an embedded calendar in the reminder nodelet of the display page. From falcone at bestpractical.com Fri May 15 17:04:34 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Fri, 15 May 2009 17:04:34 -0400 Subject: [rt-users] Scripted modifications to RT's Database or LDAP Group Synchronization? In-Reply-To: <4A0DBAE2.6080408@baker.edu> References: <4A0DBAE2.6080408@baker.edu> Message-ID: <087804AA-2EE4-477C-8BDA-F5E35B2D34FD@bestpractical.com> On May 15, 2009, at 2:56 PM, Johnathan Bell wrote: > Not sure if this should go into RT-Users or RT-Devel, so I thought I'd > start here first. Please let me know if this should go to the other > list. > > I'm trying to find or create some way for LDAP group memberships to > appear in Request Tracker. Digging through the wiki and the > gossamer-threads site, the only thing I can find that looks like it > will > do what I want is the rtimportldap.pl script, and it's woefully out of > date by all appearances. Furthermore, this was written more with > Active > Directory in mind. We are using Samba and a homegrown LDAP solution. You're probably better off extending or working from http://search.cpan.org/~falcone/RT-Extension-LDAPImport-0.04/ which is decidedly more recent, but doesn't support LDAP groups because the client who sponsored it didn't want them. > To that end, I'm trying to write a utility in Python to sync various > LDAP groups with their respective groups on RT. I know that RT is > written in perl, but I am much more familiar with Python and was > hoping > I can continue using it. I have a utility that mostly works, but I've > hit a snag. I need to know how RT defines a user as "Privileged" in > the > database. It appears that there's a special group that there has to be > an entry in GroupMembers for membership in the unnamed group of type > "Privileged". Modifying this entry (and making sure that users aren't > part of the "Unprivileged" group) seems to give them everything that > makes a Privileged user special, except that they don't show up in the > Privileged Users list in Configuration -> Users... Are there some > database entries that I missed? I can't seem to see anything obvious. You really want to use one of the APIs, either the perl or REST one, rather than trying to munge the DB directly. -kevin From johnathan.bell at baker.edu Sat May 16 08:11:09 2009 From: johnathan.bell at baker.edu (Johnathan Bell) Date: Sat, 16 May 2009 08:11:09 -0400 Subject: [rt-users] Scripted modifications to RT's Database or LDAP Group Synchronization? In-Reply-To: <087804AA-2EE4-477C-8BDA-F5E35B2D34FD@bestpractical.com> References: <4A0DBAE2.6080408@baker.edu> <087804AA-2EE4-477C-8BDA-F5E35B2D34FD@bestpractical.com> Message-ID: <4A0EAD5D.1050701@baker.edu> Kevin Falcone wrote: > On May 15, 2009, at 2:56 PM, Johnathan Bell wrote: > > >> Not sure if this should go into RT-Users or RT-Devel, so I thought I'd >> start here first. Please let me know if this should go to the other >> list. >> >> I'm trying to find or create some way for LDAP group memberships to >> appear in Request Tracker. Digging through the wiki and the >> gossamer-threads site, the only thing I can find that looks like it >> will >> do what I want is the rtimportldap.pl script, and it's woefully out of >> date by all appearances. Furthermore, this was written more with >> Active >> Directory in mind. We are using Samba and a homegrown LDAP solution. >> > > You're probably better off extending or working from > http://search.cpan.org/~falcone/RT-Extension-LDAPImport-0.04/ > which is decidedly more recent, but doesn't support LDAP groups > because the client who sponsored it didn't want them. > > >> To that end, I'm trying to write a utility in Python to sync various >> LDAP groups with their respective groups on RT. I know that RT is >> written in perl, but I am much more familiar with Python and was >> hoping >> I can continue using it. I have a utility that mostly works, but I've >> hit a snag. I need to know how RT defines a user as "Privileged" in >> the >> database. It appears that there's a special group that there has to be >> an entry in GroupMembers for membership in the unnamed group of type >> "Privileged". Modifying this entry (and making sure that users aren't >> part of the "Unprivileged" group) seems to give them everything that >> makes a Privileged user special, except that they don't show up in the >> Privileged Users list in Configuration -> Users... Are there some >> database entries that I missed? I can't seem to see anything obvious. >> > > You really want to use one of the APIs, either the perl or REST one, > rather than trying to munge the DB directly. > > -kevin > _______________________________________________ > 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 > Ah, I was afraid that would be the answer. I suppose using the API is more future-ready anyway. Thanks for the clear and concise answer. It looks like the Perl API is documented in the RT::OnlineDocs extension, is this the best way to access it? I also couldn't find any documentation for the REST API on the wiki, where would I find docs for this? Thanks. -- Johnathan Bell Internet System Administrator, Baker College From sm5149 at yahoo.com Sat May 16 10:58:02 2009 From: sm5149 at yahoo.com (Salvador Munguia) Date: Sat, 16 May 2009 07:58:02 -0700 (PDT) Subject: [rt-users] Not seeing Pending Approval using internal system for user. Message-ID: <334938.94733.qm@web56908.mail.re3.yahoo.com> I'm not seeing pending approval for a new user, using the internal approval system. I am able to see it under root, when I list the tickets in the search , but I don't see it in the created user account. Has anyone had this issue before? I only see the status as "new" not "pending approval" like root sees it. Sal, -------------- next part -------------- An HTML attachment was scrubbed... URL: From falcone at bestpractical.com Sat May 16 13:31:17 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Sat, 16 May 2009 13:31:17 -0400 Subject: [rt-users] Scripted modifications to RT's Database or LDAP Group Synchronization? In-Reply-To: <4A0EAD5D.1050701@baker.edu> References: <4A0DBAE2.6080408@baker.edu> <087804AA-2EE4-477C-8BDA-F5E35B2D34FD@bestpractical.com> <4A0EAD5D.1050701@baker.edu> Message-ID: On May 16, 2009, at 8:11 AM, Johnathan Bell wrote: > Ah, I was afraid that would be the answer. I suppose using the API is > more future-ready anyway. Thanks for the clear and concise answer. It > looks like the Perl API is documented in the RT::OnlineDocs extension, > is this the best way to access it? perldoc /opt/rt3/lib/RT/*.pm is my preferred method > I also couldn't find any > documentation for the REST API on the wiki, where would I find docs > for > this? http://wiki.bestpractical.com/view/REST /opt/rt3/bin/rt help -kevin From flucht at wyeth.com Mon May 18 04:29:42 2009 From: flucht at wyeth.com (tommy0660) Date: Mon, 18 May 2009 01:29:42 -0700 (PDT) Subject: [rt-users] Scrip-Generation: OnOwnerChange --> Change Queue to one of the owner is granted to see Message-ID: <23593199.post@talk.nabble.com> Hey! I have the following problem: If a ticket has been taken the owner AND the queue should change automatically. The queue should be one of those the owner is granted to see. Not every user is granted to see each queue. "Supporter A" for example is granted to see his queue "Development". If Supporter A takes a ticket, the queue should also change to Development. If an owner has rights to see more than one queue, i want to specifiy which queue it should be by my own hardcoded in the scrip (due to the fact, that this would only happen to three users, its not much work to do that.) So what i need is to find out: Who is the new owner of the ticket? Is the owner = Supporter A, Supporter B or Supporter C If yes: If Supporter A: Change Queue to "Queue 1"; If Supporter B: and so on ... If no: Get the queue the owner is granted to see Change queue to this queue. I started without any knowledge about perl with the following scrip: #Get the new Owner of the ticket my $Owner = $self->TicketObj->Owner; #Here i tried to get the Owners Queue but I will get the Tickets Queue and thats wrong. ///my $Queue = $self->TicketObj->QueueObj->Name; #Set the Queue to $Queue my ($status, $msg) = $TicketObj->SetQueue ( $Queue ); unless ( $status ) { die "Error: $msg"; } Maybe someone can help me. Thx Best regards Tommy -- View this message in context: http://www.nabble.com/Scrip-Generation%3A-OnOwnerChange---%3E-Change-Queue-to-one-of-the-owner-is-granted-to-see-tp23593199p23593199.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From flucht at wyeth.com Mon May 18 04:36:03 2009 From: flucht at wyeth.com (tommy0660) Date: Mon, 18 May 2009 01:36:03 -0700 (PDT) Subject: [rt-users] Notify new users about their login information Message-ID: <23593299.post@talk.nabble.com> Another thing I would want to implement is, that when a new user has been created, immediately after the creation the user should be informed via email to his email-address about his login information like: Hello xyz, your user account has been created. Login: xyz Password: rt123 Please change your password soon. Regards, Support Team. I dont know how to implement this. Maybe with a Custom Condition "OnUserCreate" but I didnt find any specified code snippets or examples. Then the Custom action would be to parse the values of the form to get the username and email-address. But im quiet overstrained by that if you might see. I would be glad for any tipps or tricks you can offer me. Thx Best regards, Tommy. -- View this message in context: http://www.nabble.com/Notify-new-users-about-their-login-information-tp23593299p23593299.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From localzuk at gmail.com Mon May 18 07:42:35 2009 From: localzuk at gmail.com (Tony A) Date: Mon, 18 May 2009 12:42:35 +0100 Subject: [rt-users] Repeatedly asking for login Message-ID: <1215387c68b.9167801382570578726.-6624057654450571743@gmail.com> Hi all, Further to my recent problem regarding ExternalAuth 0.08 and RT 3.8.2, I now seem to have gained an issue where users (myself included) get prompted to log in again when they do something like create a ticket. When I look in the sessions table, it appears multiple sessions get created, so I am a little confused as to what is going on? Any advice would be good. Also, the UPGRADING.mysql details have been followed as instructed in the readme. Cheers Tony Ayre -------------- next part -------------- An HTML attachment was scrubbed... URL: From localzuk at gmail.com Mon May 18 08:22:45 2009 From: localzuk at gmail.com (Tony A) Date: Mon, 18 May 2009 13:22:45 +0100 Subject: [rt-users] Repeatedly asking for login In-Reply-To: <1215387c68b.9167801382570578726.-6624057654450571743@gmail.com> References: <1215387c68b.9167801382570578726.-6624057654450571743@gmail.com> Message-ID: <12153ac8d0b.-1359580272357957961.8711757298078152094@gmail.com> Oops. Sorry about that. Just realised what it was. I had a trailing slash on $WebBaseURL and then a beginning slash on $WebPath. So when you clicked on something like create a ticket or reply to a ticket, it set the address to http://server//rt rather that http://server/rt. Cheers Tony Ayre ---- On Mon, 18 May 2009 04:42:35 -0700 <b>Tony A <localzuk at gmail.com></b> wrote ---- Hi all, Further to my recent problem regarding ExternalAuth 0.08 and RT 3.8.2, I now seem to have gained an issue where users (myself included) get prompted to log in again when they do something like create a ticket. When I look in the sessions table, it appears multiple sessions get created, so I am a little confused as to what is going on? Any advice would be good. Also, the UPGRADING.mysql details have been followed as instructed in the readme. Cheers Tony Ayre -------------- next part -------------- An HTML attachment was scrubbed... URL: From kagekonjou at gmail.com Mon May 18 10:14:36 2009 From: kagekonjou at gmail.com (Kage) Date: Mon, 18 May 2009 10:14:36 -0400 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error Message-ID: Also sent this mail to rt-devel... First and foremost, I use 3.6.5 since that's what exists in Ubuntu Hardy's repository. Essentially what happens is I can use RT for an extended period of time (from 1 hour to 10 hours), and eventually, it'll stop working, resulting in a 500 Internal Server Error. Error log from Apache2 via debug mode: [Fri May 15 16:07:28 2009] [notice] Apache/2.2.8 (Ubuntu) mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations [Fri May 15 20:11:10 2009] [crit]: Apache2::RequestIO::rflush: (103) Software caused connection abort at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 (/usr/share/request-tracker3.6/libexec/webmux.pl:127) [Fri May 15 20:11:11 2009] [crit]: Apache2::RequestIO::rflush: (103) Software caused connection abort at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 (/usr/share/request-tracker3.6/libexec/webmux.pl:127) [Fri May 15 20:11:13 2009] [crit]: Apache2::RequestIO::rflush: (103) Software caused connection abort at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 (/usr/share/request-tracker3.6/libexec/webmux.pl:127) [Fri May 15 20:11:16 2009] [crit]: Apache2::RequestIO::rflush: (103) Software caused connection abort at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 (/usr/share/request-tracker3.6/libexec/webmux.pl:127) [Fri May 15 20:11:19 2009] [crit]: Apache2::RequestIO::rflush: (103) Software caused connection abort at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 (/usr/share/request-tracker3.6/libexec/webmux.pl:127) [Fri May 15 20:11:53 2009] [crit]: Apache2::RequestIO::rflush: (104) Connection reset by peer at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 (/usr/share/request-tracker3.6/libexec/webmux.pl:127) -- ~ Kage http://vitund.com http://hackthissite.org From gleduc at mail.sdsu.edu Mon May 18 11:23:17 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Mon, 18 May 2009 08:23:17 -0700 Subject: [rt-users] Notify new users about their login information In-Reply-To: <23593299.post@talk.nabble.com> References: <23593299.post@talk.nabble.com> Message-ID: <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> One way to auto-assign a new user an account password is to do it via the autoreply template, no new scrips needed. There's a good example you can start with on the wiki. At 01:36 AM 5/18/2009, tommy0660 wrote: >Another thing I would want to implement is, that when a new user has been >created, immediately after the creation the user should be informed via >email to his email-address about his login information like: -- Gene LeDuc, GSEC Security Analyst San Diego State University From FluchT at wyeth.com Mon May 18 11:29:28 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Mon, 18 May 2009 11:29:28 -0400 Subject: [rt-users] Notify new users about their login information In-Reply-To: <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> References: <23593299.post@talk.nabble.com> <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> Message-ID: <4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> Thanks for your answer. I already set up the automatical creation of a username and password for new users, but thats not what i meant. I mean, that if I AM CREATING a new user as an admin or root via the Users ?> New User interface i dont want to manually inform this user (or more users) about their login information. If I click on "create", the user should automatically get an email with the login information. I cant solve that issue by any templates or existing scripts, because the condition "create", which i used to inform new customers about their login information, refers to "create a ticket" and not "creat a user". So actually I dont want to inform someone when he creates a ticket. I want to inform a supporter when i create his account. Regards, Tommy! >>> Gene LeDuc 2009-05-18 17:23 >>> One way to auto-assign a new user an account password is to do it via the autoreply template, no new scrips needed. There's a good example you can start with on the wiki. At 01:36 AM 5/18/2009, tommy0660 wrote: >Another thing I would want to implement is, that when a new user has been >created, immediately after the creation the user should be informed via >email to his email-address about his login information like: -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From gleduc at mail.sdsu.edu Mon May 18 12:39:22 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Mon, 18 May 2009 09:39:22 -0700 Subject: [rt-users] Notify new users about their login information In-Reply-To: <4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> References: <23593299.post@talk.nabble.com> <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> <4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> Message-ID: <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> Ah, didn't realize you meant creating a user via the web. Poking around in the database, I'd guess that something like the following might work as your custom condition: { ### True when new user created via web my $TA = $self->TransactionObj; my $val = $TA->ObjectType eq 'RT::User' && $TA->Type eq 'Create' && $TA->CreatorObj->Id > != 1; return $val; } I haven't tried the above (or used ObjectType), but I think it's at least a good place to start. The following observations are for v3.6.3. When a user is created via an e-mail ticket, the Creator is the System user, and the System user is #1. When a user is created via a web session, the Creator is the logged in user, which is always > #12. Set this up in a global scrip and use a variant of the auto-password template you're already using for tickets. If it doesn't work, throw some debug logging stuff in and see what you get. Once you get it working, this would be a good wiki addition! Gene At 08:29 AM 5/18/2009, Thomas Fluch wrote: >Thanks for your answer. > >I already set up the automatical creation of a username and password for >new users, but thats not what i meant. > >I mean, that if I AM CREATING a new user as an admin or root via the Users >-> New User interface i dont want to manually inform this user (or more >users) about their login information. If I click on "create", the user >should automatically get an email with the login information. > >I cant solve that issue by any templates or existing scripts, because the >condition "create", which i used to inform new customers about their login >information, refers to "create a ticket" and not "creat a user". So >actually I dont want to inform someone when he creates a ticket. I want to >inform a supporter when i create his account. > >Regards, >Tommy! > > > >>> Gene LeDuc 2009-05-18 17:23 >>> >One way to auto-assign a new user an account password is to do it via the >autoreply template, no new scrips needed. There's a good example you can >start with on the wiki. > >At 01:36 AM 5/18/2009, tommy0660 wrote: > > >Another thing I would want to implement is, that when a new user has been > >created, immediately after the creation the user should be informed via > >email to his email-address about his login information like: > > >-- >Gene LeDuc, GSEC >Security Analyst >San Diego State University -- Gene LeDuc, GSEC Security Analyst San Diego State University From jlucas at eagleinvsys.com Mon May 18 12:46:31 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Mon, 18 May 2009 12:46:31 -0400 Subject: [rt-users] Templates - Acceptable Fields? In-Reply-To: <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> References: <23593299.post@talk.nabble.com><6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu><4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> Message-ID: <11E641922C0B44439FB30F8936ABF621073AA819@bigmail01.eagleinvsys.com> I attempted to add the following to my AutoReply template... This ticket is owned by: "{$Ticket->Owner()}" Unfortunately, Owner() results in just the users ID (i.e. "63") which is meaningless to most folks. Instead, I'd like to include the owner's Name and/or email address. I do not see either in the "ACCEPTABLE FIELDS" at http://wiki.bestpractical.com/view/Template_Fields. Anyone know what it would be? Thanks. From gleduc at mail.sdsu.edu Mon May 18 12:58:37 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Mon, 18 May 2009 09:58:37 -0700 Subject: [rt-users] Templates - Acceptable Fields? In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA819@bigmail01.eaglein vsys.com> References: <23593299.post@talk.nabble.com> <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> <4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> <11E641922C0B44439FB30F8936ABF621073AA819@bigmail01.eagleinvsys.com> Message-ID: <6.2.1.2.2.20090518095043.02d2a2e8@mail.sdsu.edu> $Ticket->Owner is an object ID. Try these instead: $Ticket->OwnerObj->RealName $Ticket->OwnerObj->EmailAddress At 09:46 AM 5/18/2009, Jeff Lucas wrote: >I attempted to add the following to my AutoReply template... > >This ticket is owned by: > > "{$Ticket->Owner()}" > >Unfortunately, Owner() results in just the users ID (i.e. "63") which is >meaningless to most folks. Instead, I'd like to include the owner's >Name and/or email address. I do not see either in the "ACCEPTABLE >FIELDS" at http://wiki.bestpractical.com/view/Template_Fields. -- Gene LeDuc, GSEC Security Analyst San Diego State University From ngeron at corenap.com Mon May 18 13:20:16 2009 From: ngeron at corenap.com (Nick Geron) Date: Mon, 18 May 2009 12:20:16 -0500 Subject: [rt-users] apache/mason software caused connection abort Message-ID: <4A1198D0.2020205@corenap.com> I've just brought up two test systems running RT 3.8.2 and seemingly at random my https sessions are aborted. In the browser, after clicking on a new link (and a few times logging in), drawing to the screen halts and the progress bar stops. This indicates to me that the local system and browser still think the tcp session is alive and well and are just waiting for the server to finish sending the request or timeout. On the server side, apache logs the following: /var/log/apache2/error_log:[Thu May 14 20:43:48 2009] [crit]: Apache2::RequestIO::rflush: (103) Software caused connection abort at /usr/lib64/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 1022 (/var/www/localhost/rt-3.8.2/bin/webmux.pl:151) Searching the archives and google has turned up two hits. On this list, a previous thread shortly concluded that users must be hitting the stop button in their browsers before a request finished. I can say with certainty that is not the case for me. The second was an off list forum (for mod_perl I believe), where there poster had a bit of perl that was generating the aborts. Or that was the assumption of the responder. So which is more likely the culprit for me: New bug in 3.8.2, or something in the network? For background on our setup, I'm the tester running on Ubuntu 9.04 with Firefox 3.0.10. The only thing to note in the network layer is that we're running through two load balancers tracking sessions via SSLID. The test servers were built of a recent Gentoo Stage 4 with mostly stock ebuilds. To get 3.8.2 to compile via portage I had to modify the last Gentoo ebuild for 3.6.7 into an overlay and update some of the dependencies to match what rt-test-dependencies reported. Regarding non-perl programs, Apache is 2.2.10, and I've built a mysql 5.0 back-end. I chose mod_perl 2.0 on a coin toss as the FAQ seemed to indicate performance vs fastcgi was still up for debate. On that note, is the obvious answer to rebuild with fastcgi? Of course, I can provide more detail if required. Any help would be much appreciated. Thanks. -Nick Geron From allen+rtlist at crystalfontz.com Mon May 18 13:31:58 2009 From: allen+rtlist at crystalfontz.com (allen+rtlist at crystalfontz.com) Date: Mon, 18 May 2009 10:31:58 -0700 Subject: [rt-users] RT-Users Digest, Vol 62, Issue 43 In-Reply-To: References: Message-ID: <885d981e0905181031o3c9f3092oacb0a688fb63e2ea@mail.gmail.com> > Date: Mon, 18 May 2009 01:36:03 -0700 (PDT) > From: tommy0660 > Subject: [rt-users] ?Notify new users about their login information > > Another thing I would want to implement is, that when a new user has been > created, immediately after the creation the user should be informed via > email to his email-address about his login information like: There's a post that expands on that "autogenerate password" wiki article here: http://lists.bestpractical.com/pipermail/rt-users/2009-May/058999.html It talks about making autogenerated password notifications when new tickets are created in the web interface (for instance, by your support staff) as opposed to just by user emails. The wiki article autogeneration only works when users create tickets by email. Allen From sm5149 at yahoo.com Mon May 18 14:36:29 2009 From: sm5149 at yahoo.com (Salvador Munguia) Date: Mon, 18 May 2009 11:36:29 -0700 (PDT) Subject: [rt-users] Not seeing Pending Approval using internal system for user. Message-ID: <645548.53853.qm@web56904.mail.re3.yahoo.com> Does anyone have any Ideas? I'm not seeing pending approval for a new user, using the internal approval system. I am able to see it under root, when I list the tickets in the search , but I don't see it in the created user account. Has anyone had this issue before? I only see the status as "new" not "pending approval" like root sees it. Sal, -----Inline Attachment Follows----- _______________________________________________ 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 echatham at broadvox.net Mon May 18 15:27:31 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 18 May 2009 15:27:31 -0400 Subject: [rt-users] Problems with RT 3.8.2 - Apache Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> Hello, I completely started over with a fresh installation of RT using the latest version 3.8.2. Following the README file that is packed with the new installation, I'm stuck at the Apache configuration. I added the lines for Apache 2.x.x: ServerName your.rt.server.hostname DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 # optional apache logs for RT # ErrorLog /opt/rt3/var/log/apache2.error # TransferLog /opt/rt3/var/log/apache2.access PerlRequire "/opt/rt3/bin/webmux.pl" SetHandler default SetHandler perl-script PerlResponseHandler RT::Mason Here is my rt3.conf file settings: Alias /rt3 "/usr/share/rt3/html" # PerlRequire /usr/sbin/webmux.pl AllowOverride All Options ExecCGI FollowSymLinks RewriteEngine On RedirectMatch permanent (.*)/$ $1/index.html AddDefaultCharset UTF-8 SetHandler perl-script PerlHandler RT::Mason ServerName clehbrtsrv01.broadvox.local DocumentRoot /opt/rt3/share/html AddDefaultCharset UTF-8 # optional apache logs for RT # ErrorLog /opt/rt3/var/log/apache.error # TransferLog /opt/rt3/var/log/apache.error PerlModule Apache::DBI PerlRequire /opt/rt3/bin/webmux.pl SetHandler default SetHandler perl-script PerlHandler RT::Mason When I restart Apache and MySql, I tried accessing the page http://clehbrtsrv01.broadvox.local/ (no /rt3). I get an "Internal Server Error" due to a misconfiguration. Here is my error_log file for Apache: [Mon May 18 15:12:12 2009] [notice] caught SIGTERM, shutting down [Mon May 18 15:16:16 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Mon May 18 15:16:19 2009] [notice] Digest: generating secret for digest authentication ... [Mon May 18 15:16:19 2009] [notice] Digest: done [Mon May 18 15:16:21 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 [Mon May 18 15:17:11 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 [Mon May 18 15:17:14 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 [Mon May 18 15:17:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 [Mon May 18 15:18:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n Eric Chatham MIS Department Phone: (216) 373-4683 Fax: (216) 373-4669 echatham at broadvox.net [cid:image001.gif at 01C9D7CC.691A95E0] ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2381 bytes Desc: image001.gif URL: From nimbius at sdf.lonestar.org Mon May 18 15:54:40 2009 From: nimbius at sdf.lonestar.org (Nimbius) Date: Mon, 18 May 2009 19:54:40 +0000 (UTC) Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> Message-ID: doublecheck the configuration of your database to make sure the rt_user and rt_pass actually exist and permit login...looks like thats where its failing make sure mysqld is running too. On Mon, 18 May 2009, Eric Chatham wrote: > Date: Mon, 18 May 2009 15:27:31 -0400 > From: Eric Chatham > To: RT Users > Subject: [rt-users] Problems with RT 3.8.2 - Apache > > Hello, > > I completely started over with a fresh installation of RT using the latest version 3.8.2. Following the README file that is packed with the new installation, I'm stuck at the Apache configuration. I added the lines for Apache 2.x.x: > > > > > ServerName your.rt.server.hostname > > > > DocumentRoot /opt/rt3/share/html > > AddDefaultCharset UTF-8 > > > > # optional apache logs for RT > > # ErrorLog /opt/rt3/var/log/apache2.error > > # TransferLog /opt/rt3/var/log/apache2.access > > > > PerlRequire "/opt/rt3/bin/webmux.pl" > > > > > > SetHandler default > > > > > > SetHandler perl-script > > PerlResponseHandler RT::Mason > > > > > > Here is my rt3.conf file settings: > > Alias /rt3 "/usr/share/rt3/html" > > # PerlRequire /usr/sbin/webmux.pl > > > AllowOverride All > Options ExecCGI FollowSymLinks > > RewriteEngine On > RedirectMatch permanent (.*)/$ $1/index.html > AddDefaultCharset UTF-8 > SetHandler perl-script > PerlHandler RT::Mason > > > ServerName clehbrtsrv01.broadvox.local > > DocumentRoot /opt/rt3/share/html > AddDefaultCharset UTF-8 > > # optional apache logs for RT > # ErrorLog /opt/rt3/var/log/apache.error > # TransferLog /opt/rt3/var/log/apache.error > > PerlModule Apache::DBI > PerlRequire /opt/rt3/bin/webmux.pl > > SetHandler default > > > SetHandler perl-script > PerlHandler RT::Mason > > > > When I restart Apache and MySql, I tried accessing the page http://clehbrtsrv01.broadvox.local/ (no /rt3). I get an "Internal Server Error" due to a misconfiguration. Here is my error_log file for Apache: > > > [Mon May 18 15:12:12 2009] [notice] caught SIGTERM, shutting down > [Mon May 18 15:16:16 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) > [Mon May 18 15:16:19 2009] [notice] Digest: generating secret for digest authentication ... > [Mon May 18 15:16:19 2009] [notice] Digest: done > [Mon May 18 15:16:21 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:11 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:14 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:18:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > Eric Chatham > MIS Department > Phone: (216) 373-4683 > Fax: (216) 373-4669 > echatham at broadvox.net > [cid:image001.gif at 01C9D7CC.691A95E0] > > > ________________________________ > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > nimbius at sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From echatham at broadvox.net Mon May 18 16:32:30 2009 From: echatham at broadvox.net (Eric Chatham) Date: Mon, 18 May 2009 16:32:30 -0400 Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> On Monday, May 18, 2009 15:55, Nimbius Wrote: > doublecheck the configuration of your database to make sure the rt_user > and rt_pass actually exist and permit login...looks like thats where its > failing rt_user is the user, and rt_pass is the password. I'm still having a problem. :/ mysql> use mysql Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> UPDATE user SET Password=PASSWORD('rt_pass') WHERE user='rt_user'; Query OK, 1 row affected (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 0 mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.01 sec) mysql> quit Bye > make sure mysqld is running too. chkconfig mysqld on On Mon, 18 May 2009, Eric Chatham wrote: > Date: Mon, 18 May 2009 15:27:31 -0400 > From: Eric Chatham > To: RT Users > Subject: [rt-users] Problems with RT 3.8.2 - Apache > > Hello, > > I completely started over with a fresh installation of RT using the latest version 3.8.2. Following the README file that is packed with the new installation, I'm stuck at the Apache configuration. I added the lines for Apache 2.x.x: > > > > > ServerName your.rt.server.hostname > > > > DocumentRoot /opt/rt3/share/html > > AddDefaultCharset UTF-8 > > > > # optional apache logs for RT > > # ErrorLog /opt/rt3/var/log/apache2.error > > # TransferLog /opt/rt3/var/log/apache2.access > > > > PerlRequire "/opt/rt3/bin/webmux.pl" > > > > > > SetHandler default > > > > > > SetHandler perl-script > > PerlResponseHandler RT::Mason > > > > > > Here is my rt3.conf file settings: > > Alias /rt3 "/usr/share/rt3/html" > > # PerlRequire /usr/sbin/webmux.pl > > > AllowOverride All > Options ExecCGI FollowSymLinks > > RewriteEngine On > RedirectMatch permanent (.*)/$ $1/index.html > AddDefaultCharset UTF-8 > SetHandler perl-script > PerlHandler RT::Mason > > > ServerName clehbrtsrv01.broadvox.local > > DocumentRoot /opt/rt3/share/html > AddDefaultCharset UTF-8 > > # optional apache logs for RT > # ErrorLog /opt/rt3/var/log/apache.error > # TransferLog /opt/rt3/var/log/apache.error > > PerlModule Apache::DBI > PerlRequire /opt/rt3/bin/webmux.pl > > SetHandler default > > > SetHandler perl-script > PerlHandler RT::Mason > > > > When I restart Apache and MySql, I tried accessing the page http://clehbrtsrv01.broadvox.local/ (no /rt3). I get an "Internal Server Error" due to a misconfiguration. Here is my error_log file for Apache: > > > [Mon May 18 15:12:12 2009] [notice] caught SIGTERM, shutting down > [Mon May 18 15:16:16 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) > [Mon May 18 15:16:19 2009] [notice] Digest: generating secret for digest authentication ... > [Mon May 18 15:16:19 2009] [notice] Digest: done > [Mon May 18 15:16:21 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:11 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:14 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > [Mon May 18 15:18:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > Eric Chatham > MIS Department > Phone: (216) 373-4683 > Fax: (216) 373-4669 > echatham at broadvox.net > [cid:image001.gif at 01C9D7CC.691A95E0] > > > ________________________________ > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > nimbius at sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From rob.munsch at gmail.com Mon May 18 16:04:22 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Mon, 18 May 2009 16:04:22 -0400 Subject: [rt-users] RT::Action::EscalatePriorityLinear Message-ID: <8fae230c0905181304w307ec8bco82fe6e4b660fbf02@mail.gmail.com> Hello, The wiki entry for this has a fair amount of code, but no information about where to get it or how to get it running. CPAN doesn't think it exists. ConfigureEscalation on the wiki says "EscalatePriorityLinear.pm can be copied to local/lib/RT/Action/." Sounds good; where is EPL.pm? Is that the first code block, and if so, do i just paste that into Action/? Is the patch to avoid Last Modified: being changed by cron still necessary in 3.8.2? Thanks, Rob -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From aaron at guise.net.nz Mon May 18 16:38:23 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Tue, 19 May 2009 08:38:23 +1200 Subject: [rt-users] RT Attachment problem In-Reply-To: <49F0EB49.5@triumf.ca> References: <5e53e1be0904230938o7c356184mf48405c99654347d@mail.gmail.com> <5e53e1be0904231333o442d713cpe47fd7c4558d01cb@mail.gmail.com> <49F0EB49.5@triumf.ca> Message-ID: Hi, I too had a similar problem with them attachments. I am just working on some perl scripts to correct this. It is just due to the conversion of the longtext field to varbinary with from the schema upgrade script. I have tested my theory and was able to get them working. I could supply you these scripts and instructions if you are still having trouble and wish to upgrade. *Regards,* *Aaron Guise [image: Phone] 07 854 7824 [image: Mobile]027 212 6638 [image: Email]aaron at guise.net.nz* On Fri, Apr 24, 2009 at 10:27 AM, Hossein Rafighi < Hossein.Rafighi at triumf.ca> wrote: > Hi, > > We upgraded our RT system from 3.6.2 to 3.8.1 without any error. We did > apply steps in UPGRADING.mysql as per instructions. > The problem we are having is that any attachment with old tickets are > treated as URL. Upon clicking on them a web page with url to that > attachment is displayed with body of the page containing the url address > instead of the actual image! Any new ticket created after the upgrade > now displays attachments inside the body of the ticket as: "Subject: > speed.jpg"! I am aware of similar problem on the web like > http://www.gossamer-threads.com/lists/rt/users/79354 but running > schema.mysql-4.0-4.1.pl (for the second time) didn't help. > > My SHOW CREATE TABLE Attachments: > | Attachments | CREATE TABLE `Attachments` ( > `id` int(11) NOT NULL auto_increment, > `TransactionId` int(11) NOT NULL, > `Parent` int(11) NOT NULL default '0', > `MessageId` varchar(160) character set ascii default NULL, > `Subject` varchar(255) default NULL, > `Filename` varchar(255) default NULL, > `ContentType` varchar(80) character set ascii default NULL, > `ContentEncoding` varchar(80) character set ascii default NULL, > `Content` longblob, > `Headers` longtext, > `Creator` int(11) NOT NULL default '0', > `Created` datetime default NULL, > PRIMARY KEY (`id`), > KEY `Attachments2` (`TransactionId`), > KEY `Attachments3` (`Parent`,`TransactionId`) > ) ENGINE=InnoDB AUTO_INCREMENT=21034 DEFAULT CHARSET=utf8 | > > > > Any help is appreciated. > Cheers, > 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 > > _______________________________________________ > 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 aaron at guise.net.nz Mon May 18 16:42:09 2009 From: aaron at guise.net.nz (Aaron Guise) Date: Tue, 19 May 2009 08:42:09 +1200 Subject: [rt-users] RT Attachment problem In-Reply-To: References: <5e53e1be0904230938o7c356184mf48405c99654347d@mail.gmail.com> <5e53e1be0904231333o442d713cpe47fd7c4558d01cb@mail.gmail.com> <49F0EB49.5@triumf.ca> Message-ID: Sorry, I meant LONGBLOB rather than VARBINARY. *Regards,* *Aaron Guise [image: Phone] 07 854 7824 [image: Mobile]027 212 6638 [image: Email]aaron at guise.net.nz* On Tue, May 19, 2009 at 8:38 AM, Aaron Guise wrote: > Hi, > > I too had a similar problem with them attachments. > I am just working on some perl scripts to correct this. It is just due to > the conversion of the longtext field to varbinary with from the schema > upgrade script. > > I have tested my theory and was able to get them working. I could supply > you these scripts and instructions if you are still having trouble and wish > to upgrade. > > > On Fri, Apr 24, 2009 at 10:27 AM, Hossein Rafighi < > Hossein.Rafighi at triumf.ca> wrote: > >> Hi, >> >> We upgraded our RT system from 3.6.2 to 3.8.1 without any error. We did >> apply steps in UPGRADING.mysql as per instructions. >> The problem we are having is that any attachment with old tickets are >> treated as URL. Upon clicking on them a web page with url to that >> attachment is displayed with body of the page containing the url address >> instead of the actual image! Any new ticket created after the upgrade >> now displays attachments inside the body of the ticket as: "Subject: >> speed.jpg"! I am aware of similar problem on the web like >> http://www.gossamer-threads.com/lists/rt/users/79354 but running >> schema.mysql-4.0-4.1.pl (for the second time) didn't help. >> >> My SHOW CREATE TABLE Attachments: >> | Attachments | CREATE TABLE `Attachments` ( >> `id` int(11) NOT NULL auto_increment, >> `TransactionId` int(11) NOT NULL, >> `Parent` int(11) NOT NULL default '0', >> `MessageId` varchar(160) character set ascii default NULL, >> `Subject` varchar(255) default NULL, >> `Filename` varchar(255) default NULL, >> `ContentType` varchar(80) character set ascii default NULL, >> `ContentEncoding` varchar(80) character set ascii default NULL, >> `Content` longblob, >> `Headers` longtext, >> `Creator` int(11) NOT NULL default '0', >> `Created` datetime default NULL, >> PRIMARY KEY (`id`), >> KEY `Attachments2` (`TransactionId`), >> KEY `Attachments3` (`Parent`,`TransactionId`) >> ) ENGINE=InnoDB AUTO_INCREMENT=21034 DEFAULT CHARSET=utf8 | >> >> >> >> Any help is appreciated. >> Cheers, >> 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 >> >> _______________________________________________ >> 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 matt at hoov.net Mon May 18 19:39:27 2009 From: matt at hoov.net (Matt Hoover) Date: Mon, 18 May 2009 16:39:27 -0700 Subject: [rt-users] Custom Field of Type Attachment - to template Message-ID: <996ab0890905181639s2f8a75e2i7e6040315ef6c58@mail.gmail.com> Can someone point me in the right direction to insert the files from a custom field (Type Multiple attachments) into a template? Thanks! Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.seaman at thebunker.net Tue May 19 02:04:34 2009 From: matthew.seaman at thebunker.net (Matthew Seaman) Date: Tue, 19 May 2009 07:04:34 +0100 Subject: [rt-users] RT::Action::EscalatePriorityLinear In-Reply-To: <8fae230c0905181304w307ec8bco82fe6e4b660fbf02@mail.gmail.com> References: <8fae230c0905181304w307ec8bco82fe6e4b660fbf02@mail.gmail.com> Message-ID: <4A124BF2.4020703@thebunker.net> Rob Munsch wrote: > Hello, > > The wiki entry for this has a fair amount of code, but no information about > where to get it or how to get it running. CPAN doesn't think it exists. > ConfigureEscalation on the wiki says > "EscalatePriorityLinear.pm > can be copied to local/lib/RT/Action/." Sounds good; where is EPL.pm? Is > that the first code block, and if so, do i just paste that into Action/? Is > the patch to avoid Last Modified: being changed by cron still necessary in > 3.8.2? It's a standard part of 3.8.x -- no need to install anything extra. To use it, all you need to do is set up a cron job something like this: 6 0 * * * /usr/local/bin/rt-crontool --search RT::Search::ActiveTicketsInQueue --search-arg General --action RT::Action::LinearEscalate I run that using a special minimum privilege 'rtcrontool' userid, both at the OS level and in RT itself. Cheers, Matthew -- Dr Matthew Seaman The Bunker, Ash Radar Station PGP: 0x60AE908C on servers Marshborough Rd Tel: +44 1304 814890 Sandwich Fax: +44 1304 814899 Kent, CT13 0PL, UK -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature URL: From sven.sternberger at desy.de Tue May 19 07:22:19 2009 From: sven.sternberger at desy.de (Sven Sternberger) Date: Tue, 19 May 2009 13:22:19 +0200 Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> Message-ID: <1242732139.11462.5.camel@zitpcx6759> Hello! make: 1. grep DatabaseUser /opt/rt3/etc/RT_SiteConfig.pm 2. grep DatabasePassword /opt/rt3/etc/RT_SiteConfig.pm 3. grep DatabaseRTHost /opt/rt3/etc/RT_SiteConfig.pm and then mysql -u result_from_2 -presult_from_2 -h result_from3 I'm quite sure that this is your problem. The apache config looked okay (I'm not sure with the redirect) regards! sven On Mo, 2009-05-18 at 16:32 -0400, Eric Chatham wrote: > On Monday, May 18, 2009 15:55, Nimbius Wrote: > > > doublecheck the configuration of your database to make sure the rt_user > > and rt_pass actually exist and permit login...looks like thats where its > > failing > > rt_user is the user, and rt_pass is the password. I'm still having a problem. :/ > > mysql> use mysql > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > > Database changed > mysql> UPDATE user SET Password=PASSWORD('rt_pass') WHERE user='rt_user'; > Query OK, 1 row affected (0.00 sec) > Rows matched: 1 Changed: 1 Warnings: 0 > > mysql> FLUSH PRIVILEGES; > Query OK, 0 rows affected (0.01 sec) > > mysql> quit > Bye > > > make sure mysqld is running too. > > chkconfig mysqld on > > > On Mon, 18 May 2009, Eric Chatham wrote: > > > Date: Mon, 18 May 2009 15:27:31 -0400 > > From: Eric Chatham > > To: RT Users > > Subject: [rt-users] Problems with RT 3.8.2 - Apache > > > > Hello, > > > > I completely started over with a fresh installation of RT using the latest version 3.8.2. Following the README file that is packed with the new installation, I'm stuck at the Apache configuration. I added the lines for Apache 2.x.x: > > > > > > > > > > ServerName your.rt.server.hostname > > > > > > > > DocumentRoot /opt/rt3/share/html > > > > AddDefaultCharset UTF-8 > > > > > > > > # optional apache logs for RT > > > > # ErrorLog /opt/rt3/var/log/apache2.error > > > > # TransferLog /opt/rt3/var/log/apache2.access > > > > > > > > PerlRequire "/opt/rt3/bin/webmux.pl" > > > > > > > > > > > > SetHandler default > > > > > > > > > > > > SetHandler perl-script > > > > PerlResponseHandler RT::Mason > > > > > > > > > > > > Here is my rt3.conf file settings: > > > > Alias /rt3 "/usr/share/rt3/html" > > > > # PerlRequire /usr/sbin/webmux.pl > > > > > > AllowOverride All > > Options ExecCGI FollowSymLinks > > > > RewriteEngine On > > RedirectMatch permanent (.*)/$ $1/index.html > > AddDefaultCharset UTF-8 > > SetHandler perl-script > > PerlHandler RT::Mason > > > > > > ServerName clehbrtsrv01.broadvox.local > > > > DocumentRoot /opt/rt3/share/html > > AddDefaultCharset UTF-8 > > > > # optional apache logs for RT > > # ErrorLog /opt/rt3/var/log/apache.error > > # TransferLog /opt/rt3/var/log/apache.error > > > > PerlModule Apache::DBI > > PerlRequire /opt/rt3/bin/webmux.pl > > > > SetHandler default > > > > > > SetHandler perl-script > > PerlHandler RT::Mason > > > > > > > > When I restart Apache and MySql, I tried accessing the page http://clehbrtsrv01.broadvox.local/ (no /rt3). I get an "Internal Server Error" due to a misconfiguration. Here is my error_log file for Apache: > > > > > > [Mon May 18 15:12:12 2009] [notice] caught SIGTERM, shutting down > > [Mon May 18 15:16:16 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) > > [Mon May 18 15:16:19 2009] [notice] Digest: generating secret for digest authentication ... > > [Mon May 18 15:16:19 2009] [notice] Digest: done > > [Mon May 18 15:16:21 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:11 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:14 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:18:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > > > Eric Chatham > > MIS Department > > Phone: (216) 373-4683 > > Fax: (216) 373-4669 > > echatham at broadvox.net > > [cid:image001.gif at 01C9D7CC.691A95E0] > > > > > > ________________________________ > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > > > > nimbius at sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > _______________________________________________ > 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 arthur at mpsinf.com.br Tue May 19 07:18:13 2009 From: arthur at mpsinf.com.br (Arthur Furlan) Date: Tue, 19 May 2009 08:18:13 -0300 Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> Message-ID: <4A129575.4000701@mpsinf.com.br> Eric Chatham wrote: > On Monday, May 18, 2009 15:55, Nimbius Wrote: > >> doublecheck the configuration of your database to make sure the rt_user >> and rt_pass actually exist and permit login...looks like thats where its >> failing > > rt_user is the user, and rt_pass is the password. I'm still having a problem. :/ > > mysql> use mysql > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > > Database changed > mysql> UPDATE user SET Password=PASSWORD('rt_pass') WHERE user='rt_user'; > Query OK, 1 row affected (0.00 sec) > Rows matched: 1 Changed: 1 Warnings: 0 > > mysql> FLUSH PRIVILEGES; > Query OK, 0 rows affected (0.01 sec) > > mysql> quit > Bye Have you granted access to this user access on the database? mysql> GRANT ALL ON rt_db.* TO rt_user at localhost; ... mysql> FLUSH PRIVILEGES; ... -- Atenciosamente, Arthur Furlan arthur at mpsinf.com.br From racke at linuxia.de Tue May 19 09:33:39 2009 From: racke at linuxia.de (Stefan Hornburg) Date: Tue, 19 May 2009 15:33:39 +0200 Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: <4A129575.4000701@mpsinf.com.br> References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> <4A129575.4000701@mpsinf.com.br> Message-ID: <4A12B533.60707@linuxia.de> Arthur Furlan wrote: > Eric Chatham wrote: >> On Monday, May 18, 2009 15:55, Nimbius Wrote: >> >>> doublecheck the configuration of your database to make sure the rt_user >>> and rt_pass actually exist and permit login...looks like thats where its >>> failing >> rt_user is the user, and rt_pass is the password. I'm still having a problem. :/ >> >> mysql> use mysql >> Reading table information for completion of table and column names >> You can turn off this feature to get a quicker startup with -A >> >> Database changed >> mysql> UPDATE user SET Password=PASSWORD('rt_pass') WHERE user='rt_user'; >> Query OK, 1 row affected (0.00 sec) >> Rows matched: 1 Changed: 1 Warnings: 0 >> >> mysql> FLUSH PRIVILEGES; >> Query OK, 0 rows affected (0.01 sec) >> >> mysql> quit >> Bye > > Have you granted access to this user access on the database? > > > mysql> GRANT ALL ON rt_db.* TO rt_user at localhost; > ... > mysql> FLUSH PRIVILEGES; > ... > Sidenote: GRANT automatically flushes privileges. Regards Racke -- LinuXia Systems => http://www.linuxia.de/ Expert Interchange Consulting and System Administration ICDEVGROUP => http://www.icdevgroup.org/ Interchange Development Team From rt-users at thefreecat.org Tue May 19 11:48:17 2009 From: rt-users at thefreecat.org (Jean-Christophe Boggio) Date: Tue, 19 May 2009 17:48:17 +0200 Subject: [rt-users] Display user customfields in prefs Message-ID: <4A12D4C1.4080401@thefreecat.org> Hello, I would like to use customfields for users. No problem for defining the fields but I see no way to make them appear on the prefs page (I have superuser rights + specific permissions to do anything with this field). I have the "Custom fields" box but nothing in it. I found this description of a patch for RT 3.5.5 : http://wiki.bestpractical.com/view/DisplayCustomFieldsInUserPrefs Is it still necessary to use a patch in order to see/set values of these custom fields ? Then I didn't understand what they're made for if we (humans) are not supposed to set values. Can someone enlighten me ? I know this question has been asked several times in the last months but I saw no answer. Thanks, -- Jean-Christophe Boggio From falcone at bestpractical.com Tue May 19 12:05:00 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Tue, 19 May 2009 12:05:00 -0400 Subject: [rt-users] Display user customfields in prefs In-Reply-To: <4A12D4C1.4080401@thefreecat.org> References: <4A12D4C1.4080401@thefreecat.org> Message-ID: <2B51445F-7EC0-4B7F-8FB8-F8F323DA7747@bestpractical.com> On May 19, 2009, at 11:48 AM, Jean-Christophe Boggio wrote: > I would like to use customfields for users. No problem for defining > the > fields but I see no way to make them appear on the prefs page (I have > superuser rights + specific permissions to do anything with this > field). > I have the "Custom fields" box but nothing in it. Have you applied the custom field? Configuration -> Global -> Custom FIelds -> Users -kevin > I found this description of a patch for RT 3.5.5 : > > http://wiki.bestpractical.com/view/DisplayCustomFieldsInUserPrefs > > Is it still necessary to use a patch in order to see/set values of > these custom fields ? Then I didn't understand what they're made for > if we (humans) are not supposed to set values. > > Can someone enlighten me ? I know this question has been asked several > times in the last months but I saw no answer. > > Thanks, > > -- > Jean-Christophe Boggio > _______________________________________________ > 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 echatham at broadvox.net Tue May 19 12:09:29 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 19 May 2009 12:09:29 -0400 Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: <1242732139.11462.5.camel@zitpcx6759> References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> <1242732139.11462.5.camel@zitpcx6759> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDBCFA@CLEHBEXMS01.broadvox.local> On Tuesday, May 19, 2009 07:22, Sven Wrote: > make: > > 1. grep DatabaseUser /opt/rt3/etc/RT_SiteConfig.pm > 2. grep DatabasePassword /opt/rt3/etc/RT_SiteConfig.pm > 3. grep DatabaseRTHost /opt/rt3/etc/RT_SiteConfig.pm > > and then > > mysql -u result_from_2 -presult_from_2 -h result_from3 > > I'm quite sure that this is your problem. > The apache config looked okay (I'm not sure with > the redirect) Thank you all for your assistance. I tried everyone's suggestions. I appreciate this. The problem is still persisting though. I made sure that rt_user was added to my RT_SiteConfig.pm file and I even "hashed out" the redirect in my Apache config (that Sven pointed out; I was thinking that may've been a problem). I granted all permissions to the rt3 database for rt_user. I'm using the default username/password in RT_Config.pm. I am no longer getting the DBI error in my error_log. Now, it appears to be something else. APACHE ERROR_LOG: [Tue May 19 11:55:55 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... [Tue May 19 11:57:53 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue May 19 11:57:55 2009] [notice] Digest: generating secret for digest authentication ... [Tue May 19 11:57:55 2009] [notice] Digest: done [Tue May 19 11:57:56 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Tue May 19 11:58:16 2009] [error] [client 172.16.3.38] Sys::Syslog version 0.16 required--this is only version 0.13 at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nBEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nCompilation failed in require at /opt/rt3/bin/../lib/RT.pm line 340.\n [Tue May 19 11:58:22 2009] [error] [client 172.16.3.38] Sys::Syslog version 0.16 required--this is only version 0.13 at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nBEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nCompilation failed in require at /opt/rt3/bin/../lib/RT.pm line 340.\n [Tue May 19 11:59:20 2009] [notice] caught SIGTERM, shutting down [Tue May 19 11:59:23 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue May 19 11:59:26 2009] [notice] Digest: generating secret for digest authentication ... [Tue May 19 11:59:26 2009] [notice] Digest: done [Tue May 19 11:59:26 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Tue May 19 11:59:28 2009] [error] [client 172.16.3.38] Sys::Syslog version 0.16 required--this is only version 0.13 at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nBEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nCompilation failed in require at /opt/rt3/bin/../lib/RT.pm line 340.\n [Tue May 19 11:59:32 2009] [error] [client 172.16.3.38] Sys::Syslog version 0.16 required--this is only version 0.13 at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nBEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.8/Log/Dispatch/Syslog.pm line 13.\nCompilation failed in require at /opt/rt3/bin/../lib/RT.pm line 340.\n sven On Mo, 2009-05-18 at 16:32 -0400, Eric Chatham wrote: > On Monday, May 18, 2009 15:55, Nimbius Wrote: > > > doublecheck the configuration of your database to make sure the rt_user > > and rt_pass actually exist and permit login...looks like thats where its > > failing > > rt_user is the user, and rt_pass is the password. I'm still having a problem. :/ > > mysql> use mysql > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > > Database changed > mysql> UPDATE user SET Password=PASSWORD('rt_pass') WHERE user='rt_user'; > Query OK, 1 row affected (0.00 sec) > Rows matched: 1 Changed: 1 Warnings: 0 > > mysql> FLUSH PRIVILEGES; > Query OK, 0 rows affected (0.01 sec) > > mysql> quit > Bye > > > make sure mysqld is running too. > > chkconfig mysqld on > > > On Mon, 18 May 2009, Eric Chatham wrote: > > > Date: Mon, 18 May 2009 15:27:31 -0400 > > From: Eric Chatham > > To: RT Users > > Subject: [rt-users] Problems with RT 3.8.2 - Apache > > > > Hello, > > > > I completely started over with a fresh installation of RT using the latest version 3.8.2. Following the README file that is packed with the new installation, I'm stuck at the Apache configuration. I added the lines for Apache 2.x.x: > > > > > > > > > > ServerName your.rt.server.hostname > > > > > > > > DocumentRoot /opt/rt3/share/html > > > > AddDefaultCharset UTF-8 > > > > > > > > # optional apache logs for RT > > > > # ErrorLog /opt/rt3/var/log/apache2.error > > > > # TransferLog /opt/rt3/var/log/apache2.access > > > > > > > > PerlRequire "/opt/rt3/bin/webmux.pl" > > > > > > > > > > > > SetHandler default > > > > > > > > > > > > SetHandler perl-script > > > > PerlResponseHandler RT::Mason > > > > > > > > > > > > Here is my rt3.conf file settings: > > > > Alias /rt3 "/usr/share/rt3/html" > > > > # PerlRequire /usr/sbin/webmux.pl > > > > > > AllowOverride All > > Options ExecCGI FollowSymLinks > > > > RewriteEngine On > > RedirectMatch permanent (.*)/$ $1/index.html > > AddDefaultCharset UTF-8 > > SetHandler perl-script > > PerlHandler RT::Mason > > > > > > ServerName clehbrtsrv01.broadvox.local > > > > DocumentRoot /opt/rt3/share/html > > AddDefaultCharset UTF-8 > > > > # optional apache logs for RT > > # ErrorLog /opt/rt3/var/log/apache.error > > # TransferLog /opt/rt3/var/log/apache.error > > > > PerlModule Apache::DBI > > PerlRequire /opt/rt3/bin/webmux.pl > > > > SetHandler default > > > > > > SetHandler perl-script > > PerlHandler RT::Mason > > > > > > > > When I restart Apache and MySql, I tried accessing the page http://clehbrtsrv01.broadvox.local/ (no /rt3). I get an "Internal Server Error" due to a misconfiguration. Here is my error_log file for Apache: > > > > > > [Mon May 18 15:12:12 2009] [notice] caught SIGTERM, shutting down > > [Mon May 18 15:16:16 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) > > [Mon May 18 15:16:19 2009] [notice] Digest: generating secret for digest authentication ... > > [Mon May 18 15:16:19 2009] [notice] Digest: done > > [Mon May 18 15:16:21 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:11 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:14 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:17:16 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > DBI connect('dbname=rt3;host=localhost','rt_user',...) failed: Access denied for user 'rt_user'@'localhost' (using password: YES) at /usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 106 > > [Mon May 18 15:18:15 2009] [error] [client 172.16.3.38] Connect Failed Access denied for user 'rt_user'@'localhost' (using password: YES)\n at /opt/rt3/bin/../lib/RT.pm line 204\n > > > > Eric Chatham > > MIS Department > > Phone: (216) 373-4683 > > Fax: (216) 373-4669 > > echatham at broadvox.net > > [cid:image001.gif at 01C9D7CC.691A95E0] > > > > > > ________________________________ > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > > > > nimbius at sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > > CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. > _______________________________________________ > 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 CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From odhiambo at gmail.com Tue May 19 12:14:11 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Tue, 19 May 2009 19:14:11 +0300 Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDBCFA@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> <1242732139.11462.5.camel@zitpcx6759> <4ABA3E162F60624A949503A7F960245EB112CDBCFA@CLEHBEXMS01.broadvox.local> Message-ID: <991123400905190914p25daf6b5mfc697ae61d01b486@mail.gmail.com> On Tue, May 19, 2009 at 7:09 PM, Eric Chatham wrote: > On Tuesday, May 19, 2009 07:22, Sven Wrote: > > > make: > > > > 1. grep DatabaseUser /opt/rt3/etc/RT_SiteConfig.pm > > 2. grep DatabasePassword /opt/rt3/etc/RT_SiteConfig.pm > > 3. grep DatabaseRTHost /opt/rt3/etc/RT_SiteConfig.pm > > > > and then > > > > mysql -u result_from_2 -presult_from_2 -h result_from3 > > > > I'm quite sure that this is your problem. > > The apache config looked okay (I'm not sure with > > the redirect) > > Thank you all for your assistance. I tried everyone's suggestions. I > appreciate this. The problem is still persisting though. I made sure that > rt_user was added to my RT_SiteConfig.pm file and I even "hashed out" the > redirect in my Apache config (that Sven pointed out; I was thinking that > may've been a problem). I granted all permissions to the rt3 database for > rt_user. I'm using the default username/password in RT_Config.pm. I am no > longer getting the DBI error in my error_log. Now, it appears to be > something else. perl -MCPAN -e "force install Sys::Syslog" Restart Apache and post the next errors:-) At your prompting, it took me just about 30 minutes to have rt-3.8.3rc1 running!! I love the web2 interface option. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Tue May 19 12:19:49 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Tue, 19 May 2009 12:19:49 -0400 Subject: [rt-users] CustomFieldValue - strip leading zeroes Message-ID: <8fae230c0905190919w490f126ckad1e803600f437a4@mail.gmail.com> I'm trying to use s/^0*// in my CF template to strip out leading 0s from a 4 to 6 digit string. Some of them don't have leading 0s, some do; sometimes they are 4-6 digits and i need all of them; sometimes they are 6 digits with one or two leading zeroes i have to get rid of. using (s/^0*//([0-9]{4,6})) did not work, and i'm not sure if it's because i'm using it in the wrong place, or because this method won't work for custom fields. Help!, Rob -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Tue May 19 12:29:11 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Tue, 19 May 2009 12:29:11 -0400 Subject: [rt-users] CustomFieldValue - strip leading zeroes In-Reply-To: <8fae230c0905190919w490f126ckad1e803600f437a4@mail.gmail.com> References: <8fae230c0905190919w490f126ckad1e803600f437a4@mail.gmail.com> Message-ID: <8fae230c0905190929r593bc64ex4224b86e074ec6bf@mail.gmail.com> On Tue, May 19, 2009 at 12:19 PM, Rob Munsch wrote: > I'm trying to use s/^0*// in my CF template to strip out leading 0s from a > 4 to 6 digit string. > > Some of them don't have leading 0s, some do; sometimes they are 4-6 digits > and i need all of them; sometimes they are 6 digits with one or two leading > zeroes i have to get rid of. > > using > (s/^0*//([0-9]{4,6})) > > did not work, Aha! never mind, i think. The original expression, before i noticed the leading zeroes, was looking for TriggerText: 01234 using FieldName|Body|(?i)triggertext\D?\D?\D?([0-9]{1,6}) because, iirc about setting that up, some people type TEXT 01234 and some type TEXT: 01234, etc. I'd forgotten i am not checking the beginning of the *string,* just my $1 goal. Now i'm using (?i)vin\D?\D?\D?0*([0-9]{4,6}) which is a good deal simpler, and seems to be working. None, one, or a million leading zeroes should be ignored now. -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From prescott at wcoil.com Tue May 19 12:48:13 2009 From: prescott at wcoil.com (prescott at wcoil.com) Date: Tue, 19 May 2009 12:48:13 -0400 (EDT) Subject: [rt-users] custom field question Message-ID: I am trying to figure out how to have a default value for a custom field. I have defined a custom field called billable it is a "select one value" field. I added the options for n and y in that order. How do I get the "n" to be the default option. It always has no value when the ticket is first created. I want it to be "n" unless someone changes it to "y" Any pointers would be appreciated. Thanks in advance. From echatham at broadvox.net Tue May 19 12:58:57 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 19 May 2009 12:58:57 -0400 Subject: [rt-users] Problems with RT 3.8.2 - Apache In-Reply-To: <991123400905190914p25daf6b5mfc697ae61d01b486@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB112CDBAD1@CLEHBEXMS01.broadvox.local> <4ABA3E162F60624A949503A7F960245EB112CDBB37@CLEHBEXMS01.broadvox.local> <1242732139.11462.5.camel@zitpcx6759> <4ABA3E162F60624A949503A7F960245EB112CDBCFA@CLEHBEXMS01.broadvox.local> <991123400905190914p25daf6b5mfc697ae61d01b486@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDBD4F@CLEHBEXMS01.broadvox.local> On Tuesday, May 19, 2009 12:14, Odhiambo ????? wrote, >> Thank you all for your assistance. I tried everyone's suggestions. I appreciate this. The problem is still persisting though. I made sure that rt_user was added to my RT_SiteConfig.pm file and I even "hashed out" the redirect in my Apache config (that Sven pointed out; I was thinking that may've been a problem). I granted all permissions to the rt3 database for rt_user. I'm using the default username/password in RT_Config.pm. I am no longer getting the DBI error in my error_log. Now, it appears to be something else. > perl -MCPAN -e "force install Sys::Syslog" > Restart Apache and post the next errors:-) > At your prompting, it took me just about 30 minutes to have rt-3.8.3rc1 running!! I love the web2 interface option. Thank you that worked. Eric CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From vtplymblfan-rt at yahoo.com Tue May 19 12:53:21 2009 From: vtplymblfan-rt at yahoo.com (vtplymblfan-rt at yahoo.com) Date: Tue, 19 May 2009 09:53:21 -0700 (PDT) Subject: [rt-users] any ideas why this post with php CURL not setting custom field? Message-ID: <431497.78083.qm@web55202.mail.re4.yahoo.com> Hi there, I have modified a web application to post to RT's web interface a create ticket request. The post works perfectly... the ticket get created in the right queue with the given subject and text... except that the custom field value I pass (UPC) in does not get set. Here is the CURL code: ---- $content = 'id: new CF-UPC: 786936180992 Text: This is the ticket text Subject: This is the subject Queue: External App Requests'; $request = RT_LOCATION; $request .= 'ticket/new/'; $postargs = array( 'user' => RT_USER, 'pass' => RT_PASS, 'content' => $content ); // get the curl session object $session = curl_init($request); // set the POST options curl_setopt ($session, CURLOPT_POST, true); curl_setopt ($session, CURLOPT_POSTFIELDS, $postargs); curl_setopt($session, CURLOPT_HEADER, true); curl_setopt($session, CURLOPT_RETURNTRANSFER, true); curl_setopt( $session, CURLOPT_HTTPHEADER, array( 'Expect:' ) ); // do the POST and then close the session $response = curl_exec($session); curl_close($session); --- In debugging this I have also created a simple form which posts to the same place:
User:
Pass:
Content:

When this form is used, again the ticket is created but in this case the custom field UPC does get set. But the "Content:" being sent is the same in both. In particular in both cases I am providing UPC's value with "CF-UPC: 78..." Can anyone here explain what the difference could possibly be between these two posting methods that could result in this scenario? By the way, in both cases I am passing in the same user name and password. I am really stumped and I suspect some small stupid thing I have missed. Thanks for your help, Kim -------------- next part -------------- An HTML attachment was scrubbed... URL: From echatham at broadvox.net Tue May 19 13:09:34 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 19 May 2009 13:09:34 -0400 Subject: [rt-users] Regular Authentication and ExternalAuth RT 3.8.1 Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDBD5A@CLEHBEXMS01.broadvox.local> Hello, It appears that after I got Apache/MySql working previously, I am unable to login with the default username/password (root/password) to the web interface. I started a new topic for this. I also tried adding settings in for ExternalAuth to the RT_SiteConfig.pm. I am getting an @INC error in Apache when I try restarting the service. Even before I added the "External Authentication" variables, "LDAP" variables and the "ExternalAuth" Plugin setting, I still could not login using root and password. /opt/rt3/etc/RT_SiteConfig.pm settings: # Set( $rtname, 'example.com'); # Set(@Plugins,(qw(Extension::QuickDelete))); # Set($WebPath, "/rt3"); Set($rtname, "broadvox.local"); Set($Orginization, 'broadvox.local'); Set($CorrespondAddress, 'echatham at broadvox.net'); Set($CommentAddress, 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); # Set($WebBaseURL, 'http://rt.broadvox.local/'); Set(@Plugins, qw(RT::Authen::ExternalAuth)); # Database Set($DatabaseType, 'mysql'); Set($DatabaseUser, 'rt_user'); Set($DatabasePassword, 'rt_pass'); Set($DatabaseRTHost, 'localhost'); # External Authentication Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); Set($AutoCreateNonExternalUsers, 1); Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 'SecondaryLDAP', 'Other-DB']); # LDAP Set($AuthMethods, ['LDAP', 'Internal']); Set($LdapExternalAuth, 0); Set($LdapExternalInfo, 0); Set($LdapAutoCreateNonLdapUsers, 1); Set($LdapAttrMap, {'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Orginization' => 'o', 'RealName' => 'cn', 'ExternalContactInfoId' => 'dn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos', => 'sAMAccountName', 'WorkPhone', => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co'}); Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2']); Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', 'mailAlternateAddress']); Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); Set($LdapServer, 'clehbdc01.broadvox.local'); Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); Set($LdapFilter, '(objectClass=*)'); 1; APACHE ERROR_LOG: [Tue May 19 12:54:25 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... [Tue May 19 12:55:17 2009] [error] Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/../lib/RT.pm line 625.\nCompilation failed in require at (eval 2) line 1.\n [Tue May 19 12:55:17 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... Eric Chatham MIS Department Phone: (216) 373-4683 Fax: (216) 373-4669 echatham at broadvox.net [cid:image001.gif at 01C9D882.351CFC90] ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2381 bytes Desc: image001.gif URL: From kfcrocker at lbl.gov Tue May 19 13:55:19 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 19 May 2009 10:55:19 -0700 Subject: [rt-users] custom field question In-Reply-To: References: Message-ID: <4A12F287.1080507@lbl.gov> Prescott, Here's some code I use for doing the same type of thing: # set new value for CF Work-State my $ticket = $self->TicketObj; my $cf_obj = RT::CustomField->new($RT::SystemUser); my $cf_name = "Work-State"; my $cf_value = "Ready for Implementation; $cf_obj->LoadByName( Name => $cf_name ); $RT::Logger->debug( "Loaded \$cf_obj->Name = ". $cf_obj->Name() ."\n" ); $ticket->AddCustomFieldValue( Field=>$cf_obj, Value=>$cf_value, RecordTransaction=>0 ); return 1; I put that code in the Prep-Action area. I put a "return 1;" in the clean-up action. You will want to set the condition to "On Create". You will want to set the action to "User-Defined". Of course, you will want to change $cf_name and $cf_value to whatever. Hope this helps. Kenn LBNL On 5/19/2009 9:48 AM, prescott at wcoil.com wrote: > I am trying to figure out how to have a default value for a custom field. > I have defined a custom field called billable > it is a "select one value" field. > I added the options for n and y in that order. > How do I get the "n" to be the default option. > It always has no value when the ticket is first created. > I want it to be "n" unless someone changes it to "y" > Any pointers would be appreciated. > > Thanks in advance. > > > > _______________________________________________ > 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 ngeron at corenap.com Tue May 19 16:56:21 2009 From: ngeron at corenap.com (Nick Geron) Date: Tue, 19 May 2009 15:56:21 -0500 Subject: [rt-users] apache/mason software caused connection abort In-Reply-To: <4A1198D0.2020205@corenap.com> References: <4A1198D0.2020205@corenap.com> Message-ID: <4A131CF5.4070108@corenap.com> No thoughts from the crowd? -Nick From kagekonjou at gmail.com Tue May 19 17:23:21 2009 From: kagekonjou at gmail.com (Kage) Date: Tue, 19 May 2009 17:23:21 -0400 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: References: Message-ID: I hate to bump my own thread, but I kind of need to find a fix for this extremely soon. My bosses are breathing down my neck. Thanks! On Mon, May 18, 2009 at 10:14 AM, Kage wrote: > Also sent this mail to rt-devel... > > First and foremost, I use 3.6.5 since that's what exists in Ubuntu > Hardy's repository. > > Essentially what happens is I can use RT for an extended period of > time (from 1 hour to 10 hours), and eventually, it'll stop working, > resulting in a 500 Internal Server Error. > > Error log from Apache2 via debug mode: > > [Fri May 15 16:07:28 2009] [notice] Apache/2.2.8 (Ubuntu) > mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8 configured -- > resuming normal operations > [Fri May 15 20:11:10 2009] [crit]: Apache2::RequestIO::rflush: (103) > Software caused connection abort at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 > (/usr/share/request-tracker3.6/libexec/webmux.pl:127) > [Fri May 15 20:11:11 2009] [crit]: Apache2::RequestIO::rflush: (103) > Software caused connection abort at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 > (/usr/share/request-tracker3.6/libexec/webmux.pl:127) > [Fri May 15 20:11:13 2009] [crit]: Apache2::RequestIO::rflush: (103) > Software caused connection abort at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 > (/usr/share/request-tracker3.6/libexec/webmux.pl:127) > [Fri May 15 20:11:16 2009] [crit]: Apache2::RequestIO::rflush: (103) > Software caused connection abort at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 > (/usr/share/request-tracker3.6/libexec/webmux.pl:127) > [Fri May 15 20:11:19 2009] [crit]: Apache2::RequestIO::rflush: (103) > Software caused connection abort at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 > (/usr/share/request-tracker3.6/libexec/webmux.pl:127) > [Fri May 15 20:11:53 2009] [crit]: Apache2::RequestIO::rflush: (104) > Connection reset by peer at > /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 1035 > (/usr/share/request-tracker3.6/libexec/webmux.pl:127) > > -- > ~ Kage > http://vitund.com > http://hackthissite.org > -- ~ Kage http://vitund.com http://hackthissite.org From toml at bitstatement.net Tue May 19 17:31:34 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 19 May 2009 14:31:34 -0700 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: References: Message-ID: <4A132536.9060503@bitstatement.net> Kage wrote: >> Essentially what happens is I can use RT for an extended period of >> time (from 1 hour to 10 hours), and eventually, it'll stop working, >> resulting in a 500 Internal Server Error. Sounds like resource exhaustion of some kind, perhaps a memory or some other type of leak in mason, perl, apache, or RT. I hate to be vague, but it could be anything. You probably need to step outside "what is in hardy's repository" and start upgrading things, probably starting with perl itself. But I would start by looking for more clues when the system is in the "not working" state. Look at memory usage, CPU usage, and the like. See if apache is responding to other non-RT page requests. Doing so will help you narrow it down. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From echatham at broadvox.net Tue May 19 17:42:45 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 19 May 2009 17:42:45 -0400 Subject: [rt-users] Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDBD5A@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB112CDBD5A@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB112CDBEB3@CLEHBEXMS01.broadvox.local> Hello, I forgot to add the error_log example, when I comment out all the LDAP and ExternalAuth Settings in RT_SiteConfig.pm. I've tried using root and password to logon to the web interface with no avail. What could be happening? There's got to be somewhere this program retrieves root name and password password. APACHE ERROR_LOG: [Tue May 19 17:12:33 2009] [notice] caught SIGTERM, shutting down [Tue May 19 17:12:36 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue May 19 17:12:38 2009] [notice] Digest: generating secret for digest authentication ... [Tue May 19 17:12:38 2009] [notice] Digest: done [Tue May 19 17:12:39 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Tue May 19 21:12:48 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:12:53 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:13:36 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:13:37 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:13:38 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:13:39 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:20:59 2009] [error]: FAILED LOGIN for from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:21:00 2009] [error]: FAILED LOGIN for from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:21:01 2009] [error]: FAILED LOGIN for from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:21:18 2009] [error]: FAILED LOGIN for from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 17:24:54 2009] [notice] caught SIGTERM, shutting down [Tue May 19 17:24:57 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Tue May 19 17:24:59 2009] [notice] Digest: generating secret for digest authentication ... [Tue May 19 17:24:59 2009] [notice] Digest: done [Tue May 19 17:25:00 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Tue May 19 21:25:09 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:25:14 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:30:47 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Tue May 19 21:30:52 2009] [error]: FAILED LOGIN for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) RT_SITECONFIG SETTINGS: # Set( $rtname, 'example.com'); # Set(@Plugins,(qw(Extension::QuickDelete))); # Set($WebPath, "/rt3"); Set($rtname, "broadvox.local"); Set($Orginization, 'broadvox.local'); Set($CorrespondAddress, 'echatham at broadvox.net'); Set($CommentAddress, 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); # Set($WebBaseURL, 'http://rt.broadvox.local/'); # Set(@Plugins, qw(RT::Authen::ExternalAuth)); # Database # Set($DatabaseType, 'mysql'); # Set($DatabaseUser, 'rt_user'); # Set($DatabasePassword, 'rt_pass'); # Set($DatabaseRTHost, 'localhost'); # External Authentication # Set($ExternalAuthPriority, ['My_LDAP']); # Set($ExternalInfoPriority, ['My_LDAP']); # Set($AutoCreateNonExternalUsers, 1); # Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 'SecondaryLDAP', 'Other-DB']); # LDAP # Set($AuthMethods, ['My_LDAP', 'Internal']); # Set($LdapExternalAuth, 0); # Set($LdapExternalInfo, 0); # Set($LdapAutoCreateNonLdapUsers, 1); # Set($LdapAttrMap, {'Name' => 'sAMAccountName', # 'EmailAddress' => 'mail', # 'Orginization' => 'o', # 'RealName' => 'cn', # 'ExternalContactInfoId' => 'dn', # 'ExternalAuthId' => 'sAMAccountName', # 'Gecos', => 'sAMAccountName', # 'WorkPhone', => 'telephoneNumber', # 'Address1' => 'streetAddress', # 'City' => 'l', # 'State' => 'st', # 'Zip' => 'postalCode', # 'Country' => 'co'}); # Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', # 'EmailAddress', 'RealName', # 'WorkPhone', 'Address2']); # Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', # 'mailAlternateAddress']); # Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); # Set($LdapServer, 'clehbdc01.broadvox.local'); # Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); # Set($LdapFilter, '(objectClass=*)'); 1; From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Eric Chatham Sent: Tuesday, May 19, 2009 13:10 To: RT-Users at lists.bestpractical.com Subject: [rt-users] Regular Authentication and ExternalAuth RT 3.8.1 Hello, It appears that after I got Apache/MySql working previously, I am unable to login with the default username/password (root/password) to the web interface. I started a new topic for this. I also tried adding settings in for ExternalAuth to the RT_SiteConfig.pm. I am getting an @INC error in Apache when I try restarting the service. Even before I added the "External Authentication" variables, "LDAP" variables and the "ExternalAuth" Plugin setting, I still could not login using root and password. /opt/rt3/etc/RT_SiteConfig.pm settings: # Set( $rtname, 'example.com'); # Set(@Plugins,(qw(Extension::QuickDelete))); # Set($WebPath, "/rt3"); Set($rtname, "broadvox.local"); Set($Orginization, 'broadvox.local'); Set($CorrespondAddress, 'echatham at broadvox.net'); Set($CommentAddress, 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); # Set($WebBaseURL, 'http://rt.broadvox.local/'); Set(@Plugins, qw(RT::Authen::ExternalAuth)); # Database Set($DatabaseType, 'mysql'); Set($DatabaseUser, 'rt_user'); Set($DatabasePassword, 'rt_pass'); Set($DatabaseRTHost, 'localhost'); # External Authentication Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); Set($AutoCreateNonExternalUsers, 1); Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 'SecondaryLDAP', 'Other-DB']); # LDAP Set($AuthMethods, ['LDAP', 'Internal']); Set($LdapExternalAuth, 0); Set($LdapExternalInfo, 0); Set($LdapAutoCreateNonLdapUsers, 1); Set($LdapAttrMap, {'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Orginization' => 'o', 'RealName' => 'cn', 'ExternalContactInfoId' => 'dn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos', => 'sAMAccountName', 'WorkPhone', => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co'}); Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2']); Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', 'mailAlternateAddress']); Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); Set($LdapServer, 'clehbdc01.broadvox.local'); Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); Set($LdapFilter, '(objectClass=*)'); 1; APACHE ERROR_LOG: [Tue May 19 12:54:25 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... [Tue May 19 12:55:17 2009] [error] Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/../lib/RT.pm line 625.\nCompilation failed in require at (eval 2) line 1.\n [Tue May 19 12:55:17 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... Eric Chatham MIS Department Phone: (216) 373-4683 Fax: (216) 373-4669 echatham at broadvox.net [cid:image001.gif at 01C9D8A9.37AF5580] ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. ________________________________ CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 2381 bytes Desc: image001.gif URL: From ngeron at corenap.com Tue May 19 18:21:04 2009 From: ngeron at corenap.com (Nick Geron) Date: Tue, 19 May 2009 17:21:04 -0500 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: <4A132536.9060503@bitstatement.net> References: <4A132536.9060503@bitstatement.net> Message-ID: <4A1330D0.201@corenap.com> Kage, I'm seeing similar issues with 3.8.2. Take a look at my post "apache/mason software caused connection abort." Running with Tom's thought, maybe we can compare setups. My two systems are identical builds of a gentoo stage 4 on VMWare ESX3i. My default vm resources are pretty low. Each host has 256M and a single, virtual cpu witch the systems see as a Xeon E5410. Now I don't see how a nearly idle system (in testing) could have resource issues with regard to the CPU, but looking at my puny alloted memory, I could see how that might cause a crunch. What's your memory capacity and usage look like? -Nick Tom Lahti wrote: > Kage wrote: >>> Essentially what happens is I can use RT for an extended period of >>> time (from 1 hour to 10 hours), and eventually, it'll stop working, >>> resulting in a 500 Internal Server Error. > > Sounds like resource exhaustion of some kind, perhaps a memory or some other > type of leak in mason, perl, apache, or RT. I hate to be vague, but it > could be anything. You probably need to step outside "what is in hardy's > repository" and start upgrading things, probably starting with perl itself. > > But I would start by looking for more clues when the system is in the "not > working" state. Look at memory usage, CPU usage, and the like. See if > apache is responding to other non-RT page requests. Doing so will help you > narrow it down. > From klausengelmann at gmail.com Tue May 19 18:49:02 2009 From: klausengelmann at gmail.com (Klaus Engelmann) Date: Tue, 19 May 2009 19:49:02 -0300 Subject: [rt-users] Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDBD5A@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB112CDBD5A@CLEHBEXMS01.broadvox.local> Message-ID: Hello Eric: I've got the same problem. After compiling and installing RT::Authen::ExternalAuth I was able to authenticate using my OpenLDAP but any other user that is missing from LDAP will not work. Even new users that send an email in order to request a ticket isn't working. I am using rt3-3.6.5-3.el5.rpm on a CentOS Machine and RT-Authen-ExternalAuth-0.05. The logs are: [Thu May 7 21:32:44 2009] [error]: RT could not load a valid user, and RT's configuration does not allow [Thu May 7 21:32:44 2009] [error]: RT could not load a valid user, and RT's configuration does not allow [Thu May 7 21:32:44 2009] [error]: Could not record email: Could not load a valid user (/usr/share/rt3/html/REST/1.0/NoAuth/mail-gateway:75) And my configuration is: # Set ldap settings Set( @Plugins, qw(RT::Authen::ExternalAuth) ); # 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, 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, { # 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' => 'neptuno.ufcspa.edu.br', ## 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' => 'cn=admin,dc=ufcspa,dc=edu,dc=br', # The password RT should use to connect to the LDAP server 'pass' => 'xxxx', # The LDAP search base 'base' => 'ou=Users,dc=ufcspa,dc=edu,dc=br', # The filter to use to match RT-Users 'filter' => '(objectClass=posixAccount)', # The filter that will only match disabled users 'd_filter' => '(accountStatus=disabled)', # 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 ], ## RT ATTRIBUTE MATCHING SECTION # The list of RT attributes that uniquely identify a user 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName' ], # The mapping of RT attributes on to LDAP attributes 'attr_map' => { 'Name' => 'uid', 'EmailAddress' => 'mail', 'RealName' => 'displayName' } } } ); Klaus Engelmann CCNA CCDA - CSCO10971632 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rt-users at thefreecat.org Tue May 19 19:13:38 2009 From: rt-users at thefreecat.org (Jean-Christophe Boggio) Date: Wed, 20 May 2009 01:13:38 +0200 Subject: [rt-users] Display user customfields in prefs In-Reply-To: <2B51445F-7EC0-4B7F-8FB8-F8F323DA7747@bestpractical.com> References: <4A12D4C1.4080401@thefreecat.org> <2B51445F-7EC0-4B7F-8FB8-F8F323DA7747@bestpractical.com> Message-ID: <4A133D22.8060605@thefreecat.org> >> I would like to use customfields for users. No problem for defining >> the >> fields but I see no way to make them appear on the prefs page (I have >> superuser rights + specific permissions to do anything with this >> field). >> I have the "Custom fields" box but nothing in it. > Have you applied the custom field? > Configuration -> Global -> Custom FIelds -> Users No, that was it, thanks a lot. From Subbaraman.Venkateswaran at blackrock.com Tue May 19 09:17:44 2009 From: Subbaraman.Venkateswaran at blackrock.com (Venkateswaran, Subbaraman) Date: Tue, 19 May 2009 09:17:44 -0400 Subject: [rt-users] Search page Owners drop-down Message-ID: Can someone please explain why we see all kinds of emails, junk in addition to Login IDs in the Owners drop-down in RT search page? Is there a way we can control or maintain this, please? This is screwing up people's RT search on tickets based on owners. Thanks a lot. THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE PRIVILEGED, CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM DISCLOSURE. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this message and any attachment is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and permanently delete it from your computer and destroy any printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: From yen-nhi.vo at ericsson.com Tue May 19 19:13:03 2009 From: yen-nhi.vo at ericsson.com (Yen-Nhi Vo) Date: Tue, 19 May 2009 19:13:03 -0400 Subject: [rt-users] RT Issues: Cannot write to '/opt/rt3/var/log/rt.log': Message-ID: Hi I got this error: error: Cannot write to '/opt/rt3/var/log/rt.log': at /opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/Log/Dispatch/File.pm line 134. context: ... 130: } 131: else 132: { 133: $fh = $self->{fh}; 134: print $fh $p{message} 135: or die "Cannot write to '$self->{filename}': $!"; 136: } 137: } 138: ... code stack: /opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/Log/Dispatch/File.pm:134 /opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/Log/Dispatch/Output.pm:39 /opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/Log/Dispatch.pm:147 /opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/Log/Dispatch.pm:95 /opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/Log/Dispatch.pm:70 /opt/pgm/perl/5.10.0/lib/site_perl/5.10.0/Log/Dispatch.pm:22 /opt/rt3/lib/RT/I18N.pm:414 The permission on the file rt.log is set to 777. Can someone help? Thank You Yen-Nhi -------------- next part -------------- An HTML attachment was scrubbed... URL: From kagekonjou at gmail.com Wed May 20 09:13:24 2009 From: kagekonjou at gmail.com (Kage) Date: Wed, 20 May 2009 09:13:24 -0400 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: <4A1330D0.201@corenap.com> References: <4A132536.9060503@bitstatement.net> <4A1330D0.201@corenap.com> Message-ID: Memory capacity is currently set to 512MB on our Hardy RT VM. CPU is capped to a whole core for itself (so, something like 2.8GHz). Usage is practically none. I'm not so sure memory is the issue, but I'll bump the VM's memory up and start pounding the Hardy RT VM and see if that fixes it. On Tue, May 19, 2009 at 6:21 PM, Nick Geron wrote: > Kage, > > I'm seeing similar issues with 3.8.2. ?Take a look at my post "apache/mason > software caused connection abort." > > Running with Tom's thought, maybe we can compare setups. ?My two systems are > identical builds of a gentoo stage 4 on VMWare ESX3i. ?My default vm > resources are pretty low. ?Each host has 256M and a single, virtual cpu > witch the systems see as a Xeon E5410. ?Now I don't see how a nearly idle > system (in testing) could have resource issues with regard to the CPU, but > looking at my puny alloted memory, I could see how that might cause a > crunch. > > What's your memory capacity and usage look like? > > -Nick > > Tom Lahti wrote: >> >> Kage wrote: >>>> >>>> Essentially what happens is I can use RT for an extended period of >>>> time (from 1 hour to 10 hours), and eventually, it'll stop working, >>>> resulting in a 500 Internal Server Error. >> >> Sounds like resource exhaustion of some kind, perhaps a memory or some >> other >> type of leak in mason, perl, apache, or RT. ?I hate to be vague, but it >> could be anything. ?You probably need to step outside "what is in hardy's >> repository" and start upgrading things, probably starting with perl >> itself. >> >> But I would start by looking for more clues when the system is in the "not >> working" state. ?Look at memory usage, CPU usage, and the like. ?See if >> apache is responding to other non-RT page requests. ?Doing so will help >> you >> narrow it down. >> > > -- ~ Kage http://vitund.com http://hackthissite.org From italovalcy at gmail.com Wed May 20 09:15:24 2009 From: italovalcy at gmail.com (Italo Valcy) Date: Wed, 20 May 2009 10:15:24 -0300 Subject: [rt-users] Custom actions using another pre-configured action Message-ID: <3639fecf0905200615v44751795qa444e04f122a353d@mail.gmail.com> Hello guys, I'm creating a custom action and I need to use another pre-configured action, Notify CCs. I didn't find a way to do this. Really, I need that 'on create' 'modify the ticket subject' and 'send a mail to CCs whatchers with the new subject'. Anyone can help-me? Thanks for any help. -- Sauda??es, Italo Valcy :: http://wiki.dcc.ufba.br/~ItaloValcy -------------- next part -------------- An HTML attachment was scrubbed... URL: From FluchT at wyeth.com Wed May 20 09:21:53 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Wed, 20 May 2009 09:21:53 -0400 Subject: [rt-users] Custom actions using another pre-configured action In-Reply-To: <3639fecf0905200615v44751795qa444e04f122a353d@mail.gmail.com> References: <3639fecf0905200615v44751795qa444e04f122a353d@mail.gmail.com> Message-ID: <4A1420110200008A00020A5E@gv01a67m.gv.us.pri.wyeth.com> Maybe you could create just two scrips, one with your custom action and one with a predefined action and both with the same condition. Then both scrips should be executed. >>> Italo Valcy 2009-05-20 15:15 >>> Hello guys, I'm creating a custom action and I need to use another pre-configured action, Notify CCs. I didn't find a way to do this. Really, I need that 'on create' 'modify the ticket subject' and 'send a mail to CCs whatchers with the new subject'. Anyone can help-me? Thanks for any help. -- Sauda??es, Italo Valcy :: http://wiki.dcc.ufba.br/~ItaloValcy -------------- next part -------------- An HTML attachment was scrubbed... URL: From barnesaw at ucrwcu.rwc.uc.edu Wed May 20 09:22:05 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Wed, 20 May 2009 09:22:05 -0400 Subject: [rt-users] Search page Owners drop-down In-Reply-To: References: Message-ID: <4A1403FD.2060207@ucrwcu.rwc.uc.edu> You are granting OwnTicket rights to a group you did not mean to, likely Requestors or Everyone Venkateswaran, Subbaraman wrote: > > Can someone please explain why we see all kinds of emails, junk in > addition to Login IDs in the Owners drop-down in RT search page? Is > there a way we can control or maintain this, please? This is screwing > up people's RT search on tickets based on owners. > > Thanks a lot. > > > THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE > PRIVILEGED, CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM > DISCLOSURE. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, > distribution, copying or use of this message and any attachment is > strictly prohibited. If you have received this message in error, > please notify us immediately by replying to the message and > permanently delete it from your computer and destroy any printout thereof. > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From italovalcy at gmail.com Wed May 20 09:31:35 2009 From: italovalcy at gmail.com (Italo Valcy) Date: Wed, 20 May 2009 10:31:35 -0300 Subject: [rt-users] Custom actions using another pre-configured action In-Reply-To: <4A1420110200008A00020A5E@gv01a67m.gv.us.pri.wyeth.com> References: <3639fecf0905200615v44751795qa444e04f122a353d@mail.gmail.com> <4A1420110200008A00020A5E@gv01a67m.gv.us.pri.wyeth.com> Message-ID: <3639fecf0905200631p759f7d31qdb5e839fe7ccdb99@mail.gmail.com> Hi, On Wed, May 20, 2009 at 10:21 AM, Thomas Fluch wrote: > Maybe you could create just two scrips, one with your custom action and > one with a predefined action and both with the same condition. > > Then both scrips should be executed. > Yes, I did. But didn't work: the notification was sent with the old subject. Do you know how I can to call the action that 'Notify CCs'? -- Sauda??es, Italo Valcy :: http://wiki.dcc.ufba.br/~ItaloValcy -------------- next part -------------- An HTML attachment was scrubbed... URL: From kagekonjou at gmail.com Wed May 20 09:41:56 2009 From: kagekonjou at gmail.com (Kage) Date: Wed, 20 May 2009 09:41:56 -0400 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: References: <4A132536.9060503@bitstatement.net> <4A1330D0.201@corenap.com> Message-ID: Same error is occurring with 1GB of memory on the VM. Everything else in Apache works just fine, but RT is dead until I restart Apache2. On Wed, May 20, 2009 at 9:13 AM, Kage wrote: > Memory capacity is currently set to 512MB on our Hardy RT VM. ?CPU is > capped to a whole core for itself (so, something like 2.8GHz). ?Usage > is practically none. ?I'm not so sure memory is the issue, but I'll > bump the VM's memory up and start pounding the Hardy RT VM and see if > that fixes it. > > On Tue, May 19, 2009 at 6:21 PM, Nick Geron wrote: >> Kage, >> >> I'm seeing similar issues with 3.8.2. ?Take a look at my post "apache/mason >> software caused connection abort." >> >> Running with Tom's thought, maybe we can compare setups. ?My two systems are >> identical builds of a gentoo stage 4 on VMWare ESX3i. ?My default vm >> resources are pretty low. ?Each host has 256M and a single, virtual cpu >> witch the systems see as a Xeon E5410. ?Now I don't see how a nearly idle >> system (in testing) could have resource issues with regard to the CPU, but >> looking at my puny alloted memory, I could see how that might cause a >> crunch. >> >> What's your memory capacity and usage look like? >> >> -Nick >> >> Tom Lahti wrote: >>> >>> Kage wrote: >>>>> >>>>> Essentially what happens is I can use RT for an extended period of >>>>> time (from 1 hour to 10 hours), and eventually, it'll stop working, >>>>> resulting in a 500 Internal Server Error. >>> >>> Sounds like resource exhaustion of some kind, perhaps a memory or some >>> other >>> type of leak in mason, perl, apache, or RT. ?I hate to be vague, but it >>> could be anything. ?You probably need to step outside "what is in hardy's >>> repository" and start upgrading things, probably starting with perl >>> itself. >>> >>> But I would start by looking for more clues when the system is in the "not >>> working" state. ?Look at memory usage, CPU usage, and the like. ?See if >>> apache is responding to other non-RT page requests. ?Doing so will help >>> you >>> narrow it down. >>> >> >> > > > > -- > ~ Kage > http://vitund.com > http://hackthissite.org > -- ~ Kage http://vitund.com http://hackthissite.org From barnesaw at ucrwcu.rwc.uc.edu Wed May 20 09:46:18 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Wed, 20 May 2009 09:46:18 -0400 Subject: [rt-users] Custom actions using another pre-configured action In-Reply-To: <3639fecf0905200631p759f7d31qdb5e839fe7ccdb99@mail.gmail.com> References: <3639fecf0905200615v44751795qa444e04f122a353d@mail.gmail.com> <4A1420110200008A00020A5E@gv01a67m.gv.us.pri.wyeth.com> <3639fecf0905200631p759f7d31qdb5e839fe7ccdb99@mail.gmail.com> Message-ID: <4A1409AA.6040005@ucrwcu.rwc.uc.edu> Italo Valcy wrote: > Hi, > > On Wed, May 20, 2009 at 10:21 AM, Thomas Fluch > wrote: > > Maybe you could create just two scrips, one with your custom > action and one with a predefined action and both with the same > condition. > > Then both scrips should be executed. > > > Yes, I did. But didn't work: the notification was sent with the old > subject. Do you know how I can to call the action that 'Notify CCs'? If I recall correctly, you can change the name of the subject change scrip (say to 1changesubject) and of the notify cc (say to 2notifycc) and the subject change scrip will run first. Alternatively, You play with TransactionBatch stage and see if that does what you want. > > > -- > Sauda??es, > > Italo Valcy :: http://wiki.dcc.ufba.br/~ItaloValcy > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From jboris at adphila.org Wed May 20 11:15:24 2009 From: jboris at adphila.org (John BORIS) Date: Wed, 20 May 2009 11:15:24 -0400 Subject: [rt-users] 3.6.6 suddenly stops creating tickets Message-ID: <4A13E64C.2594.002B.0@adphila.org> All of a sudden my 3.6.6 installation on Fedora 8 stopped adding tickets. I have tried different queues and users but all just hang when you hit the create button. I see these errors in the rt_error_log [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: http://172.31.6.213/Ticket/Create.html?Queue=43 [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: http://172.31.6.213/Ticket/Create.html?Queue=43 [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: http://172.31.6.213/Ticket/Create.html?Queue=43 Any pointers or where to start looking? I restarted both httpd and mysqld but that didn't help. 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 barnesaw at ucrwcu.rwc.uc.edu Wed May 20 11:18:39 2009 From: barnesaw at ucrwcu.rwc.uc.edu (Drew Barnes) Date: Wed, 20 May 2009 11:18:39 -0400 Subject: [rt-users] 3.6.6 suddenly stops creating tickets In-Reply-To: <4A13E64C.2594.002B.0@adphila.org> References: <4A13E64C.2594.002B.0@adphila.org> Message-ID: <4A141F4F.8000303@ucrwcu.rwc.uc.edu> Check yum log (assuming you use it) and make sure perl or some subset of perl modules wasn't upgraded. That's where I always on systems with yum updates turned on. John BORIS wrote: > All of a sudden my 3.6.6 installation on Fedora 8 stopped adding > tickets. I have tried different queues and users but all just hang when > you hit the create button. I see these errors in the rt_error_log > > [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server > "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in > string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: > http://172.31.6.213/Ticket/Create.html?Queue=43 > [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server > "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in > string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: > http://172.31.6.213/Ticket/Create.html?Queue=43 > [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server > "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in > string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: > http://172.31.6.213/Ticket/Create.html?Queue=43 > > > Any pointers or where to start looking? > > I restarted both httpd and mysqld but that didn't help. > > 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 > -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From jboris at adphila.org Wed May 20 11:20:28 2009 From: jboris at adphila.org (John BORIS) Date: Wed, 20 May 2009 11:20:28 -0400 Subject: [rt-users] 3.6.6 suddenly stops creating tickets In-Reply-To: <4A141F4F.8000303@ucrwcu.rwc.uc.edu> References: <4A13E64C.2594.002B.0@adphila.org> <4A141F4F.8000303@ucrwcu.rwc.uc.edu> Message-ID: <4A13E77C.2594.002B.0@adphila.org> I administer the server and haven't done any upgrades on the server. 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!" >>> Drew Barnes 5/20/2009 11:18 AM >>> Check yum log (assuming you use it) and make sure perl or some subset of perl modules wasn't upgraded. That's where I always on systems with yum updates turned on. John BORIS wrote: > All of a sudden my 3.6.6 installation on Fedora 8 stopped adding > tickets. I have tried different queues and users but all just hang when > you hit the create button. I see these errors in the rt_error_log > > [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server > "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in > string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: > http://172.31.6.213/Ticket/Create.html?Queue=43 > [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server > "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in > string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: > http://172.31.6.213/Ticket/Create.html?Queue=43 > [Wed May 20 11:09:57 2009] [error] [client 172.31.6.95] FastCGI: server > "/opt/rt3/bin/mason_handler.fcgi" stderr: Use of uninitialized value in > string eq at /opt/rt3/lib/RT/Record.pm line 1706., referer: > http://172.31.6.213/Ticket/Create.html?Queue=43 > > > Any pointers or where to start looking? > > I restarted both httpd and mysqld but that didn't help. > > 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 > -- Drew Barnes Applications Analyst Network Resources Department Raymond Walters College University of Cincinnati From FluchT at wyeth.com Wed May 20 12:28:50 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Wed, 20 May 2009 12:28:50 -0400 Subject: [rt-users] Assign ticket to someone who's queue is not visible to me - or - what's an ACL? Message-ID: <4A144BE20200008A00020AB8@gv01a67m.gv.us.pri.wyeth.com> Hey! I want to assign tickets to a supporter who is watcher of a queue I cannot see. I figured out, that I can only assign tickets to those who are in the scope of my visible queues. So, if i can see the queues "general" and "development", i cant assign a ticket to Mr. Blub, who is watcher of the queue "media" only. The drop down menu of "owner" just offers all names of queues I can see. I dont want everyone to see each queue to prevent an information overflow. How can i solve that problem? Does this have something to do with the ACL? If not, whats an ACL (Access Control List) and how can i use it efficiently? The wiki does not offer much information about the ACL. Thanks 2 everyone Best regards, Tommy! -------------- next part -------------- An HTML attachment was scrubbed... URL: From kfcrocker at lbl.gov Wed May 20 12:57:30 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Wed, 20 May 2009 09:57:30 -0700 Subject: [rt-users] Search page Owners drop-down In-Reply-To: References: Message-ID: <4A14367A.3050002@lbl.gov> Subb, Most likely, you have a very "Liberal" application of the "OwnTicket" right. For example, if you let just about anyone create a ticket AND you have given the "OwnTicket" right to "Everyone" Globally, then guess what? Every ticket that exists in every queue will most likely have a REALLY long list of possible owners. This will also kick your Query/search speed into granny low. Try breaking down the privileges you have into something with more granularity. Kenn LBNL On 5/19/2009 6:17 AM, Venkateswaran, Subbaraman wrote: > > Can someone please explain why we see all kinds of emails, junk in > addition to Login IDs in the Owners drop-down in RT search page? Is > there a way we can control or maintain this, please? This is screwing > up people's RT search on tickets based on owners. > > Thanks a lot. > > > THE INFORMATION CONTAINED IN THIS MESSAGE AND ANY ATTACHMENT MAY BE > PRIVILEGED, CONFIDENTIAL, PROPRIETARY OR OTHERWISE PROTECTED FROM > DISCLOSURE. If the reader of this message is not the intended > recipient, you are hereby notified that any dissemination, > distribution, copying or use of this message and any attachment is > strictly prohibited. If you have received this message in error, > please notify us immediately by replying to the message and > permanently delete it from your computer and destroy any printout thereof. > ------------------------------------------------------------------------ > > _______________________________________________ > 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 Wed May 20 13:03:44 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Wed, 20 May 2009 10:03:44 -0700 Subject: [rt-users] Assign ticket to someone who's queue is not visible to me - or - what's an ACL? In-Reply-To: <4A144BE20200008A00020AB8@gv01a67m.gv.us.pri.wyeth.com> References: <4A144BE20200008A00020AB8@gv01a67m.gv.us.pri.wyeth.com> Message-ID: <4A1437F0.8080603@lbl.gov> Thomas, Try putting Mr. Blub into a group that has the correct privileges for the Queues you want him to own tickets for. That way, he's just another guy who can own tickets in that queue along with others, but his own queue still remains invisable to those who do not need to see it. Hope this helps. Kenn LBNL On 5/20/2009 9:28 AM, Thomas Fluch wrote: > Hey! > > I want to assign tickets to a supporter who is watcher of a queue I > cannot see. I figured out, that I can only assign tickets to those who > are in the scope of my visible queues. So, if i can see the queues > "general" and "development", i cant assign a ticket to Mr. Blub, who > is watcher of the queue "media" only. The drop down menu of > "owner" just offers all names of queues I can see. > > I dont want everyone to see each queue to prevent an information > overflow. How can i solve that problem? Does this have something to do > with the ACL? If not, whats an ACL (Access Control List) and how can i > use it efficiently? The wiki does not offer much information about the > ACL. > > Thanks 2 everyone > Best regards, > Tommy! > ------------------------------------------------------------------------ > > _______________________________________________ > 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 FluchT at wyeth.com Wed May 20 14:04:05 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Wed, 20 May 2009 14:04:05 -0400 Subject: [rt-users] Assign ticket to someone who's queue is not visibleto me - or - what's an ACL? In-Reply-To: <4A1437F0.8080603@lbl.gov> References: <4A144BE20200008A00020AB8@gv01a67m.gv.us.pri.wyeth.com> <4A1437F0.8080603@lbl.gov> Message-ID: <4A1462350200008A00020AC3@gv01a67m.gv.us.pri.wyeth.com> Hey Kenn, thank you for your fast response. This works great! I just had to grant "Privileged" to "Own Ticket" in a global context. Thank you very much! Best regards, Tommy! >>> Ken Crocker 2009-05-20 19:03 >>> Thomas, Try putting Mr. Blub into a group that has the correct privileges for the Queues you want him to own tickets for. That way, he's just another guy who can own tickets in that queue along with others, but his own queue still remains invisable to those who do not need to see it. Hope this helps. Kenn LBNL On 5/20/2009 9:28 AM, Thomas Fluch wrote: Hey! I want to assign tickets to a supporter who is watcher of a queue I cannot see. I figured out, that I can only assign tickets to those who are in the scope of my visible queues. So, if i can see the queues "general" and "development", i cant assign a ticket to Mr. Blub, who is watcher of the queue "media" only. The drop down menu of "owner" just offers all names of queues I can see. I dont want everyone to see each queue to prevent an information overflow. How can i solve that problem? Does this have something to do with the ACL? If not, whats an ACL (Access Control List) and how can i use it efficiently? The wiki does not offer much information about the ACL. Thanks 2 everyone Best regards, Tommy! _______________________________________________http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-usersCommunity help: http://wiki.bestpractical.comCommercial support: sales at bestpractical.comDiscover 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 FluchT at wyeth.com Wed May 20 14:09:29 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Wed, 20 May 2009 14:09:29 -0400 Subject: [rt-users] Notify new users about their login information In-Reply-To: <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> References: <23593299.post@talk.nabble.com> <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> <4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> Message-ID: <4A1463790200008A00020AC9@gv01a67m.gv.us.pri.wyeth.com> Hey Gene, thank you for your example code! You said, that you poked aroung in the database. I guess, that this database would help me a lot finding objects and their preferences I can use in a custom condition or custom action. Would you tell where i can find this database exactly so that i can try to understand perl a little? Thank you! Best regards, Tommy! >>> Gene LeDuc 2009-05-18 18:39 >>> Ah, didn't realize you meant creating a user via the web. Poking around in the database, I'd guess that something like the following might work as your custom condition: { ### True when new user created via web my $TA = $self->TransactionObj; my $val = $TA->ObjectType eq 'RT::User' && $TA->Type eq 'Create' && $TA->CreatorObj->Id > != 1; return $val; } I haven't tried the above (or used ObjectType), but I think it's at least a good place to start. The following observations are for v3.6.3. When a user is created via an e-mail ticket, the Creator is the System user, and the System user is #1. When a user is created via a web session, the Creator is the logged in user, which is always > #12. Set this up in a global scrip and use a variant of the auto-password template you're already using for tickets. If it doesn't work, throw some debug logging stuff in and see what you get. Once you get it working, this would be a good wiki addition! Gene At 08:29 AM 5/18/2009, Thomas Fluch wrote: >Thanks for your answer. > >I already set up the automatical creation of a username and password for >new users, but thats not what i meant. > >I mean, that if I AM CREATING a new user as an admin or root via the Users >-> New User interface i dont want to manually inform this user (or more >users) about their login information. If I click on "create", the user >should automatically get an email with the login information. > >I cant solve that issue by any templates or existing scripts, because the >condition "create", which i used to inform new customers about their login >information, refers to "create a ticket" and not "creat a user". So >actually I dont want to inform someone when he creates a ticket. I want to >inform a supporter when i create his account. > >Regards, >Tommy! > > > >>> Gene LeDuc 2009-05-18 17:23 >>> >One way to auto-assign a new user an account password is to do it via the >autoreply template, no new scrips needed. There's a good example you can >start with on the wiki. > >At 01:36 AM 5/18/2009, tommy0660 wrote: > > >Another thing I would want to implement is, that when a new user has been > >created, immediately after the creation the user should be informed via > >email to his email-address about his login information like: > > >-- >Gene LeDuc, GSEC >Security Analyst >San Diego State University -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From gleduc at mail.sdsu.edu Wed May 20 14:35:43 2009 From: gleduc at mail.sdsu.edu (Gene LeDuc) Date: Wed, 20 May 2009 11:35:43 -0700 Subject: [rt-users] Notify new users about their login information In-Reply-To: <4A1463790200008A00020AC9@gv01a67m.gv.us.pri.wyeth.com> References: <23593299.post@talk.nabble.com> <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> <4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> <4A1463790200008A00020AC9@gv01a67m.gv.us.pri.wyeth.com> Message-ID: <6.2.1.2.2.20090520112429.030221e0@mail.sdsu.edu> Hi Tommy, The database is whatever database that was decided on when RT was installed; it has nothing to do with perl. We use MySQL for our database and I use Toad to do my snooping. I really can't tell you anything about your installation's database or how to access it. Here there be dragons, lad... Pretty much everyone agrees that accessing the database directly, instead of letting RT do the grunt work, is not generally a great idea. I did it because I wanted to understand what is going on behind the scenes with RT. These observations have often been helpful, but at other times have led me down the wrong path. You should never modify the database directly. Gene At 11:09 AM 5/20/2009, Thomas Fluch wrote: >thank you for your example code! > >You said, that you poked aroung in the database. I guess, that this >database would help me a lot finding objects and their preferences I can >use in a custom condition or custom action. Would you tell where i can >find this database exactly so that i can try to understand perl a little? > >Thank you! >Best regards, Tommy! > > >>> Gene LeDuc 2009-05-18 18:39 >>> >Ah, didn't realize you meant creating a user via the web. Poking around in >the database, I'd guess that something like the following might work as >your custom condition: > >{ ### True when new user created via web > my $TA = $self->TransactionObj; > my $val = $TA->ObjectType eq 'RT::User' > && $TA->Type eq 'Create' > && $TA->CreatorObj->Id > != 1; > return $val; >} > >I haven't tried the above (or used ObjectType), but I think it's at least a >good place to start. The following observations are for v3.6.3. When a >user is created via an e-mail ticket, the Creator is the System user, and >the System user is #1. When a user is created via a web session, the >Creator is the logged in user, which is always > #12. Set this up in a >global scrip and use a variant of the auto-password template you're already >using for tickets. If it doesn't work, throw some debug logging stuff in >and see what you get. Once you get it working, this would be a good wiki >addition! -- Gene LeDuc, GSEC Security Analyst San Diego State University From echatham at broadvox.net Wed May 20 14:55:08 2009 From: echatham at broadvox.net (Eric Chatham) Date: Wed, 20 May 2009 14:55:08 -0400 Subject: [rt-users] Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB112CDBD5A@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB112CDBD5A@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB11319DB89@CLEHBEXMS01.broadvox.local> On Tuesday, May 20, 2009, Eric Chatham wrote: > It appears that after I got Apache/MySql working previously, I am unable to login with the default username/password (root/password) to the web > interface. I started a new topic for this. I also tried adding settings in for ExternalAuth to the RT_SiteConfig.pm. I am getting an @INC > error in Apache when I try restarting the service. Even before I added the "External Authentication" variables, "LDAP" variables and the > "ExternalAuth" Plugin setting, I still could not login using root and password. > > /opt/rt3/etc/RT_SiteConfig.pm settings: I fixed some of my problems. I did two things to fix them, but I'm still stuck. 1. I copied my RT_SiteConfig.pm and Apache Config and re-ran the installation (./configure -> make testdeps -> make install). I copied my saved RT_SiteConfig.pm and Apache config back to their original location. I ran "make dropdb" to redo the database installation. There wasn't anything in there before so I was aware of the warning of all data being lost. This fixed the problem I was having trying to log onto the web interface with the defaults (root and password). I would like to change this password, can anyone tell me how this is changed? The README file didn't say how or where. > APACHE ERROR_LOG: > > [Tue May 19 12:54:25 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... > [Tue May 19 12:55:17 2009] [error] Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 > /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/../lib/RT.pm line > 625.\nCompilation failed in require at (eval 2) line 1.\n > [Tue May 19 12:55:17 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... 2. I partly fixed the problem I was having with LDAP. First, I looked for the ./RT/Authen/ directory and copied it recursively over to /opt/rt3/bin. This fixed the problem as far as the Module being included, but it did not fix the problem I'm having trying to use LDAP. So, here are examples of my problems after the fixings. Could someone double check them for me? Thank you once again for your assistance. RT_SiteConfig.pm settings: # Set( $rtname, 'example.com'); # Set(@Plugins,(qw(Extension::QuickDelete))); # Set($WebPath, "/rt3"); Set($rtname, "broadvox.local"); Set($Orginization, 'broadvox.local'); Set($CorrespondAddress, 'echatham at broadvox.net'); Set($CommentAddress, 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); # Set($WebBaseURL, 'http://rt.broadvox.local/'); Set(@Plugins, qw(RT::Authen::ExternalAuth)); # Database # Set($DatabaseType, 'mysql'); # Set($DatabaseUser, 'rt_user'); # Set($DatabasePassword, 'rt_pass'); # Set($DatabaseRTHost, 'localhost'); # External Authentication Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); Set($AutoCreateNonExternalUsers, 1); Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 'SecondaryLDAP', 'Other-DB']); # LDAP Set($AuthMethods, ['My_LDAP', 'Internal']); Set($LdapExternalAuth, 0); Set($LdapExternalInfo, 0); Set($LdapAutoCreateNonLdapUsers, 1); Set($LdapAttrMap, {'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Orginization' => 'o', 'RealName' => 'cn', 'ExternalContactInfoId' => 'dn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos', => 'sAMAccountName', 'WorkPhone', => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co'}); Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2']); Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', 'mailAlternateAddress']); Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); Set($LdapServer, 'clehbdc01.broadvox.local'); Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); Set($LdapFilter, '(objectClass=*)'); 1; Here are my APACHE ERROR_LOG listings: [Wed May 20 14:07:07 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Wed May 20 18:08:04 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:09 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:13 2009] [error]: FAILED LOGIN for echathamAuxal9op from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:19 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:28 2009] [info]: Successful login for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:276) [Wed May 20 18:08:43 2009] [error]: FAILED LOGIN for echatham at broadvox.local from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:55 2009] [error]: FAILED LOGIN for echatham at broadvox.local from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:09:21 2009] [info]: Successful login for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:276) [Wed May 20 18:11:05 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:11:12 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) Eric Chatham CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From jlucas at eagleinvsys.com Wed May 20 15:41:37 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Wed, 20 May 2009 15:41:37 -0400 Subject: [rt-users] Remove a user or merge two users? Message-ID: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> Hello. I'd like to either... 1) Remove an account that was mistakenly created (preferred) 2) Or, merge two accounts (id's 28 and 3659) I understand why in general you do not want to remove accounts/id's in RT, but this account has one ticket under it which can be recreated and I'd prefer to keep my RT instance as clean as possible. Thanks. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From toml at bitstatement.net Wed May 20 15:51:14 2009 From: toml at bitstatement.net (Tom Lahti) Date: Wed, 20 May 2009 12:51:14 -0700 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: References: <4A132536.9060503@bitstatement.net> <4A1330D0.201@corenap.com> Message-ID: <4A145F32.60604@bitstatement.net> Kage wrote: > Same error is occurring with 1GB of memory on the VM. Everything else > in Apache works just fine, but RT is dead until I restart Apache2. As I said before: >>>> But I would start by looking for more clues when the system is in the "not >>>> working" state. Look at memory usage, CPU usage, and the like. See if >>>> apache is responding to other non-RT page requests. Doing so will help >>>> you narrow it down. In other words, when it breaks next, DON'T just restart apache2. Log into the system and poke around _while its broken_. Try to load a web page through apache that is not RT-related _while its broken_. Look at the memory usage _while its broken_. Look at CPU load _while its broken_. Poke around in all the logs you have in /var/log for recent messages. See if you can narrow it down any. Taking wild stabs and guesses at stuff is a pet peeve of mine; it is not "problem-solving". Be deterministic rather than guessing and you'll be more efficient (and learn to be more self-sufficient at the same time). -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From fran at cis.uab.edu Wed May 20 15:53:55 2009 From: fran at cis.uab.edu (Fran Fabrizio) Date: Wed, 20 May 2009 14:53:55 -0500 Subject: [rt-users] Use of Bcc field? Message-ID: <4A145FD3.7050108@cis.uab.edu> We have an older RT install, version 3.6.4. I've been noticing recently that when a user submits a reply to his ticket for which I am the owner, I get his correspondence, but I also get a duplicate email which has no To: field (so my mail reader says "undisclosed recipients;") and which has me in the Bcc: field. I finally got annoyed enough to dig and figure out which scrip was doing it. In the logs I see: [Wed May 20 10:11:38 2009] [info]: #9722/138706 - Scrip 6 OnCorrespNotifyOtherRecips (/usr/local/rt-3.6.4/lib/RT/Action/SendEmail.pm:245) [Wed May 20 10:11:38 2009] [info]: No recipients found. Not sending. (/usr/local/rt-3.6.4/lib/RT/Action/SendEmail.pm:257) [Wed May 20 10:11:38 2009] [info]: #9722/138706 - Scrip 19 OnCorrespNotifyOwner (/usr/local/rt-3.6.4/lib/RT/Action/SendEmail.pm:245) [Wed May 20 10:11:39 2009] [info]: sent To: fran at cis.uab.edu (/usr/local/rt-3.6.4/lib/RT/Action/SendEmail.pm:276) [Wed May 20 10:11:39 2009] [info]: #9722/138706 - Scrip 5 OnCorrespNotifyRequestorsAndCCs (/usr/local/rt-3.6.4/lib/RT/Action/SendEmail.pm:245) [Wed May 20 10:11:39 2009] [info]: sent Bcc: fran at cis.uab.edu (/usr/local/rt-3.6.4/lib/RT/Action/SendEmail.pm:276) So ok - there were no OtherRecipients, good so far. There was the correspondence to me the owner via Scrip 19, also good so far. But then Scrip 5 OnCorrespNotifyRequestorsAndCCs decided that it should Bcc me. That's where I am stumped. This doesn't happen on all tickets, just some, but I can't discern anything special about this ticket - it's just a simple "user sent an email to helpdesk" ticket - one Requestor, one Owner. Was this a known bug from the 3.6 series, or is this just me not understanding what the OnCorrespNotifyRequestorsAndCCs scrip is doing? Thanks, Fran -- Fran Fabrizio Senior Systems Analyst Department of Computer and Information Sciences University of Alabama at Birmingham http://www.cis.uab.edu/ 205.934.0653 From ruslan.zakirov at gmail.com Wed May 20 17:10:43 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 01:10:43 +0400 Subject: [rt-users] Scrip-Generation: OnOwnerChange --> Change Queue to one of the owner is granted to see In-Reply-To: <23593199.post@talk.nabble.com> References: <23593199.post@talk.nabble.com> Message-ID: <589c94400905201410o29c750a4r9ddbb472d89c523e@mail.gmail.com> The easiest way is to use a perl hash: my %map = ( 'user name A' => 'queue name', 'user name B' => 'queue name', ... ); Then you do something like this: my $owner_name = $self->TicketObj->OwnerObj->Name; my $new_queue_name = $map{ $owner_name }; unless ( $new_queue_name ) { $RT::Logger->error("No owner map for user $owner_name"); return 0; } my ($status, $msg) = $self->TicketObj->SetQueue( $new_queue_name ); unless ( $status ) { $RT::Logger->error("Couldn't set queue to '$new_queue_name' of a ticket #". $self->TicketObj->id . ": $msg"); return 0; } I don't remember exactly if SetQueue method supports names, but looking at your progress I think you can find way to load Queue by name and get its id. On Mon, May 18, 2009 at 12:29 PM, tommy0660 wrote: > > Hey! > > I have the following problem: > If a ticket has been taken the owner AND the queue should change > automatically. The queue should be one of those the owner is granted to see. > Not every user is granted to see each queue. "Supporter A" for example is > granted to see his queue "Development". If Supporter A takes a ticket, the > queue should also change to Development. If an owner has rights to see more > than one queue, i want to specifiy which queue it should be by my own > hardcoded in the scrip (due to the fact, that this would only happen to > three users, its not much work to do that.) > > So what i need is to find out: > > Who is the new owner of the ticket? > Is the owner = Supporter A, Supporter B or Supporter C > If yes: > ?If Supporter A: > ?Change Queue to "Queue 1"; > ?If Supporter B: > ?and so on > ... > If no: > Get the queue the owner is granted to see > Change queue to this queue. > > I started without any knowledge about perl with the following scrip: > > #Get the new Owner of the ticket > my $Owner = $self->TicketObj->Owner; > > #Here i tried to get the Owners Queue but I will get the Tickets Queue and > thats wrong. > ///my $Queue = $self->TicketObj->QueueObj->Name; > > #Set the Queue to $Queue > my ($status, $msg) = $TicketObj->SetQueue ( $Queue ); > unless ( $status ) { > die "Error: $msg"; > } > > Maybe someone can help me. > > Thx > Best regards > Tommy > -- > View this message in context: http://www.nabble.com/Scrip-Generation%3A-OnOwnerChange---%3E-Change-Queue-to-one-of-the-owner-is-granted-to-see-tp23593199p23593199.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 > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Wed May 20 17:20:56 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 01:20:56 +0400 Subject: [rt-users] Repeatedly asking for login In-Reply-To: <12153ac8d0b.-1359580272357957961.8711757298078152094@gmail.com> References: <1215387c68b.9167801382570578726.-6624057654450571743@gmail.com> <12153ac8d0b.-1359580272357957961.8711757298078152094@gmail.com> Message-ID: <589c94400905201420g1be3e713ub6ac59734020920@mail.gmail.com> http://rt3.fsck.com/Ticket/Display.html?id=13513 On Mon, May 18, 2009 at 4:22 PM, Tony A wrote: > Oops. Sorry about that. Just realised what it was. > I had a trailing slash on $WebBaseURL and then a beginning slash on > $WebPath. So when you clicked on something like create a ticket or reply to > a ticket, it set the address to http://server//rt rather that > http://server/rt. > Cheers > Tony Ayre > ---- On Mon, 18 May 2009 04:42:35 -0700 Tony A > wrote ---- > > Hi all, > Further to my recent problem regarding ExternalAuth 0.08 and RT 3.8.2, I now > seem to have gained an issue where users (myself included) get prompted to > log in again when they do something like create a ticket. > When I look in the sessions table, it appears multiple sessions get created, > so I am a little confused as to what is going on? > Any advice would be good. > Also, the UPGRADING.mysql details have been followed as instructed in the > readme. > Cheers > Tony Ayre > > _______________________________________________ > 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 kfcrocker at lbl.gov Wed May 20 17:25:30 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Wed, 20 May 2009 14:25:30 -0700 Subject: [rt-users] Remove a user or merge two users? In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> Message-ID: <4A14754A.2010205@lbl.gov> Jeff, I've done this more than a few times and to be honest, it was a mistake. There are many tables involved in maintaining User relationships (Groups, GroupMembers, ACL, Transactions, etc.). I have found that the simplest thing to do is go to the tickets that belong to someone I would like to erase and just give the ticket to someone else and then disable the old user. No one will see him, no one will know he exists. Looking at all the stuff on the DataBase will drive you nuts if you've just a little bit of OCD in you like I do. Kenn LBNL On 5/20/2009 12:41 PM, Jeff Lucas wrote: > > Hello. > > I'd like to either... > > 1) Remove an account that was mistakenly created (preferred) > > 2) Or, merge two accounts (id's 28 and 3659) > > I understand why in general you do not want to remove accounts/id's in > RT, but this account has one ticket under it which can be recreated > and I'd prefer to keep my RT instance as clean as possible. > > Thanks. > > -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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From kagekonjou at gmail.com Wed May 20 17:31:32 2009 From: kagekonjou at gmail.com (Kage) Date: Wed, 20 May 2009 17:31:32 -0400 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: <4A145F32.60604@bitstatement.net> References: <4A132536.9060503@bitstatement.net> <4A1330D0.201@corenap.com> <4A145F32.60604@bitstatement.net> Message-ID: Well, to reiterate what I said, I did try other Apache2 pages while it was broken. They load just fine with no errors, including Perl scripts. CPU load is 0%, Load is 0.01 or around there across the board. Memory is about the same as after the VM boots up (about 100MB in use). The logs say exactly the same thing as in my first E-Mail. I'm not sure how else to narrow it down. Nothing else is disfunctional in the VM except for RT. I have also rebuilt this VM from scratch about 4 times now trying to see if perhaps that is an issue in and of itself, and the error is recurring. Any other ideas? I can't seem to narrow it down any more using these methods. On Wed, May 20, 2009 at 3:51 PM, Tom Lahti wrote: > Kage wrote: >> Same error is occurring with 1GB of memory on the VM. ?Everything else >> in Apache works just fine, but RT is dead until I restart Apache2. > > As I said before: > >>>>> But I would start by looking for more clues when the system is in the "not >>>>> working" state. ?Look at memory usage, CPU usage, and the like. ?See if >>>>> apache is responding to other non-RT page requests. ?Doing so will help >>>>> you narrow it down. > > In other words, when it breaks next, DON'T just restart apache2. ?Log into > the system and poke around _while its broken_. ?Try to load a web page > through apache that is not RT-related _while its broken_. ?Look at the > memory usage _while its broken_. ?Look at CPU load _while its broken_. ?Poke > around in all the logs you have in /var/log for recent messages. ?See if you > can narrow it down any. > > Taking wild stabs and guesses at stuff is a pet peeve of mine; it is not > "problem-solving". ?Be deterministic rather than guessing and you'll be more > efficient (and learn to be more self-sufficient at the same time). > > -- > -- ============================ > ? Tom Lahti > ? BIT Statement LLC > > ? (425)251-0833 x 117 > ? http://www.bitstatement.net/ > -- ============================ > -- ~ Kage http://vitund.com http://hackthissite.org From ruslan.zakirov at gmail.com Wed May 20 17:48:38 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 01:48:38 +0400 Subject: [rt-users] apache/mason software caused connection abort In-Reply-To: <4A131CF5.4070108@corenap.com> References: <4A1198D0.2020205@corenap.com> <4A131CF5.4070108@corenap.com> Message-ID: <589c94400905201448v28154abfi8351cf2b12fdc7c6@mail.gmail.com> I believe that probably it's easier to try with FastCGI instead of mod_perl. It's not hard to replace one with another. On Wed, May 20, 2009 at 12:56 AM, Nick Geron wrote: > No thoughts from the crowd? > > -Nick > _______________________________________________ > 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 Wed May 20 17:51:40 2009 From: cwfox at us.fujitsu.com (Camron W. Fox) Date: Wed, 20 May 2009 11:51:40 -1000 Subject: [rt-users] Template fields in regular correspondence. In-Reply-To: <589c94400905150727i636c2eb2g220cd33fad345b56@mail.gmail.com> References: <4A0C606E.6020405@us.fujitsu.com> <589c94400905150727i636c2eb2g220cd33fad345b56@mail.gmail.com> Message-ID: <4A147B6C.6050404@us.fujitsu.com> Ruslan Zakirov wrote: > I don't think so. However you can do the following, add valid status > and send when ticket's status changes. Or you can send it on first > update, but not if update is deletion of the ticket. > Ruslan, Would this require setting a custom condition/action in the scrips menu of the queue? I've read through http://wiki.bestpractical.com/view/WriteCustomAction http://wiki.bestpractical.com/view/WriteCustomCondition and, not being a perl programmer, it's seems above my skill level to do. Best Regards, Camron Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cwfox at us.fujitsu.com From ruslan.zakirov at gmail.com Wed May 20 18:07:48 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 02:07:48 +0400 Subject: [rt-users] Template fields in regular correspondence. In-Reply-To: <4A147B6C.6050404@us.fujitsu.com> References: <4A0C606E.6020405@us.fujitsu.com> <589c94400905150727i636c2eb2g220cd33fad345b56@mail.gmail.com> <4A147B6C.6050404@us.fujitsu.com> Message-ID: <589c94400905201507x3ed7c99ej6187872ca34bddf7@mail.gmail.com> On Thu, May 21, 2009 at 1:51 AM, Camron W. Fox wrote: > Ruslan Zakirov wrote: >> I don't think so. However you can do the following, add valid status >> and send when ticket's status changes. Or you can send it on first >> update, but not if update is deletion of the ticket. >> > Ruslan, > > ? ? ? ?Would this require setting a custom condition/action in the scrips menu > of the queue? I've read through > > http://wiki.bestpractical.com/view/WriteCustomAction > http://wiki.bestpractical.com/view/WriteCustomCondition > > ? ? ? ?and, not being a perl programmer, it's seems above my skill level to do. Yep, this will require some custom conditions. You can find examples of conditions on http://wiki.bestpractical.com/view/CustomConditionSnippets. There are examples pretty close to your case at the top of the page. > > Best Regards, > Camron > > Camron W. Fox > Hilo Office > High Performance Computing Group > Fujitsu Management Services of America, Inc. > E-mail: ? ? ? ? cwfox at us.fujitsu.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 > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Wed May 20 18:11:48 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 02:11:48 +0400 Subject: [rt-users] Remove a user or merge two users? In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> Message-ID: <589c94400905201511w51bfcdapb09795f6aefe5eb3@mail.gmail.com> There are MergeUsers and MergeUsersHistory extensions in the best practical's repository and on the CPAN. On Wed, May 20, 2009 at 11:41 PM, Jeff Lucas wrote: > Hello. > > I?d like to either? > > 1)????? Remove an account that was mistakenly created (preferred) > > 2)????? Or, merge two accounts (id?s 28 and 3659) > > I understand why in general you do not want to remove accounts/id?s in RT, > but this account has one ticket under it which can be recreated and I?d > prefer to keep my RT instance as clean as possible. > > Thanks. > > -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 > -- Best regards, Ruslan. From ngeron at corenap.com Wed May 20 18:15:32 2009 From: ngeron at corenap.com (Nick Geron) Date: Wed, 20 May 2009 17:15:32 -0500 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: References: <4A132536.9060503@bitstatement.net> <4A1330D0.201@corenap.com> <4A145F32.60604@bitstatement.net> Message-ID: <4A148104.2020502@corenap.com> I know you said you don't suspect a memory issue on your end, but I have to report, once I upped our 3.8.2 VMs from 256M to 1G per, I have yet to see the error repeated. Something that may be a quite different between our systems is user load. I'm the only one poking around on ours. Therefore our test systems only have to support one live session. I suspect from your first posts that systems are live (lots of users)? I can't speak beyond my own anecdotal evidence, but maybe someone on the list can give us a quick calculation for the average memory required per live user/session. If so, you could at least use that to verify that you're not hitting a resource limit. -Nick Kage wrote: > Well, to reiterate what I said, I did try other Apache2 pages while it > was broken. They load just fine with no errors, including Perl > scripts. CPU load is 0%, Load is 0.01 or around there across the > board. Memory is about the same as after the VM boots up (about 100MB > in use). The logs say exactly the same thing as in my first E-Mail. > I'm not sure how else to narrow it down. Nothing else is > disfunctional in the VM except for RT. I have also rebuilt this VM > from scratch about 4 times now trying to see if perhaps that is an > issue in and of itself, and the error is recurring. > > Any other ideas? I can't seem to narrow it down any more using these methods. > > On Wed, May 20, 2009 at 3:51 PM, Tom Lahti wrote: >> Kage wrote: >>> Same error is occurring with 1GB of memory on the VM. Everything else >>> in Apache works just fine, but RT is dead until I restart Apache2. >> As I said before: >> >>>>>> But I would start by looking for more clues when the system is in the "not >>>>>> working" state. Look at memory usage, CPU usage, and the like. See if >>>>>> apache is responding to other non-RT page requests. Doing so will help >>>>>> you narrow it down. >> In other words, when it breaks next, DON'T just restart apache2. Log into >> the system and poke around _while its broken_. Try to load a web page >> through apache that is not RT-related _while its broken_. Look at the >> memory usage _while its broken_. Look at CPU load _while its broken_. Poke >> around in all the logs you have in /var/log for recent messages. See if you >> can narrow it down any. >> >> Taking wild stabs and guesses at stuff is a pet peeve of mine; it is not >> "problem-solving". Be deterministic rather than guessing and you'll be more >> efficient (and learn to be more self-sufficient at the same time). >> >> -- >> -- ============================ >> Tom Lahti >> BIT Statement LLC >> >> (425)251-0833 x 117 >> http://www.bitstatement.net/ >> -- ============================ >> > > > From ngeron at corenap.com Wed May 20 18:18:29 2009 From: ngeron at corenap.com (Nick Geron) Date: Wed, 20 May 2009 17:18:29 -0500 Subject: [rt-users] apache/mason software caused connection abort In-Reply-To: <589c94400905201448v28154abfi8351cf2b12fdc7c6@mail.gmail.com> References: <4A1198D0.2020205@corenap.com> <4A131CF5.4070108@corenap.com> <589c94400905201448v28154abfi8351cf2b12fdc7c6@mail.gmail.com> Message-ID: <4A1481B5.8040705@corenap.com> Thanks for the info, Ruslan. I discovered I forgot to up the memory on my VMs from a low, 256M default. I gave them 1G each, and so far it seems the behavior has abated. I'm hoping that was the problem, but if not, I might try a FastCGI build. -Nick Ruslan Zakirov wrote: > I believe that probably it's easier to try with FastCGI instead of > mod_perl. It's not hard to replace one with another. > > On Wed, May 20, 2009 at 12:56 AM, Nick Geron wrote: >> No thoughts from the crowd? >> >> -Nick >> _______________________________________________ >> 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 ruslan.zakirov at gmail.com Wed May 20 18:26:06 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 02:26:06 +0400 Subject: [rt-users] apache/mason software caused connection abort In-Reply-To: <4A1481B5.8040705@corenap.com> References: <4A1198D0.2020205@corenap.com> <4A131CF5.4070108@corenap.com> <589c94400905201448v28154abfi8351cf2b12fdc7c6@mail.gmail.com> <4A1481B5.8040705@corenap.com> Message-ID: <589c94400905201526o19db91aem721366923fa01ed6@mail.gmail.com> On Thu, May 21, 2009 at 2:18 AM, Nick Geron wrote: > Thanks for the info, Ruslan. ?I discovered I forgot to up the memory on > my VMs from a low, 256M default. ?I gave them 1G each, and so far it > seems the behavior has abated. ?I'm hoping that was the problem, but if > not, I might try a FastCGI build. This is possible. Just didn't expect to see something like that in logs. > > -Nick > -- Best regards, Ruslan. From david.hobley at mionegroup.com Wed May 20 18:56:12 2009 From: david.hobley at mionegroup.com (David Hobley) Date: Thu, 21 May 2009 08:56:12 +1000 (EST) Subject: [rt-users] 3.8.2 - HTML viewing issue In-Reply-To: <9018475.385031242860151345.JavaMail.root@mail.onegrp.com> Message-ID: <20632035.385051242860172903.JavaMail.root@mail.onegrp.com> Hello, We just upgraded to 3.8.2 and since then when we receive our fax notifications, the HTML rendering is a little off. I have attached two files, the message and a screenshot showing the problem. Is this a bug? Or do I have something misconfigured here? -- Cheers, David -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: efaxbug.gif Type: image/gif Size: 14544 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From toml at bitstatement.net Wed May 20 18:58:48 2009 From: toml at bitstatement.net (Tom Lahti) Date: Wed, 20 May 2009 15:58:48 -0700 Subject: [rt-users] RT 3.6.5 causes connection aborts resulting in 500 error In-Reply-To: References: <4A132536.9060503@bitstatement.net> <4A1330D0.201@corenap.com> <4A145F32.60604@bitstatement.net> Message-ID: <4A148B28.8000104@bitstatement.net> Kage wrote: > Well, to reiterate what I said, I did try other Apache2 pages while it > was broken. They load just fine with no errors, including Perl > scripts. CPU load is 0%, Load is 0.01 or around there across the > board. Memory is about the same as after the VM boots up (about 100MB > in use). The logs say exactly the same thing as in my first E-Mail. > I'm not sure how else to narrow it down. Nothing else is > disfunctional in the VM except for RT. I have also rebuilt this VM > from scratch about 4 times now trying to see if perhaps that is an > issue in and of itself, and the error is recurring. > > Any other ideas? I can't seem to narrow it down any more using these methods. OK, that's excellent. It means its confined to one of RT or the RT/Apache interface you are using. Are you using fastcgi or ....? What version is it? You could also try upgrading to RT 3.8.2. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From jlucas at eagleinvsys.com Wed May 20 21:08:25 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Wed, 20 May 2009 21:08:25 -0400 Subject: [rt-users] Remove a user or merge two users? In-Reply-To: <589c94400905201511w51bfcdapb09795f6aefe5eb3@mail.gmail.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <589c94400905201511w51bfcdapb09795f6aefe5eb3@mail.gmail.com> Message-ID: <11E641922C0B44439FB30F8936ABF621073AA84B@bigmail01.eagleinvsys.com> Thanks for the suggestion, Ruslan. I installed/ran RT-Extension-MergeUsers-0.03_02 (specifying the ID, i.e. 28 rather than the username, i.e. jdoe at eagle.com that I wanted to merge the acct into) and it resulted in... RT::User::MergeInto Unimplemented in HTML::Mason::Commands. (/apps/rt-3.8.2/share/html/Callbacks/RT-Extension-MergeUsers/Admin/Users/Modify.html/RightColumnBottom line 71) It does not appear to have worked since both users still show up in my user list (ID's 28 and 3659. Any suggestions? Thanks. -Jeff -----Original Message----- From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com] Sent: Wednesday, May 20, 2009 6:12 PM To: Jeff Lucas Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Remove a user or merge two users? There are MergeUsers and MergeUsersHistory extensions in the best practical's repository and on the CPAN. On Wed, May 20, 2009 at 11:41 PM, Jeff Lucas wrote: > Hello. > > I?d like to either? > > 1)????? Remove an account that was mistakenly created (preferred) > > 2)????? Or, merge two accounts (id?s 28 and 3659) > > I understand why in general you do not want to remove accounts/id?s in RT, > but this account has one ticket under it which can be recreated and I?d > prefer to keep my RT instance as clean as possible. > > Thanks. > > -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 > -- Best regards, Ruslan. From Simon.Dray at antplc.com Thu May 21 06:18:07 2009 From: Simon.Dray at antplc.com (Simon Dray) Date: Thu, 21 May 2009 11:18:07 +0100 Subject: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets Message-ID: Hi, Has anyone had to use csv,xml,plain or xls files and then ingest them into RT to Create, Change or delete I ask the question because there is no point in re-inventing the wheel if something has already been written that can be shared. Regards Simon -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfh at vialtus.com Thu May 21 06:31:20 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Thu, 21 May 2009 11:31:20 +0100 Subject: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets In-Reply-To: References: Message-ID: <4A152D78.4050109@vialtus.com> Simon; Do you mean something similar to : Tools->Offline ?? Roy Simon Dray wrote: > > Hi, > > > > Has anyone had to use csv,xml,plain or xls files and then ingest them > into RT to Create, Change or delete I ask the question because there > is no point in re-inventing the wheel if something has already been > written that can be shared. > > > > Regards Simon > > > From Simon.Dray at antplc.com Thu May 21 06:48:35 2009 From: Simon.Dray at antplc.com (Simon Dray) Date: Thu, 21 May 2009 11:48:35 +0100 Subject: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets In-Reply-To: <4A152D78.4050109@vialtus.com> References: <4A152D78.4050109@vialtus.com> Message-ID: Roy This looks like a possibility many thanks for the prompt response, do you know if it is documented anywhere in full I guess probably in the Docs. Is it possible to RT command line to ingest the file as I want to automate the whole process i.e a file get delivered to my RT server and at a given time a cronjob run the ingest process and then generates a report of what was done, bit more complex than my post indicated I know. Best regards Simon -----Original Message----- From: Raed El-Hames [mailto:rfh at vialtus.com] Sent: 21 May 2009 11:31 To: Simon Dray Cc: RT-Users at lists.bestpractical.com Subject: Re: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets Simon; Do you mean something similar to : Tools->Offline ?? Roy Simon Dray wrote: > > Hi, > > > > Has anyone had to use csv,xml,plain or xls files and then ingest them > into RT to Create, Change or delete I ask the question because there > is no point in re-inventing the wheel if something has already been > written that can be shared. > > > > Regards Simon > > > From ruslan.zakirov at gmail.com Thu May 21 06:58:34 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 14:58:34 +0400 Subject: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets In-Reply-To: References: <4A152D78.4050109@vialtus.com> Message-ID: <589c94400905210358q14e5caddq7ba76af753bfe193@mail.gmail.com> You can deliver using web request with credentials of an user. On Thu, May 21, 2009 at 2:48 PM, Simon Dray wrote: > Roy > > This looks like a possibility many thanks for the prompt response, do you know if it is documented anywhere in full I guess probably in the Docs. Is it possible to RT command line to ingest the file as I want to automate the whole process i.e a file get delivered to my RT server and at a given time a cronjob run the ingest process and then generates a report of what was done, bit more complex than my post indicated I know. > > Best regards Simon > > -----Original Message----- > From: Raed El-Hames [mailto:rfh at vialtus.com] > Sent: 21 May 2009 11:31 > To: Simon Dray > Cc: RT-Users at lists.bestpractical.com > Subject: Re: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets > > Simon; > > Do you mean something similar to : > Tools->Offline ?? > > Roy > > > > > > Simon Dray wrote: >> >> Hi, >> >> >> >> Has anyone had to use csv,xml,plain or xls files and then ingest them >> into RT to Create, Change or delete I ask the question because there >> is no point in re-inventing the wheel if something has already been >> written that can be shared. >> >> >> >> Regards Simon >> >> >> > _______________________________________________ > 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 ruslan.zakirov at gmail.com Thu May 21 07:10:13 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 15:10:13 +0400 Subject: [rt-users] Remove a user or merge two users? In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA84B@bigmail01.eagleinvsys.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <589c94400905201511w51bfcdapb09795f6aefe5eb3@mail.gmail.com> <11E641922C0B44439FB30F8936ABF621073AA84B@bigmail01.eagleinvsys.com> Message-ID: <589c94400905210410o5ec2db4ax629b68a566fa0ff3@mail.gmail.com> Can you find log of the installation? Especially that part where you run Makefile.PL. This extension has up to date installer to install into plugins directory, but in the error I see old style path. In you case I think adding "require RT::Extension::MergeUsers;" to the end of the site config will help. On Thu, May 21, 2009 at 5:08 AM, Jeff Lucas wrote: > Thanks for the suggestion, Ruslan. > > I installed/ran RT-Extension-MergeUsers-0.03_02 (specifying the ID, i.e. 28 rather than the username, i.e. jdoe at eagle.com that I wanted to merge the acct into) and it resulted in... > > RT::User::MergeInto Unimplemented in HTML::Mason::Commands. (/apps/rt-3.8.2/share/html/Callbacks/RT-Extension-MergeUsers/Admin/Users/Modify.html/RightColumnBottom line 71) > > It does not appear to have worked since both users still show up in my user list (ID's 28 and 3659. > > Any suggestions? > > Thanks. > > -Jeff > > > -----Original Message----- > From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com] > Sent: Wednesday, May 20, 2009 6:12 PM > To: Jeff Lucas > Cc: rt-users at lists.bestpractical.com > Subject: Re: [rt-users] Remove a user or merge two users? > > There are MergeUsers and MergeUsersHistory extensions in the best > practical's repository and on the CPAN. > > On Wed, May 20, 2009 at 11:41 PM, Jeff Lucas wrote: >> Hello. >> >> I?d like to either? >> >> 1)????? Remove an account that was mistakenly created (preferred) >> >> 2)????? Or, merge two accounts (id?s 28 and 3659) >> >> I understand why in general you do not want to remove accounts/id?s in RT, >> but this account has one ticket under it which can be recreated and I?d >> prefer to keep my RT instance as clean as possible. >> >> Thanks. >> >> -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 >> > > > > -- > Best regards, Ruslan. > -- Best regards, Ruslan. From echatham at broadvox.net Thu May 21 10:18:29 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 21 May 2009 10:18:29 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 Message-ID: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> I'm still having a problem with this. Does anyone know how to get LDAP working on RT 3.8.2? Thank you. -----Original Message----- From: Eric Chatham Sent: Wednesday, May 20, 2009 14:55 To: 'Eric Chatham'; RT-Users at lists.bestpractical.com Subject: RE: Regular Authentication and ExternalAuth RT 3.8.1 On Tuesday, May 20, 2009, Eric Chatham wrote: > It appears that after I got Apache/MySql working previously, I am unable to login with the default username/password (root/password) to the web > interface. I started a new topic for this. I also tried adding settings in for ExternalAuth to the RT_SiteConfig.pm. I am getting an @INC > error in Apache when I try restarting the service. Even before I added the "External Authentication" variables, "LDAP" variables and the > "ExternalAuth" Plugin setting, I still could not login using root and password. > > /opt/rt3/etc/RT_SiteConfig.pm settings: I fixed some of my problems. I did two things to fix them, but I'm still stuck. 1. I copied my RT_SiteConfig.pm and Apache Config and re-ran the installation (./configure -> make testdeps -> make install). I copied my saved RT_SiteConfig.pm and Apache config back to their original location. I ran "make dropdb" to redo the database installation. There wasn't anything in there before so I was aware of the warning of all data being lost. This fixed the problem I was having trying to log onto the web interface with the defaults (root and password). I would like to change this password, can anyone tell me how this is changed? The README file didn't say how or where. > APACHE ERROR_LOG: > > [Tue May 19 12:54:25 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... > [Tue May 19 12:55:17 2009] [error] Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib > /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 > /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 > /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /opt/rt3/bin/../lib/RT.pm line > 625.\nCompilation failed in require at (eval 2) line 1.\n > [Tue May 19 12:55:17 2009] [error] Can't load Perl file: /opt/rt3/bin/webmux.pl for server clehbrtsrv01.broadvox.local:0, exiting... 2. I partly fixed the problem I was having with LDAP. First, I looked for the ./RT/Authen/ directory and copied it recursively over to /opt/rt3/bin. This fixed the problem as far as the Module being included, but it did not fix the problem I'm having trying to use LDAP. So, here are examples of my problems after the fixings. Could someone double check them for me? Thank you once again for your assistance. RT_SiteConfig.pm settings: # Set( $rtname, 'example.com'); # Set(@Plugins,(qw(Extension::QuickDelete))); # Set($WebPath, "/rt3"); Set($rtname, "broadvox.local"); Set($Orginization, 'broadvox.local'); Set($CorrespondAddress, 'echatham at broadvox.net'); Set($CommentAddress, 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); # Set($WebBaseURL, 'http://rt.broadvox.local/'); Set(@Plugins, qw(RT::Authen::ExternalAuth)); # Database # Set($DatabaseType, 'mysql'); # Set($DatabaseUser, 'rt_user'); # Set($DatabasePassword, 'rt_pass'); # Set($DatabaseRTHost, 'localhost'); # External Authentication Set($ExternalAuthPriority, ['My_LDAP']); Set($ExternalInfoPriority, ['My_LDAP']); Set($AutoCreateNonExternalUsers, 1); Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 'SecondaryLDAP', 'Other-DB']); # LDAP Set($AuthMethods, ['My_LDAP', 'Internal']); Set($LdapExternalAuth, 0); Set($LdapExternalInfo, 0); Set($LdapAutoCreateNonLdapUsers, 1); Set($LdapAttrMap, {'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Orginization' => 'o', 'RealName' => 'cn', 'ExternalContactInfoId' => 'dn', 'ExternalAuthId' => 'sAMAccountName', 'Gecos', => 'sAMAccountName', 'WorkPhone', => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co'}); Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2']); Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', 'mailAlternateAddress']); Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); Set($LdapServer, 'clehbdc01.broadvox.local'); Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); Set($LdapFilter, '(objectClass=*)'); 1; Here are my APACHE ERROR_LOG listings: [Wed May 20 14:07:07 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations [Wed May 20 18:08:04 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:09 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:13 2009] [error]: FAILED LOGIN for echathamAuxal9op from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:19 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:28 2009] [info]: Successful login for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:276) [Wed May 20 18:08:43 2009] [error]: FAILED LOGIN for echatham at broadvox.local from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:08:55 2009] [error]: FAILED LOGIN for echatham at broadvox.local from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:09:21 2009] [info]: Successful login for root from 172.16.3.38 (/opt/rt3/share/html/autohandler:276) [Wed May 20 18:11:05 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) [Wed May 20 18:11:12 2009] [error]: FAILED LOGIN for echatham from 172.16.3.38 (/opt/rt3/share/html/autohandler:268) Eric Chatham CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From mike.peachey at jennic.com Thu May 21 10:38:44 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Thu, 21 May 2009 15:38:44 +0100 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> Message-ID: <4A156774.6010802@jennic.com> Thu 21 May 2009 15:18:29 GMT Eric Chatham wrote: > I'm still having a problem with this. Does anyone know how to get LDAP working on RT 3.8.2? Thank you. Absolutely. > -----Original Message----- > From: Eric Chatham > Sent: Wednesday, May 20, 2009 14:55 > To: 'Eric Chatham'; RT-Users at lists.bestpractical.com > Subject: RE: Regular Authentication and ExternalAuth RT 3.8.1 > > On Tuesday, May 20, 2009, Eric Chatham wrote: > >> It appears that after I got Apache/MySql working previously, I am unable to login with the default username/password (root/password) to the web > interface. I started a new topic for this. I also tried adding settings in for ExternalAuth to the RT_SiteConfig.pm. I am getting an @INC >> error in Apache when I try restarting the service. Even before I added the "External Authentication" variables, "LDAP" variables and the >> "ExternalAuth" Plugin setting, I still could not login using root and password. I think part of the problem may be that you seem to be mixing LDAP implementations. >> >> /opt/rt3/etc/RT_SiteConfig.pm settings: > > I fixed some of my problems. I did two things to fix them, but I'm still stuck. > > 1. I copied my RT_SiteConfig.pm and Apache Config and re-ran the installation (./configure -> make testdeps -> make install). I copied my saved RT_SiteConfig.pm and Apache config back to their original location. I ran "make dropdb" to redo the database installation. There wasn't anything in there before so I was aware of the warning of all data being lost. > > This fixed the problem I was having trying to log onto the web interface with the defaults (root and password). I would like to change this password, can anyone tell me how this is changed? The README file didn't say how or where. > >> APACHE ERROR_LOG: You don't mention actually *installing* RT::Authen::ExternalAuth into your RT install.. > > 2. I partly fixed the problem I was having with LDAP. First, I looked for the ./RT/Authen/ directory and copied it recursively over to /opt/rt3/bin. This fixed the problem as far as the Module being included, but it did not fix the problem I'm having trying to use LDAP. I totally don't see how that would work.. throwing random stuff into a bin dir certainly would have no impact on getting it going.. This further makes me concerned that you might not have actually installed the plugin at all. > > So, here are examples of my problems after the fixings. Could someone double check them for me? Thank you once again for your assistance. > > RT_SiteConfig.pm settings: > > Set(@Plugins, qw(RT::Authen::ExternalAuth)); This line is right and is what causes the plugin to get loaded assuming it's properly installed. > # External Authentication > Set($ExternalAuthPriority, ['My_LDAP']); > Set($ExternalInfoPriority, ['My_LDAP']); > Set($AutoCreateNonExternalUsers, 1); > Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', 'SecondaryLDAP', 'Other-DB']); Why are you overriding ExternalAuthPriority with invalid entries after having set it correctly the first time? > Set($AuthMethods, ['My_LDAP', 'Internal']); This is not a valid setting any more. Delete it. It was deprecated by ExternalAuthPriority. > Set($LdapExternalAuth, 0); > Set($LdapExternalInfo, 0); > Set($LdapAutoCreateNonLdapUsers, 1); These are nothing to do with ExternalAuth, you must have picked them up from somewhere else. Delete them. > Set($LdapAttrMap, {'Name' => 'sAMAccountName', > 'EmailAddress' => 'mail', > 'Orginization' => 'o', > 'RealName' => 'cn', > 'ExternalContactInfoId' => 'dn', > 'ExternalAuthId' => 'sAMAccountName', > 'Gecos', => 'sAMAccountName', > 'WorkPhone', => 'telephoneNumber', > 'Address1' => 'streetAddress', > 'City' => 'l', > 'State' => 'st', > 'Zip' => 'postalCode', > 'Country' => 'co'}); > Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', > 'EmailAddress', 'RealName', > 'WorkPhone', 'Address2']); > Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', > 'mailAlternateAddress']); > Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); > Set($LdapServer, 'clehbdc01.broadvox.local'); > Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); > Set($LdapFilter, '(objectClass=*)'); ALL of these are irrelevant to ExternalAuth. ExternalAuth uses a single config variable called ExternalSettings with the settings for all external configurations inside it. > > Here are my APACHE ERROR_LOG listings: > The apache error_log is useless for debugging EA, you need to have debug logging enabled and look at the rt log. You need to go back to basics and start again. First things first, go to cpan and get the latest tarball for RT-Authen-ExternalAuth v0.08. http://search.cpan.org/CPAN/authors/id/Z/ZO/ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz Open the README and read it top to bottom. http://search.cpan.org/src/ZORDRAK/RT-Authen-ExternalAuth-0.08/README Open the example configuration file and read through. If it's not provided as an example entry there, you shouldn't have it in your RT_SiteConfig.pm. http://cpansearch.perl.org/src/ZORDRAK/RT-Authen-ExternalAuth-0.08/etc/RT_SiteConfig.pm Once done, strip your RT_SiteConfig.pm down to basics and add the directives you need from the example, modifying them to suit and work with your LDAP environment. -- 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 allen+rtlist at crystalfontz.com Thu May 21 13:27:49 2009 From: allen+rtlist at crystalfontz.com (allen+rtlist at crystalfontz.com) Date: Thu, 21 May 2009 10:27:49 -0700 Subject: [rt-users] Can Simple.html search Email OR Content (not AND) ? Message-ID: <885d981e0905211027i275d0726vea3bfdebd277584f@mail.gmail.com> Hi, I would like to make it so that the Simple Search (3.8.2) will always search Content, Requestor and Subject fields using LIKE comparisons so that users won't need to prepend "fulltext:" and "email:" (the latter won't find partial email addresses) on search terms. I have created a local overlay for html/Search/Simple.html which loads a local lib/RT/Search/Googleish.pm and that has an altered QueryToSQL function which bakes the search term into the pseudo-SQL: ( Content LIKE 'munchy' ) OR ( Requestor LIKE 'munchy' ) OR ( Subject LIKE 'munchy' ) The above gets fed deeper into RT SearchBuilder guts, until it comes out in the mysql query log as this: 1 WHERE (Transactions_1.ObjectType = 'RT::Ticket') 2 AND (main.Status != 'deleted') 3 AND (Users_5.EmailAddress LIKE '%munchy%') 4 AND ( 5 ( ( Attachments_2.Content LIKE '%munchy%' ) ) 6 OR 7 ( ( CachedGroupMembers_4.id IS NOT NULL ) ) 8 OR 9 ( main.Subject LIKE '%munchy%' ) 10 ) 11 AND (main.Type = 'ticket') 12 AND (main.EffectiveId = main.id) So the final actual query is not what I asked for because there will be zero results if the EmailAddress does not match. I want all results where the Email OR Content OR Subject is LIKE the search term. If Line 3 above could be moved down after Line 4 and connected by "OR" then it would work and find tickets. I dug around and found something about EnteryAggregator in lib/RT/Tickets_Overlay.pm but I don't know what to do next or how to modify Googleish.pm to get the results I am looking for. A From echatham at broadvox.net Thu May 21 13:38:45 2009 From: echatham at broadvox.net (Eric Chatham) Date: Thu, 21 May 2009 13:38:45 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4A156774.6010802@jennic.com> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> On Thursday, May 21, 2009 10:39, Mike Peachey wrote, >> I'm still having a problem with this. Does anyone know how to get LDAP >working on RT 3.8.2? Thank you. > >Absolutely. > >You don't mention actually *installing* RT::Authen::ExternalAuth into >your RT install.. I did the CPAN install. Would you suggest the manual installation, using the tarball you provided in your e-mail? >> 2. I partly fixed the problem I was having with LDAP. First, I looked for >the ./RT/Authen/ directory and copied it recursively over to /opt/rt3/bin. >This fixed the problem as far as the Module being included, but it did not fix >the problem I'm having trying to use LDAP. > >I totally don't see how that would work.. throwing random stuff into a >bin dir certainly would have no impact on getting it going.. > >This further makes me concerned that you might not have actually >installed the plugin at all. > >> >> So, here are examples of my problems after the fixings. Could someone >double check them for me? Thank you once again for your assistance. >> >> RT_SiteConfig.pm settings: >> >> Set(@Plugins, qw(RT::Authen::ExternalAuth)); > >This line is right and is what causes the plugin to get loaded assuming >it's properly installed. > >> # External Authentication >> Set($ExternalAuthPriority, ['My_LDAP']); >> Set($ExternalInfoPriority, ['My_LDAP']); >> Set($AutoCreateNonExternalUsers, 1); >> Set($ExternalAuthPriority, ['My_LDAP', 'My_MySQL', 'My_Oracle', >'SecondaryLDAP', 'Other-DB']); > >Why are you overriding ExternalAuthPriority with invalid entries after >having set it correctly the first time? > >> Set($AuthMethods, ['My_LDAP', 'Internal']); > >This is not a valid setting any more. Delete it. It was deprecated by >ExternalAuthPriority. > > >> Set($LdapExternalAuth, 0); >> Set($LdapExternalInfo, 0); >> Set($LdapAutoCreateNonLdapUsers, 1); > >These are nothing to do with ExternalAuth, you must have picked them up >from somewhere else. Delete them. > > >> Set($LdapAttrMap, {'Name' => 'sAMAccountName', >> 'EmailAddress' => 'mail', >> 'Orginization' => 'o', >> 'RealName' => 'cn', >> 'ExternalContactInfoId' => 'dn', >> 'ExternalAuthId' => 'sAMAccountName', >> 'Gecos', => 'sAMAccountName', >> 'WorkPhone', => 'telephoneNumber', >> 'Address1' => 'streetAddress', >> 'City' => 'l', >> 'State' => 'st', >> 'Zip' => 'postalCode', >> 'Country' => 'co'}); >> Set($LdapRTAttrMatchList, ['ExternalContactInfoId', 'Name', >> 'EmailAddress', 'RealName', >> 'WorkPhone', 'Address2']); >> Set($LdapEmailAttrMatchList, ['mail', 'mailRoutingAddress', >> 'mailAlternateAddress']); >> Set($LdapEmailAttrMatchPrefix, ['', 'smtp', 'SMTP:']); >> Set($LdapServer, 'clehbdc01.broadvox.local'); >> Set($LdapBase, 'OU=USA,DC=broadvox,DC=local'); >> Set($LdapFilter, '(objectClass=*)'); > >ALL of these are irrelevant to ExternalAuth. ExternalAuth uses a single >config variable called ExternalSettings with the settings for all >external configurations inside it. > > >> >> Here are my APACHE ERROR_LOG listings: >> > >The apache error_log is useless for debugging EA, you need to have debug >logging enabled and look at the rt log. > > >You need to go back to basics and start again. First things first, go to >cpan and get the latest tarball for RT-Authen-ExternalAuth v0.08. >http://search.cpan.org/CPAN/authors/id/Z/ZO/ZORDRAK/RT-Authen-ExternalAuth- >0.08.tar.gz > >Open the README and read it top to bottom. >http://search.cpan.org/src/ZORDRAK/RT-Authen-ExternalAuth-0.08/README > >Open the example configuration file and read through. If it's not >provided as an example entry there, you shouldn't have it in your >RT_SiteConfig.pm. >http://cpansearch.perl.org/src/ZORDRAK/RT-Authen-ExternalAuth- >0.08/etc/RT_SiteConfig.pm > >Once done, strip your RT_SiteConfig.pm down to basics and add the >directives you need from the example, modifying them to suit and work >with your LDAP environment. >-- CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From johnathan.bell at baker.edu Thu May 21 13:46:10 2009 From: johnathan.bell at baker.edu (Johnathan Bell) Date: Thu, 21 May 2009 13:46:10 -0400 Subject: [rt-users] "No object mapping for field" when referencing the UserObject of a MembersObject... Message-ID: <4A159362.3080505@baker.edu> Please let me know if this is supposed to go to RT-Users or RT-Devel. I'm trying to write a utility to interface with Request Tracker, and part of what that utility has to do is get the members of some user created groups. Just sub in actual groups for what you want in there, CurrentUser works and is already initialized by the time my program gets here. Mostly borrowing this code from the old rtimportldap script, I came up with this: --code-- # RT Group $groupObj = new RT::Group($CurrentUser); $groupObj->LoadUserDefinedGroup($groupName); $groupObj->Id() || die "Group ".$groupName." not found in RequestTracker"; $groupMembersObj = $groupObj->MembersObj(); print $groupObj->Id().":".$groupObj.":".$groupMembersObj.":" .$groupMembersObj->Next()->UserObj()."\n"; ## This creates an error while ( $groupMember = $groupMembersObj->Next() ) { $groupMemberUser = $groupMember->UserObj(); print $groupMemberUser->Name()."\n"; ## This does too #$memberName = $groupMemberUser->Name(); #push(@rtMembers, $memberName); } --/code-- What it seems is that GroupObj->MembersObj()->Next()->UserObj() causes the problem, as UserObj() returns, not a UserObject, but a string stating "No object mapping for field" Attempting to use the Name() function of course doesn't work because "No object..."->Name() doesn't make sense... What's going on? Thanks, Johnathan -- Johnathan Bell Internet System Administrator, Baker College From ruslan.zakirov at gmail.com Thu May 21 14:11:10 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 22:11:10 +0400 Subject: [rt-users] "No object mapping for field" when referencing the UserObject of a MembersObject... In-Reply-To: <4A159362.3080505@baker.edu> References: <4A159362.3080505@baker.edu> Message-ID: <589c94400905211111q7102d79tec2fc1318519e307@mail.gmail.com> As group may have another group as meber as well as user, so records in GroupMembers and CachedGroupMembers objects reference Principals. If you are looking for users only that are members of a group then it's easier to do the following: my $group = ... $group->Load... my $users = $group->UserMembersObj; while ( my $user = $users->Next ) { ... } On Thu, May 21, 2009 at 9:46 PM, Johnathan Bell wrote: > Please let me know if this is supposed to go to RT-Users or RT-Devel. > > I'm trying to write a utility to interface with Request Tracker, and > part of what that utility has to do is get the members of some user > created groups. Just sub in actual groups for what you want in there, > CurrentUser works and is already initialized by the time my program gets > here. Mostly borrowing this code from the old rtimportldap script, I > came up with this: > > --code-- > ? ?# RT Group > ? ?$groupObj = new RT::Group($CurrentUser); > ? ?$groupObj->LoadUserDefinedGroup($groupName); > ? ?$groupObj->Id() || die "Group ".$groupName." not found in > RequestTracker"; > > ? ?$groupMembersObj = $groupObj->MembersObj(); > ? ?print $groupObj->Id().":".$groupObj.":".$groupMembersObj.":" > ? ? ? ?.$groupMembersObj->Next()->UserObj()."\n"; ## This creates an error > ? ?while ( $groupMember = $groupMembersObj->Next() ) > ? ?{ > ? ? ? ?$groupMemberUser = $groupMember->UserObj(); > ? ? ? ?print $groupMemberUser->Name()."\n"; ## This does too > ? ? ? ?#$memberName = $groupMemberUser->Name(); > ? ? ? ?#push(@rtMembers, $memberName); > ? ?} > --/code-- > > What it seems is that GroupObj->MembersObj()->Next()->UserObj() causes > the problem, as UserObj() returns, not a UserObject, but a string > stating "No object mapping for field" Attempting to use the Name() > function of course doesn't work because "No object..."->Name() doesn't > make sense... What's going on? > > Thanks, > Johnathan > > -- > Johnathan Bell > Internet System Administrator, Baker College > > _______________________________________________ > 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 ruslan.zakirov at gmail.com Thu May 21 14:12:41 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 22:12:41 +0400 Subject: [rt-users] "No object mapping for field" when referencing the UserObject of a MembersObject... In-Reply-To: <589c94400905211111q7102d79tec2fc1318519e307@mail.gmail.com> References: <4A159362.3080505@baker.edu> <589c94400905211111q7102d79tec2fc1318519e307@mail.gmail.com> Message-ID: <589c94400905211112g277082b3la26f941ad515541c@mail.gmail.com> There is example in: http://wiki.bestpractical.com/view/CodeSnippets On Thu, May 21, 2009 at 10:11 PM, Ruslan Zakirov wrote: > As group may have another group as meber as well as user, so records > in GroupMembers and CachedGroupMembers objects reference Principals. > > If you are looking for users only that are members of a group then > it's easier to do the following: > > my $group = ... > $group->Load... > > my $users = $group->UserMembersObj; > while ( my $user = $users->Next ) { > ? ... > } > > On Thu, May 21, 2009 at 9:46 PM, Johnathan Bell > wrote: >> Please let me know if this is supposed to go to RT-Users or RT-Devel. >> >> I'm trying to write a utility to interface with Request Tracker, and >> part of what that utility has to do is get the members of some user >> created groups. Just sub in actual groups for what you want in there, >> CurrentUser works and is already initialized by the time my program gets >> here. Mostly borrowing this code from the old rtimportldap script, I >> came up with this: >> >> --code-- >> ? ?# RT Group >> ? ?$groupObj = new RT::Group($CurrentUser); >> ? ?$groupObj->LoadUserDefinedGroup($groupName); >> ? ?$groupObj->Id() || die "Group ".$groupName." not found in >> RequestTracker"; >> >> ? ?$groupMembersObj = $groupObj->MembersObj(); >> ? ?print $groupObj->Id().":".$groupObj.":".$groupMembersObj.":" >> ? ? ? ?.$groupMembersObj->Next()->UserObj()."\n"; ## This creates an error >> ? ?while ( $groupMember = $groupMembersObj->Next() ) >> ? ?{ >> ? ? ? ?$groupMemberUser = $groupMember->UserObj(); >> ? ? ? ?print $groupMemberUser->Name()."\n"; ## This does too >> ? ? ? ?#$memberName = $groupMemberUser->Name(); >> ? ? ? ?#push(@rtMembers, $memberName); >> ? ?} >> --/code-- >> >> What it seems is that GroupObj->MembersObj()->Next()->UserObj() causes >> the problem, as UserObj() returns, not a UserObject, but a string >> stating "No object mapping for field" Attempting to use the Name() >> function of course doesn't work because "No object..."->Name() doesn't >> make sense... What's going on? >> >> Thanks, >> Johnathan >> >> -- >> Johnathan Bell >> Internet System Administrator, Baker College >> >> _______________________________________________ >> 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. > -- Best regards, Ruslan. From ruslan.zakirov at gmail.com Thu May 21 14:19:39 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 22:19:39 +0400 Subject: [rt-users] Can Simple.html search Email OR Content (not AND) ? In-Reply-To: <885d981e0905211027i275d0726vea3bfdebd277584f@mail.gmail.com> References: <885d981e0905211027i275d0726vea3bfdebd277584f@mail.gmail.com> Message-ID: <589c94400905211119r7b32b519hcdeb3bdab3cecc08@mail.gmail.com> This known issue that if email is not in the db then result would be empty even if condition is ORed with another, but believe me correct query will kick breath out of your DB server. On Thu, May 21, 2009 at 9:27 PM, wrote: > Hi, > > I would like to make it so that the Simple Search (3.8.2) will always > search Content, Requestor and Subject fields using LIKE comparisons so > that users won't need ?to prepend "fulltext:" and "email:" (the latter > won't find partial email addresses) on search terms. > > I have created a local overlay for html/Search/Simple.html which loads > a local lib/RT/Search/Googleish.pm and that has an altered QueryToSQL > function which bakes the search term into the pseudo-SQL: > > ? ?( Content LIKE 'munchy' ) OR ( Requestor LIKE 'munchy' ) OR ( > Subject LIKE 'munchy' ) > > The above gets fed deeper into RT SearchBuilder guts, until it comes > out in the mysql query log as this: > > 1 ? ?WHERE (Transactions_1.ObjectType = 'RT::Ticket') > 2 ? ? ? ?AND (main.Status != 'deleted') > 3 ? ? ? ?AND (Users_5.EmailAddress LIKE '%munchy%') > 4 ? ? ? ?AND ( > 5 ? ? ? ? ? ? ? ? ? ?( ?( Attachments_2.Content LIKE '%munchy%' ) ?) > 6 ? ? ? ? ? ? ? ? ? ?OR > 7 ? ? ? ? ? ? ? ? ? ?( ?( CachedGroupMembers_4.id IS NOT NULL ) ?) > 8 ? ? ? ? ? ? ? ? ? ?OR > 9 ? ? ? ? ? ? ? ? ? ?( main.Subject LIKE '%munchy%' ) > 10 ? ? ? ? ? ? ?) > 11 ? ? ?AND (main.Type = 'ticket') > 12 ? ? ?AND (main.EffectiveId = main.id) > > So the final actual query is not what I asked for because there will > be zero results if the EmailAddress does not match. I want all results > where the Email OR Content OR Subject is LIKE the search term. If Line > 3 above could be moved down after Line 4 and connected by "OR" then it > would work and find tickets. > > I dug around and found something about EnteryAggregator in > lib/RT/Tickets_Overlay.pm but I don't know what to do next or how to > modify Googleish.pm to get the results I am looking for. > > A > _______________________________________________ > 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 allen+rtlist at crystalfontz.com Thu May 21 14:34:02 2009 From: allen+rtlist at crystalfontz.com (allen+rtlist at crystalfontz.com) Date: Thu, 21 May 2009 11:34:02 -0700 Subject: [rt-users] Can Simple.html search Email OR Content (not AND) ? In-Reply-To: References: <885d981e0905211027i275d0726vea3bfdebd277584f@mail.gmail.com> Message-ID: <885d981e0905211134o36bbbdebubb23db407fc9b362@mail.gmail.com> >> I would like to make it so that the Simple Search (3.8.2) will always >> search Content, Requestor and Subject fields using LIKE comparisons so >> and "email:" (won't find partial email addresses) > Is email: some newfangled 3.8.2 thing? Oops. Mixed up one of my attempted mods with how the stock install works. No, you are right. There is no "email:" modifier for simple search. I was trying to get it to search email addresses where the user doesn't remember the full address -- like just searching for 'email:foo' when they can't remember 'foo at foo.com' > To solve your latter problem of partial matches, you might try RTx::From > http://search.cpan.org/~jpierce/RTx-From-0.02/lib/RTx/From.pm Looking at the synopsis of that, "cannot be meaningfully combined with other search terms" seems to mean that a person could not search for "from:foo bar" and expect to find tickets that were from User "foo" and/or had the word "bar" in them. Is that right? If so, I don't think that is going to help me since my users are going to try to use other terms as well. A. From jpierce at cambridgeenergyalliance.org Thu May 21 14:39:56 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Thu, 21 May 2009 14:39:56 -0400 Subject: [rt-users] Can Simple.html search Email OR Content (not AND) ? In-Reply-To: <885d981e0905211134o36bbbdebubb23db407fc9b362@mail.gmail.com> References: <885d981e0905211027i275d0726vea3bfdebd277584f@mail.gmail.com> <885d981e0905211134o36bbbdebubb23db407fc9b362@mail.gmail.com> Message-ID: > Looking at the synopsis of that, "cannot be meaningfully combined with > other search terms" seems to mean that a person could not search for > "from:foo bar" and expect to find tickets that were from User "foo" > and/or had the word "bar" in them. Is that right? If so, I don't think > that is going to help me since my users are going to try to use other > terms as well. Right, and there's no easy way around that as far as I know. You can do a two step process though: * Search "from:bob" * Click "Requested" for the intended user * Edit Search, and add other criteria as you see fit. -- Cambridge Energy Alliance: Save money. Save the planet. From allen+rtlist at crystalfontz.com Thu May 21 14:41:50 2009 From: allen+rtlist at crystalfontz.com (allen+rtlist at crystalfontz.com) Date: Thu, 21 May 2009 11:41:50 -0700 Subject: [rt-users] Can Simple.html search Email OR Content (not AND) ? In-Reply-To: <589c94400905211119r7b32b519hcdeb3bdab3cecc08@mail.gmail.com> References: <885d981e0905211027i275d0726vea3bfdebd277584f@mail.gmail.com> <589c94400905211119r7b32b519hcdeb3bdab3cecc08@mail.gmail.com> Message-ID: <885d981e0905211141tbeea4cek659ef4e1d456e2cb@mail.gmail.com> > This known issue that if email is not in the db then result would be > empty even if condition is ORed with another, but believe me correct > query will kick breath out of your DB server. > Are you saying that this "known issue" is a bug or is it intentional? I know that with a ton of tickets, this kind of "search everything" is not practical. But this will be a new RT deployment and I need to ease the support staff (and the boss) into getting used to this new system. Eventually I know they will find the QueryBuilder screen to be very precise and great, but right now everything is new and different and that screen scares them. They think it's too complicated. That's why I'd like to get the "WHERE EmailAddress like '%foo%' OR 'Content like '%foo%' OR'd together instead of having the EmailAddress separated from the rest of the query by an "AND." Thanks, A. From kfcrocker at lbl.gov Thu May 21 14:50:12 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 21 May 2009 11:50:12 -0700 Subject: [rt-users] Desperately need help identifying Email CC object Message-ID: <4A15A264.4040909@lbl.gov> List, I've copied the code that RT uses to get the Email address of CC's and add them as ticket watchers. When I HARD-CODE the Emaill address, it works fine. The ticket has several CC Watchers. However, I'm having trouble getting the actual CC Address ID's from the incoming Email. In my code, I try to identify them with: my @AddrObj = {$ticket->CcAddresses->id}; That didn't work. Then I tried: my @AddrObj = [%{$ticket->CcAddresses}]; that didn't work either. The object I try to evaluate is empty. What am I missing? Can anyone share with me how I can capture those email address objects so I can evaluate them and then add them to the Ticket CC? Your help on this will be greatly appreciated. Thanks. Kenn LBNL From johnathan.bell at baker.edu Thu May 21 15:11:07 2009 From: johnathan.bell at baker.edu (Johnathan Bell) Date: Thu, 21 May 2009 15:11:07 -0400 Subject: [rt-users] "No object mapping for field" when referencing the UserObject of a MembersObject... Message-ID: <4A15A74B.2000905@baker.edu> Thanks... But another snippet on that page is now giving me trouble... --code-- my $currentUser = GetCurrentUser(); $currentUser->Load("tester97"); my ($status, $msg) = $groupObj->AddMember($currentUser->id()); die $msg unless $status; exit(0); --/code-- That code dies stating "Permission Denied"... do I need to authenticate as root first? The perldoc on CurrentUser_Overlay.pm is a bit to obscure for me and an example would really help. Thanks again, Johnathan Ruslan Zakirov wrote: > There is example in: > http://wiki.bestpractical.com/view/CodeSnippets > > On Thu, May 21, 2009 at 10:11 PM, Ruslan Zakirov > wrote: > >> As group may have another group as meber as well as user, so records >> in GroupMembers and CachedGroupMembers objects reference Principals. >> >> If you are looking for users only that are members of a group then >> it's easier to do the following: >> >> my $group = ... >> $group->Load... >> >> my $users = $group->UserMembersObj; >> while ( my $user = $users->Next ) { >> ... >> } >> >> On Thu, May 21, 2009 at 9:46 PM, Johnathan Bell >> wrote: >> >>> Please let me know if this is supposed to go to RT-Users or RT-Devel. >>> >>> I'm trying to write a utility to interface with Request Tracker, and >>> part of what that utility has to do is get the members of some user >>> created groups. Just sub in actual groups for what you want in there, >>> CurrentUser works and is already initialized by the time my program gets >>> here. Mostly borrowing this code from the old rtimportldap script, I >>> came up with this: >>> >>> --code-- >>> # RT Group >>> $groupObj = new RT::Group($CurrentUser); >>> $groupObj->LoadUserDefinedGroup($groupName); >>> $groupObj->Id() || die "Group ".$groupName." not found in >>> RequestTracker"; >>> >>> $groupMembersObj = $groupObj->MembersObj(); >>> print $groupObj->Id().":".$groupObj.":".$groupMembersObj.":" >>> .$groupMembersObj->Next()->UserObj()."\n"; ## This creates an error >>> while ( $groupMember = $groupMembersObj->Next() ) >>> { >>> $groupMemberUser = $groupMember->UserObj(); >>> print $groupMemberUser->Name()."\n"; ## This does too >>> #$memberName = $groupMemberUser->Name(); >>> #push(@rtMembers, $memberName); >>> } >>> --/code-- >>> >>> What it seems is that GroupObj->MembersObj()->Next()->UserObj() causes >>> the problem, as UserObj() returns, not a UserObject, but a string >>> stating "No object mapping for field" Attempting to use the Name() >>> function of course doesn't work because "No object..."->Name() doesn't >>> make sense... What's going on? >>> >>> Thanks, >>> Johnathan >>> >>> -- >>> Johnathan Bell >>> Internet System Administrator, Baker College >>> >>> _______________________________________________ >>> 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. >> >> > > > > -- Johnathan Bell Internet System Administrator, Baker College -- Johnathan Bell 810.766.4097 Office Hours: 7A-4P, M-F Internet System Administrator, Baker College From ktm at rice.edu Thu May 21 15:16:06 2009 From: ktm at rice.edu (Kenneth Marshall) Date: Thu, 21 May 2009 14:16:06 -0500 Subject: [rt-users] Can Simple.html search Email OR Content (not AND) ? In-Reply-To: <885d981e0905211141tbeea4cek659ef4e1d456e2cb@mail.gmail.com> References: <885d981e0905211027i275d0726vea3bfdebd277584f@mail.gmail.com> <589c94400905211119r7b32b519hcdeb3bdab3cecc08@mail.gmail.com> <885d981e0905211141tbeea4cek659ef4e1d456e2cb@mail.gmail.com> Message-ID: <20090521191606.GF29239@it.is.rice.edu> On Thu, May 21, 2009 at 11:41:50AM -0700, allen+rtlist at crystalfontz.com wrote: > > This known issue that if email is not in the db then result would be > > empty even if condition is ORed with another, but believe me correct > > query will kick breath out of your DB server. > > > > Are you saying that this "known issue" is a bug or is it intentional? > > I know that with a ton of tickets, this kind of "search everything" is > not practical. But this will be a new RT deployment and I need to ease > the support staff (and the boss) into getting used to this new system. > Eventually I know they will find the QueryBuilder screen to be very > precise and great, but right now everything is new and different and > that screen scares them. They think it's too complicated. > > That's why I'd like to get the "WHERE EmailAddress like '%foo%' OR > 'Content like '%foo%' OR'd together instead of having the EmailAddress > separated from the rest of the query by an "AND." > > Thanks, > > A. Allen, This will result in every search being a full scan of the database looking for a match in the content. This will cripple your system for all but the smallest of databases. If you really intend to search in the content, please choose and use a database backend that supports full-text indexing. I know that the wiki has recipes for Oracle and PostgreSQL. Cheers, Ken From ruslan.zakirov at gmail.com Thu May 21 15:35:12 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 23:35:12 +0400 Subject: [rt-users] "No object mapping for field" when referencing the UserObject of a MembersObject... In-Reply-To: <4A15A74B.2000905@baker.edu> References: <4A15A74B.2000905@baker.edu> Message-ID: <589c94400905211235p20dbade9j245dcb0d1da60dc2@mail.gmail.com> You need a user object loaded that represents actor - a user who changing things. GetCurrentUser function is for command line tools that can be executed by many users on your system, like bin/rt tool. If you don't need mulit-user script then you can use $RT::SystemUser. Each object you construct using ->new call needs the current user provided as the only argument of the method. In the script below you messing two concepts. You're trying to add user X as member into a group acting under user X's credentials. If user X has no rights to modify membership of the group X then he obviously gets "permissions denied" error. On Thu, May 21, 2009 at 11:11 PM, Johnathan Bell wrote: > Thanks... But another snippet on that page is now giving me trouble... > > --code-- > my $currentUser = GetCurrentUser(); > $currentUser->Load("tester97"); > my ($status, $msg) = $groupObj->AddMember($currentUser->id()); > die $msg unless $status; > exit(0); > --/code-- > > That code dies stating "Permission Denied"... do I need to authenticate > as root first? The perldoc on CurrentUser_Overlay.pm is a bit to obscure > for me and an example would really help. > > Thanks again, > Johnathan > > Ruslan Zakirov wrote: >> There is example in: >> http://wiki.bestpractical.com/view/CodeSnippets >> >> On Thu, May 21, 2009 at 10:11 PM, Ruslan Zakirov >> wrote: >> >>> As group may have another group as meber as well as user, so records >>> in GroupMembers and CachedGroupMembers objects reference Principals. >>> >>> If you are looking for users only that are members of a group then >>> it's easier to do the following: >>> >>> my $group = ... >>> $group->Load... >>> >>> my $users = $group->UserMembersObj; >>> while ( my $user = $users->Next ) { >>> ? ... >>> } >>> >>> On Thu, May 21, 2009 at 9:46 PM, Johnathan Bell >>> wrote: >>> >>>> Please let me know if this is supposed to go to RT-Users or RT-Devel. >>>> >>>> I'm trying to write a utility to interface with Request Tracker, and >>>> part of what that utility has to do is get the members of some user >>>> created groups. Just sub in actual groups for what you want in there, >>>> CurrentUser works and is already initialized by the time my program gets >>>> here. Mostly borrowing this code from the old rtimportldap script, I >>>> came up with this: >>>> >>>> --code-- >>>> ? ?# RT Group >>>> ? ?$groupObj = new RT::Group($CurrentUser); >>>> ? ?$groupObj->LoadUserDefinedGroup($groupName); >>>> ? ?$groupObj->Id() || die "Group ".$groupName." not found in >>>> RequestTracker"; >>>> >>>> ? ?$groupMembersObj = $groupObj->MembersObj(); >>>> ? ?print $groupObj->Id().":".$groupObj.":".$groupMembersObj.":" >>>> ? ? ? ?.$groupMembersObj->Next()->UserObj()."\n"; ## This creates an error >>>> ? ?while ( $groupMember = $groupMembersObj->Next() ) >>>> ? ?{ >>>> ? ? ? ?$groupMemberUser = $groupMember->UserObj(); >>>> ? ? ? ?print $groupMemberUser->Name()."\n"; ## This does too >>>> ? ? ? ?#$memberName = $groupMemberUser->Name(); >>>> ? ? ? ?#push(@rtMembers, $memberName); >>>> ? ?} >>>> --/code-- >>>> >>>> What it seems is that GroupObj->MembersObj()->Next()->UserObj() causes >>>> the problem, as UserObj() returns, not a UserObject, but a string >>>> stating "No object mapping for field" Attempting to use the Name() >>>> function of course doesn't work because "No object..."->Name() doesn't >>>> make sense... What's going on? >>>> >>>> Thanks, >>>> Johnathan >>>> >>>> -- >>>> Johnathan Bell >>>> Internet System Administrator, Baker College >>>> >>>> _______________________________________________ >>>> 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. >>> >>> >> >> >> >> > > -- > Johnathan Bell > Internet System Administrator, Baker College > > > > > -- > Johnathan Bell > 810.766.4097 > > Office Hours: 7A-4P, M-F > Internet System Administrator, Baker College > > _______________________________________________ > 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 ruslan.zakirov at gmail.com Thu May 21 15:49:13 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Thu, 21 May 2009 23:49:13 +0400 Subject: [rt-users] Desperately need help identifying Email CC object In-Reply-To: <4A15A264.4040909@lbl.gov> References: <4A15A264.4040909@lbl.gov> Message-ID: <589c94400905211249m2c199223u8321dfb22b92e7f@mail.gmail.com> my @user_ids; my $users = $ticket->Cc->UserMembersObj; while ( my $user = $users->Next ) { push @user_ids, $user->id; } On Thu, May 21, 2009 at 10:50 PM, Ken Crocker wrote: > List, > > ? ?I've copied the code that RT uses to get the Email address of CC's > and add them as ticket watchers. When I HARD-CODE the Emaill address, it > works fine. The ticket has several CC Watchers. However, I'm having > trouble getting the actual CC Address ID's from the incoming Email. In > my code, I try to identify them with: > > my @AddrObj ?= {$ticket->CcAddresses->id}; > > ? ?That didn't work. Then I tried: > > my @AddrObj = [%{$ticket->CcAddresses}]; > > ? ?that didn't work either. The object I try to evaluate is empty. What > am I missing? Can anyone share with me how I can capture those email > address objects so I can evaluate them and then add them to the Ticket > CC? Your help on this will be greatly appreciated. Thanks. > > > Kenn > LBNL > _______________________________________________ > 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 kfcrocker at lbl.gov Thu May 21 16:11:22 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 21 May 2009 13:11:22 -0700 Subject: [rt-users] Desperately need help identifying Email CC object In-Reply-To: <589c94400905211249m2c199223u8321dfb22b92e7f@mail.gmail.com> References: <4A15A264.4040909@lbl.gov> <589c94400905211249m2c199223u8321dfb22b92e7f@mail.gmail.com> Message-ID: <4A15B56A.6080901@lbl.gov> Ruslan, Thanks. I'm not sure where to put this in my code, but I'll pass it on to my perl guy and I'm sure we'll get this going. Thanks again. Kenn LBNL On 5/21/2009 12:49 PM, Ruslan Zakirov wrote: > my @user_ids; > my $users = $ticket->Cc->UserMembersObj; > while ( my $user = $users->Next ) { > push @user_ids, $user->id; > } > > On Thu, May 21, 2009 at 10:50 PM, Ken Crocker wrote: > >> List, >> >> I've copied the code that RT uses to get the Email address of CC's >> and add them as ticket watchers. When I HARD-CODE the Emaill address, it >> works fine. The ticket has several CC Watchers. However, I'm having >> trouble getting the actual CC Address ID's from the incoming Email. In >> my code, I try to identify them with: >> >> my @AddrObj = {$ticket->CcAddresses->id}; >> >> That didn't work. Then I tried: >> >> my @AddrObj = [%{$ticket->CcAddresses}]; >> >> that didn't work either. The object I try to evaluate is empty. What >> am I missing? Can anyone share with me how I can capture those email >> address objects so I can evaluate them and then add them to the Ticket >> CC? Your help on this will be greatly appreciated. Thanks. >> >> >> Kenn >> LBNL >> _______________________________________________ >> 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 Thu May 21 16:23:20 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Thu, 21 May 2009 13:23:20 -0700 Subject: [rt-users] Desperately need help identifying Email CC object In-Reply-To: <589c94400905211249m2c199223u8321dfb22b92e7f@mail.gmail.com> References: <4A15A264.4040909@lbl.gov> <589c94400905211249m2c199223u8321dfb22b92e7f@mail.gmail.com> Message-ID: <4A15B838.5030409@lbl.gov> Ruslan, I turned on the log for my test and when I sent an email to the Queue, this was the resulting message for my scrip: [Thu May 21 20:16:51 2009] [error]: Scrip 50645 Commit failed: RT::Ticket::Attachments Unimplemented in RT::Action::UserDefined. ((eval 461) line 6). I've not seen that response before. By Unimplemented, does it mean I have set up something? The code I put in was in the Cleanup area and ended with a return 1; as usual. Any clues? Thanks. Kenn LBNL On 5/21/2009 12:49 PM, Ruslan Zakirov wrote: > my @user_ids; > my $users = $ticket->Cc->UserMembersObj; > while ( my $user = $users->Next ) { > push @user_ids, $user->id; > } > > On Thu, May 21, 2009 at 10:50 PM, Ken Crocker wrote: > >> List, >> >> I've copied the code that RT uses to get the Email address of CC's >> and add them as ticket watchers. When I HARD-CODE the Emaill address, it >> works fine. The ticket has several CC Watchers. However, I'm having >> trouble getting the actual CC Address ID's from the incoming Email. In >> my code, I try to identify them with: >> >> my @AddrObj = {$ticket->CcAddresses->id}; >> >> That didn't work. Then I tried: >> >> my @AddrObj = [%{$ticket->CcAddresses}]; >> >> that didn't work either. The object I try to evaluate is empty. What >> am I missing? Can anyone share with me how I can capture those email >> address objects so I can evaluate them and then add them to the Ticket >> CC? Your help on this will be greatly appreciated. Thanks. >> >> >> Kenn >> LBNL >> _______________________________________________ >> 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 ruslan.zakirov at gmail.com Thu May 21 16:35:01 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Fri, 22 May 2009 00:35:01 +0400 Subject: [rt-users] Desperately need help identifying Email CC object In-Reply-To: <4A15B838.5030409@lbl.gov> References: <4A15A264.4040909@lbl.gov> <589c94400905211249m2c199223u8321dfb22b92e7f@mail.gmail.com> <4A15B838.5030409@lbl.gov> Message-ID: <589c94400905211335g23e1b6cbub9e9940c2589a814@mail.gmail.com> There is no attachments on a ticket, but transactions that have attachments. http://wiki.bestpractical.com/view/AddAttachmentLinksToMail On Fri, May 22, 2009 at 12:23 AM, Ken Crocker wrote: > Ruslan, > > ??? I turned on the log for my test and when I sent an email to the Queue, > this was the resulting message for my scrip: > > [Thu May 21 20:16:51 2009] [error]: Scrip 50645 Commit failed: > RT::Ticket::Attachments Unimplemented in RT::Action::UserDefined. ((eval > 461) line 6). > > ??? I've not seen that response before. By Unimplemented, does it mean I > have set up something? The code I put in was in the Cleanup area and ended > with a return 1; as usual. Any clues? Thanks. > > > Kenn > LBNL > > On 5/21/2009 12:49 PM, Ruslan Zakirov wrote: > > my @user_ids; > my $users = $ticket->Cc->UserMembersObj; > while ( my $user = $users->Next ) { > push @user_ids, $user->id; > } > > On Thu, May 21, 2009 at 10:50 PM, Ken Crocker wrote: > > > List, > > ? ?I've copied the code that RT uses to get the Email address of CC's > and add them as ticket watchers. When I HARD-CODE the Emaill address, it > works fine. The ticket has several CC Watchers. However, I'm having > trouble getting the actual CC Address ID's from the incoming Email. In > my code, I try to identify them with: > > my @AddrObj ?= {$ticket->CcAddresses->id}; > > ? ?That didn't work. Then I tried: > > my @AddrObj = [%{$ticket->CcAddresses}]; > > ? ?that didn't work either. The object I try to evaluate is empty. What > am I missing? Can anyone share with me how I can capture those email > address objects so I can evaluate them and then add them to the Ticket > CC? Your help on this will be greatly appreciated. Thanks. > > > Kenn > LBNL > _______________________________________________ > 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 tmitchell at gmail.com Thu May 21 22:27:40 2009 From: tmitchell at gmail.com (Tim Mitchell) Date: Thu, 21 May 2009 19:27:40 -0700 Subject: [rt-users] question about pointer to info for upgrade/conversion of RT In-Reply-To: <935f962d0905111740g249b78dem5604a3b7f1f17fa1@mail.gmail.com> References: <935f962d0905111740g249b78dem5604a3b7f1f17fa1@mail.gmail.com> Message-ID: <935f962d0905211927h68bd414eu28329a25b65a3e68@mail.gmail.com> Hi all I have my db converted from postgresql to mysql after a bit of trouble and inserted into a new 3.8 install, getting an error trying to change my "rt at a glance" preferences: Internal Error: Couldn't execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastUpdatedBy, Created, Content, Name, Description, LastUpdated, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Duplicate entry '0' for key 1 removed all saved items in the Attributes table (had 6) and get the same error. I think this may just be a db schema issue, but not 100% sure. This was my original question, but the mail bounced, if anyone has experience with the below question, I'd appreciate any pointers. I'd like to move from postgresql to mysql and upgrade from 3.4.4 to at least 3.8.2. Does anyone have any experience with a change like this? Docs, How-to's? Tips on DB conversion? I have seen the upgrade notes to go from older mysql to newer mysql but none about converting DB dists specifically to an RT install/upgrade. Currently: PostgreSQL version 7.4.12 Ubuntu dapper Linux rt-support 2.6.15-26-386 #1 PREEMPT Thu Aug 3 02:52:00 UTC 2006 i686 GNU/Linux RT 3.4.4 Want to be: MySQL version 5.0.51 Ubuntu hardy Linux rt-lab 2.6.24-19-server #1 SMP Wed Aug 20 23:54:28 UTC 2008 i686 GNU/Linux RT 3.8.2 Thanks, -TM -- Thanks, -TM "Ravioli is the square root of pasta." - Max K., Age 11 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Markus.Kummer at t-systems.com Fri May 22 03:12:07 2009 From: Markus.Kummer at t-systems.com (Markus.Kummer at t-systems.com) Date: Fri, 22 May 2009 09:12:07 +0200 Subject: [rt-users] Owner nobody not found in simple search Message-ID: <6794FA491BD5754DB88F0A3D1E53C2F314567D@S4DE8PSAAQG.t-systems.com> Hello, I got a problem with the simple search in RT 3.8.2. When I'm looking for tickets of the user nobody no tickets are found. For all other users the search works. In the new search form the tickets of the user nobody are found. Could this be a misconfiguration? Can anybody help me on this, please! Markus Kummer ============================================ T-Systems Enterprise Services GmbH SDU Telco NPS Rabinstr. 8 53111 Bonn Tel: + 49 228 9841 382 E-Mail: markus.kummer at t-systems.com Aufsichtsrat: Ren? Obermann (Vorsitzender) Executive Committee: Reinhard Clemens (Vorsitzender), Dr. Ferri Abolhassan, Olaf Heyden, Joachim Langmack, Dr. Matthias Schuster, Klaus Werner Handelsregister: Amtsgericht Frankfurt am Main HRB 55933 Sitz der Gesellschaft: Frankfurt am Main WEEE-Reg.-Nr. DE87523644 *Gesch?ftsf?hrer gem. ? 35 GmbHG Notice: This transmittal and/or attachments may be privileged or confidential. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, or copying is strictly prohibited. If you received this transmittal in error, please notify us immediately by reply and immediately delete this message and all its attachments. Thank you. T-Systems - Business flexibility From mike.peachey at jennic.com Fri May 22 03:29:40 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Fri, 22 May 2009 08:29:40 +0100 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> Message-ID: <4A165464.9000002@jennic.com> Thu 21 May 2009 18:38:45 GMT Eric Chatham wrote: > On Thursday, May 21, 2009 10:39, Mike Peachey wrote, > > >>> I'm still having a problem with this. Does anyone know how to get LDAP >> working on RT 3.8.2? Thank you. >> >> Absolutely. >> >> You don't mention actually *installing* RT::Authen::ExternalAuth into >> your RT install.. > > I did the CPAN install. Would you suggest the manual installation, using the tarball you provided in your e-mail? No, the CPAN install is just fine, it just wasn't clear what you had done. -- 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 vincent at 4pm.ie Fri May 22 07:11:54 2009 From: vincent at 4pm.ie (Vincent Beau) Date: Fri, 22 May 2009 12:11:54 +0100 Subject: [rt-users] Users cant view their own preferences Message-ID: <4A16887A.2010604@4pm.ie> Hello, I'm getting a pretty annoying problem here, since every user which is not granted as superuser can't access their preferences. Is that normal ? If not, how can I fix this ? Thanks. Vincent From gavin.henry at gmail.com Fri May 22 07:16:48 2009 From: gavin.henry at gmail.com (Gavin Henry) Date: Fri, 22 May 2009 12:16:48 +0100 Subject: [rt-users] http://wiki.bestpractical.com/view/NotifyOwner Message-ID: <13ca621c0905220416m661d36ccqc06f93e4dd6f5915@mail.gmail.com> Hi, I have followed http://wiki.bestpractical.com/view/NotifyOwner and created a new template: Subject: Task assigned: {$Ticket->Subject} { $Transaction->CreatorObj->Name; } has assigned the following task to you: "{$Ticket->Subject()}" Please visit the following URL for more info or reply to this ticket: $RT::WebURL}Ticket/Display.html?id={$Ticket->id} ------------------------------------------------------------------------- {$Transaction->Content()} Thank you. The problem is I can get either scrips to trigger. I create a ticket via email, log in and change the owner. No e-mail sent. What am I doing wrong here? It did work with the default setup, but I can't get that to work again. Maybe I have to create the ticket via the web interface? Will test that. RT 3.8.2 with Pg backend. From FluchT at wyeth.com Fri May 22 07:18:00 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Fri, 22 May 2009 07:18:00 -0400 Subject: [rt-users] Users cant view their own preferences In-Reply-To: <4A16887A.2010604@4pm.ie> References: <4A16887A.2010604@4pm.ie> Message-ID: <4A16A6080200008A00020BA0@gv01a67m.gv.us.pri.wyeth.com> Did you grant the "Modify Self" Right? I dont know it exactly but it could be that you have to set the "See config Tab" Right too...It could also be that u dont need this right and the user can set his preferences then on the very right upper corner via "preferences". But im sure u need "Modify Self". Best regards, Tommy! >>> Vincent Beau 2009-05-22 13:11:54 >>> Hello, I'm getting a pretty annoying problem here, since every user which is not granted as superuser can't access their preferences. Is that normal ? If not, how can I fix this ? Thanks. Vincent _______________________________________________ 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 odhiambo at gmail.com Fri May 22 07:22:16 2009 From: odhiambo at gmail.com (=?UTF-8?B?T2RoaWFtYm8gIOODr+OCt+ODs+ODiOODsw==?=) Date: Fri, 22 May 2009 14:22:16 +0300 Subject: [rt-users] Users cant view their own preferences In-Reply-To: <4A16887A.2010604@4pm.ie> References: <4A16887A.2010604@4pm.ie> Message-ID: <991123400905220422k142d5845nf02a872c04864535@mail.gmail.com> On Fri, May 22, 2009 at 2:11 PM, Vincent Beau wrote: > Hello, > > I'm getting a pretty annoying problem here, since every user which is > not granted as superuser can't access their preferences. > > Is that normal ? > If not, how can I fix this ? > Did you grant ModifySelf to everyone? I think that's what determines whether a user can change their preferences. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Clothes make the man. Naked people have little or no influence on society." -- Mark Twain -------------- next part -------------- An HTML attachment was scrubbed... URL: From vincent at 4pm.ie Fri May 22 07:28:33 2009 From: vincent at 4pm.ie (Vincent Beau) Date: Fri, 22 May 2009 12:28:33 +0100 Subject: [rt-users] Users cant view their own preferences In-Reply-To: <4A16A6080200008A00020BA0@gv01a67m.gv.us.pri.wyeth.com> References: <4A16887A.2010604@4pm.ie> <4A16A6080200008A00020BA0@gv01a67m.gv.us.pri.wyeth.com> Message-ID: <4A168C61.5030305@4pm.ie> This might have been changed when I played with the custom fields. Anyway it works now, thanks a lot ! Best regards, Vincent On 22/05/2009 12:18, Thomas Fluch wrote: > Did you grant the "Modify Self" Right? I dont know it exactly but it > could be that you have to set the "See config Tab" Right too...It > could also be that u dont need this right and the user can set his > preferences then on the very right upper corner via "preferences". But > im sure u need "Modify Self". > Best regards, > Tommy! > > > >>> Vincent Beau 2009-05-22 13:11:54 >>> > Hello, > > I'm getting a pretty annoying problem here, since every user which is > not granted as superuser can't access their preferences. > > Is that normal ? > If not, how can I fix this ? > > Thanks. > > Vincent > _______________________________________________ > 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 FluchT at wyeth.com Fri May 22 07:32:14 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Fri, 22 May 2009 07:32:14 -0400 Subject: [rt-users] Notify new users about their login information In-Reply-To: <6.2.1.2.2.20090520112429.030221e0@mail.sdsu.edu> References: <23593299.post@talk.nabble.com> <6.2.1.2.2.20090518082046.02a17888@mail.sdsu.edu> <4A119AF80200008A0002075F@gv01a67m.gv.us.pri.wyeth.com> <6.2.1.2.2.20090518092437.02e1b748@mail.sdsu.edu> <4A1463790200008A00020AC9@gv01a67m.gv.us.pri.wyeth.com> <6.2.1.2.2.20090520112429.030221e0@mail.sdsu.edu> Message-ID: <4A16A95E0200008A00020BAB@gv01a67m.gv.us.pri.wyeth.com> Hey Gene, I know what you mean and I would never manually change something in the database or in the whole files of the RT installation since I didnt install it but im supposed to configure it via the interface. What i actually thought that you mean is that there is one database which contains all objects (like queue, user, group, etc) and all preferences of them (user mail address, queue name, etc.). I thought that i then can enter this database and can have a look on all these preferences to (i.e.) find out what your code below actually should do :D... or how I can find out the queues a user is watcher of (regarding to another problem I floated). Because you wrote an example condition for me...after that condition I would have to do the same progress the template from the wiki does (creating a username, creating a password ?> both for new users). But i cant access this scrip...so i have no idea how to find out what the code to generate a password and send it via email looks like. But ok, i will try out something. I hope you understand that its a little bit hard without any perl knowledge and wihtout knowing all the objects and preferences RT uses and I theoretically could access. I let you know, if i have a specific problem with my codes. Thanks for your efforts. best regards, Tommy! >>> Gene LeDuc 2009-05-20 20:35:43 >>> Hi Tommy, The database is whatever database that was decided on when RT was installed; it has nothing to do with perl. We use MySQL for our database and I use Toad to do my snooping. I really can't tell you anything about your installation's database or how to access it. Here there be dragons, lad... Pretty much everyone agrees that accessing the database directly, instead of letting RT do the grunt work, is not generally a great idea. I did it because I wanted to understand what is going on behind the scenes with RT. These observations have often been helpful, but at other times have led me down the wrong path. You should never modify the database directly. Gene At 11:09 AM 5/20/2009, Thomas Fluch wrote: >thank you for your example code! > >You said, that you poked aroung in the database. I guess, that this >database would help me a lot finding objects and their preferences I can >use in a custom condition or custom action. Would you tell where i can >find this database exactly so that i can try to understand perl a little? > >Thank you! >Best regards, Tommy! > > >>> Gene LeDuc 2009-05-18 18:39 >>> >Ah, didn't realize you meant creating a user via the web. Poking around in >the database, I'd guess that something like the following might work as >your custom condition: > >{ ### True when new user created via web > my $TA = $self->TransactionObj; > my $val = $TA->ObjectType eq 'RT::User' > && $TA->Type eq 'Create' > && $TA->CreatorObj->Id > != 1; > return $val; >} > >I haven't tried the above (or used ObjectType), but I think it's at least a >good place to start. The following observations are for v3.6.3. When a >user is created via an e-mail ticket, the Creator is the System user, and >the System user is #1. When a user is created via a web session, the >Creator is the logged in user, which is always > #12. Set this up in a >global scrip and use a variant of the auto-password template you're already >using for tickets. If it doesn't work, throw some debug logging stuff in >and see what you get. Once you get it working, this would be a good wiki >addition! -- Gene LeDuc, GSEC Security Analyst San Diego State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From Simon.Dray at antplc.com Fri May 22 08:47:18 2009 From: Simon.Dray at antplc.com (Simon Dray) Date: Fri, 22 May 2009 13:47:18 +0100 Subject: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets In-Reply-To: <589c94400905210358q14e5caddq7ba76af753bfe193@mail.gmail.com> References: <4A152D78.4050109@vialtus.com> <589c94400905210358q14e5caddq7ba76af753bfe193@mail.gmail.com> Message-ID: Hi Is there a list anywhere of the command types for OFFLINE such as === Update-Ticket etc also UpdateType etc I really need as much information as possible to try and construct the file for ingesting into RT, I have three basic functions which are Create, Change or resolve Any help much appreciated Simon From FluchT at wyeth.com Fri May 22 09:14:02 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Fri, 22 May 2009 09:14:02 -0400 Subject: [rt-users] Scrip-Generation: OnOwnerChange --> Change Queue to one of the owner is granted to se In-Reply-To: <589c94400905201410o29c750a4r9ddbb472d89c523e@mail.gmail.com> References: <23593199.post@talk.nabble.com> <589c94400905201410o29c750a4r9ddbb472d89c523e@mail.gmail.com> Message-ID: <4A16C13A0200008A00020BD4@gv01a67m.gv.us.pri.wyeth.com> It works great with queue names as you coded it bellow! Thanks for your help!! Best regards, Tommy! >>> Ruslan Zakirov 2009-05-20 23:10:43 >>> The easiest way is to use a perl hash: my %map = ( 'user name A' => 'queue name', 'user name B' => 'queue name', ... ); Then you do something like this: my $owner_name = $self->TicketObj->OwnerObj->Name; my $new_queue_name = $map{ $owner_name }; unless ( $new_queue_name ) { $RT::Logger->error("No owner map for user $owner_name"); return 0; } my ($status, $msg) = $self->TicketObj->SetQueue( $new_queue_name ); unless ( $status ) { $RT::Logger->error("Couldn't set queue to '$new_queue_name' of a ticket #". $self->TicketObj->id . ": $msg"); return 0; } I don't remember exactly if SetQueue method supports names, but looking at your progress I think you can find way to load Queue by name and get its id. On Mon, May 18, 2009 at 12:29 PM, tommy0660 wrote: > > Hey! > > I have the following problem: > If a ticket has been taken the owner AND the queue should change > automatically. The queue should be one of those the owner is granted to see. > Not every user is granted to see each queue. "Supporter A" for example is > granted to see his queue "Development". If Supporter A takes a ticket, the > queue should also change to Development. If an owner has rights to see more > than one queue, i want to specifiy which queue it should be by my own > hardcoded in the scrip (due to the fact, that this would only happen to > three users, its not much work to do that.) > > So what i need is to find out: > > Who is the new owner of the ticket? > Is the owner = Supporter A, Supporter B or Supporter C > If yes: > If Supporter A: > Change Queue to "Queue 1"; > If Supporter B: > and so on > ... > If no: > Get the queue the owner is granted to see > Change queue to this queue. > > I started without any knowledge about perl with the following scrip: > > #Get the new Owner of the ticket > my $Owner = $self->TicketObj->Owner; > > #Here i tried to get the Owners Queue but I will get the Tickets Queue and > thats wrong. > ///my $Queue = $self->TicketObj->QueueObj->Name; > > #Set the Queue to $Queue > my ($status, $msg) = $TicketObj->SetQueue ( $Queue ); > unless ( $status ) { > die "Error: $msg"; > } > > Maybe someone can help me. > > Thx > Best regards > Tommy > -- > View this message in context: http://www.nabble.com/Scrip-Generation%3A-OnOwnerChange---%3E-Change-Queue-to-one-of-the-owner-is-granted-to-see-tp23593199p23593199.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 > -- Best regards, Ruslan. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rfh at vialtus.com Fri May 22 09:19:49 2009 From: rfh at vialtus.com (Raed El-Hames) Date: Fri, 22 May 2009 14:19:49 +0100 Subject: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets In-Reply-To: References: <4A152D78.4050109@vialtus.com> <589c94400905210358q14e5caddq7ba76af753bfe193@mail.gmail.com> Message-ID: <4A16A675.2070902@vialtus.com> Hi Simon; Referring to your email yesterday, I think you are better off either using the api or web request (rt_cli and REST) as Ruz have suggested to you .. My preferred method is using the api (this what I typically use for scheduled bulk create/update etc), and what I mean by api is a perl script calling the appropriate lib/RT modules and functions which you start by cron .. Roy Simon Dray wrote: > Hi > > Is there a list anywhere of the command types for OFFLINE such as === Update-Ticket etc also UpdateType etc > > > I really need as much information as possible to try and construct the file for ingesting into RT, I have three basic functions which are Create, Change or resolve > > Any help much appreciated > > > Simon > > From gavin.henry at gmail.com Fri May 22 09:35:59 2009 From: gavin.henry at gmail.com (Gavin Henry) Date: Fri, 22 May 2009 14:35:59 +0100 Subject: [rt-users] http://wiki.bestpractical.com/view/NotifyOwner In-Reply-To: <13ca621c0905220416m661d36ccqc06f93e4dd6f5915@mail.gmail.com> References: <13ca621c0905220416m661d36ccqc06f93e4dd6f5915@mail.gmail.com> Message-ID: <13ca621c0905220635y218f6bccie975da21744a3024@mail.gmail.com> 2009/5/22 Gavin Henry : > Hi, > > I have followed http://wiki.bestpractical.com/view/NotifyOwner and > created a new template: > > Subject: Task assigned: {$Ticket->Subject} > > { $Transaction->CreatorObj->Name; } has assigned the following task to you: > > ? ? ? ?"{$Ticket->Subject()}" > > Please visit the following URL for more info or reply to this ticket: > > $RT::WebURL}Ticket/Display.html?id={$Ticket->id} > > > ------------------------------------------------------------------------- > {$Transaction->Content()} > > > > ? ? ? ? Thank you. > > > > The problem is I can get either scrips to trigger. > > I create a ticket via email, log in and change the owner. No e-mail sent. > > What am I doing wrong here? It did work with the default setup, but I > can't get that to work again. Maybe I have to create the ticket via > the web interface? Will test that. > > RT 3.8.2 with Pg backend. > Hmm, still no joy. Have tried global and queue specific and via webgui and e-mail. Argghhh. From echatham at broadvox.net Fri May 22 10:01:33 2009 From: echatham at broadvox.net (Eric Chatham) Date: Fri, 22 May 2009 10:01:33 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4A165464.9000002@jennic.com> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> > No, the CPAN install is just fine, it just wasn't clear what you had done. Thank you for replying. I'm still having a problem getting this to work. I tried doing a tethereal capture. No packets are recorded in the capture when I try to log on to the web interface. Here are my new RT_SiteConfig settings. # Set( $rtname, 'example.com'); # Set(@Plugins,(qw(Extension::QuickDelete))); # Set($WebPath, "/rt3"); Set($rtname, "broadvox.local"); Set($Organization, 'broadvox.local'); # Set($CorrespondAddress, 'echatham at broadvox.net'); # Set($CommentAddress, 'echatham at infotelecom.us'); Set($Timezone, 'US/Eastern'); # Set($WebBaseURL, 'http://rt.broadvox.local/'); Set(@Plugins, qw(RT::Authen::ExternalAuth)); # Database # Set($DatabaseType, 'mysql'); # Set($DatabaseUser, 'rt_user'); # Set($DatabasePassword, 'rt_pass'); # Set($DatabaseRTHost, 'localhost'); # External Authentication Set($ExternalAuthPriority, ['My_LDAP']); # LDAP Set($ExternalSettings, {'My_LDAP' => {'type' => 'ldap', 'auth' => 1, 'info' => 1, 'server' => 'clehbdc01.broadvox.local', 'user' => 'secmanager', 'pass' => '**********', 'port' => '389', 'base' => 'ou=USA,dc=broadvox,dc=local', 'filter' => '(objectclass=user)', 'attr_match_list' => [ 'Name', 'EmailAddress', 'RealName', 'WorkPhone', 'Address2' ], 'attr_map' => {'Name' => 'sAMAccountName', 'EmailAddress' => 'mail', 'Orginazation' => 'physicalDeliveryOfficeName', 'RealName' => 'cn', 'ExternalAuthID' => 'sAMAccountName', 'WorkPhone' => 'telephoneNumber', 'Address1' => 'streetAddress', 'City' => 'l', 'State' => 'st', 'Zip' => 'postalCode', 'Country' => 'co'} } }); 1; [root at clehbrtsrv01 etc]# tethereal ip host 172.16.5.10 -w /home/share/rt.cap Running as user "root" and group "root". This could be dangerous. Capturing on eth0 [root at clehbrtsrv01 etc]# CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From otdmunka at gmail.com Fri May 22 10:51:37 2009 From: otdmunka at gmail.com (=?ISO-8859-1?Q?D=E1niel_Omaisz=2DTak=E1cs?=) Date: Fri, 22 May 2009 16:51:37 +0200 Subject: [rt-users] Dashboards on Self Service Message-ID: <3969058e0905220751s8d042fbh5d5382b0fc3cdc33@mail.gmail.com> Hi all, I'm looking for a way to enable my users to see 1 particular dashboard in the selfservice... i copied the dashboards folder to selfservice and given the unprivilaged group the SeeDashboards right... i created the dashboard, taped on the link: rtserver:81/SelfService/Dashboards/Render.html?id=32 got the following error: Couldn't load dashboard 32: Failed to load dashboard 32: Couldn't find row Any ideas? Thank you! =) From vtplymblfan-rt at yahoo.com Fri May 22 11:02:12 2009 From: vtplymblfan-rt at yahoo.com (vtplymblfan-rt at yahoo.com) Date: Fri, 22 May 2009 08:02:12 -0700 (PDT) Subject: [rt-users] any ideas why this post with php CURL not setting custom field? Message-ID: <83498.94148.qm@web55207.mail.re4.yahoo.com> Could the problem be that I have to encode the dash in CF-UPC somehow before sending it via CURL (but it gets encoded automatically from the form and that is why the form works)? I hope to be able to add some logging statements to REST/1.0/ticket/default so that I can see what RT is getting in either case, but as yet I don't have the needed permissions from my admin. K ________________________________ From: "vtplymblfan-rt at yahoo.com" To: rt-users at lists.bestpractical.com Sent: Tuesday, May 19, 2009 12:53:21 PM Subject: [rt-users] any ideas why this post with php CURL not setting custom field? Hi there, I have modified a web application to post to RT's web interface a create ticket request. The post works perfectly... the ticket get created in the right queue with the given subject and text... except that the custom field value I pass (UPC) in does not get set. Here is the CURL code: ---- $content = 'id: new CF-UPC: 786936180992 Text: This is the ticket text Subject: This is the subject Queue: External App Requests'; $request = RT_LOCATION; $request .= 'ticket/new/'; $postargs = array( 'user' => RT_USER, 'pass' => RT_PASS, 'content' => $content ); // get the curl session object $session = curl_init($request); // set the POST options curl_setopt ($session, CURLOPT_POST, true); curl_setopt ($session, CURLOPT_POSTFIELDS, $postargs); curl_setopt($session, CURLOPT_HEADER, true); curl_setopt($session, CURLOPT_RETURNTRANSFER, true); curl_setopt( $session, CURLOPT_HTTPHEADER, array( 'Expect:' ) ); // do the POST and then close the session $response = curl_exec($session); curl_close($session); --- In debugging this I have also created a simple form which posts to the same place:
User:
Pass:
Content:

When this form is used, again the ticket is created but in this case the custom field UPC does get set. But the "Content:" being sent is the same in both. In particular in both cases I am providing UPC's value with "CF-UPC: 78..." Can anyone here explain what the difference could possibly be between these two posting methods that could result in this scenario? By the way, in both cases I am passing in the same user name and password. I am really stumped and I suspect some small stupid thing I have missed. Thanks for your help, Kim -------------- next part -------------- An HTML attachment was scrubbed... URL: From johnathan.bell at baker.edu Fri May 22 12:01:10 2009 From: johnathan.bell at baker.edu (Johnathan Bell) Date: Fri, 22 May 2009 12:01:10 -0400 Subject: [rt-users] Suppressing/redirecting log messages? Message-ID: <4A16CC46.3070900@baker.edu> Okay, next question. How can I suppress or redirect all of the logger output? It produces too much output for my utility and will probably confuse its users... I can't seem to find any docs on RT::Logger, and the mail archive doesn't have much info either. I know I can just redirect stderr, but I don't want to have to redirect the whole stream, just the log messages. Thanks. -- Johnathan Bell Internet System Administrator, Baker College From elton.fenner at al.rs.gov.br Fri May 22 12:12:22 2009 From: elton.fenner at al.rs.gov.br (Elton S. Fenner) Date: Fri, 22 May 2009 13:12:22 -0300 Subject: [rt-users] SuperUser shown in Owner selection list In-Reply-To: <3969058e0905220751s8d042fbh5d5382b0fc3cdc33@mail.gmail.com> References: <3969058e0905220751s8d042fbh5d5382b0fc3cdc33@mail.gmail.com> Message-ID: <4A16CEE6.1030102@al.rs.gov.br> An HTML attachment was scrubbed... URL: From woody at wildthingsafaris.com Fri May 22 13:04:16 2009 From: woody at wildthingsafaris.com (Woody - Wild Things) Date: Fri, 22 May 2009 20:04:16 +0300 Subject: [rt-users] Cannot locate RT/FM.pm Message-ID: <4A16DB10.5090908@wildthingsafaris.com> Hello, I've installed RTFM (RTFM-2.4.1,RT-3.8.1), using perl Makefile.PL (and path /var/www/mysite/lib as path to RT.pm) all goes fine, until i add Set (@plugins,'RT::FM"); and then i get: [error] Can't locate RT/FM.pm in @INC (@INC contains: //var/www/mysite/local/lib //var/www/mysite/lib /var/www/mysite/bin/../local/lib /var/www/mysite/bin/../lib etc.... In system configuration I have RT::LocalPluginPath /var/www/mysite/local/plugins but FM.pm is in /var/www/mysite/local/plugins/RT-FM/lib/RT/FM.pm is that correct? thanks Woody. From rob.munsch at gmail.com Fri May 22 14:12:06 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 22 May 2009 14:12:06 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> Message-ID: <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> On Fri, May 22, 2009 at 10:01 AM, Eric Chatham wrote: > > No, the CPAN install is just fine, it just wasn't clear what you had > done. > > Thank you for replying. I'm still having a problem getting this to work. > I tried doing a tethereal capture. No packets are recorded in the capture > when I try to log on to the web interface. Here are my new RT_SiteConfig > settings. > I'd suggest putting this in your SiteConfig, Set($LogToSyslog, 'info'); Set($LogStackTraces, 'debug'); and starting up, trying to log in, then checking the logs. -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Fri May 22 14:13:17 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 22 May 2009 14:13:17 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> Message-ID: <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> On Fri, May 22, 2009 at 2:12 PM, Rob Munsch wrote: > On Fri, May 22, 2009 at 10:01 AM, Eric Chatham wrote: > >> > No, the CPAN install is just fine, it just wasn't clear what you had >> done. >> >> Thank you for replying. I'm still having a problem getting this to work. >> I tried doing a tethereal capture. No packets are recorded in the capture >> when I try to log on to the web interface. Here are my new RT_SiteConfig >> settings. >> > > I'd suggest putting this in your SiteConfig, > > Set($LogToSyslog, 'info'); > Set($LogStackTraces, 'debug'); > > and starting up, trying to log in, then checking the logs. > > -- > /chown -R us:us /yourbase > > Oh good. Sorry, copied from my own config. Make them both debug; no info. -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Fri May 22 14:16:01 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 22 May 2009 14:16:01 -0400 Subject: [rt-users] Everything's plaintext Message-ID: <8fae230c0905221116l1e40e475x50c066bad283b9e3@mail.gmail.com> Good your-time-here, list: I have Set($MessageBoxRichText, 1); Set($PreferRichText, 1); yet all messages coming in - or going out! - are plaintext. I can compose something using the wysiwyg bar, but none of the formatting is kept. Worse, everything seems to be double-spaced, making every ticket twice as long as it needs to be. What other settings have I missed to get this working? -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From dlamers at elcan.com Fri May 22 14:39:34 2009 From: dlamers at elcan.com (Lamers, Dan) Date: Fri, 22 May 2009 14:39:34 -0400 Subject: [rt-users] Everything's plaintext In-Reply-To: <8fae230c0905221116l1e40e475x50c066bad283b9e3@mail.gmail.com> References: <8fae230c0905221116l1e40e475x50c066bad283b9e3@mail.gmail.com> Message-ID: <14365258981C224D868E4A42A0EB326D0135BC44@emexc004023.elcan.com> These are the settings I use to accept incoming formatted messages Set($TrustHTMLAttachments, 1); Set($PreferRichText, 1); Hope this helps! Regards, Dan ________________________________ From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Rob Munsch Sent: Friday, May 22, 2009 2:16 PM To: rt Users Subject: [rt-users] Everything's plaintext Good your-time-here, list: I have Set($MessageBoxRichText, 1); Set($PreferRichText, 1); yet all messages coming in - or going out! - are plaintext. I can compose something using the wysiwyg bar, but none of the formatting is kept. Worse, everything seems to be double-spaced, making every ticket twice as long as it needs to be. What other settings have I missed to get this working? -- /chown -R us:us /yourbase From rob.munsch at gmail.com Fri May 22 14:53:30 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 22 May 2009 14:53:30 -0400 Subject: [rt-users] Everything's plaintext In-Reply-To: <14365258981C224D868E4A42A0EB326D0135BC44@emexc004023.elcan.com> References: <8fae230c0905221116l1e40e475x50c066bad283b9e3@mail.gmail.com> <14365258981C224D868E4A42A0EB326D0135BC44@emexc004023.elcan.com> Message-ID: <8fae230c0905221153l14f1df77u77a53bcf2f281b62@mail.gmail.com> On Fri, May 22, 2009 at 2:39 PM, Lamers, Dan wrote: > Set($TrustHTMLAttachments, 1); > Aha. I hadn't noticed this before, and i strongly suspect that'll do it. Thanks! -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From echatham at broadvox.net Fri May 22 15:36:38 2009 From: echatham at broadvox.net (Eric Chatham) Date: Fri, 22 May 2009 15:36:38 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> On May 22, 2009, Rob Munsch wrote: > > I'd suggest putting this in your SiteConfig, > > Set($LogToSyslog, 'info'); > Set($LogStackTraces, 'debug'); > > and starting up, trying to log in, then checking the logs. Thank you. I added the variables. Where can I check the logs at? CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From jpierce at cambridgeenergyalliance.org Fri May 22 15:46:48 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Fri, 22 May 2009 15:46:48 -0400 Subject: [rt-users] Ingest csv, xls or xml to create, modify or resolve tickets In-Reply-To: References: <4A152D78.4050109@vialtus.com> <589c94400905210358q14e5caddq7ba76af753bfe193@mail.gmail.com> Message-ID: Your question is very vague, but maybe http://wiki.bestpractical.com/view/OfflineEdits would be of interest. It can also accept CSV, but you're better off using the long form text I think. -- Cambridge Energy Alliance: Save money. Save the planet. From rob.munsch at gmail.com Fri May 22 15:58:20 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 22 May 2009 15:58:20 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> Message-ID: <8fae230c0905221258v63db561che67abc16ded7dd35@mail.gmail.com> On Fri, May 22, 2009 at 3:36 PM, Eric Chatham wrote: > On May 22, 2009, Rob Munsch wrote: > > > > > I'd suggest putting this in your SiteConfig, > > > > Set($LogToSyslog, 'info'); > > Set($LogStackTraces, 'debug'); > > > > and starting up, trying to log in, then checking the logs. > > Thank you. I added the variables. Where can I check the logs at? > Most likely in /var/log/ and you're looking for "syslog" in there, which you can check last 10 lines of with tail syslog or last 35 lines with tail -n 35 syslog or watch in realtime with tail -f syslog (then CTRL-C to break out of that) -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From echatham at broadvox.net Fri May 22 16:18:01 2009 From: echatham at broadvox.net (Eric Chatham) Date: Fri, 22 May 2009 16:18:01 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <8fae230c0905221258v63db561che67abc16ded7dd35@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> <8fae230c0905221258v63db561che67abc16ded7dd35@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB11319E1DE@CLEHBEXMS01.broadvox.local> On Friday, May 22, 2009 15:58, Rob Munsch wrote, > Most likely in > /var/log/ > > and you're looking for "syslog" in there, which you can check last 10 lines of with > tail syslog > > or last 35 lines with > tail -n 35 syslog > > or watch in realtime with > tail -f syslog > (then CTRL-C to break out of that) There is nothing listed in /var/log. CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From gavin.henry at gmail.com Fri May 22 16:20:27 2009 From: gavin.henry at gmail.com (Gavin Henry) Date: Fri, 22 May 2009 21:20:27 +0100 Subject: [rt-users] Does ___Approvals need an e-mail add setup? Message-ID: <13ca621c0905221320l6b1653bch81c483a2b39c8c8@mail.gmail.com> Hi, Is ___Approvals like any other queue where you can setup an email address for users to get things approved? We on 3.8.2 here. Thanks. From elton.fenner at al.rs.gov.br Fri May 22 16:30:15 2009 From: elton.fenner at al.rs.gov.br (Elton S. Fenner) Date: Fri, 22 May 2009 17:30:15 -0300 Subject: [rt-users] SuperUser shown in Owner selection list In-Reply-To: <4A16E100.6020208@lbl.gov> References: <3969058e0905220751s8d042fbh5d5382b0fc3cdc33@mail.gmail.com> <4A16CEE6.1030102@al.rs.gov.br> <4A16E100.6020208@lbl.gov> Message-ID: <4A170B57.5030307@al.rs.gov.br> An HTML attachment was scrubbed... URL: From rob.munsch at gmail.com Fri May 22 16:33:16 2009 From: rob.munsch at gmail.com (Rob Munsch) Date: Fri, 22 May 2009 16:33:16 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11319E1DE@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> <8fae230c0905221258v63db561che67abc16ded7dd35@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E1DE@CLEHBEXMS01.broadvox.local> Message-ID: <8fae230c0905221333p64a7ecd0u1b2d5540ef2d53a5@mail.gmail.com> On Fri, May 22, 2009 at 4:18 PM, Eric Chatham wrote: > On Friday, May 22, 2009 15:58, Rob Munsch wrote, > > > Most likely in > > /var/log/ > > There is nothing listed in /var/log. > er... I'm thinking you should probably tell us more about your system setup in general... -- /chown -R us:us /yourbase -------------- next part -------------- An HTML attachment was scrubbed... URL: From ranatanveer at gmail.com Fri May 22 19:12:27 2009 From: ranatanveer at gmail.com (Rana Tanveer) Date: Sat, 23 May 2009 05:12:27 +0600 Subject: [rt-users] Signature are not attached while create/reply/comment on tickets Message-ID: <2282948c0905221612n1b01b8f0k36638c6ac77e6f11@mail.gmail.com> Hi RT Users. I have upgrade from 3.8.1 to 3.8.2, but my users cant attach signatures while creating tickets replying and commenting. what might be the issue ? can some one guide me ? -- --------------------------------------------- Rana Tanveer +923224194457 http://www.sysadminsline.com --------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From toml at bitstatement.net Fri May 22 20:06:11 2009 From: toml at bitstatement.net (Tom Lahti) Date: Fri, 22 May 2009 17:06:11 -0700 Subject: [rt-users] any ideas why this post with php CURL not setting custom field? In-Reply-To: <83498.94148.qm@web55207.mail.re4.yahoo.com> References: <83498.94148.qm@web55207.mail.re4.yahoo.com> Message-ID: <4A173DF3.2010909@bitstatement.net> Custom fields should be in the form of: CF.{CustomField}: value So you want CF.{UPC}: 7585485..... -not- CF-UPC: 786936180992 vtplymblfan-rt at yahoo.com wrote: > Could the problem be that I have to encode the dash in CF-UPC somehow > before sending it via CURL (but it gets encoded automatically from the > form and that is why the form works)? > > I hope to be able to add some logging statements to > REST/1.0/ticket/default so that I can see what RT is getting in either > case, but as yet I don't have the needed permissions from my admin. > > K > > > ------------------------------------------------------------------------ > *From:* "vtplymblfan-rt at yahoo.com" > *To:* rt-users at lists.bestpractical.com > *Sent:* Tuesday, May 19, 2009 12:53:21 PM > *Subject:* [rt-users] any ideas why this post with php CURL not setting > custom field? > > Hi there, > > I have modified a web application to post to RT's web interface a create > ticket request. The post works perfectly... the ticket get created in > the right queue with the given subject and text... except that the > custom field value I pass (UPC) in does not get set. Here is the CURL code: > > ---- > > $content = 'id: new > CF-UPC: 786936180992 > Text: This is the ticket text > Subject: This is the subject > Queue: External App Requests'; > > $request = RT_LOCATION; > $request .= 'ticket/new/'; > > $postargs = array( > 'user' => RT_USER, > 'pass' => RT_PASS, > 'content' => $content > ); > > // get the curl session object > $session = curl_init($request); > > // set the POST options > curl_setopt ($session, CURLOPT_POST, true); > curl_setopt ($session, CURLOPT_POSTFIELDS, $postargs); > curl_setopt($session, CURLOPT_HEADER, true); > curl_setopt($session, CURLOPT_RETURNTRANSFER, true); > curl_setopt( $session, CURLOPT_HTTPHEADER, array( 'Expect:' ) ); > > // do the POST and then close the session > $response = curl_exec($session); > curl_close($session); > > --- > > In debugging this I have also created a simple form which posts to the > same place: > >
> User:
> Pass:
> Content:
>

>

> > When this form is used, again the ticket is created but in this case the custom field UPC does get set. But > the "Content:" being sent is the same in both. In particular in both cases I am providing UPC's value with > "CF-UPC: 78..." Can anyone here explain what the difference could possibly be between these two > posting methods that could result in this scenario? By the way, in both cases I am passing in the same > user name and password. I am really stumped and I suspect some small stupid thing I have missed. > > Thanks for your help, > Kim > > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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 ruslan.zakirov at gmail.com Fri May 22 20:07:47 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 23 May 2009 04:07:47 +0400 Subject: [rt-users] Cannot locate RT/FM.pm In-Reply-To: <4A16DB10.5090908@wildthingsafaris.com> References: <4A16DB10.5090908@wildthingsafaris.com> Message-ID: <589c94400905221707y2134967as1773fa4a01be5976@mail.gmail.com> That leading double slash (//var/...) causes your problems. I think it's in lib/RT.pm, you can fix it by hand. Also, 3.8.3rc2 should handle such things fine. On Fri, May 22, 2009 at 9:04 PM, Woody - Wild Things wrote: > Hello, > > I've installed RTFM (RTFM-2.4.1,RT-3.8.1), using > > perl Makefile.PL (and path /var/www/mysite/lib as path to RT.pm) > > all goes fine, until i add > > Set (@plugins,'RT::FM"); > > and then i get: > > ?[error] Can't locate RT/FM.pm in @INC (@INC contains: > //var/www/mysite/local/lib //var/www/mysite/lib > /var/www/mysite/bin/../local/lib /var/www/mysite/bin/../lib etc.... > > In system configuration I have > > RT::LocalPluginPath ? ? /var/www/mysite/local/plugins > > but FM.pm is in /var/www/mysite/local/plugins/RT-FM/lib/RT/FM.pm > > is that correct? > > thanks > > Woody. > > _______________________________________________ > 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 ruslan.zakirov at gmail.com Fri May 22 20:14:18 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sat, 23 May 2009 04:14:18 +0400 Subject: [rt-users] Suppressing/redirecting log messages? In-Reply-To: <4A16CC46.3070900@baker.edu> References: <4A16CC46.3070900@baker.edu> Message-ID: <589c94400905221714m67010c60ud7554a8f1c18bbe1@mail.gmail.com> After RT::LoadConfig, but befor RT::Init, you can adjust Log* options using RT->Config->Set( Option => $value ). On Fri, May 22, 2009 at 8:01 PM, Johnathan Bell wrote: > Okay, next question. How can I suppress or redirect all of the logger > output? It produces too much output for my utility and will probably > confuse its users... I can't seem to find any docs on RT::Logger, and > the mail archive doesn't have much info either. I know I can just > redirect stderr, but I don't want to have to redirect the whole stream, > just the log messages. > > Thanks. > > -- > Johnathan Bell > Internet System Administrator, Baker College > > _______________________________________________ > 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 woody at wildthingsafaris.com Sat May 23 10:04:18 2009 From: woody at wildthingsafaris.com (Woody - Wild Things) Date: Sat, 23 May 2009 17:04:18 +0300 Subject: [rt-users] Cannot locate RT/FM.pm In-Reply-To: <589c94400905221707y2134967as1773fa4a01be5976@mail.gmail.com> References: <4A16DB10.5090908@wildthingsafaris.com> <589c94400905221707y2134967as1773fa4a01be5976@mail.gmail.com> Message-ID: <4A180262.9000800@wildthingsafaris.com> Ruslan Zakirov wrote: > That leading double slash (//var/...) causes your problems. I think > it's in lib/RT.pm, you can fix it by hand. Thanks Ruslan, The offending // was found in webmux.pl, but didn't solve the issue. However your pointer to RT.pm did allow me to hack a fix: sub InitPluginPaths { my $self = shift || __PACKAGE__; my @lib_dirs = $self->PluginDirs('lib'); my @tmp_inc; for (@INC) { if ( Cwd::realpath($_) eq $RT::LocalLibPath) { push @tmp_inc, $_, @lib_dirs; } else { push @tmp_inc, $_; } } push @tmp_inc, @lib_dirs; # <------------- added my %seen; @INC = grep !$seen{$_}++, @tmp_inc; } I added the push as the @lib_dirs was not being added to @INC, but now its not in the correct place i assume - its right at the end. It works, but I'm sure it would be better to fix the if ( Cwd::realpath($_) eq $RT::LocalLibPath) { properly, but that seems so far to be beyond me..... Thanks very much. Now on to configure RTFM :) w. -- ----------------------- Richard Wood (Woody) Managing Director Wild Thing Safaris Ltd. PO BOX 34514 DSM Office: +255 (0) 222 617 166 Mobile: +255 (0) 773 503 502 http://www.wildthingsafaris.com http://www.wildthingsafaris.com/pub/woody.html From woody at wildthingsafaris.com Sat May 23 11:01:38 2009 From: woody at wildthingsafaris.com (Woody - Wild Things) Date: Sat, 23 May 2009 18:01:38 +0300 Subject: [rt-users] Non transitioning status/AutoOpen In-Reply-To: <4A00380C.1070200@wildthingsafaris.com> References: <4A00380C.1070200@wildthingsafaris.com> Message-ID: <4A180FD2.6000703@wildthingsafaris.com> Hi, I found my crux, I'd used Reenen Kroukamp global scrip from http://wiki.bestpractical.com/view/SetTicketPropertiesViaMail which also included setting status to open, which I han blindly pasted in. Thanks for the rest of the scrip though Reenen! oops w. Woody - Wild Things wrote: > Hello all, > > Has anyone had success with NonTransitioningStatuses? (RT 3.8.1) > > I've tried the implementation at > http://wiki.bestpractical.com/view/NonTransitioningStatus > > and have now simplified it to > > > # diff /local/lib/RT/Action/AutoOpen.pm lib/RT/Action/AutoOpen.pm > > my $status = $self->TicketObj->Status; > return undef if $status eq 'open'; > return undef if $status eq 'new' && $self->TransactionObj->IsInbound; > > 76,79d75 > < return undef if $status eq 'confirmed'; > < return undef if $status eq 'sold'; > < return undef if $status eq 'pending'; > < return undef if $status eq 'happening'; > > which couldn't be simpler, but my "confirmed" etc. tickets still revert > to open on correspondence. > > Might I have missed something>? I've checked scrips for that queue, but > none seem to apply. > > thanks in advance > > Woody. > > -- ----------------------- Richard Wood (Woody) Managing Director Wild Thing Safaris Ltd. PO BOX 34514 DSM Office: +255 (0) 222 617 166 Mobile: +255 (0) 773 503 502 http://www.wildthingsafaris.com http://www.wildthingsafaris.com/pub/woody.html From mike.peachey at jennic.com Sat May 23 18:26:24 2009 From: mike.peachey at jennic.com (Mike Peachey) Date: Sat, 23 May 2009 23:26:24 +0100 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <8fae230c0905221333p64a7ecd0u1b2d5540ef2d53a5@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> <8fae230c0905221258v63db561che67abc16ded7dd35@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E1DE@CLEHBEXMS01.broadvox.local> <8fae230c0905221333p64a7ecd0u1b2d5540ef2d53a5@mail.gmail.com> Message-ID: <4A187810.90404@jennic.com> Rob Munsch wrote: > > > On Fri, May 22, 2009 at 4:18 PM, Eric Chatham > wrote: > > On Friday, May 22, 2009 15:58, Rob Munsch wrote, > > > Most likely in > > /var/log/ > > There is nothing listed in /var/log. > > > er... > > I'm thinking you should probably tell us more about your system setup in > general... No, instead, he should read through the RT_Config.pm file to find documentation on the logging options, and use the RT wiki and or RT Essentials for further information as logging is well documented. Also Eric, it would appear you don't have a d_filter. Although this will change in the future, at the moment a d_filter is absolutely required. -- 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 ruslan.zakirov at gmail.com Sun May 24 07:52:44 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Sun, 24 May 2009 15:52:44 +0400 Subject: [rt-users] Cannot locate RT/FM.pm In-Reply-To: <4A180262.9000800@wildthingsafaris.com> References: <4A16DB10.5090908@wildthingsafaris.com> <589c94400905221707y2134967as1773fa4a01be5976@mail.gmail.com> <4A180262.9000800@wildthingsafaris.com> Message-ID: <589c94400905240452p1265362foc21e9a052b1b5a6b@mail.gmail.com> On Sat, May 23, 2009 at 6:04 PM, Woody - Wild Things wrote: > Ruslan Zakirov wrote: >> That leading double slash (//var/...) causes your problems. I think >> it's in lib/RT.pm, you can fix it by hand. > > Thanks Ruslan, > > The offending // was found in webmux.pl, but didn't solve the issue. > However your pointer to RT.pm did allow me to hack a fix: > > sub InitPluginPaths { > ? ? my $self = shift || __PACKAGE__; > > ? ? my @lib_dirs = $self->PluginDirs('lib'); > > ? ? my @tmp_inc; > ? ? for (@INC) { > ? ? ? ? if ( Cwd::realpath($_) eq $RT::LocalLibPath) { > ? ? ? ? ? ? push @tmp_inc, $_, @lib_dirs; > ? ? ? ? } else { > ? ? ? ? ? ? push @tmp_inc, $_; > ? ? ? ? } > ? ? } > ? ? push @tmp_inc, @lib_dirs; # <------------- added > ? ? my %seen; > ? ? @INC = grep !$seen{$_}++, @tmp_inc; > } > > I added the push as the @lib_dirs was not being added to @INC, but now > its not in the correct place i assume - its right at the end. > > It works, but I'm sure it would be better to fix the > if ( Cwd::realpath($_) eq $RT::LocalLibPath) { > properly, but that seems so far to be beyond me..... Could you please add something like that to that code, before "for" loop: use Data::Dumper; warn "INC: ". Dumper \@INC; warn "local lib path: ". $RT::LocalLibPath; Then stop/start server. In apache's error log you should see this entries. This can help us debug issue. FYI, with your change files in local/lib wouldn't override matching libraries of plugins. > > Thanks very much. Now on to configure RTFM :) > > w. > > -- > ----------------------- > Richard Wood (Woody) > Managing Director > Wild Thing Safaris Ltd. > PO BOX 34514 DSM > Office: +255 (0) 222 617 166 > Mobile: +255 (0) 773 503 502 > > http://www.wildthingsafaris.com > http://www.wildthingsafaris.com/pub/woody.html > _______________________________________________ > 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 gavin.henry at gmail.com Mon May 25 06:24:52 2009 From: gavin.henry at gmail.com (Gavin Henry) Date: Mon, 25 May 2009 11:24:52 +0100 Subject: [rt-users] http://wiki.bestpractical.com/view/NotifyOwner In-Reply-To: <13ca621c0905220635y218f6bccie975da21744a3024@mail.gmail.com> References: <13ca621c0905220416m661d36ccqc06f93e4dd6f5915@mail.gmail.com> <13ca621c0905220635y218f6bccie975da21744a3024@mail.gmail.com> Message-ID: <13ca621c0905250324w3632196bwdf93cd350c529637@mail.gmail.com> Doh, it was the actually template that had errors. The weird thing was that it just got ignored with no error until I started trimming it back. This then uncovered from typos etc. Anyway, the finished working template (good for other to use) is: Subject: Task assigned to {$Ticket->OwnerObj->FriendlyName();}: {$Ticket->Subject();} Dear {$Ticket->OwnerObj->FriendlyName();}, {$Transaction->CreatorObj->FriendlyName();} has assigned the following task to you: "{$Ticket->Subject();}" Please visit the following URL for more info or reply to this ticket: {$RT::WebURL}Ticket/Display.html?id={$Ticket->id;} ------------------------------------------------------------------------- Original ticket with subject "{$Ticket->Subject();}": ------------------------------------------------------------------------- {$Ticket->Transactions->First->Content();} From julien.lacroix at igd.fraunhofer.de Mon May 25 08:17:39 2009 From: julien.lacroix at igd.fraunhofer.de (Julien Lacroix) Date: Mon, 25 May 2009 14:17:39 +0200 Subject: [rt-users] ldap autocreate with ExternalAuth? Message-ID: <4A1A8C63.10504@igd.fraunhofer.de> Cheers RT-users, as i understand it, RT::Authen::ExternalAuth 0.08 supports autocreate an user account if he can't auth via the external service (AutoCreateNonExternalUsers). Whats about the other way round? Can ExternalAuth serving the same functionality as AutoCreateFromExternalUserInfo, or is this (overlay) the tool which fills the gap? sincerly, julien From hanane.ourdani at gmail.com Mon May 25 10:50:15 2009 From: hanane.ourdani at gmail.com (hanane ourdani) Date: Mon, 25 May 2009 14:50:15 +0000 Subject: [rt-users] send sms where chosing a yes value on custom field Message-ID: hi all, Is there a way to send a sms to some persons when i chose yes on a particular custom field. thank you very much -------------- next part -------------- An HTML attachment was scrubbed... URL: From elacour at easter-eggs.com Mon May 25 11:02:23 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Mon, 25 May 2009 17:02:23 +0200 Subject: [rt-users] send sms where chosing a yes value on custom field In-Reply-To: References: Message-ID: <20090525150222.GD990@easter-eggs.com> On Mon, May 25, 2009 at 02:50:15PM +0000, hanane ourdani wrote: > hi all, > > Is there a way to send a sms to some persons when i chose yes on a > particular custom field. > > thank you very much You can set up a scrip that send an sms when a customfield value is changed. You will find some scrips conditions and actions examples here to help you: http://wiki.bestpractical.com/. To send a sms from your RT server, you can use smstools: http://smstools.meinemullemaus.de/. From david.hobley at mionegroup.com Mon May 25 19:00:05 2009 From: david.hobley at mionegroup.com (David Hobley) Date: Tue, 26 May 2009 09:00:05 +1000 (EST) Subject: [rt-users] 3.8.2 - HTML viewing issue In-Reply-To: <30202182.20231243292235639.JavaMail.root@mail.onegrp.com> Message-ID: <22377376.20401243292405023.JavaMail.root@mail.onegrp.com> I have received no answers to this one. Is there any more information I need to provide? Where can I raise a bug report? Cheers, David ----- Original Message ----- From: "David Hobley" To: "rt-users" Sent: Thursday, May 21, 2009 8:56:12 AM GMT +10:00 Brisbane Subject: [rt-users] 3.8.2 - HTML viewing issue Hello, We just upgraded to 3.8.2 and since then when we receive our fax notifications, the HTML rendering is a little off. I have attached two files, the message and a screenshot showing the problem. Is this a bug? Or do I have something misconfigured here? -- Cheers, David _______________________________________________ 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 hanane.ourdani at gmail.com Tue May 26 05:08:08 2009 From: hanane.ourdani at gmail.com (hanane ourdani) Date: Tue, 26 May 2009 09:08:08 +0000 Subject: [rt-users] customize the home page of rt Message-ID: hi all, Please is there a way to display all operations of day in the home page and how can i do it please, Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjmarts at gmail.com Tue May 26 08:34:23 2009 From: sjmarts at gmail.com (sjmarts) Date: Tue, 26 May 2009 05:34:23 -0700 (PDT) Subject: [rt-users] Problem Upgrading Database Message-ID: <23721373.post@talk.nabble.com> I wonder if someone can help me. I have spent the best part of a week trying to get my 3.4.5 RT database upgraded and ready for 3.8.2. I have read all readme files countless times and rebuilt the server from scratch twice now following the instructions exactly. I keep hitting the same error though and wonder if there is something fundementally wrong with my database (It is currently up and working on 3.4.5 - however I do see some errors in my messages file as this is running - i'll post this later in my post) I am following the new install for Fedora 9 (although I am running version 10) and all goes absolutely fine with no error messages until I am running the upgrade script. This error is encountered if I run the auto script or the manual process of: rt-setup-database --action insert --datafile ./etc/upgrade/3.5.1/content --dba root I get the following errors (sorry for the long error - thought it was best to post it all!) - Below this error it the errors I am seeing on my current isntall. Any help much appreciated!! [warning]: DBD::mysql::st execute failed: Unknown column 'ContentType' in 'field list' at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, line 1. (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastUpdatedBy, Created, Content, Description, LastUpdated, Name, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', 'storable', 1, 1, 1, '2009-05-26 11:19:58', 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgpDIE93bmVyID0gJ19fQ3VycmVudFVzZ...', '[_1] highest priority tickets I own', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line 36 DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb517aec)', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 RT::Record::Create('RT::Attribute=HASH(0xb517aec)', 'Name', 'Search - My Tickets', 'Content', 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgpDIE93bmVyID0gJ19fQ3VycmVudFVzZ...', 'ContentType', 'storable', 'Description', '[_1] highest priority tickets I own', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm line 181 RT::Attribute::Create('RT::Attribute=HASH(0xb517aec)', 'Object', 'RT::System=HASH(0xb51765c)', 'Name', 'Search - My Tickets', 'Description', '[_1] highest priority tickets I own', 'Content', 'HASH(0xb517afc)', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', 'HASH(0xb517afc)', 'Description', '[_1] highest priority tickets I own', 'Name', 'Search - My Tickets') called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line 244 main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 (/usr/lib/perl5/5.10.0/Carp.pm:47) [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastUpdatedBy, Created, Content, Description, LastUpdated, Name, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column 'ContentType' in 'field list' (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) [Tue May 26 11:19:58 2009] [warning]: DBD::mysql::st execute failed: Unknown column 'ContentType' in 'field list' at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, line 1. (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastUpdatedBy, Created, Content, Name, Description, LastUpdated, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', 'storable', 1, 1, 1, '2009-05-26 11:19:58', 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgo6IE93bmVyID0gJ05vYm9keScgQU5EI...', 'Search - Unowned Tickets', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line 36 DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb51795c)', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 RT::Record::Create('RT::Attribute=HASH(0xb51795c)', 'Name', 'Search - Unowned Tickets', 'Content', 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgo6IE93bmVyID0gJ05vYm9keScgQU5EI...', 'ContentType', 'storable', 'Description', '[_1] newest unowned tickets', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm line 181 RT::Attribute::Create('RT::Attribute=HASH(0xb51795c)', 'Object', 'RT::System=HASH(0xb51765c)', 'Name', 'Search - Unowned Tickets', 'Description', '[_1] newest unowned tickets', 'Content', 'HASH(0xb517bac)', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', 'HASH(0xb517bac)', 'Description', '[_1] newest unowned tickets', 'Name', 'Search - Unowned Tickets') called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line 244 main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 (/usr/lib/perl5/5.10.0/Carp.pm:47) [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastUpdatedBy, Created, Content, Name, Description, LastUpdated, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column 'ContentType' in 'field list' (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) [Tue May 26 11:19:58 2009] [warning]: DBD::mysql::st execute failed: Unknown column 'ContentType' in 'field list' at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, line 1. (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastUpdatedBy, Created, Content, Name, Description, LastUpdated, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', 'storable', 1, 1, 1, '2009-05-26 11:19:58', 'BQcDAAAAAgQCAAAAAwQDAAAAAgoKTXkgVGlja2V0cwAAAARuYW1lCgZzeXN0Z...', 'HomepageSettings', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line 36 DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb5176cc)', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 RT::Record::Create('RT::Attribute=HASH(0xb5176cc)', 'Name', 'HomepageSettings', 'Content', 'BQcDAAAAAgQCAAAAAwQDAAAAAgoKTXkgVGlja2V0cwAAAARuYW1lCgZzeXN0Z...', 'ContentType', 'storable', 'Description', 'HomepageSettings', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm line 181 RT::Attribute::Create('RT::Attribute=HASH(0xb5176cc)', 'Object', 'RT::System=HASH(0xb51765c)', 'Name', 'HomepageSettings', 'Description', 'HomepageSettings', 'Content', 'HASH(0xb56c4ec)', ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', 'HASH(0xb56c4ec)', 'Description', 'HomepageSettings', 'Name', 'HomepageSettings') called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line 244 main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 (/usr/lib/perl5/5.10.0/Carp.pm:47) [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastUpdatedBy, Created, Content, Name, Description, LastUpdated, ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column 'ContentType' in 'field list' (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) ============================================== Error on Current working install (3.4.5): RT: DBD::mysql::st execute failed: Unknown column 'main.LookupType' in 'where clause' at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 505. (/usr/lib/perl5/vendor_perl/5.8.7/RT.pm:287) May 26 09:40:01 front RT: RT::Handle=HASH(0x8290febc) couldn't execute the query 'SELECT COUNT(DISTINCT main.id) FROM CustomFields main JOIN ObjectCustomFields ObjectCustomFields_1 ON ( ObjectCustomFields_1.CustomField = main.id ) WHERE (ObjectCustomFields_1.ObjectId = '7' OR ObjectCustomFields_1.ObjectId = '0') AND (main.LookupType = 'RT::Queue-RT::Ticket') ' at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 518 DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x8290febc)', 'SELECT COUNT(DISTINCT main.id) FROM CustomFields main JOIN Ob...') called at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 294 DBIx::SearchBuilder::_DoCount('RT::CustomFields=HASH(0x839f57a4)') called at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 1379 DBIx::SearchBuilder::Count('RT::CustomFields=HASH(0x839f57a4)') called at /var/www/rt3/Ticket/Elements/EditCustomFields line 53 HTML::Mason::Commands::__ANON__('TicketObj', 'RT::Ticket=HASH(0x839d8204)') called at /usr/lib/pe May 26 09:40:01 front RT: DBD::mysql::st execute failed: Unknown column 'main.LookupType' in 'where clause' at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 505. (/usr/lib/perl5/vendor_perl/5.8.7/RT.pm:287) -- View this message in context: http://www.nabble.com/Problem-Upgrading-Database-tp23721373p23721373.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From ruslan.zakirov at gmail.com Tue May 26 08:45:46 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 26 May 2009 16:45:46 +0400 Subject: [rt-users] Problem Upgrading Database In-Reply-To: <23721373.post@talk.nabble.com> References: <23721373.post@talk.nabble.com> Message-ID: <589c94400905260545l405f433dg165342cb2b386449@mail.gmail.com> On Tue, May 26, 2009 at 4:34 PM, sjmarts wrote: > > I wonder if someone can help me. I have spent the best part of a week trying > to get my 3.4.5 RT database upgraded and ready for 3.8.2. I have read all > readme files countless times and rebuilt the server from scratch twice now > following the instructions exactly. I keep hitting the same error though and > wonder if there is something fundementally wrong with my database (It is > currently up and working on 3.4.5 - however I do see some errors in my > messages file as this is running - i'll post this later in my post) > > I am following the new install for Fedora 9 (although I am running version > 10) and all goes absolutely fine with no error messages until I am running > the upgrade script. This error is encountered if I run the auto script or > the manual process of: > > ?rt-setup-database --action insert --datafile ./etc/upgrade/3.5.1/content > --dba root > > I get the following errors (sorry for the long error - thought it was best > to post it all!) - Below this error it the errors I am seeing on my current > isntall. Any help much appreciated!! > > [warning]: DBD::mysql::st execute failed: Unknown column 'ContentType' in > 'field list' at Column ContentType is part of etc/upgrade/3.3.0/, so either your RT is not RT 3.4.x or you skipped an upgrade long time ago. [snip] -- Best regards, Ruslan. From sjmarts at gmail.com Tue May 26 08:50:26 2009 From: sjmarts at gmail.com (sjmarts) Date: Tue, 26 May 2009 05:50:26 -0700 (PDT) Subject: [rt-users] Problem Upgrading Database In-Reply-To: <23721373.post@talk.nabble.com> References: <23721373.post@talk.nabble.com> Message-ID: <23722433.post@talk.nabble.com> I feared that might be the answer... Someone else upgraded last time and went to 3.4.5. I suspected they may not have run the update correctly. The question is - is there anything I can do now with the database?? Thanks for your prompt reply! sjmarts wrote: > > I wonder if someone can help me. I have spent the best part of a week > trying to get my 3.4.5 RT database upgraded and ready for 3.8.2. I have > read all readme files countless times and rebuilt the server from scratch > twice now following the instructions exactly. I keep hitting the same > error though and wonder if there is something fundementally wrong with my > database (It is currently up and working on 3.4.5 - however I do see some > errors in my messages file as this is running - i'll post this later in my > post) > > I am following the new install for Fedora 9 (although I am running version > 10) and all goes absolutely fine with no error messages until I am running > the upgrade script. This error is encountered if I run the auto script or > the manual process of: > > rt-setup-database --action insert --datafile ./etc/upgrade/3.5.1/content > --dba root > > I get the following errors (sorry for the long error - thought it was best > to post it all!) - Below this error it the errors I am seeing on my > current isntall. Any help much appreciated!! > > [warning]: DBD::mysql::st execute failed: Unknown column 'ContentType' in > 'field list' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, > line 1. > (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) > [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't > execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Description, LastUpdated, Name, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', > 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', > 'storable', 1, 1, 1, '2009-05-26 11:19:58', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgpDIE93bmVyID0gJ19fQ3VycmVudFVzZ...', '[_1] > highest priority tickets I own', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 > DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line > 36 > DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 > DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb517aec)', > 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', > 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 > RT::Record::Create('RT::Attribute=HASH(0xb517aec)', 'Name', 'Search - My > Tickets', 'Content', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgpDIE93bmVyID0gJ19fQ3VycmVudFVzZ...', > 'ContentType', 'storable', 'Description', '[_1] highest priority tickets I > own', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm line 181 > RT::Attribute::Create('RT::Attribute=HASH(0xb517aec)', 'Object', > 'RT::System=HASH(0xb51765c)', 'Name', 'Search - My Tickets', > 'Description', '[_1] highest priority tickets I own', 'Content', > 'HASH(0xb517afc)', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 > RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', > 'HASH(0xb517afc)', 'Description', '[_1] highest priority tickets I own', > 'Name', 'Search - My Tickets') called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 > RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', > './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line > 244 > main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', > 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 > (/usr/lib/perl5/5.10.0/Carp.pm:47) > [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the > query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Description, LastUpdated, Name, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column > 'ContentType' in 'field list' > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) > [Tue May 26 11:19:58 2009] [warning]: DBD::mysql::st execute failed: > Unknown column 'ContentType' in 'field list' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, > line 1. > (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) > [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't > execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', > 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', > 'storable', 1, 1, 1, '2009-05-26 11:19:58', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgo6IE93bmVyID0gJ05vYm9keScgQU5EI...', > 'Search - Unowned Tickets', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 > DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line > 36 > DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 > DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb51795c)', > 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', > 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 > RT::Record::Create('RT::Attribute=HASH(0xb51795c)', 'Name', 'Search - > Unowned Tickets', 'Content', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgo6IE93bmVyID0gJ05vYm9keScgQU5EI...', > 'ContentType', 'storable', 'Description', '[_1] newest unowned tickets', > ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm > line 181 > RT::Attribute::Create('RT::Attribute=HASH(0xb51795c)', 'Object', > 'RT::System=HASH(0xb51765c)', 'Name', 'Search - Unowned Tickets', > 'Description', '[_1] newest unowned tickets', 'Content', > 'HASH(0xb517bac)', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 > RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', > 'HASH(0xb517bac)', 'Description', '[_1] newest unowned tickets', 'Name', > 'Search - Unowned Tickets') called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 > RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', > './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line > 244 > main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', > 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 > (/usr/lib/perl5/5.10.0/Carp.pm:47) > [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the > query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column > 'ContentType' in 'field list' > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) > [Tue May 26 11:19:58 2009] [warning]: DBD::mysql::st execute failed: > Unknown column 'ContentType' in 'field list' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, > line 1. > (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) > [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't > execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', > 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', > 'storable', 1, 1, 1, '2009-05-26 11:19:58', > 'BQcDAAAAAgQCAAAAAwQDAAAAAgoKTXkgVGlja2V0cwAAAARuYW1lCgZzeXN0Z...', > 'HomepageSettings', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 > DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line > 36 > DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 > DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb5176cc)', > 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', > 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 > RT::Record::Create('RT::Attribute=HASH(0xb5176cc)', 'Name', > 'HomepageSettings', 'Content', > 'BQcDAAAAAgQCAAAAAwQDAAAAAgoKTXkgVGlja2V0cwAAAARuYW1lCgZzeXN0Z...', > 'ContentType', 'storable', 'Description', 'HomepageSettings', ...) called > at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm line 181 > RT::Attribute::Create('RT::Attribute=HASH(0xb5176cc)', 'Object', > 'RT::System=HASH(0xb51765c)', 'Name', 'HomepageSettings', 'Description', > 'HomepageSettings', 'Content', 'HASH(0xb56c4ec)', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 > RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', > 'HASH(0xb56c4ec)', 'Description', 'HomepageSettings', 'Name', > 'HomepageSettings') called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 > RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', > './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line > 244 > main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', > 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 > (/usr/lib/perl5/5.10.0/Carp.pm:47) > [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the > query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column > 'ContentType' in 'field list' > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) > > > > ============================================== > > Error on Current working install (3.4.5): > > RT: DBD::mysql::st execute failed: Unknown column 'main.LookupType' in > 'where clause' at > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 505. > (/usr/lib/perl5/vendor_perl/5.8.7/RT.pm:287) > May 26 09:40:01 front RT: RT::Handle=HASH(0x8290febc) couldn't execute the > query 'SELECT COUNT(DISTINCT main.id) FROM CustomFields main JOIN > ObjectCustomFields ObjectCustomFields_1 ON ( > ObjectCustomFields_1.CustomField = main.id ) WHERE > (ObjectCustomFields_1.ObjectId = '7' OR ObjectCustomFields_1.ObjectId = > '0') AND (main.LookupType = 'RT::Queue-RT::Ticket') ' at > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x8290febc)', > 'SELECT COUNT(DISTINCT main.id) FROM CustomFields main JOIN Ob...') called > at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 294 > DBIx::SearchBuilder::_DoCount('RT::CustomFields=HASH(0x839f57a4)') called > at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 1379 > DBIx::SearchBuilder::Count('RT::CustomFields=HASH(0x839f57a4)') called at > /var/www/rt3/Ticket/Elements/EditCustomFields line 53 > HTML::Mason::Commands::__ANON__('TicketObj', > 'RT::Ticket=HASH(0x839d8204)') called at /usr/lib/pe > May 26 09:40:01 front RT: DBD::mysql::st execute failed: Unknown column > 'main.LookupType' in 'where clause' at > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 505. > (/usr/lib/perl5/vendor_perl/5.8.7/RT.pm:287) > > > > -- View this message in context: http://www.nabble.com/Problem-Upgrading-Database-tp23721373p23722433.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From manohar.r at glowtouch.com Tue May 26 08:11:54 2009 From: manohar.r at glowtouch.com (H Manohar rayker) Date: Tue, 26 May 2009 17:41:54 +0530 Subject: [rt-users] How to get authentication while opening ticket from the link in the admin correspondance mail.? Message-ID: <9434D2FA28BC4823B46AF79C938E44BE@dgsys25> Hi, When a ticket is created we get a admin correspondence mail with the ticket id , owner and the link to the ticket. Now when we click the link of the ticket directly it should open up the login screen after entering the user name and password which should proceed showing the ticket details. For eg.: http://abc.defghk.com/Ticket/Display.html?id=345 The ticket opens up from the link when there is already a user logged in. If there are no users logged in we get the error: "Can't call method "HasRight" on an undefined value at /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm line 3351." When refered to the rt.log I find this error: [Tue May 26 12:05:14 2009] [error]: Couldn't get principal for not loaded object (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1154) [Tue May 26 12:05:18 2009] [error]: Couldn't get principal for not loaded object (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1154) Is this is a bug or what do I need to do to get this working? Please Guide.. I'm using RT 3.8.2, Apache 1.3, CentOS 5.2 Thanks Manohar -------------- next part -------------- An HTML attachment was scrubbed... URL: From sjmarts at gmail.com Tue May 26 10:13:29 2009 From: sjmarts at gmail.com (sjmarts) Date: Tue, 26 May 2009 07:13:29 -0700 (PDT) Subject: [rt-users] Problem Upgrading Database In-Reply-To: <23721373.post@talk.nabble.com> References: <23721373.post@talk.nabble.com> Message-ID: <23723565.post@talk.nabble.com> I have since tried doing the manual upgrade from 3.3.0 (god bless VMware snapshots!) and that upgrade seems to run but then I hit the same problems at 3.5.1 with the same error message... sjmarts wrote: > > I wonder if someone can help me. I have spent the best part of a week > trying to get my 3.4.5 RT database upgraded and ready for 3.8.2. I have > read all readme files countless times and rebuilt the server from scratch > twice now following the instructions exactly. I keep hitting the same > error though and wonder if there is something fundementally wrong with my > database (It is currently up and working on 3.4.5 - however I do see some > errors in my messages file as this is running - i'll post this later in my > post) > > I am following the new install for Fedora 9 (although I am running version > 10) and all goes absolutely fine with no error messages until I am running > the upgrade script. This error is encountered if I run the auto script or > the manual process of: > > rt-setup-database --action insert --datafile ./etc/upgrade/3.5.1/content > --dba root > > I get the following errors (sorry for the long error - thought it was best > to post it all!) - Below this error it the errors I am seeing on my > current isntall. Any help much appreciated!! > > [warning]: DBD::mysql::st execute failed: Unknown column 'ContentType' in > 'field list' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, > line 1. > (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) > [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't > execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Description, LastUpdated, Name, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', > 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', > 'storable', 1, 1, 1, '2009-05-26 11:19:58', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgpDIE93bmVyID0gJ19fQ3VycmVudFVzZ...', '[_1] > highest priority tickets I own', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 > DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line > 36 > DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 > DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb517aec)', > 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', > 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 > RT::Record::Create('RT::Attribute=HASH(0xb517aec)', 'Name', 'Search - My > Tickets', 'Content', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgpDIE93bmVyID0gJ19fQ3VycmVudFVzZ...', > 'ContentType', 'storable', 'Description', '[_1] highest priority tickets I > own', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm line 181 > RT::Attribute::Create('RT::Attribute=HASH(0xb517aec)', 'Object', > 'RT::System=HASH(0xb51765c)', 'Name', 'Search - My Tickets', > 'Description', '[_1] highest priority tickets I own', 'Content', > 'HASH(0xb517afc)', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 > RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', > 'HASH(0xb517afc)', 'Description', '[_1] highest priority tickets I own', > 'Name', 'Search - My Tickets') called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 > RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', > './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line > 244 > main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', > 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 > (/usr/lib/perl5/5.10.0/Carp.pm:47) > [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the > query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Description, LastUpdated, Name, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column > 'ContentType' in 'field list' > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) > [Tue May 26 11:19:58 2009] [warning]: DBD::mysql::st execute failed: > Unknown column 'ContentType' in 'field list' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, > line 1. > (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) > [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't > execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', > 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', > 'storable', 1, 1, 1, '2009-05-26 11:19:58', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgo6IE93bmVyID0gJ05vYm9keScgQU5EI...', > 'Search - Unowned Tickets', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 > DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line > 36 > DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 > DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb51795c)', > 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', > 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 > RT::Record::Create('RT::Attribute=HASH(0xb51795c)', 'Name', 'Search - > Unowned Tickets', 'Content', > 'BQcDAAAABAoEREVTQwAAAAVPcmRlcgo6IE93bmVyID0gJ05vYm9keScgQU5EI...', > 'ContentType', 'storable', 'Description', '[_1] newest unowned tickets', > ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm > line 181 > RT::Attribute::Create('RT::Attribute=HASH(0xb51795c)', 'Object', > 'RT::System=HASH(0xb51765c)', 'Name', 'Search - Unowned Tickets', > 'Description', '[_1] newest unowned tickets', 'Content', > 'HASH(0xb517bac)', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 > RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', > 'HASH(0xb517bac)', 'Description', '[_1] newest unowned tickets', 'Name', > 'Search - Unowned Tickets') called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 > RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', > './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line > 244 > main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', > 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 > (/usr/lib/perl5/5.10.0/Carp.pm:47) > [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the > query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column > 'ContentType' in 'field list' > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) > [Tue May 26 11:19:58 2009] [warning]: DBD::mysql::st execute failed: > Unknown column 'ContentType' in 'field list' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 505, > line 1. > (/usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm:505) > [Tue May 26 11:19:58 2009] [warning]: RT::Handle=HASH(0xb413b74) couldn't > execute the query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xb413b74)', > 'INSERT INTO Attributes (ContentType, Creator, ObjectId, LastU...', > 'storable', 1, 1, 1, '2009-05-26 11:19:58', > 'BQcDAAAAAgQCAAAAAwQDAAAAAgoKTXkgVGlja2V0cwAAAARuYW1lCgZzeXN0Z...', > 'HomepageSettings', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle.pm line 353 > DBIx::SearchBuilder::Handle::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Handle/mysql.pm line > 36 > DBIx::SearchBuilder::Handle::mysql::Insert('RT::Handle=HASH(0xb413b74)', > 'Attributes', 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, > 'LastUpdatedBy', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/DBIx/SearchBuilder/Record.pm line 1293 > DBIx::SearchBuilder::Record::Create('RT::Attribute=HASH(0xb5176cc)', > 'ContentType', 'storable', 'Creator', 1, 'ObjectId', 1, 'LastUpdatedBy', > 1, ...) called at /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 289 > RT::Record::Create('RT::Attribute=HASH(0xb5176cc)', 'Name', > 'HomepageSettings', 'Content', > 'BQcDAAAAAgQCAAAAAwQDAAAAAgoKTXkgVGlja2V0cwAAAARuYW1lCgZzeXN0Z...', > 'ContentType', 'storable', 'Description', 'HomepageSettings', ...) called > at /usr/lib/perl5/vendor_perl/5.10.0/RT/Attribute_Overlay.pm line 181 > RT::Attribute::Create('RT::Attribute=HASH(0xb5176cc)', 'Object', > 'RT::System=HASH(0xb51765c)', 'Name', 'HomepageSettings', 'Description', > 'HomepageSettings', 'Content', 'HASH(0xb56c4ec)', ...) called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Record.pm line 173 > RT::Record::AddAttribute('RT::System=HASH(0xb51765c)', 'Content', > 'HASH(0xb56c4ec)', 'Description', 'HomepageSettings', 'Name', > 'HomepageSettings') called at > /usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm line 1001 > RT::Handle::InsertData('RT::Handle=HASH(0xb413b74)', > './etc/upgrade/3.5.1/content') called at /usr/sbin/rt-setup-database line > 244 > main::action_insert('datafile', './etc/upgrade/3.5.1/content', 'action', > 'insert', 'dba', 'root') called at /usr/sbin/rt-setup-database line 166 > (/usr/lib/perl5/5.10.0/Carp.pm:47) > [Tue May 26 11:19:58 2009] [error]: Internal Error: Couldn't execute the > query 'INSERT INTO Attributes (ContentType, Creator, ObjectId, > LastUpdatedBy, Created, Content, Name, Description, LastUpdated, > ObjectType) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'Unknown column > 'ContentType' in 'field list' > (/usr/lib/perl5/vendor_perl/5.10.0/RT/Handle.pm:1003) > > > > ============================================== > > Error on Current working install (3.4.5): > > RT: DBD::mysql::st execute failed: Unknown column 'main.LookupType' in > 'where clause' at > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 505. > (/usr/lib/perl5/vendor_perl/5.8.7/RT.pm:287) > May 26 09:40:01 front RT: RT::Handle=HASH(0x8290febc) couldn't execute the > query 'SELECT COUNT(DISTINCT main.id) FROM CustomFields main JOIN > ObjectCustomFields ObjectCustomFields_1 ON ( > ObjectCustomFields_1.CustomField = main.id ) WHERE > (ObjectCustomFields_1.ObjectId = '7' OR ObjectCustomFields_1.ObjectId = > '0') AND (main.LookupType = 'RT::Queue-RT::Ticket') ' at > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 518 > DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x8290febc)', > 'SELECT COUNT(DISTINCT main.id) FROM CustomFields main JOIN Ob...') called > at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 294 > DBIx::SearchBuilder::_DoCount('RT::CustomFields=HASH(0x839f57a4)') called > at /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder.pm line 1379 > DBIx::SearchBuilder::Count('RT::CustomFields=HASH(0x839f57a4)') called at > /var/www/rt3/Ticket/Elements/EditCustomFields line 53 > HTML::Mason::Commands::__ANON__('TicketObj', > 'RT::Ticket=HASH(0x839d8204)') called at /usr/lib/pe > May 26 09:40:01 front RT: DBD::mysql::st execute failed: Unknown column > 'main.LookupType' in 'where clause' at > /usr/lib/perl5/vendor_perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 505. > (/usr/lib/perl5/vendor_perl/5.8.7/RT.pm:287) > > > > -- View this message in context: http://www.nabble.com/Problem-Upgrading-Database-tp23721373p23723565.html Sent from the Request Tracker - User mailing list archive at Nabble.com. From ruslan.zakirov at gmail.com Tue May 26 10:32:00 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Tue, 26 May 2009 18:32:00 +0400 Subject: [rt-users] How to get authentication while opening ticket from the link in the admin correspondance mail.? In-Reply-To: <9434D2FA28BC4823B46AF79C938E44BE@dgsys25> References: <9434D2FA28BC4823B46AF79C938E44BE@dgsys25> Message-ID: <589c94400905260732v4a46076dt16e5bdea8786ddc5@mail.gmail.com> I believe you adjusted NoAuth regexp in the config, didn't you? This regexp doesn't mean "UI will start working without auth", but the following instead "components matching this regular expression can work without any credentials". On Tue, May 26, 2009 at 4:11 PM, H Manohar rayker wrote: > Hi, > > > > > > When a ticket is created we get a admin correspondence mail with the ticket > id , owner and the link to the ticket. > > > > Now when we click the link of the ticket directly it should open up the > login screen after entering the user name and password which should proceed > showing the ticket details. > > > > For eg.: http://abc.defghk.com/Ticket/Display.html?id=345 > > > > The ticket opens up from the link when there is already a user logged in. If > there are no users logged in we get the error: > > > > ?Can't call method "HasRight" on an undefined value at > /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm line 3351.? > > > > When refered to the rt.log ?I find this error: > > > > [Tue May 26 12:05:14 2009] [error]: Couldn't get principal for not loaded > object (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1154) > > [Tue May 26 12:05:18 2009] [error]: Couldn't get principal for not loaded > object (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1154) > > > > > > Is this is a bug or what do I need to do to get this working? Please Guide?. > > > > I?m using RT 3.8.2, Apache 1.3, CentOS 5.2 > > > > Thanks > > Manohar > > > > _______________________________________________ > 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 jlucas at eagleinvsys.com Tue May 26 10:41:45 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Tue, 26 May 2009 10:41:45 -0400 Subject: [rt-users] Simple Search functionality In-Reply-To: <4A14754A.2010205@lbl.gov> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> Message-ID: <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> Hello folks. I searched thru RT_Config.pm and the RT Wiki but could not find the answer... it appears that the Simple Search tool in RT only reports on unresolved tickets. Is that true? If so, can someone tell me how to adjust RT so that it reports on ALL tickets containing the keyword in the ticket subject regardless of status? Thanks. -Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From ballmann at patronas.de Tue May 26 10:56:35 2009 From: ballmann at patronas.de (Bastian Ballmann) Date: Tue, 26 May 2009 16:56:35 +0200 Subject: [rt-users] Simple Search functionality In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> Message-ID: <4A1C0323.3070906@patronas.de> Hi, Jeff Lucas schrieb: > > I searched thru RT_Config.pm and the RT Wiki but could not find the > answer? it appears that the Simple Search tool in RT only reports on > unresolved tickets. Is that true? > Just add the keyword "resolved" to your search string to get resolved tickets. Greets Basti -- Bastian Ballmann PATRONAS Financial Systems GmbH Schnewlinstr 4 79098 Freiburg fon +49 (0)761 400688-19 fax +49 (0)761 400688-50 ballmann at patronas.de http://www.patronas.de Amtsgericht Freiburg, HRB 7212 Gesch?ftsf?hrung: Heribert Steuer, Carsten Osswald This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From jpierce at cambridgeenergyalliance.org Tue May 26 11:00:07 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Tue, 26 May 2009 11:00:07 -0400 Subject: [rt-users] Simple Search functionality In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> Message-ID: On Tue, May 26, 2009 at 10:41, Jeff Lucas wrote: > Hello folks. > > I searched thru RT_Config.pm and the RT Wiki but could not find the answer? > it appears that the Simple Search tool in RT only reports on unresolved > tickets.? Is that true?? If so, can someone tell me how to adjust RT so that > it reports on ALL tickets containing the keyword in the ticket subject > regardless of status? Really? What about the list archives? On the wiki searching for SimpleSearch returns two of 5 relevant results. From elacour at easter-eggs.com Tue May 26 11:05:26 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 26 May 2009 17:05:26 +0200 Subject: [rt-users] Simple Search functionality In-Reply-To: References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> Message-ID: <20090526150525.GH20863@easter-eggs.com> On Tue, May 26, 2009 at 11:00:07AM -0400, Jerrad Pierce wrote: > > On the wiki searching for SimpleSearch returns two of 5 relevant results. > And I just fully described how it works here: http://wiki.bestpractical.com/view/SimpleSearch ;) From elacour at easter-eggs.com Tue May 26 11:10:08 2009 From: elacour at easter-eggs.com (Emmanuel Lacour) Date: Tue, 26 May 2009 17:10:08 +0200 Subject: [rt-users] Simple Search functionality In-Reply-To: <20090526150525.GH20863@easter-eggs.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> <20090526150525.GH20863@easter-eggs.com> Message-ID: <20090526151007.GI20863@easter-eggs.com> On Tue, May 26, 2009 at 05:05:26PM +0200, Emmanuel Lacour wrote: > On Tue, May 26, 2009 at 11:00:07AM -0400, Jerrad Pierce wrote: > > > > On the wiki searching for SimpleSearch returns two of 5 relevant results. > > > > And I just fully described how it works here: > > http://wiki.bestpractical.com/view/SimpleSearch > And a FAQ entry with this article as answer. From jlucas at eagleinvsys.com Tue May 26 11:13:54 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Tue, 26 May 2009 11:13:54 -0400 Subject: [rt-users] Simple Search functionality In-Reply-To: <4A1C0323.3070906@patronas.de> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> <4A1C0323.3070906@patronas.de> Message-ID: <11E641922C0B44439FB30F8936ABF621073AA882@bigmail01.eagleinvsys.com> That worked. Thank you, Basti. -----Original Message----- From: Bastian Ballmann [mailto:ballmann at patronas.de] Sent: Tuesday, May 26, 2009 10:57 AM To: Jeff Lucas Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Simple Search functionality Hi, Jeff Lucas schrieb: > > I searched thru RT_Config.pm and the RT Wiki but could not find the > answer... it appears that the Simple Search tool in RT only reports on > unresolved tickets. Is that true? > Just add the keyword "resolved" to your search string to get resolved tickets. Greets Basti -- Bastian Ballmann PATRONAS Financial Systems GmbH Schnewlinstr 4 79098 Freiburg fon +49 (0)761 400688-19 fax +49 (0)761 400688-50 ballmann at patronas.de http://www.patronas.de Amtsgericht Freiburg, HRB 7212 Gesch?ftsf?hrung: Heribert Steuer, Carsten Osswald This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. From echatham at broadvox.net Tue May 26 11:29:48 2009 From: echatham at broadvox.net (Eric Chatham) Date: Tue, 26 May 2009 11:29:48 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <8fae230c0905221333p64a7ecd0u1b2d5540ef2d53a5@mail.gmail.com> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> <8fae230c0905221258v63db561che67abc16ded7dd35@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E1DE@CLEHBEXMS01.broadvox.local> <8fae230c0905221333p64a7ecd0u1b2d5540ef2d53a5@mail.gmail.com> Message-ID: <4ABA3E162F60624A949503A7F960245EB11319E343@CLEHBEXMS01.broadvox.local> On Friday, May 22, 2009 16:33, Rob Munsch wrote: >> There is nothing listed in /var/log. > er... > I'm thinking you should probably tell us more about your system setup in general... I am running CentOS (RHEL 5.1) on VMWare. As far as System Setup, I installed RT 3.8.2 with the following (let me know if there is something specific you need): Perl Modules: Perl v5.8.8 under linux Apache2::Const v2.000004; Apache2::Log v2.000004; Apache2::RequestIO v2.000004; Apache2::RequestRec v2.000004; Apache2::RequestUtil v2.000004; Apache2::Response v2.000004; Apache2::ServerUtil v2.000004; Apache2::Status v4.00; Apache::Session v1.88; Apache::Session::Generate::MD5 v2.12; Apache::Session::Lock::MySQL v1.01; Apache::Session::MySQL v1.01; Apache::Session::Serialize::Storable v1.01; Apache::Session::Store::DBI v1.02; Apache::Session::Store::MySQL v1.04; APR v0.009000; APR::Pool v0.009000; APR::Table v0.009000; AutoLoader v5.60; base v2.07; bytes v1.02; Cache::Simple::TimedExpiry v0.27; Carp v1.04; CGI v3.43; CGI::Cookie v1.29; CGI::Util v1.5_01; Class::Accessor v0.33; Class::Accessor::Fast v0.33; Class::Container v0.12; Class::Data::Inheritable v0.08; Class::Inspector v1.24; Class::ReturnValue v0.55; Clone v0.31; constant v1.05; Convert::ASN1 v0.22; Cwd v3.12; Data::Dumper v2.121_08; Date::Format v2.22; Date::Parse v2.27; DBD::mysql v4.010; DBI v1.608; DBIx::SearchBuilder v1.54; DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01; Devel::StackTrace v1.20; Devel::StackTraceFrame v1.20; Digest::base v1.00; Digest::MD5 v2.36; DynaLoader v1.05; Email::Address v1.889; Encode v2.33; Encode::Alias v2.12; Encode::Config v2.05; Encode::Encoding v2.05; Errno v1.0901; Exception::Class v1.29; Exception::Class::Base v1.20; Exporter v5.58; Exporter::Heavy v5.58; Fcntl v1.05; File::Basename v2.74; File::Glob v1.05; File::Path v1.08; File::ShareDir v1.00; File::Spec v3.12; File::Spec::Unix v1.5; File::Temp v0.21; FileHandle v2.01; GD v2.41; GD::Image v2.27; HTML::Element v3.23; HTML::Entities v1.35; HTML::Formatter v2.04; HTML::FormatText v2.04; HTML::Mason v1.42; HTML::Mason::ApacheHandler v1.69; HTML::Mason::Exception v1.1; HTML::Mason::Exception::Abort v1.1; HTML::Mason::Exception::Compilation v1.1; HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1; HTML::Mason::Exception::Compiler v1.1; HTML::Mason::Exception::Decline v1.1; HTML::Mason::Exception::Params v1.1; HTML::Mason::Exception::Syntax v1.1; HTML::Mason::Exception::System v1.1; HTML::Mason::Exception::TopLevelNotFound v1.1; HTML::Mason::Exception::VirtualMethod v1.1; HTML::Mason::Exceptions v1.43; HTML::Parser v3.55; HTML::Scrubber v0.08; HTML::Tagset v3.10; HTML::TreeBuilder v3.23; I18N::LangTags v0.35; integer v1.00; IO v1.22; IO::File v1.13; IO::Handle v1.25; IO::InnerFile v2.110; IO::Lines v2.110; IO::ScalarArray v2.110; IO::Seekable v1.1; IO::Select v1.17; IO::Socket v1.29; IO::Socket::INET v1.29; IO::Socket::UNIX v1.22; IO::WrapTie v2.110; IPC::Open2 v1.02; IPC::Open3 v1.02; List::Util v1.19; Locale::Maketext v1.09; Locale::Maketext::Fuzzy v0.10; Locale::Maketext::Lexicon v0.77; Locale::Maketext::Lexicon::Gettext v0.17; Log::Dispatch v2.22; Log::Dispatch::Base v1.09; Log::Dispatch::Output v1.26; Log::Dispatch::Screen v1.17; Log::Dispatch::Syslog v1.18; Mail::Address v2.04; Mail::Field v2.04; Mail::Field::AddrList v2.04; Mail::Field::Date v2.04; Mail::Field::Generic v2.04; Mail::Header v2.04; Mail::Internet v2.04; Mail::Mailer v2.04; Mail::Util v2.04; MIME::Base64 v3.07; MIME::Body v5.427; MIME::Decoder v5.427; MIME::Entity v5.427; MIME::Field::ContDisp v5.427; MIME::Field::ConTraEnc v5.427; MIME::Field::ContType v5.427; MIME::Field::ParamVal v5.427; MIME::Head v5.427; MIME::Parser v5.427; MIME::QuotedPrint v3.07; MIME::Tools v5.427; MIME::Words v5.427; mod_perl v2.000004; mod_perl2 v2.000004; ModPerl::Const v2.000004; Module::Versions::Report v1.06; Net::LDAP v0.39; Net::LDAP::ASN v0.08; Net::LDAP::Constant v0.07; Net::LDAP::Filter v0.15; Net::LDAP::Message v1.11; Net::LDAP::Util v0.11; overload v1.04; Params::Util v0.38; Params::Validate v0.91; POSIX v1.09; re v0.05; Regexp::Common v2.122; Regexp::Common::delimited v2.106; RT v3.8.2; RT::Authen::ExternalAuth v0.08; RT::Interface::Email v2; RT::Interface::Web::Request v0.30; Scalar::Util v1.19; SelectSaver v1.01; Socket v1.78; Storable v2.15; strict v1.03; Symbol v1.06; Sys::Syslog v0.27; Text::Template v1.45; Text::Wrapper v1.02; Tie::Hash v1.02; Time::HiRes v1.9715; Time::JulianDay v2003.1125; Time::Local v1.11; Time::ParseDate v2006.0814; Time::Timezone v2006.0814; Time::Zone v2.22; UNIVERSAL v1.01; UNIVERSAL::require v0.13; URI v1.35; URI::Escape v3.28; utf8 v1.06; vars v1.01; warnings v1.05; warnings::register v1.01; XSLoader v0.06; RT Variables RT::BasePath /opt/rt3 RT::BinPath /opt/rt3/bin RT::EtcPath /opt/rt3/etc RT::LocalEtcPath /opt/rt3/local/etc RT::LocalLexiconPath /opt/rt3/local/po RT::LocalLibPath /opt/rt3/local/lib RT::LocalPath /opt/rt3/local RT::LocalPluginPath /opt/rt3/local/plugins RT::MasonComponentRoot /opt/rt3/share/html RT::MasonDataDir /opt/rt3/var/mason_data RT::MasonLocalComponentRoot /opt/rt3/local/html RT::MasonSessionDir /opt/rt3/var/session_data RT::SbinPath /opt/rt3/sbin RT::VERSION 3.8.2 RT::VarPath /opt/rt3/var Perl configuration Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=linux, osvers=2.6.18-53.el5, archname=i386-linux-thread-multi uname='linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 est 2007 i686 athlon i386 gnulinux ' config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8 -Dmyhostname=localhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/usr/bin' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-44)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib' Perl Include Paths (@INC) /opt/rt3/bin/../local/lib /opt/rt3/bin/../lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd RT Config MaxInlineBody 12000 OldestTransactionsFirst 1 UsernameFormat concise ShowUnreadMessageNotifications 1 WebDefaultStylesheet web2 MessageBoxRichText 1 PlainTextPre 0 MessageBoxRichTextHeight 200 MessageBoxWidth 72 MessageBoxHeight 15 ActiveStatus new, open, stalled Active_MakeClicky AmbiguousDayInFuture 0 AmbiguousDayInPast 0 AutoLogoff 0 CanonicalizeOnCreate 0 CanonicalizeRedirectURLs 0 CommentAddress CorrespondAddress CustomFieldValuesSources DashboardAddress DashboardSubject %s Dashboard: %s DatabaseHost localhost DatabaseName rt3 DatabasePassword Password not printed DatabasePort DatabaseRTHost localhost DatabaseType mysql DatabaseUser rt_user DateDayBeforeMonth 1 DateTimeFormat DefaultFormat DefaultSearchResultFormat '__id__/TITLE:#', '__Subject__/TITLE:Subject', Status, QueueName, OwnerName, Priority, '__NEWLINE__', '', '__Requestors__', '__CreatedRelative__', '__ToldRelative__', '__LastUpdatedRelative__', '__TimeLeft__' DefaultSummaryRows 10 DevelMode 0 DisableGraphViz 1 EmailFrequency Individual messages EmailInputEncodings utf-8, iso-8859-1, us-ascii EmailOutputEncoding utf-8 EnableReminders 1 ExternalAuthPriority My_LDAP ExternalSettings My_LDAP, HASH(0xaf03cb8) ExtractSubjectTagMatch Regexp ExtractSubjectTagNoMatch Regexp ForwardFromUser 0 FriendlyFromLineFormat "%s via RT" <%s> FriendlyToLineFormat "%s of broadvox.local Ticket #%s":; GnuPG Enable, 0, AllowEncryptDataInDB, 0, OutgoingMessagesFormat, RFC GnuPGOptions homedir, /opt/rt3/var/data/gpg HomepageComponents QuickCreate, Quicksearch, MyAdminQueues, MySupportQueues, MyReminders, RefreshHomepage, Dashboards InactiveStatus resolved, rejected, deleted LexiconLanguages * LinkTransactionsRun1Scrip 0 LogDir /opt/rt3/var/log LogStackTraces debug LogToFileNamed rt.log LogToScreen info LogToSyslog info LogToSyslogConf LogoURL /NoAuth/images/bplogo.gif LoopsToRTOwner 1 MailCommand sendmailpipe MailParams MasonParameters MaxAttachmentSize 10000000 MessageBoxIncludeSignature 1 MessageBoxWrap HARD MinimumPasswordLength 5 NetServerOptions NotifyActor 0 Organization broadvox.local OwnerEmail root Plugins RT::Authen::ExternalAuth PreviewScripMessages 0 RTAddressRegexp ^rt\@example.com$ RecordOutgoingEmail 1 RedistributeAutoGeneratedMessages privileged SMTPDebug 0 SelfServiceRegex Regexp SendmailArguments -oi -t SendmailBounceArguments -f "<>" SendmailPath /usr/sbin/sendmail ShowBccHeader 0 ShowTransactionImages 1 StandaloneMaxServers 1 StandaloneMaxSpareServers 0 StandaloneMinServers 1 StandaloneMinSpareServers 0 StrictLinkACL 1 Timezone US/Eastern UseFriendlyFromLine 1 UseFriendlyToLine 0 UseTransactionBatch 1 WebBaseURL http://localhost:80 WebDomain localhost WebFlushDbCacheEveryRequest 1 WebImagesURL /NoAuth/images/ WebNoAuthRegex Regexp WebPath WebPort 80 WebSecureCookies 0 WebURL http://localhost:80/ WikiImplicitLinks 0 rtname broadvox.local CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From Hossein.Rafighi at triumf.ca Tue May 26 12:58:07 2009 From: Hossein.Rafighi at triumf.ca (Hossein Rafighi) Date: Tue, 26 May 2009 09:58:07 -0700 Subject: [rt-users] Moving tickets to another queue In-Reply-To: <23722433.post@talk.nabble.com> References: <23721373.post@talk.nabble.com> <23722433.post@talk.nabble.com> Message-ID: <4A1C1F9F.9060005@triumf.ca> Greeting all, Is there a scrip to automatically notify Admin of a queue when a ticket is moved into their queue from another queue? The only way that I know is by changing the queue and replying to the ticket. Otherwise, the Admins of the queue I moved the ticket to won't be notified. Cheers, Hossein Rafighi -- _____ _____ _____ _ _ _ _ ____ 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 FluchT at wyeth.com Tue May 26 13:02:53 2009 From: FluchT at wyeth.com (Thomas Fluch) Date: Tue, 26 May 2009 13:02:53 -0400 Subject: [rt-users] Moving tickets to another queue In-Reply-To: <4A1C1F9F.9060005@triumf.ca> References: <23721373.post@talk.nabble.com> <23722433.post@talk.nabble.com> <4A1C1F9F.9060005@triumf.ca> Message-ID: <4A1C3CDD0200008A00020FCC@gv01a67m.gv.us.pri.wyeth.com> Just use a global scrip "Configuration -> Global -> Scrips -> New Scrip" with the following values: Condition: On Queue Change Action: Notify Owner Template: Global temlate: Transaction Stage: TransactionCreate And click on "Create" on the right side. >>> Hossein Rafighi 2009-05-26 18:58 >>> Greeting all, Is there a scrip to automatically notify Admin of a queue when a ticket is moved into their queue from another queue? The only way that I know is by changing the queue and replying to the ticket. Otherwise, the Admins of the queue I moved the ticket to won't be notified. Cheers, Hossein Rafighi -- _____ _____ _____ _ _ _ _ ____ Hossein Rafighi |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca _______________________________________________ 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 adam at smithandtinker.com Tue May 26 12:25:18 2009 From: adam at smithandtinker.com (Adam Harvey) Date: Tue, 26 May 2009 11:25:18 -0500 Subject: [rt-users] External Auth / IAS (Radius) Message-ID: <4AEC7D0A2405D742821B3173B5AA5EB305316EFE@34093-C3-EVS3.exchange.rackspace.com> Hello all, I have been attempting to set up external authentication via mod_auth_xradius (httpd.conf) to talk to Microsoft IAS (Radius) and have been having some troubles with it. Just wanted to see if any users out there have had success with this and might have any tips. Thanks, Adam -------------- next part -------------- An HTML attachment was scrubbed... URL: From change+lists.rt at nightwind.net Tue May 26 13:40:29 2009 From: change+lists.rt at nightwind.net (Nick Kartsioukas) Date: Tue, 26 May 2009 10:40:29 -0700 Subject: [rt-users] customize the home page of rt In-Reply-To: References: Message-ID: <1243359629.14565.1317296369@webmail.messagingengine.com> On Tue, 26 May 2009 09:08:08 +0000, "hanane ourdani" said: > Please is there a way to display all operations of day in the home page > and how can i do it please, Logged in as a SuperUser, create a new search, Last Updated/After/'1 day ago'. Save it as an RT system saved search. Go to Config, Global, At A Glance and add that saved search to the list. From FickiesC at valassis.com Tue May 26 13:44:27 2009 From: FickiesC at valassis.com (Fickies, Carrie) Date: Tue, 26 May 2009 13:44:27 -0400 Subject: [rt-users] Approval tickets not created in disabled queues in RT 3.8.2 Message-ID: Hello- We are testing an upgrade from 3.6.0 to 3.8.2. We have a scrip/template running on our Changes queue to create an approval ticket in the ___Approvals queue upon creation. This is not working if the ___Approvals queue is disabled. It will only create tickets in enabled queues (I have set it to create the approval ticket in the Changes queue and in an enabled ___Approvals queue and both worked). The same setup with the disabled queue works in our 3.6.0 installation. Here is the template: ===Create-Ticket: changeapproval Subject: Change approval for: {$Tickets{'TOP'}->Subject} Depended-On-By: TOP Queue: ___Approvals Type: approval AdminCc: { my $group_name = 'Global Change Approvers'; my $groups = RT::Groups->new( $RT::SystemUser ); $groups->LimitToUserDefinedGroups(); $groups->Limit( 'FIELD' => 'Name', 'OPERATOR' => '=', 'VALUE' => $group_name ); $groups->First->Id; } Content: Someone has created a change ticket. you should review and approve it, so they can finish their work ENDOFCONTENT The scrip settings are: Description: Create Approval Ticket Condition: On Create Action: Create Tickets Template: Global Template: Change Approval Stage: TransactionCreate We are running: Perl v5.8.8 under linux Apache2::Module v2.000004; mod_perl v2.000004; Has anyone else encountered this problem and been able to solve it? Thanks. Carrie Fickies Change Management Coordinator Business & Technology Solutions Valassis 38905 Six Mile Rd. Livonia, MI 48152 734-432-8061 ext. 28061 fickiesc at valassis.com RedPlum is the ultimate source of value- online, in your mailbox, on your doorstep, with your newspaper, and in your store. This message may include proprietary or protected information. If you are not the intended recipient, please notify me, delete this message, and do not further communicate the information contained herein without my express written consent. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hossein.Rafighi at triumf.ca Tue May 26 15:21:25 2009 From: Hossein.Rafighi at triumf.ca (Hossein Rafighi) Date: Tue, 26 May 2009 12:21:25 -0700 Subject: [rt-users] Moving tickets to another queue In-Reply-To: <4A1C3CDD0200008A00020FCC@gv01a67m.gv.us.pri.wyeth.com> References: <23721373.post@talk.nabble.com> <23722433.post@talk.nabble.com> <4A1C1F9F.9060005@triumf.ca> <4A1C3CDD0200008A00020FCC@gv01a67m.gv.us.pri.wyeth.com> Message-ID: <4A1C4135.6080301@triumf.ca> Thanks for your reply. Close, but no cigar! Scrip runs but it doesn't send the email. May 26 12:17:12 helpdesk RT: #2309/36953 - Scrip 27 NotifyAdminsOnQueueChange (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302) May 26 12:17:12 helpdesk RT: No recipients found. Not sending. (/opt/rt3/bin/../lib/RT/Interface/Email.pm:338) Any ideas? Hossein Thomas Fluch wrote: > Just use a global scrip "Configuration -> Global -> Scrips -> New > Scrip" with the following values: > Condition: On Queue Change > Action: Notify Owner > Template: Global temlate: Transaction > Stage: TransactionCreate > > And click on "Create" on the right side. > > >>> Hossein Rafighi 2009-05-26 18:58 >>> > Greeting all, > > Is there a scrip to automatically notify Admin of a queue when a ticket > is moved into their queue from another queue? The only way that I know > is by changing the queue and replying to the ticket. Otherwise, the > Admins of the queue I moved the ticket to won't be notified. > > Cheers, > Hossein Rafighi > > -- > _____ _____ _____ _ _ _ _ ____ Hossein Rafighi > |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall > | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 > | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 > | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 > |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca > > _______________________________________________ > 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 -- _____ _____ _____ _ _ _ _ ____ 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 Hossein.Rafighi at triumf.ca Tue May 26 15:27:11 2009 From: Hossein.Rafighi at triumf.ca (Hossein Rafighi) Date: Tue, 26 May 2009 12:27:11 -0700 Subject: [rt-users] Moving tickets to another queue In-Reply-To: <4A1C4135.6080301@triumf.ca> References: <23721373.post@talk.nabble.com> <23722433.post@talk.nabble.com> <4A1C1F9F.9060005@triumf.ca> <4A1C3CDD0200008A00020FCC@gv01a67m.gv.us.pri.wyeth.com> <4A1C4135.6080301@triumf.ca> Message-ID: <4A1C428F.3070202@triumf.ca> Please ignore my previous message. It should have been obvious. Changed the Action to Notify AdminCcs and works like a charm. Many thanks again indeed. Hossein Hossein Rafighi wrote: > Thanks for your reply. Close, but no cigar! Scrip runs but it doesn't > send the email. > May 26 12:17:12 helpdesk RT: #2309/36953 - Scrip 27 > NotifyAdminsOnQueueChange (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302) > May 26 12:17:12 helpdesk RT: No recipients found. Not sending. > (/opt/rt3/bin/../lib/RT/Interface/Email.pm:338) > > > Any ideas? > Hossein > > Thomas Fluch wrote: > >> Just use a global scrip "Configuration -> Global -> Scrips -> New >> Scrip" with the following values: >> Condition: On Queue Change >> Action: Notify Owner >> Template: Global temlate: Transaction >> Stage: TransactionCreate >> >> And click on "Create" on the right side. >> >> >>>>> Hossein Rafighi 2009-05-26 18:58 >>> >>>>> >> Greeting all, >> >> Is there a scrip to automatically notify Admin of a queue when a ticket >> is moved into their queue from another queue? The only way that I know >> is by changing the queue and replying to the ticket. Otherwise, the >> Admins of the queue I moved the ticket to won't be notified. >> >> Cheers, >> Hossein Rafighi >> >> -- >> _____ _____ _____ _ _ _ _ ____ Hossein Rafighi >> |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall >> | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 >> | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 >> | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 >> |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca >> >> _______________________________________________ >> 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 >> > > -- _____ _____ _____ _ _ _ _ ____ 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 Tue May 26 15:34:37 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 26 May 2009 12:34:37 -0700 Subject: [rt-users] Moving tickets to another queue In-Reply-To: <4A1C4135.6080301@triumf.ca> References: <23721373.post@talk.nabble.com> <23722433.post@talk.nabble.com> <4A1C1F9F.9060005@triumf.ca> <4A1C3CDD0200008A00020FCC@gv01a67m.gv.us.pri.wyeth.com> <4A1C4135.6080301@triumf.ca> Message-ID: <4A1C444D.8070105@lbl.gov> Hossein, Perhaps that ticket did NOT have an owner. We do the same thing only we set the action to "Notify AdninCcs". Of course, the Queue has to have an AdminCc as a queue watcher in order for someone to get the email. Hope this helps. Kenn LBNL On 5/26/2009 12:21 PM, Hossein Rafighi wrote: > Thanks for your reply. Close, but no cigar! Scrip runs but it doesn't > send the email. > May 26 12:17:12 helpdesk RT: #2309/36953 - Scrip 27 > NotifyAdminsOnQueueChange (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:302) > May 26 12:17:12 helpdesk RT: No recipients found. Not sending. > (/opt/rt3/bin/../lib/RT/Interface/Email.pm:338) > > > Any ideas? > Hossein > > Thomas Fluch wrote: > >> Just use a global scrip "Configuration -> Global -> Scrips -> New >> Scrip" with the following values: >> Condition: On Queue Change >> Action: Notify Owner >> Template: Global temlate: Transaction >> Stage: TransactionCreate >> >> And click on "Create" on the right side. >> >> >>>>> Hossein Rafighi 2009-05-26 18:58 >>> >>>>> >> Greeting all, >> >> Is there a scrip to automatically notify Admin of a queue when a ticket >> is moved into their queue from another queue? The only way that I know >> is by changing the queue and replying to the ticket. Otherwise, the >> Admins of the queue I moved the ticket to won't be notified. >> >> Cheers, >> Hossein Rafighi >> >> -- >> _____ _____ _____ _ _ _ _ ____ Hossein Rafighi >> |_ _|| _ \ |_ _|| | | || \_/ || __|TRIUMF, 4004 Wesbrook Mall >> | | | |_| ) | | | | | || || |__ Vancouver BC, Canada, V6T 2A3 >> | | | _ / | | | \_/ || \_/ || __|Voice: (604) 222-1047 >> | | | | \ \ _| |_ | || | | || | Fax: (604) 222-1074 >> |_| |_| \_\|_____| \___/ |_| |_||_| Website: http://www.triumf.ca >> >> _______________________________________________ >> 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 fran at cis.uab.edu Tue May 26 16:52:41 2009 From: fran at cis.uab.edu (Fran Fabrizio) Date: Tue, 26 May 2009 15:52:41 -0500 Subject: [rt-users] TimeWorked not always recorded as separate Transaction - workaround? Message-ID: <4A1C5699.8050704@cis.uab.edu> I am trying to write a command-line script to generate a report of where my staff is spending their time each week. Something like: Joe User - Week of 5/25 120 minutes on ticket 1722:Deploy New Foobar Server 75 minutes on ticket 1893:WhizBang Software Not Installing Correctly etc.... I'm going with the idea of extracting all of the TimeWorked updates that happened in a given week by getting an RT::Transactions collection, doing a Limit ObjectID = , then Limit by Field = TimeWorked, and then only using the OldValue and NewValue values of those Transactions which happened within the week of interest. It seems that my staff updates this in one of two main ways. 1. On the MyDay report page at the end of the day 2. On an individual Comment transaction as they update tickets Looking at the Transactions table, it seems that I have the TimeWorked update transactions if they are done via method #1, but method #2 only shows up in the Transactions table as a Comment Transaction, and so I can't see the OldValue and NewValue of TimeWorked in order to do the calculations. Is there a setting I can change or a workaround to allow me to get at that data another way? Thanks, Fran -- Fran Fabrizio Senior Systems Analyst Department of Computer and Information Sciences University of Alabama at Birmingham http://www.cis.uab.edu/ 205.934.0653 From kfcrocker at lbl.gov Tue May 26 17:14:11 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 26 May 2009 14:14:11 -0700 Subject: [rt-users] Perl help Message-ID: <4A1C5BA3.1020109@lbl.gov> Greetings, I need to know how to take an email address (directly from an email header) and get the actual UserId/PrincipalId from RT. I have the address split out and now I just need an ID. I'm assuming that the PrincipalId is the same thing as the Name field from the USERS Table. In other words, I do NOT want to add an entire email address as a Ticket watcher, I want the Name field from the USers Table (ie. instead of KFCrocker at lbl.gov I want KFCrocker or whatever name correlates to KFCrocker at lbl.gov). Thank you in advance. Kenn LBNL From toml at bitstatement.net Tue May 26 17:15:56 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 26 May 2009 14:15:56 -0700 Subject: [rt-users] TimeWorked not always recorded as separate Transaction - workaround? In-Reply-To: <4A1C5699.8050704@cis.uab.edu> References: <4A1C5699.8050704@cis.uab.edu> Message-ID: <4A1C5C0C.8060109@bitstatement.net> Fran Fabrizio wrote: > Looking at the Transactions table, it seems that I have the TimeWorked Why go after the transactions? The ticket has its own "TimeWorked" field, which _should_ be cumulative of "TimeWorked" entries from transactions. (It is set by editing the field directly, added to by adding a transaction "TimeWorked".) If you need more granularity, then I suspect that you may need to rethink the work flow process. Perhaps your tickets should be broken down into smaller units. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From elw at brandorr.com Tue May 26 17:16:28 2009 From: elw at brandorr.com (Elijah Wright) Date: Tue, 26 May 2009 17:16:28 -0400 Subject: [rt-users] mis-use of indexes on the Attachments table (RT 3.8.2) Message-ID: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> Folks, We're in the midst of migrating from RT 3.6.4 to RT 3.8.2, and having some "interesting" issues with the Attachments table. Here's what queries against Attachments looked like on our old RT instance: previous RT install (3.6.4): mysql> explain SELECT main.* FROM Attachments main WHERE (main.Content IS NOT NULL AND main.Content != '') AND (main.Parent = '1208717') AND (main.ContentType = 'text/plain') ORDER BY main.id ASC; +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ | 1 | SIMPLE | main | ref | Attachments3 | Attachments3 | 4 | const | 2 | Using where; Using filesort | +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ 1 row in set (0.00 sec) mysql> Now, here's what (what should be the self-same queries...) is being produced on our new RT host, running 3.8.2: new RT host: mysql> explain SELECT main.* FROM Attachments main WHERE (main.Content IS NOT NULL AND main.Content != '') AND (main.Parent = '1208717') AND (main.ContentType = 'text/plain') ORDER BY main.id ASC; +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ | 1 | SIMPLE | main | index | Attachments3 | PRIMARY | 4 | NULL | 2199950 | Using where | +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ 1 row in set (0.11 sec) mysql> Obviously, on the new host, it isn't using the index on the Attachments table - and that's REALLY making things go slowly for some bits of RT. Anybody got a clue how to fix this, or an idea of what we can do to coerce it to use the proper index? [We have quite a lot of tickets, and a fairly scary amount of spam has leaked into our RT instance - I'm going to need to run the shredder on a large number of deleted tickets, but the Attachments table is currently so big that doing so is a bit daunting...] This is on a new host, and we imported via a mysqldump and re-import, so the data in the table should be defragmented... but the end result is clearly problematic. thanks in advance, --elijah -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruslan.zakirov at gmail.com Tue May 26 17:27:52 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 27 May 2009 01:27:52 +0400 Subject: [rt-users] Perl help In-Reply-To: <4A1C5BA3.1020109@lbl.gov> References: <4A1C5BA3.1020109@lbl.gov> Message-ID: <589c94400905261427k13055a92h4c07861dd359348@mail.gmail.com> I think you miss concepts: * each user is principal * each group is principal * but three above are records in different tables * id of a user is equal to id of its principal record * the same applies to groups * in DB couldn't be a group with id equal to id of a user * every watcher is a user * id, name and email address are unique fields * because of this uniquenes AddWatcher methods can take email address as an argument On Wed, May 27, 2009 at 1:14 AM, Ken Crocker wrote: > Greetings, > > ? ?I need to know how to take an email address (directly from an email > header) and get the actual UserId/PrincipalId from RT. I have the > address split out and now I just need an ID. I'm assuming that the > PrincipalId is the same thing as the Name field from the USERS Table. In > other words, I do NOT want to add an entire email address as a Ticket > watcher, I want the Name field from the USers Table (ie. instead of > KFCrocker at lbl.gov I want KFCrocker or whatever name correlates to > KFCrocker at lbl.gov). Thank you in advance. > > Kenn > LBNL > _______________________________________________ > 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 jesse at bestpractical.com Tue May 26 17:32:14 2009 From: jesse at bestpractical.com (Jesse Vincent) Date: Tue, 26 May 2009 17:32:14 -0400 Subject: [rt-users] mis-use of indexes on the Attachments table (RT 3.8.2) In-Reply-To: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> References: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> Message-ID: <20090526213214.GW10271@bestpractical.com> On Tue, May 26, 2009 at 05:16:28PM -0400, Elijah Wright wrote: > Folks, > > We're in the midst of migrating from RT 3.6.4 to RT 3.8.2, and having some > "interesting" issues with the Attachments table. What does mysqltuner say on each system? What mysql version are you running on each? What's the configuration of each system? Give us a bit to work with ;) From ruslan.zakirov at gmail.com Tue May 26 17:32:11 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 27 May 2009 01:32:11 +0400 Subject: [rt-users] mis-use of indexes on the Attachments table (RT 3.8.2) In-Reply-To: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> References: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> Message-ID: <589c94400905261432w4fddfcc0jce70ce415135fa8@mail.gmail.com> I believe you're on mysql 5.1.x, it's know issue with some 5.1.2x. I can not say if it's been fixed in recent release of 5.1. You should file bug into mysql bug tracker. On Wed, May 27, 2009 at 1:16 AM, Elijah Wright wrote: > Folks, > We're in the midst of migrating from RT 3.6.4 to RT 3.8.2, and having some > "interesting" issues with the Attachments table. > Here's what queries against Attachments looked like on our old RT instance: > previous RT install (3.6.4): > mysql> explain SELECT main.* FROM Attachments main ?WHERE (main.Content IS > NOT NULL AND main.Content != '') AND (main.Parent = '1208717') AND > (main.ContentType = 'text/plain') ?ORDER BY main.id ASC; > +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ > | id | select_type | table | type | possible_keys | key ? ? ? ? ?| key_len | > ref ? | rows | Extra ? ? ? ? ? ? ? ? ? ? ? | > +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ > | ?1 | SIMPLE ? ? ?| main ?| ref ?| Attachments3 ?| Attachments3 | 4 ? ? ? | > const | ? ?2 | Using where; Using filesort | > +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ > 1 row in set (0.00 sec) > mysql> > > Now, here's what (what should be the self-same queries...) is being produced > on our new RT host, running 3.8.2: > new RT host: > mysql> explain SELECT main.* FROM Attachments main ?WHERE (main.Content IS > NOT NULL AND main.Content != '') AND (main.Parent = '1208717') AND > (main.ContentType = 'text/plain') ?ORDER BY main.id ASC; > +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ > | id | select_type | table | type ?| possible_keys | key ? ? | key_len | ref > ?| rows ? ?| Extra ? ? ? | > +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ > | ?1 | SIMPLE ? ? ?| main ?| index | Attachments3 ?| PRIMARY | 4 ? ? ? | > NULL | 2199950 | Using where | > +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ > 1 row in set (0.11 sec) > mysql> > Obviously, on the new host, it isn't using the index on the Attachments > table - and that's REALLY making things go slowly for some bits of RT. > Anybody got a clue how to fix this, or an idea of what we can do to coerce > it to use the proper index? > [We have quite a lot of tickets, and a fairly scary amount of spam has > leaked into our RT instance - I'm going to need to run the shredder on a > large number of deleted tickets, but the Attachments table is currently?so > big that doing so is a bit daunting...] > This is on a new host, and we imported via a mysqldump and re-import, so the > data in the table should be defragmented... but the end result is clearly > problematic. > thanks in advance, > --elijah > > _______________________________________________ > 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 toml at bitstatement.net Tue May 26 17:33:16 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 26 May 2009 14:33:16 -0700 Subject: [rt-users] Perl help In-Reply-To: <4A1C5BA3.1020109@lbl.gov> References: <4A1C5BA3.1020109@lbl.gov> Message-ID: <4A1C601C.1010904@bitstatement.net> > I need to know how to take an email address (directly from an email > header) and get the actual UserId/PrincipalId from RT. I have the > address split out and now I just need an ID. I'm assuming that the > PrincipalId is the same thing as the Name field from the USERS Table. In > other words, I do NOT want to add an entire email address as a Ticket > watcher, I want the Name field from the USers Table (ie. instead of > KFCrocker at lbl.gov I want KFCrocker or whatever name correlates to > KFCrocker at lbl.gov). Thank you in advance. Going into the database schema directly is a bad idea. Future upgrades can (and will) change the schema, breaking your customization. Use the REST interface instead. See http://wiki.bestpractical.com/view/REST Then, an HTTP GET of the URI '/REST/1.0/user/KFCrocker/show' should get you something like: id: user/217 Name: KFCrocker Password: ******** EmailAddress: KFCrocker at lbl.gov RealName: Ken Crocker Lang: en Privileged: 1 Disabled: 0 However, here you are querying by name, not by email address, so hopefully they all match. If they don't you aren't going to be able to do it reliably in a future-proof way without doing something you really don't want to do. Though really, I'm not sure why you'd want to do this in the first place. RT is quite happy to look up based on email address internally, you don't have to supply the ID when creating tickets and such, just an email address. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From ruslan.zakirov at gmail.com Tue May 26 17:35:19 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 27 May 2009 01:35:19 +0400 Subject: [rt-users] mis-use of indexes on the Attachments table (RT 3.8.2) In-Reply-To: <589c94400905261432w4fddfcc0jce70ce415135fa8@mail.gmail.com> References: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> <589c94400905261432w4fddfcc0jce70ce415135fa8@mail.gmail.com> Message-ID: <589c94400905261435p4f99b031j2f396fcf571cc4ad@mail.gmail.com> http://bugs.mysql.com/bug.php?id=37680 - here is bug report, you can help debug issue. On Wed, May 27, 2009 at 1:32 AM, Ruslan Zakirov wrote: > I believe you're on mysql 5.1.x, it's know issue with some 5.1.2x. I > can not say if it's been fixed in recent release of 5.1. You should > file bug into mysql bug tracker. > > On Wed, May 27, 2009 at 1:16 AM, Elijah Wright wrote: >> Folks, >> We're in the midst of migrating from RT 3.6.4 to RT 3.8.2, and having some >> "interesting" issues with the Attachments table. >> Here's what queries against Attachments looked like on our old RT instance: >> previous RT install (3.6.4): >> mysql> explain SELECT main.* FROM Attachments main ?WHERE (main.Content IS >> NOT NULL AND main.Content != '') AND (main.Parent = '1208717') AND >> (main.ContentType = 'text/plain') ?ORDER BY main.id ASC; >> +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ >> | id | select_type | table | type | possible_keys | key ? ? ? ? ?| key_len | >> ref ? | rows | Extra ? ? ? ? ? ? ? ? ? ? ? | >> +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ >> | ?1 | SIMPLE ? ? ?| main ?| ref ?| Attachments3 ?| Attachments3 | 4 ? ? ? | >> const | ? ?2 | Using where; Using filesort | >> +----+-------------+-------+------+---------------+--------------+---------+-------+------+-----------------------------+ >> 1 row in set (0.00 sec) >> mysql> >> >> Now, here's what (what should be the self-same queries...) is being produced >> on our new RT host, running 3.8.2: >> new RT host: >> mysql> explain SELECT main.* FROM Attachments main ?WHERE (main.Content IS >> NOT NULL AND main.Content != '') AND (main.Parent = '1208717') AND >> (main.ContentType = 'text/plain') ?ORDER BY main.id ASC; >> +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ >> | id | select_type | table | type ?| possible_keys | key ? ? | key_len | ref >> ?| rows ? ?| Extra ? ? ? | >> +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ >> | ?1 | SIMPLE ? ? ?| main ?| index | Attachments3 ?| PRIMARY | 4 ? ? ? | >> NULL | 2199950 | Using where | >> +----+-------------+-------+-------+---------------+---------+---------+------+---------+-------------+ >> 1 row in set (0.11 sec) >> mysql> >> Obviously, on the new host, it isn't using the index on the Attachments >> table - and that's REALLY making things go slowly for some bits of RT. >> Anybody got a clue how to fix this, or an idea of what we can do to coerce >> it to use the proper index? >> [We have quite a lot of tickets, and a fairly scary amount of spam has >> leaked into our RT instance - I'm going to need to run the shredder on a >> large number of deleted tickets, but the Attachments table is currently?so >> big that doing so is a bit daunting...] >> This is on a new host, and we imported via a mysqldump and re-import, so the >> data in the table should be defragmented... but the end result is clearly >> problematic. >> thanks in advance, >> --elijah >> >> _______________________________________________ >> 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. > -- Best regards, Ruslan. From toml at bitstatement.net Tue May 26 17:36:02 2009 From: toml at bitstatement.net (Tom Lahti) Date: Tue, 26 May 2009 14:36:02 -0700 Subject: [rt-users] mis-use of indexes on the Attachments table (RT 3.8.2) In-Reply-To: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> References: <57babe2b0905261416j636e6bb0yed2a0c9a3bc7e7fc@mail.gmail.com> Message-ID: <4A1C60C2.9080104@bitstatement.net> > This is on a new host, and we imported via a mysqldump and re-import, so the > data in the table should be defragmented... but the end result is clearly > problematic. Wait a minute. Did you install 3.8.2 and load a dump into it from the older version? Oy vey. The schemas don't really line up. You'd need to install the old version of RT on the new host, and then go through the upgrade process. Otherwise you're in for a lot of manual discovery & cajoling to get things to work properly. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From ruslan.zakirov at gmail.com Tue May 26 19:12:35 2009 From: ruslan.zakirov at gmail.com (Ruslan Zakirov) Date: Wed, 27 May 2009 03:12:35 +0400 Subject: [rt-users] Perl help In-Reply-To: <4A1C6EFE.9080203@lbl.gov> References: <4A1C5BA3.1020109@lbl.gov> <589c94400905261427k13055a92h4c07861dd359348@mail.gmail.com> <4A1C6EFE.9080203@lbl.gov> Message-ID: <589c94400905261612n70869eb4l702ebf22574b3642@mail.gmail.com> Once again, ALWAYS cc mailing list! Comments below. On Wed, May 27, 2009 at 2:36 AM, Ken Crocker wrote: > Ruslan, > > > ??? What? I don't understand your answer. Perhaps I didn't explain myself > very well. Let me try again. I understand the principals, I just don't know > what code or command or whatever (ie. LOOKs something like > self->TransactionObj->Name(?)->EmailAddress(?) or however it would look) to To call a method you need an object, so you can not do ...->Name->EmailAddress cuz ->Name usually returns a string. > get the Id or Name of the user when all I have is the email address.? I'm If you have an id, name or email then you can get other details about record by constructing an object and loading it, for example: my $user_obj = RT::User->new( $RT::SysteUser ); $user_obj->Load($id); # or $name or use another ->Load* method unless ( $user_obj->id ) { ... error handling ... } $user_obj->EmailAddress; $user_obj->Name; $user_obj->id; ... > adding ticket watchers. I don't want them to be added by email address, but > by ID or name. I don't know how to code that command. I don't even know how > to say it correctly, let alone write it, code it, whatever. I've seen code > that looks like ($self->TransactionObj->CreatorObj->name; or > $self->TransactionObj->CreatorObj->Id;). Does that make any sense? If you're in an user defined scrip action then you can do above things. > > Kenn > LBNL > > On 5/26/2009 2:27 PM, Ruslan Zakirov wrote: > > I think you miss concepts: > * each user is principal > * each group is principal > * but three above are records in different tables > * id of a user is equal to id of its principal record > * the same applies to groups > * in DB couldn't be a group with id equal to id of a user > > * every watcher is a user > * id, name and email address are unique fields > * because of this uniquenes AddWatcher methods can take email address > as an argument > > On Wed, May 27, 2009 at 1:14 AM, Ken Crocker wrote: > > > Greetings, > > ? ?I need to know how to take an email address (directly from an email > header) and get the actual UserId/PrincipalId from RT. I have the > address split out and now I just need an ID. I'm assuming that the > PrincipalId is the same thing as the Name field from the USERS Table. In > other words, I do NOT want to add an entire email address as a Ticket > watcher, I want the Name field from the USers Table (ie. instead of > KFCrocker at lbl.gov I want KFCrocker or whatever name correlates to > KFCrocker at lbl.gov). Thank you in advance. > > Kenn > LBNL > _______________________________________________ > 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 kfcrocker at lbl.gov Tue May 26 19:59:15 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Tue, 26 May 2009 16:59:15 -0700 Subject: [rt-users] Perl help In-Reply-To: <589c94400905261612n70869eb4l702ebf22574b3642@mail.gmail.com> References: <4A1C5BA3.1020109@lbl.gov> <589c94400905261427k13055a92h4c07861dd359348@mail.gmail.com> <4A1C6EFE.9080203@lbl.gov> <589c94400905261612n70869eb4l702ebf22574b3642@mail.gmail.com> Message-ID: <4A1C8253.4060101@lbl.gov> Ruslan, My apologies on not CC'ing the list. I was trying to avoid letting the world see how ignorant I am on this stuff. Anyway, what I don't understand is how to get from an email address (which I DO have) to the ID or Name of the person that correlates to said Email address. Since I understand so little of how some of these commands work (for example, I may see the code "$self->TransactionObj->OldValue != RT::Nobody()->id();" but I have no idea why it won't work like this "$self->TransactionObj->OldValue != RT::Nobody()->name->id();"). I don't see or understand the mechanisms that make the "->" work. My problem is that I am completely sight-oriented. It's the old saying, "I can hear you talking, but I can't see a word you say". That's me. I've coded in over 20 languages in my 40 years in this business, but no perl. Perl is EXTREMELY harder to understand than COBOL, SQL, even Assembler. I have no framework of reference points to "See" what the explanations of the code means. Hence, my mind-boggling frustration (both experienced and caused) with trying to understand your explanations. Soooo, when you say "To call a method you need an object, so you can not do...->Name->EmailAddress cuz ->Name usually returns a string." I have a difficult time understanding the relationsship between Object and command so that I would know that "$self->TransactionObj->EmailAddress->User->Id" won't work. Does any of that diatribe make any sense? What I have is an Email address that someone helped me get from the Header of the email.It looks like this: 'KFCrocker at lbl.gov' So, how do I (or what do I code) get a users name of Id from that? Thank you soooo much for your patience. Kenn LBNL On 5/26/2009 4:12 PM, Ruslan Zakirov wrote: > Once again, ALWAYS cc mailing list! Comments below. > > On Wed, May 27, 2009 at 2:36 AM, Ken Crocker wrote: > >> Ruslan, >> >> >> What? I don't understand your answer. Perhaps I didn't explain myself >> very well. Let me try again. I understand the principals, I just don't know >> what code or command or whatever (ie. LOOKs something like >> self->TransactionObj->Name(?)->EmailAddress(?) or however it would look) to >> > > To call a method you need an object, so you can not do > ...->Name->EmailAddress cuz ->Name usually returns a string. > > >> get the Id or Name of the user when all I have is the email address. I'm >> > > If you have an id, name or email then you can get other details about > record by constructing an object and loading it, for example: > > my $user_obj = RT::User->new( $RT::SysteUser ); > $user_obj->Load($id); # or $name or use another ->Load* method > unless ( $user_obj->id ) { > ... error handling ... > } > > $user_obj->EmailAddress; > $user_obj->Name; > $user_obj->id; > ... > > > >> adding ticket watchers. I don't want them to be added by email address, but >> by ID or name. I don't know how to code that command. I don't even know how >> to say it correctly, let alone write it, code it, whatever. I've seen code >> that looks like ($self->TransactionObj->CreatorObj->name; or >> $self->TransactionObj->CreatorObj->Id;). Does that make any sense? >> > > If you're in an user defined scrip action then you can do above things. > > > >> Kenn >> LBNL >> >> On 5/26/2009 2:27 PM, Ruslan Zakirov wrote: >> >> I think you miss concepts: >> * each user is principal >> * each group is principal >> * but three above are records in different tables >> * id of a user is equal to id of its principal record >> * the same applies to groups >> * in DB couldn't be a group with id equal to id of a user >> >> * every watcher is a user >> * id, name and email address are unique fields >> * because of this uniquenes AddWatcher methods can take email address >> as an argument >> >> On Wed, May 27, 2009 at 1:14 AM, Ken Crocker wrote: >> >> >> Greetings, >> >> I need to know how to take an email address (directly from an email >> header) and get the actual UserId/PrincipalId from RT. I have the >> address split out and now I just need an ID. I'm assuming that the >> PrincipalId is the same thing as the Name field from the USERS Table. In >> other words, I do NOT want to add an entire email address as a Ticket >> watcher, I want the Name field from the USers Table (ie. instead of >> KFCrocker at lbl.gov I want KFCrocker or whatever name correlates to >> KFCrocker at lbl.gov). Thank you in advance. >> >> Kenn >> LBNL >> _______________________________________________ >> 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 fran at cis.uab.edu Tue May 26 21:53:12 2009 From: fran at cis.uab.edu (Fran Fabrizio) Date: Tue, 26 May 2009 20:53:12 -0500 Subject: [rt-users] TimeWorked not always recorded as separate Transaction - workaround? In-Reply-To: <4A1C5C0C.8060109@bitstatement.net> References: <4A1C5699.8050704@cis.uab.edu> <4A1C5C0C.8060109@bitstatement.net> Message-ID: <4A1C9D08.6060308@cis.uab.edu> > Why go after the transactions? The ticket has its own "TimeWorked" field, > which _should_ be cumulative of "TimeWorked" entries from transactions. Right. I want the TimeWorked in a particular time period, not the life of the ticket. Some of the TimeWorked comes from TimeWorked update transactions, where I can easily do NewValue - OldValue to arrive at the TimeWorked of that transaction, but some TimeWorked is attached to a Comment and does not appear as a separate transaction. Why? Because I've been asked to produce reports of where staff are spending their time each week. Our tickets have lifetimes of 5 minutes to 5 months, depending on queue and purpose. That system has worked well for us for 5+ years, so we're not interested in reinventing our workflow, but would like to service the request for these reports if possible. The data is there somewhere - when you view a ticket, you can see each increment of TimeWorked in the History, even in cases where it was entered as part of a comment. In the case where TimeWorked was attached to a comment, it appears I may need to descend/follow into the comment to get at it, or similar - that's what I am asking. How/where is the individual increment of TimeWorked stored in the case where it is part of a comment transaction? Thanks, Fran -- Fran Fabrizio Senior Systems Analyst Department of Computer and Information Sciences University of Alabama at Birmingham http://www.cis.uab.edu/ 205.934.0653 From fran at cis.uab.edu Tue May 26 22:28:13 2009 From: fran at cis.uab.edu (Fran Fabrizio) Date: Tue, 26 May 2009 21:28:13 -0500 Subject: [rt-users] [SOLVED] TimeWorked not always recorded as separate Transaction - workaround? In-Reply-To: <4A1C9D08.6060308@cis.uab.edu> References: <4A1C5699.8050704@cis.uab.edu> <4A1C5C0C.8060109@bitstatement.net> <4A1C9D08.6060308@cis.uab.edu> Message-ID: <4A1CA53D.6050105@cis.uab.edu> Wow - talk about not seeing the forest for the trees! I completely missed that the Transaction table has its own TimeWorked field. Ugh. Thanks, and sorry. :-) Fran Fabrizio wrote: >> Why go after the transactions? The ticket has its own "TimeWorked" field, >> which _should_ be cumulative of "TimeWorked" entries from transactions. >> > Right. I want the TimeWorked in a particular time period, not the life > of the ticket. Some of the TimeWorked comes from TimeWorked update > transactions, where I can easily do NewValue - OldValue to arrive at the > TimeWorked of that transaction, but some TimeWorked is attached to a > Comment and does not appear as a separate transaction. > > Why? Because I've been asked to produce reports of where staff are > spending their time each week. Our tickets have lifetimes of 5 minutes > to 5 months, depending on queue and purpose. That system has worked > well for us for 5+ years, so we're not interested in reinventing our > workflow, but would like to service the request for these reports if > possible. > > The data is there somewhere - when you view a ticket, you can see each > increment of TimeWorked in the History, even in cases where it was > entered as part of a comment. In the case where TimeWorked was attached > to a comment, it appears I may need to descend/follow into the comment > to get at it, or similar - that's what I am asking. How/where is the > individual increment of TimeWorked stored in the case where it is part > of a comment transaction? > > Thanks, > Fran > > -- Fran Fabrizio Senior Systems Analyst Department of Computer and Information Sciences University of Alabama at Birmingham http://www.cis.uab.edu/ 205.934.0653 From manohar.r at glowtouch.com Wed May 27 04:27:25 2009 From: manohar.r at glowtouch.com (H Manohar rayker) Date: Wed, 27 May 2009 13:57:25 +0530 Subject: [rt-users] How to get authentication while opening ticket from the link in the admin correspondance mail.? In-Reply-To: <589c94400905260732v4a46076dt16e5bdea8786ddc5@mail.gmail.com> References: <9434D2FA28BC4823B46AF79C938E44BE@dgsys25> <589c94400905260732v4a46076dt16e5bdea8786ddc5@mail.gmail.com> Message-ID: <3647FA399B414819869D8A77236E8F38@dgsys25> Hello Ruslan, Thanks for your suggestion; however my cigarette went in vein. This couldn?t solve my requirement. Any other ways.....??????? Please suggest. Like any forums or chat rooms..... etc.. Got a deadline also for this task. Thanks Manohar -----Original Message----- From: Ruslan Zakirov [mailto:ruslan.zakirov at gmail.com] Sent: Tuesday, May 26, 2009 8:02 PM To: H Manohar rayker Cc: rt-users at lists.bestpractical.com Subject: Re: [rt-users] How to get authentication while opening ticket from the link in the admin correspondance mail.? I believe you adjusted NoAuth regexp in the config, didn't you? This regexp doesn't mean "UI will start working without auth", but the following instead "components matching this regular expression can work without any credentials". On Tue, May 26, 2009 at 4:11 PM, H Manohar rayker wrote: > Hi, > > > > > > When a ticket is created we get a admin correspondence mail with the ticket > id , owner and the link to the ticket. > > > > Now when we click the link of the ticket directly it should open up the > login screen after entering the user name and password which should proceed > showing the ticket details. > > > > For eg.: http://abc.defghk.com/Ticket/Display.html?id=345 > > > > The ticket opens up from the link when there is already a user logged in. If > there are no users logged in we get the error: > > > > ?Can't call method "HasRight" on an undefined value at > /opt/rt3/bin/../lib/RT/Ticket_Overlay.pm line 3351.? > > > > When refered to the rt.log ?I find this error: > > > > [Tue May 26 12:05:14 2009] [error]: Couldn't get principal for not loaded > object (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1154) > > [Tue May 26 12:05:18 2009] [error]: Couldn't get principal for not loaded > object (/opt/rt3/bin/../lib/RT/User_Overlay.pm:1154) > > > > > > Is this is a bug or what do I need to do to get this working? Please Guide . > > > > I?m using RT 3.8.2, Apache 1.3, CentOS 5.2 > > > > Thanks > > Manohar > > > > _______________________________________________ > 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 hanane.ourdani at gmail.com Wed May 27 06:41:03 2009 From: hanane.ourdani at gmail.com (hanane ourdani) Date: Wed, 27 May 2009 10:41:03 +0000 Subject: [rt-users] associate calendar to custom field Message-ID: Hi all, Is it possible to associate a calendar link to a custom field? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sturner at MIT.EDU Wed May 27 08:17:47 2009 From: sturner at MIT.EDU (Stephen Turner) Date: Wed, 27 May 2009 08:17:47 -0400 Subject: [rt-users] Perl help In-Reply-To: <4A1C8253.4060101@lbl.gov> References: <4A1C5BA3.1020109@lbl.gov> <589c94400905261427k13055a92h4c07861dd359348@mail.gmail.com> <4A1C6EFE.9080203@lbl.gov> <589c94400905261612n70869eb4l702ebf22574b3642@mail.gmail.com> <4A1C8253.4060101@lbl.gov> Message-ID: On Tue, 26 May 2009 19:59:15 -0400, Ken Crocker wrote: > I don't see or understand the mechanisms that make the "->" work. My > problem is that I am completely sight-oriented. It's the old saying, "I > can hear you talking, but I can't see a word you say". That's me. I've > coded in over 20 languages in my 40 years in this business, but no perl. > Perl is EXTREMELY harder to understand than COBOL, SQL, even Assembler. > I have no framework of reference points to "See" what the explanations > of the code means. Kenn, I found an online book "Beginning Perl" that would answer many of your questions - http://www.perl.org/books/beginning-perl/ The "Object-Oriented Perl" chapter in particular explains the "->" syntax. Might be worth a try - and it's free! Steve From testwreq at gmail.com Wed May 27 12:04:22 2009 From: testwreq at gmail.com (testwreq wreq) Date: Wed, 27 May 2009 12:04:22 -0400 Subject: [rt-users] Error while initializing database Message-ID: hello, I have a new install of RT on centos. Make initialize-database command is failing with make: *** No rule to make target `initialize-database'. Stop. can anyone assist to resolve this issue? Thanks, vm -------------- next part -------------- An HTML attachment was scrubbed... URL: From testwreq at gmail.com Wed May 27 12:18:28 2009 From: testwreq at gmail.com (testwreq wreq) Date: Wed, 27 May 2009 12:18:28 -0400 Subject: [rt-users] Error while initializing database In-Reply-To: References: Message-ID: RT 3.8.2 mysql 5.0 On Wed, May 27, 2009 at 12:04 PM, testwreq wreq wrote: > hello, > > I have a new install of RT on centos. > > Make initialize-database command is failing with > make: *** No rule to make target `initialize-database'. Stop. > > can anyone assist to resolve this issue? > > Thanks, > vm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vtplymblfan-rt at yahoo.com Wed May 27 12:51:11 2009 From: vtplymblfan-rt at yahoo.com (Kim Jones) Date: Wed, 27 May 2009 09:51:11 -0700 (PDT) Subject: [rt-users] is there a place in RT where I can view an HTTP REST request? Message-ID: <596387.51340.qm@web55206.mail.re4.yahoo.com> Developers, Is there a place in RT where I can add logging to see what exactly RT is getting when it receives a REST request? Re a place where I can print to the log the http reest being received. As I have posted in another earlier message to this board, I continue to struggle with why when I make a REST request for a new ticket from PHP CURL code the ticket gets made, but the custom field in the content of the request does not get set. When I make what I believe is the exact same request via an html form the ticket gets made and the custom field gets set. So apparetly the PHP CURL request is not exactly the same as the form request but for the life of me I cannot figure out how they are different. Logging I have added elsewhere in RT indicates that the CURL request is not resulting in the custom field being set due to a permission issue. But why the form doesn't have this same issue I don't know. Both methods are sending the same user name and password as post args. And the custom field as a line in the content. Both request are successful, but only the form method sets the custom field too. So I thought I would try to examine what exactly RT is receiving in either case and see what is different. I am trying to familiarize myself with the code, and I gather that I should be able to look at the request from one f the lib/RT/Interface files, but I am not sure. Have any of you had a need to examine an http request coming into RT and if so can you tell me how to do this? Thanks sooo much! Kim -------------- next part -------------- An HTML attachment was scrubbed... URL: From toml at bitstatement.net Wed May 27 13:11:34 2009 From: toml at bitstatement.net (Tom Lahti) Date: Wed, 27 May 2009 10:11:34 -0700 Subject: [rt-users] is there a place in RT where I can view an HTTP REST request? In-Reply-To: <596387.51340.qm@web55206.mail.re4.yahoo.com> References: <596387.51340.qm@web55206.mail.re4.yahoo.com> Message-ID: <4A1D7446.301@bitstatement.net> Kim Jones wrote: > Developers, > > Is there a place in RT where I can add logging to > see what exactly RT is getting when it receives a REST request? Re a > place where I can print to the log the http reest being received. It's HTTP. You can log the HTTP request/response with wireshark fairly easily. -- -- ============================ Tom Lahti BIT Statement LLC (425)251-0833 x 117 http://www.bitstatement.net/ -- ============================ From hanane.ourdani at gmail.com Wed May 27 13:19:30 2009 From: hanane.ourdani at gmail.com (hanane ourdani) Date: Wed, 27 May 2009 17:19:30 +0000 Subject: [rt-users] customize the home page of rt In-Reply-To: References: <1243359629.14565.1317296369@webmail.messagingengine.com> Message-ID: Please is there someone who can tell me how can i do this. Thank you, ---------- Forwarded message ---------- From: hanane ourdani Date: 2009/5/26 Subject: Re: [rt-users] customize the home page of rt To: Nick Kartsioukas > indeed, this search is based on 2 custom fields - Date et heure d?but de l`op?ration (JJ/MM/AAAA HH :MM): 10/05/2009 15:20(for example) - Date et Heure fin de l`op?ration (JJ/MM/AAAA HH :MM) : 10/05/2009 17:18 This is the Requet: Queue = 'XXXX' AND 'CF.XXXX.{Date et Heure d?but de l`op?ration (JJ/MM/AAAA HH :MM)}' > '10/05/2009' AND 'CF.XXXX.{Date et Heure fin de l`op?ration (JJ/MM/AAAA HH :MM)}' < '10/05/2009' I can do this, but i chould change the date every day, i want that RT do this automatically, is it possible ? thank you very much 2009/5/26 Nick Kartsioukas > On Tue, 26 May 2009 09:08:08 +0000, "hanane ourdani" > said: > > Please is there a way to display all operations of day in the home page > > and how can i do it please, > > Logged in as a SuperUser, create a new search, Last Updated/After/'1 day > ago'. Save it as an RT system saved search. Go to Config, Global, At A > Glance and add that saved search to the list. > _______________________________________________ > 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 jlucas at eagleinvsys.com Wed May 27 13:48:43 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Wed, 27 May 2009 13:48:43 -0400 Subject: [rt-users] Simple Search functionality In-Reply-To: <20090526151007.GI20863@easter-eggs.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com><4A14754A.2010205@lbl.gov><11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com><20090526150525.GH20863@easter-eggs.com> <20090526151007.GI20863@easter-eggs.com> Message-ID: <11E641922C0B44439FB30F8936ABF621073AA8AC@bigmail01.eagleinvsys.com> I am running 3.8.2 which is installed under /apps/rt-3.8.2. According to http://wiki.bestpractical.com/view/SimpleSearchIncludeResolved, I created... # cat /apps/rt-3.8.2/local/html/Callbacks/stuff/Search/Simple.html/ModifyQuery <%init> #active is the default: open new stalled $$query =~ s/\bany\b/new open resolved stalled rejected deleted/i; #$$query =~ s/\bclosed\b/resolved rejected deleted/i; <%args> $query => undef Tested it but it did not work. Restarted httpd and still not working. Do I have to define something in /apps/rt-3.8.2/etc/RT_SiteConfig.pm so that RT finds the ModifyQuery file I created? Thanks. -----Original Message----- From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Emmanuel Lacour Sent: Tuesday, May 26, 2009 11:10 AM To: rt-users at lists.bestpractical.com Subject: Re: [rt-users] Simple Search functionality On Tue, May 26, 2009 at 05:05:26PM +0200, Emmanuel Lacour wrote: > On Tue, May 26, 2009 at 11:00:07AM -0400, Jerrad Pierce wrote: > > > > On the wiki searching for SimpleSearch returns two of 5 relevant results. > > > > And I just fully described how it works here: > > http://wiki.bestpractical.com/view/SimpleSearch > And a FAQ entry with this article as answer. _______________________________________________ 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 echatham at broadvox.net Wed May 27 14:11:50 2009 From: echatham at broadvox.net (Eric Chatham) Date: Wed, 27 May 2009 14:11:50 -0400 Subject: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 In-Reply-To: <4ABA3E162F60624A949503A7F960245EB11319E343@CLEHBEXMS01.broadvox.local> References: <4ABA3E162F60624A949503A7F960245EB11319DD04@CLEHBEXMS01.broadvox.local> <4A156774.6010802@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319DE06@CLEHBEXMS01.broadvox.local> <4A165464.9000002@jennic.com> <4ABA3E162F60624A949503A7F960245EB11319E01E@CLEHBEXMS01.broadvox.local> <8fae230c0905221112yeb4bd60t8360179d7c6614ed@mail.gmail.com> <8fae230c0905221113r34824d8er6642143418363452@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E19C@CLEHBEXMS01.broadvox.local> <8fae230c0905221258v63db561che67abc16ded7dd35@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E1DE@CLEHBEXMS01.broadvox.local> <8fae230c0905221333p64a7ecd0u1b2d5540ef2d53a5@mail.gmail.com> <4ABA3E162F60624A949503A7F960245EB11319E343@CLEHBEXMS01.broadvox.local> Message-ID: <4ABA3E162F60624A949503A7F960245EB11319E7AA@CLEHBEXMS01.broadvox.local> Is there any other data I need to provide? I'm still having a problem with this. Thank you, >-----Original Message----- >From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users- >bounces at lists.bestpractical.com] On Behalf Of Eric Chatham >Sent: Tuesday, May 26, 2009 11:30 >To: Rob Munsch >Cc: RT-Users at lists.bestpractical.com >Subject: Re: [rt-users] FW: Regular Authentication and ExternalAuth RT 3.8.1 > >On Friday, May 22, 2009 16:33, Rob Munsch wrote: > >>> There is nothing listed in /var/log. > >> er... > >> I'm thinking you should probably tell us more about your system setup in >general... > >I am running CentOS (RHEL 5.1) on VMWare. As far as System Setup, I installed >RT 3.8.2 with the following (let me know if there is something specific you >need): > >Perl Modules: > >Perl v5.8.8 under linux > Apache2::Const v2.000004; > Apache2::Log v2.000004; > Apache2::RequestIO v2.000004; > Apache2::RequestRec v2.000004; > Apache2::RequestUtil v2.000004; > Apache2::Response v2.000004; > Apache2::ServerUtil v2.000004; > Apache2::Status v4.00; > Apache::Session v1.88; > Apache::Session::Generate::MD5 v2.12; > Apache::Session::Lock::MySQL v1.01; > Apache::Session::MySQL v1.01; > Apache::Session::Serialize::Storable v1.01; > Apache::Session::Store::DBI v1.02; > Apache::Session::Store::MySQL v1.04; > APR v0.009000; > APR::Pool v0.009000; > APR::Table v0.009000; > AutoLoader v5.60; > base v2.07; > bytes v1.02; > Cache::Simple::TimedExpiry v0.27; > Carp v1.04; > CGI v3.43; > CGI::Cookie v1.29; > CGI::Util v1.5_01; > Class::Accessor v0.33; > Class::Accessor::Fast v0.33; > Class::Container v0.12; > Class::Data::Inheritable v0.08; > Class::Inspector v1.24; > Class::ReturnValue v0.55; > Clone v0.31; > constant v1.05; > Convert::ASN1 v0.22; > Cwd v3.12; > Data::Dumper v2.121_08; > Date::Format v2.22; > Date::Parse v2.27; > DBD::mysql v4.010; > DBI v1.608; > DBIx::SearchBuilder v1.54; > DBIx::SearchBuilder::Union v0; > DBIx::SearchBuilder::Unique v0.01; > Devel::StackTrace v1.20; > Devel::StackTraceFrame v1.20; > Digest::base v1.00; > Digest::MD5 v2.36; > DynaLoader v1.05; > Email::Address v1.889; > Encode v2.33; > Encode::Alias v2.12; > Encode::Config v2.05; > Encode::Encoding v2.05; > Errno v1.0901; > Exception::Class v1.29; > Exception::Class::Base v1.20; > Exporter v5.58; > Exporter::Heavy v5.58; > Fcntl v1.05; > File::Basename v2.74; > File::Glob v1.05; > File::Path v1.08; > File::ShareDir v1.00; > File::Spec v3.12; > File::Spec::Unix v1.5; > File::Temp v0.21; > FileHandle v2.01; > GD v2.41; > GD::Image v2.27; > HTML::Element v3.23; > HTML::Entities v1.35; > HTML::Formatter v2.04; > HTML::FormatText v2.04; > HTML::Mason v1.42; > HTML::Mason::ApacheHandler v1.69; > HTML::Mason::Exception v1.1; > HTML::Mason::Exception::Abort v1.1; > HTML::Mason::Exception::Compilation v1.1; > HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1; > HTML::Mason::Exception::Compiler v1.1; > HTML::Mason::Exception::Decline v1.1; > HTML::Mason::Exception::Params v1.1; > HTML::Mason::Exception::Syntax v1.1; > HTML::Mason::Exception::System v1.1; > HTML::Mason::Exception::TopLevelNotFound v1.1; > HTML::Mason::Exception::VirtualMethod v1.1; > HTML::Mason::Exceptions v1.43; > HTML::Parser v3.55; > HTML::Scrubber v0.08; > HTML::Tagset v3.10; > HTML::TreeBuilder v3.23; > I18N::LangTags v0.35; > integer v1.00; > IO v1.22; > IO::File v1.13; > IO::Handle v1.25; > IO::InnerFile v2.110; > IO::Lines v2.110; > IO::ScalarArray v2.110; > IO::Seekable v1.1; > IO::Select v1.17; > IO::Socket v1.29; > IO::Socket::INET v1.29; > IO::Socket::UNIX v1.22; > IO::WrapTie v2.110; > IPC::Open2 v1.02; > IPC::Open3 v1.02; > List::Util v1.19; > Locale::Maketext v1.09; > Locale::Maketext::Fuzzy v0.10; > Locale::Maketext::Lexicon v0.77; > Locale::Maketext::Lexicon::Gettext v0.17; > Log::Dispatch v2.22; > Log::Dispatch::Base v1.09; > Log::Dispatch::Output v1.26; > Log::Dispatch::Screen v1.17; > Log::Dispatch::Syslog v1.18; > Mail::Address v2.04; > Mail::Field v2.04; > Mail::Field::AddrList v2.04; > Mail::Field::Date v2.04; > Mail::Field::Generic v2.04; > Mail::Header v2.04; > Mail::Internet v2.04; > Mail::Mailer v2.04; > Mail::Util v2.04; > MIME::Base64 v3.07; > MIME::Body v5.427; > MIME::Decoder v5.427; > MIME::Entity v5.427; > MIME::Field::ContDisp v5.427; > MIME::Field::ConTraEnc v5.427; > MIME::Field::ContType v5.427; > MIME::Field::ParamVal v5.427; > MIME::Head v5.427; > MIME::Parser v5.427; > MIME::QuotedPrint v3.07; > MIME::Tools v5.427; > MIME::Words v5.427; > mod_perl v2.000004; > mod_perl2 v2.000004; > ModPerl::Const v2.000004; > Module::Versions::Report v1.06; > Net::LDAP v0.39; > Net::LDAP::ASN v0.08; > Net::LDAP::Constant v0.07; > Net::LDAP::Filter v0.15; > Net::LDAP::Message v1.11; > Net::LDAP::Util v0.11; > overload v1.04; > Params::Util v0.38; > Params::Validate v0.91; > POSIX v1.09; > re v0.05; > Regexp::Common v2.122; > Regexp::Common::delimited v2.106; > RT v3.8.2; > RT::Authen::ExternalAuth v0.08; > RT::Interface::Email v2; > RT::Interface::Web::Request v0.30; > Scalar::Util v1.19; > SelectSaver v1.01; > Socket v1.78; > Storable v2.15; > strict v1.03; > Symbol v1.06; > Sys::Syslog v0.27; > Text::Template v1.45; > Text::Wrapper v1.02; > Tie::Hash v1.02; > Time::HiRes v1.9715; > Time::JulianDay v2003.1125; > Time::Local v1.11; > Time::ParseDate v2006.0814; > Time::Timezone v2006.0814; > Time::Zone v2.22; > UNIVERSAL v1.01; > UNIVERSAL::require v0.13; > URI v1.35; > URI::Escape v3.28; > utf8 v1.06; > vars v1.01; > warnings v1.05; > warnings::register v1.01; > XSLoader v0.06; > >RT Variables > >RT::BasePath /opt/rt3 >RT::BinPath /opt/rt3/bin >RT::EtcPath /opt/rt3/etc >RT::LocalEtcPath /opt/rt3/local/etc >RT::LocalLexiconPath /opt/rt3/local/po >RT::LocalLibPath /opt/rt3/local/lib >RT::LocalPath /opt/rt3/local >RT::LocalPluginPath /opt/rt3/local/plugins >RT::MasonComponentRoot /opt/rt3/share/html >RT::MasonDataDir /opt/rt3/var/mason_data >RT::MasonLocalComponentRoot /opt/rt3/local/html >RT::MasonSessionDir /opt/rt3/var/session_data >RT::SbinPath /opt/rt3/sbin >RT::VERSION 3.8.2 >RT::VarPath /opt/rt3/var > >Perl configuration > >Summary of my perl5 (revision 5 version 8 subversion 8) configuration: > Platform: > osname=linux, osvers=2.6.18-53.el5, archname=i386-linux-thread-multi > uname='linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12 02:14:55 >est 2007 i686 athlon i386 gnulinux ' > config_args='-des -Doptimize=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 - >fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 - >mtune=generic -fasynchronous-unwind-tables -Dversion=5.8.8 - >Dmyhostname=localhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, >Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux - >Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads - >Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow >-Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n -Ubincompat5005 - >Uversiononly -Dpager=/usr/bin/less -isr -Dd_gethostent_r_proto - >Ud_endhostent_r_proto -Ud_sethostent_r_proto -Ud_endprotoent_r_proto - >Ud_setprotoent_r_proto -Ud_endservent_r_proto -Ud_setservent_r_proto - >Dinc_version_list=5.8.7 5.8.6 5.8.5 -Dscriptdir=/usr/bin' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define >usemultiplicity=define > useperlio=define d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > usemymalloc=n, bincompat5005=undef > Compiler: > cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe >-Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE - >D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', > optimize='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack- >protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic - >fasynchronous-unwind-tables', > cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe - >Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm' > ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-44)', >gccosandvers='' > intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 > d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 > ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', >lseeksize=8 > alignbytes=4, prototype=define > Linker and Libraries: > ld='gcc', ldflags =' -L/usr/local/lib' > libpth=/usr/local/lib /lib /usr/lib > libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc > perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc > libc=/lib/libc-2.5.so, so=so, useshrplib=true, libperl=libperl.so > gnulibc_version='2.5' > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,- >rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE' > cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -Wall -Wp,- >D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 - >m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib' > > > >Perl Include Paths (@INC) > >/opt/rt3/bin/../local/lib >/opt/rt3/bin/../lib >/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi >/usr/lib/perl5/site_perl/5.8.8 >/usr/lib/perl5/site_perl/5.8.7 >/usr/lib/perl5/site_perl/5.8.6 >/usr/lib/perl5/site_perl/5.8.5 >/usr/lib/perl5/site_perl >/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi >/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi >/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi >/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi >/usr/lib/perl5/vendor_perl/5.8.8 >/usr/lib/perl5/vendor_perl/5.8.7 >/usr/lib/perl5/vendor_perl/5.8.6 >/usr/lib/perl5/vendor_perl/5.8.5 >/usr/lib/perl5/vendor_perl >/usr/lib/perl5/5.8.8/i386-linux-thread-multi >/usr/lib/perl5/5.8.8 >. >/etc/httpd > >RT Config >MaxInlineBody 12000 >OldestTransactionsFirst 1 >UsernameFormat concise >ShowUnreadMessageNotifications 1 >WebDefaultStylesheet web2 >MessageBoxRichText 1 >PlainTextPre 0 >MessageBoxRichTextHeight 200 >MessageBoxWidth 72 >MessageBoxHeight 15 >ActiveStatus new, open, stalled >Active_MakeClicky >AmbiguousDayInFuture 0 >AmbiguousDayInPast 0 >AutoLogoff 0 >CanonicalizeOnCreate 0 >CanonicalizeRedirectURLs 0 >CommentAddress >CorrespondAddress >CustomFieldValuesSources >DashboardAddress >DashboardSubject %s Dashboard: %s >DatabaseHost localhost >DatabaseName rt3 >DatabasePassword Password not printed >DatabasePort >DatabaseRTHost localhost >DatabaseType mysql >DatabaseUser rt_user >DateDayBeforeMonth 1 >DateTimeFormat DefaultFormat >DefaultSearchResultFormat 'HREF="__WebPath__/Ticket/Display.html?id=__id__">__id__/TITLE:#', >'HREF="__WebPath__/Ticket/Display.html?id=__id__">__Subject__/TITLE:Sub >ject', Status, QueueName, OwnerName, Priority, '__NEWLINE__', '', >'__Requestors__', '__CreatedRelative__', >'__ToldRelative__', '__LastUpdatedRelative__', >'__TimeLeft__' >DefaultSummaryRows 10 >DevelMode 0 >DisableGraphViz 1 >EmailFrequency Individual messages >EmailInputEncodings utf-8, iso-8859-1, us-ascii >EmailOutputEncoding utf-8 >EnableReminders 1 >ExternalAuthPriority My_LDAP >ExternalSettings My_LDAP, HASH(0xaf03cb8) >ExtractSubjectTagMatch Regexp >ExtractSubjectTagNoMatch Regexp >ForwardFromUser 0 >FriendlyFromLineFormat "%s via RT" <%s> >FriendlyToLineFormat "%s of broadvox.local Ticket #%s":; >GnuPG Enable, 0, AllowEncryptDataInDB, 0, OutgoingMessagesFormat, RFC >GnuPGOptions homedir, /opt/rt3/var/data/gpg >HomepageComponents QuickCreate, Quicksearch, MyAdminQueues, >MySupportQueues, MyReminders, RefreshHomepage, Dashboards >InactiveStatus resolved, rejected, deleted >LexiconLanguages * >LinkTransactionsRun1Scrip 0 >LogDir /opt/rt3/var/log >LogStackTraces debug >LogToFileNamed rt.log >LogToScreen info >LogToSyslog info >LogToSyslogConf >LogoURL /NoAuth/images/bplogo.gif >LoopsToRTOwner 1 >MailCommand sendmailpipe >MailParams >MasonParameters >MaxAttachmentSize 10000000 >MessageBoxIncludeSignature 1 >MessageBoxWrap HARD >MinimumPasswordLength 5 >NetServerOptions >NotifyActor 0 >Organization broadvox.local >OwnerEmail root >Plugins RT::Authen::ExternalAuth >PreviewScripMessages 0 >RTAddressRegexp ^rt\@example.com$ >RecordOutgoingEmail 1 >RedistributeAutoGeneratedMessages privileged >SMTPDebug 0 >SelfServiceRegex Regexp >SendmailArguments -oi -t >SendmailBounceArguments -f "<>" >SendmailPath /usr/sbin/sendmail >ShowBccHeader 0 >ShowTransactionImages 1 >StandaloneMaxServers 1 >StandaloneMaxSpareServers 0 >StandaloneMinServers 1 >StandaloneMinSpareServers 0 >StrictLinkACL 1 >Timezone US/Eastern >UseFriendlyFromLine 1 >UseFriendlyToLine 0 >UseTransactionBatch 1 >WebBaseURL http://localhost:80 >WebDomain localhost >WebFlushDbCacheEveryRequest 1 >WebImagesURL /NoAuth/images/ >WebNoAuthRegex Regexp >WebPath >WebPort 80 >WebSecureCookies 0 >WebURL http://localhost:80/ >WikiImplicitLinks 0 >rtname broadvox.local > > > >CONFIDENTIAL. This e-mail and any attached files are confidential and should >be destroyed and/or returned if you are not the intended and proper recipient. >_______________________________________________ >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 CONFIDENTIAL. This e-mail and any attached files are confidential and should be destroyed and/or returned if you are not the intended and proper recipient. From kfcrocker at lbl.gov Wed May 27 14:35:13 2009 From: kfcrocker at lbl.gov (Ken Crocker) Date: Wed, 27 May 2009 11:35:13 -0700 Subject: [rt-users] Queue-level Parsing of CC's Message-ID: <4A1D87E1.6030907@lbl.gov> To all (especially Ruslan & Stephen), Hallelujah! I finally got the code to parse CC addresses to a ticket for Queues only to work. Below is the code: #---------------------------------------------------------------------------- # Custom condition: #---------------------------------------------------------------------------- # condition set on email transaction to create my $trans = $self->TransactionObj; my $msgattr = $trans->Message->First; return 0 unless $trans->Type eq "Create"; return 0 unless $msgattr; return 1 if $msgattr->GetHeader('Received'); return 0; #---------------------------------------------------------------------------- # Custom action preparation code: #---------------------------------------------------------------------------- # Setup default QA Approver my $trans = $self->TransactionObj; my $ticket = $self->TicketObj; my $cf_obj = RT::CustomField->new($RT::SystemUser); my $cf_name = "QA Approver"; my $cf_value = $trans->CreatorObj->Name; $cf_obj->LoadByName( Name => $cf_name ); $RT::Logger->debug( "Loaded \$cf_obj->Name = ". $cf_obj->Name() ."\n" ); $ticket->AddCustomFieldValue( Field=>$cf_obj, Value=>$cf_value, RecordTransaction=>0 ); # Set up variables for parsing CC's my $header; my $addr; my $ccid; my $cc; # Parse the email CC's into ticket "CC" Watchers foreach $header ($trans->Attachments->First->GetHeader("Cc")) { foreach $cc ( split /\,/, $header ) { ($addr) = $cc =~ /([\w-]+?\@[\w-]+?\.[\w]+)/; $ccid = substr($addr, 0,length($addr)-8); my $user = RT::User->new($RT::SystemUser); $addr = $user->CanonicalizeEmailAddress($ccid); $ticket->AddWatcher( Type => 'Cc', Email => $ccid ); } } return 1; #---------------------------------------------------------------------------- # Custom action cleanup code: #---------------------------------------------------------------------------- return 1; Now, I'm sure there are a couple of better ways to write this code, so Ruslan or Stephen, please advise. However, I am EXTREMELY tickled that I finally got this thing to work. OH, also thanks to Gene LeDuc. Kenn LBNL From jpierce at cambridgeenergyalliance.org Wed May 27 15:12:49 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Wed, 27 May 2009 15:12:49 -0400 Subject: [rt-users] Simple Search functionality In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA8AC@bigmail01.eagleinvsys.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> <20090526150525.GH20863@easter-eggs.com> <20090526151007.GI20863@easter-eggs.com> <11E641922C0B44439FB30F8936ABF621073AA8AC@bigmail01.eagleinvsys.com> Message-ID: On Wed, May 27, 2009 at 13:48, Jeff Lucas wrote: > I am running 3.8.2 which is installed under /apps/rt-3.8.2. > > According to > http://wiki.bestpractical.com/view/SimpleSearchIncludeResolved, I > created... > > # cat > /apps/rt-3.8.2/local/html/Callbacks/stuff/Search/Simple.html/ModifyQuery > > <%init> > #active is the default: open new stalled > $$query =~ s/\bany\b/new open resolved stalled rejected deleted/i; > #$$query =~ s/\bclosed\b/resolved rejected deleted/i; > > > <%args> > $query => undef > > > > Tested it but it did not work. ?Restarted httpd and still not working. Are you sure it didn't work? What this customization does is add the keyword any. So that searching for "quux" finds active tickets LIKE quux and "quux any" finds any ticket LIKE quux, regardless of status. This is a more powerful and targeted solution than reverting to an "always return all states," but you can do that by appending the list of desired states to $$query, rather than doing the replace. From jlucas at eagleinvsys.com Wed May 27 15:27:31 2009 From: jlucas at eagleinvsys.com (Jeff Lucas) Date: Wed, 27 May 2009 15:27:31 -0400 Subject: [rt-users] Simple Search functionality In-Reply-To: References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> <20090526150525.GH20863@easter-eggs.com> <20090526151007.GI20863@easter-eggs.com> <11E641922C0B44439FB30F8936ABF621073AA8AC@bigmail01.eagleinvsys.com> Message-ID: <11E641922C0B44439FB30F8936ABF621073AA8B0@bigmail01.eagleinvsys.com> I've tried and tried and tried and I cannot get it to work. Is "stuff" in the following path correct... /apps/rt-3.8.2/local/html/Callbacks/stuff/Search/Simple.html/ModifyQuery After restarting Apache... # cd /apps/rt-3.8.2 # find . -name \*imple\* ./share/html/NoAuth/RichText/FCKeditor/editor/plugins/simplecommands ./share/html/Elements/SimpleSearch ./share/html/Search/Simple.html ./local/html/Callbacks/stuff/Search/Simple.html Thanks. -----Original Message----- From: Jerrad Pierce [mailto:jpierce at cambridgeenergyalliance.org] Sent: Wednesday, May 27, 2009 3:13 PM To: Jeff Lucas Cc: Emmanuel Lacour; rt-users at lists.bestpractical.com Subject: Re: [rt-users] Simple Search functionality On Wed, May 27, 2009 at 13:48, Jeff Lucas wrote: > I am running 3.8.2 which is installed under /apps/rt-3.8.2. > > According to > http://wiki.bestpractical.com/view/SimpleSearchIncludeResolved, I > created... > > # cat > /apps/rt-3.8.2/local/html/Callbacks/stuff/Search/Simple.html/ModifyQuery > > <%init> > #active is the default: open new stalled > $$query =~ s/\bany\b/new open resolved stalled rejected deleted/i; > #$$query =~ s/\bclosed\b/resolved rejected deleted/i; > > > <%args> > $query => undef > > > > Tested it but it did not work. ?Restarted httpd and still not working. Are you sure it didn't work? What this customization does is add the keyword any. So that searching for "quux" finds active tickets LIKE quux and "quux any" finds any ticket LIKE quux, regardless of status. This is a more powerful and targeted solution than reverting to an "always return all states," but you can do that by appending the list of desired states to $$query, rather than doing the replace. From jpierce at cambridgeenergyalliance.org Wed May 27 15:41:31 2009 From: jpierce at cambridgeenergyalliance.org (Jerrad Pierce) Date: Wed, 27 May 2009 15:41:31 -0400 Subject: [rt-users] Simple Search functionality In-Reply-To: <11E641922C0B44439FB30F8936ABF621073AA8B0@bigmail01.eagleinvsys.com> References: <11E641922C0B44439FB30F8936ABF621073AA847@bigmail01.eagleinvsys.com> <4A14754A.2010205@lbl.gov> <11E641922C0B44439FB30F8936ABF621073AA880@bigmail01.eagleinvsys.com> <20090526150525.GH20863@easter-eggs.com> <20090526151007.GI20863@easter-eggs.com> <11E641922C0B44439FB30F8936ABF621073AA8AC@bigmail01.eagleinvsys.com> <11E641922C0B44439FB30F8936ABF621073AA8B0@bigmail01.eagleinvsys.com> Message-ID: > Is "stuff" in the following path correct... > > /apps/rt-3.8.2/local/html/Callbacks/stuff/Search/Simple.html/ModifyQuery It should be, here's mine: (You can use any name you want for the folder between Callbacks and Search) [ceaadmin at rt ~]$ cat /opt/rt3/local/html/Callbacks/Indirection/Search/Simple.html/ModifyQuery <%init> $$query =~ s/\bany\b/new open resolved stalled rejected deleted/i; $$query =~ s/\bclosed\b/resolved rejected deleted/i; <%args> $query => undef All I can say is check your server logs, Apache and RT/syslog. > After restarting Apache... You don't need to restart it, a graceful HUP will do fine. -- Cambridge Energy Alliance: Save money. Save the planet. From falcone at bestpractical.com Wed May 27 16:08:57 2009 From: falcone at bestpractical.com (Kevin Falcone) Date: Wed, 27 May 2009 16:08:57 -0400 Subject: [rt-users] [Rt-announce] RT 3.8.3 Release Message-ID: <20090527200857.GA37068@jibsheet.com> We are happy to announce that RT 3.8.3 is now available. You can download it from: http://download.bestpractical.com/pub/rt/release/rt-3.8.3.tar.gz http://download.bestpractical.com/pub/rt/release/rt-3.8.3.tar.gz.sig SHA1 sums 6fe0187408104e9a5a9f0832f1f11ed24b6df10a rt-3.8.3.tar.gz e87623b4a958b13d5ce1474ca6d8d4024fa13920 rt-3.8.3.tar.gz.sig A longer changelog is available at the bottom of this announcement. Some highlighted changes include: * Bug fixes for IE support with the RichText editor * Improvements in parsing and validating gpg-signed messages * Improved config loading, errors and improved messages about where Config overrides originated. * Fix for rewriting Ticket subjects when using Queue Subject tags * Fixes to searching for NULL Custom Fields * New User level config options for HomePage and Search Result Refresh * Multiple new callbacks * Updated Scrip descriptions to mention that a Notify All includes the Owner * Dashboard improvements, including the ability to nest Dashboards, new access links for dashboards, callbacks and a new Mon-Fri subscription Changelog for RT 3.8.3, generated 2009-05-27T19:42:52 FIXES AND CLEANUPS ================== * Indent cleanup. * doc updates for mysql upgrades from jmoseley * Tell explicitely that $DayBeforeMonth is only for parsing, not for displaying dates. * Remove blank Values since the magic field will take care of this. Sometimes the browser gives you a blank value which causes CFs to be processed twice Thanks to Philip Kime * better support situations when CF's LookupType is not complex, for example 'RT::Queue'. Thanks to Philip Kime and Emmanuel Lacour * Factor out a ShowParents template * Show the correct side of the link * RT/Config.pm minor pod changes delete empty functions * store extension name in META{Option}{Source}{Extension} instead of boolean value * Fix incorrect Queue->SetDisabled introduced in r17674. * Don't leave attachments in session after ProcessUpdateMessage to remove them from WebUI for next update. * Formatting cleanup (thanks to Richard Hartmann, closes: #12457) * Fix WebFallbackToInternalAuth (thanks to David Chandek-Stark, closes: #12478) * RT::Test sets ENV{RT_SITE_CONFIG} to a tempfile that doesn't look like SiteConfig.pm so we need to force _LoadConfig to treat it as a SiteConfig, otherwise it won't let you override DatabaseName or MailCommand and running tests will drop your real database. * use a little bit proper fix for site config thing * Reduce list of owners from SelectOwner in Search to queues the current user can see (or see tickets in). * Reduce the list of owners from SelectOwner in bulk update to queues where current user can create or modify tickets. * update ru.po reuse some loc strings that we have already * Revert commits that tried to fix the count of Owners displayed in Build.html/Bulk.html as it needs more discuss. * in RT we use [_1] instead of %1 * use WebPath when invoking the Autocompleter * upgrade scriptaculous from 1.8.0 to 1.8.2 upgrade prototype from 1.6.0 to 1.6.0.3 mainly bugfixes and browser compatibility nits * local modification to avoid browser jumping when you try to use the keyboard to move up and down in an autocompleted list * fix reporting by owner, created by and last updated by * tiny html fix: an extra in Dashboards/Queries.html * make words consistent in Install pages * handle mails with nested inline signatures in old-style gpg format * Correct test count for gnupg-reverification * Rename schema.mysql to schema.mysql-4.0 to avoid confusion without reading Handle.pm (closes: #12665) * Use friendly name for customfields in title of chart page (closes: #13144). * add tests for validator * schema.mysql was renamed * use RT->Config instead of direct option variable access * {Add,Del}Watcher references principals as a group can be added as watchers * fix checking and recovering CGMs * Grammar nit * RT-Ticket: 13047 Hide transaction custom fields from users who can't edit them * quiet test warnings * if you say JOIN you need to say ON or Pg will bail * RT-Ticket: 13174 There's a small typo in RT::Interface::Email that causes emails to be sent to the first To address only, ignoring the other recipients such as Cc. Requestors: eynat.nirmishor at algosec.com * When we open a div, we should close a div, not a span * Comboboxes weren't rendering properly on IE7. This appears to fix it * LoadByValues returns detailed message on errors * don't check right in GrantRight as ACE->Create does better job * Pg 8.3 requires explicit casting of date types to text for substring and other functions * Don't rewrite sub language name in preference if the variant is already enclosed by parenthesis. * post check only when we're not in install mode * localize $@ as we don't rethrow it * on some systems gpg --version exits with code 2 even when it's 100% functional * don't detect and decrypt blocks which contains GPG header in the middle of a string instead of the beginning * use a local function to render attachments make difference between large text and not text show additional information when displaying named texts is disabled loc strings have been changed * fix verifying of old style signed attachments: we must decode bodies first * do better job at detecting attachments with signatures for them in another MIME part * if we load all attachments then update %ARGS as we pass it through * don't show GPG status for top most record, we'll handle it per attachment * store status on the message by default on decrypt/verify and only on related parts * we have status on all parts * show gpg status per attachment * adjust tests * there is no $Config but RT->Config * move WebDomain and WebPort above WebPath, these three are only options you usually need to setup paths calculate scheme in WebBaseURL using WebPort value don't add port to WebBaseURL if it's standard * fix debug message * add new option --skip-user use over/item/back for options in pod so usage actually outputs them * Removed doc for a nonexistent option in testdeps * RT-Ticket: 13125 exit with positive code on errors, not all errors are handled, but this is beginning * update es.po, thanks to Margarita Manterola * not sure why, but on some systems without explicit status change mason doesn't set status to 302, but 200 instead and people see blank pages * Set a default text color (closes: #13197) * Add a test for the "On Reject" scrip condition (closes: #13181) * add a bunch of tests, searches by CFs * LoadByNameAndQueue should treat numbers the same way other methods do * treat number specially in _CustomFieldDecipher, the way we treat it other places around * wrap things we usually do with operations into a method * fix searches by CFs * Give verbose output when --debug is specified * Log::Dispatch 2.22 began implicitly requiring Sys::Syslog 0.16 If you're installing on a RH box, you probably only have Sys::Syslog 0.13 * Take care of RT-Attach-Message value so we don't add attachments if the value is "no" for example (closes: #13259). Thanks to Paul Vlaar. * Add checks for user email address syntax, and cover bad syntaxes by tests (closes: #12726). Reported by Richard Hartmann. * Don't assume that people were using "yes" for RT-Attach-Message until now, rather don't attach if it's set to n|no|0|off|false. * Make syntax check of user email addresses configurable with a default of "no" to avoid breaking existing setups. * Fix test so it uses our new 'ValidateUserEmailAddresses' option. * make ExtractSubjectTag.pm aware of queue Subject Tags so it doesn't assume a Queue Subject Tag is a remote RT's subject tag * Localize system groups * Make approval passed rule close other approvals in the same level. * remove an obsolete comment * Test ticket creation with REST using non ascii subject. * return 0 in a bunch of places so we exit with 0 rather than having warnings when we exit(undef) * return 0 rather than undef to signal succesful completion to avoid warnings about calling exit(undef) * clean up a warning when you have empty OCFVs * use tmp dir as mason data_dir in rt-email-dashboards * notify action with argument equal to 'All' sends notifications to owner as well, let's clear descriptions * Linkify the dashboard portlet header * Mason whines about getting an object argument; it won't stringify * Set default DBA based on databvase type * fix UseSQLForACLChecks: if user is direct watcher of a queue, however right is granted to global role then he didn't get that permission there is no global watchers, only queues and tickes, if at some point we will add global roles then it's gonna blow the idea here is that if the right is set globaly for a role and user plays this role for a queue directly not a ticket then we have to check in advance * better recovery for corrupt owner groups on ticket owner change * minor bin/rt doc fixes * check ordering of custom fields * we should not only check cache indicator, but also update it :) * revert plural/single forms magic for rights, it's too unstable for 3.8 * Remove now-unneeded dependency on Lingua::EN::Inflect::Number * cfs -> custom fields * Make the path of the homepage index.html * Factor out ListOfDashboards * Add a callback for munging the list of dashboards * Limit to seven dashboards * Use the localized More instead of more * Surround dashboard names with quotes * Add a tab to go back to the homepage * Factor out building a list of dashboard tabs * Pass along $actions in Tools/Elements/Tabs * Display other dashboards as tabs, basics/queries/subscription as actions * Use the old interface for tempdir * clean a bit * t/shredder/utils.pl * Fixing mistaken siteconfig commit, adding example of second item in list * Fix failing dashboard tests * Quieting an uninitialized warning * Remove duplicate dependency in same group. * error message typo fix * Remove the quotes from dashboard names in the tabs * Add missing DashboardTabs file * Don't expect quotes in dashboard names * Follow the *second* link since the first is the menubar link to the edit page * Close fold * Refactor Dashboard's Tabs so that it highlights the right tabs etc * Always include the current dashboard in the tabs, even if it's not in the initial seven * Really confused as to why this wasn't already fixed * Remove duplicate template * Move DashboardTabs from /Dashboard/Elements to /Elements * Menu structure changed back :) * Minor cleanup * Factor out $portlet->{portlet_type} * Improve clarity * Pass Pane to the portlet renderer * Factor out rendering of a dashboard's elements into its own ShowPortlet template * If things get too crazy, bail out * Asking for "all" dashboards is probably common enough to make it the default * Return a flattenned list of dashboards if requested * Remove needless line * No need to retrieve SearchType * Allow users to add dashboards to dashboards :) * Display "Dashboard:" and "Saved Search:" in the queries for a dashboard * Load the dashboard from its frozen state * Add some callbacks to the dashboard query selector * Add some render callbacks * Don't allow users to add a dashboard to itself * Handle missing portlets a little more loudly * Handle empty @searches in HiddenSearches * Add a template for displaying what dashboard portlets have been deleted * Attempt to remove deleted dashboard queries * Remove deleted warnings about the pane we just updated * Display description instead of name where able * Dashboard->Dashboards * Check dashboards in the "is possibly invisible to other users" method * Dashboards were exploding with "Can't call method AddRights on an undef value" * pass additional arguments into callback * Prefer non-disabled CFs when loading by name * Fix lexical redeclaration * Avoid "200 Ok" not numeric warnings by using a regex instead of != * When doing Date = '2009-04-22', we want to check < the end of the day, not <=, so as to not include midnight * we can get away with combining the DEFAULT CHARSET alter table statement with the column changes and save one more copy of data. * Avoid undef warnings in Format rewriting * Fold fix * Avoid undef warning in EditCustomFieldText * Avoid undef warnings in filling in CustomField URLs * Factor GetAuthenticationLevel into its own function * Lower level of SimpleSearch query debug log from crit * Remove duplicate "if id is a number.." from Simple Search * Sort users in the add-members-to-group select box by how they'll be rendered * add pod tests * pod fixes * warning fix * remove a bunch of buttons that you shouldn't want/need when writing email * fix test * Do not attempt to update LastUpdated in the REST interface * More informative comment * Throw an error if the template the user provided cannot be loaded * Silence undef warnings in Admin/Users/Modify * Avoid undef warnings in RT::User_Overlay::_Value * Add $Class argument to /Widgets/ComboBox * fix rest-non-ascii-subject.t * previous patch is wrong * Add Vendor/Local loading to a bunch of files * Patch by Jo Rhett to improve Edit People's display * Apply another Jo Rhett display patch * Move the custom onload hook above FCK textarea replace * fix t/web/rest-non-ascii-subject.t * if you're running trunk, which is 3.x.HEAD, be helpful find all the lower versions * remove unused variable * RT-Ticket: 13261 detect if you're missing ExtractSubjectTag actions/scrip and add them They were missing from the 3.8.0 upgrade scrips, so if you upgraded from earlier RTs you won't have them * Only display "check box to delete" if there are reminders * In group member edit page, sort current members in the same way new members are sorted. * Typo fix from wes Use the correct variable when quoting the QueueObj's Name RT-Ticket: 13444 * update to FCKEdtor 2.6.4 for bug fixes * add required trailing ';' * show requested help even if there is no current user, then whin about current user then about missing arguments * Make reminders actually be sorted (by Due date) * Fix the %Negate table which has been broken since 3.3 * Make Reminder sorting consistent Sorting by Due descending made reminders due today appear at the bottom of the list, which isn't helpful. This way it matches with the display on the ticket page. * merge in updates from rosetta * re-extract maketext strings before updating rosetta * don't wrap textareas when using the RichText editor hlb discovered that wrap="" causes some really incredible IE bugs on all versions (6-8) when reloading a page (such as adding an additional attachment or using RTFM) or when creating a ticket with a user that has a signature. * Minor fixes for OCFV->LinkValueTo * URI-escape placeholders for OCFV->FillInTemplateURL * Simplify and clarify filling in template params * Force some widgets to fit at max parent box. NEW FEATURES ============ * Insert a transaction on queues creation and allow users to consult transaction history for queues (consistent with what is done for groups/users). * Add transactions when enabling/disabling users/groups/queues so admins can tracks those changes through "history" links. * Elements/ShowUser expects lowercase options * Drop Text::Template down to 1.44 as 1.45 had no functional changes * Dynamically localize each DateTime preferences so we are sure to present the correct string to user preferences. * Add a new optional date output formatters using DateTime::Locale: RT::Date::LocalizedDateTime - lib/RT/Date.pm: add method "LocalizedDateTime" which output date using DateTime and DateTime::Locale - lib/RT/Date.pm: add a method "Formatters" which returns the list of available Formatters (using a new @FORMATTERS constant) - lib/RT/Config.pm: use RT::Date::Formatters to get available formatters for Locale preference - t/api/date.t: add optional tests for the new LocalizedDateTime formatter * allow caller to avoid sorting by sortorder and falback to name based sorting, useful for site configuration screen where most options has no defined sort order as they are not overridable * prepare for refactoring * show where option came from * allow main configs override options that came from other main configs * allow site configs to override options that came from its main config * warn about skipped options * Add alt and title to images attachments in ticket display. * Add support for multiple attachments in jumbo view (closes: #4172). * Add support for multiple attachments on bulk update (closes: #7192). * Add the ability to hide Seconds in the DefaultFormat date display * RTFM needs to modify $actions in a callback * make gnupg mails rejecting optional and configurable in the config * Note that stack traces may include sensitive information in logs * First cut of linking the "(pending N other tickets)" display to a search; still needs to limit to active statuses * Limit the pending searches to active tickets only * install validator * talk about other useful things AddressRegexp does (since it doesn't just apply to ParsenewMessageForTicketCcs * allow developers to define ACLEquivalenceObjects on any record not only tickets * add new queue rights * add methods to deal with context objects on CFs * add ACL equivalence for CFs via context * pass context object from a collection of CFs to CF records * set context for CFs in variouse places * ticket->QueueObj->TicketCustomFields is incorrect, proper way is to use ticket->CustomFields * set context object when viewing a ticket on txn * cover new custom fields' rights with tests * post check compatibility in standalone server * on queue we have SeeCustomFields right * test DB compatibility in webmux.pl * add simple priority input handler * use priority widget instead of custom input everywhere * Add an RT Size section to system config that counts: Tickets Queues Transactions Users and Groups * Distinguish between privileged and unprivileged users * use SelectPriority in query builder * show priority in a comp * use show ShowPriority * add an upgrade script that canonicalizes rights in DB * add index GroupMembers(GroupId, MemberId) * Add 'On reject" scrip condition. * Factor out edit transaction custom fields into a new template with a massage callback * New preference $DefaultTimeUnitsToHours for setting the default time units * When defaulting to hours, convert minutes into hours * Refactor time-input + select-time-units into a new template, EditTimeValue * add support for quoting in simple search to allow search for numbers, strings with spaces in subject or content * Added an id to