[rt-users] Failed use LDAP service
*Dear All, I failed use LDAP service, I already done steps below: * *1. Install RT-Authen-ExternalAuth* *2. Uncomment Set(@Plugins,(qw(RT::Authen::ExternAuth))); on /opt/rt3/etc/RT_SiteConfig.pm * *3. cp /opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth /opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth* *4. apply the following patch to User_Vendorhttp://wiki.bestpractical.com/view/User_Vendor.pm: * --- local/lib/RT/User_Vendorhttp://wiki.bestpractical.com/view/User_Vendor.pm~ 2008-04-09 10:40:44.0 +0200 +++ ./local/lib/RT/User_Vendorhttp://wiki.bestpractical.com/view/User_Vendor.pm 2008-08-04 17:46:32.0 +0200 @@ -348,7 +348,7 @@ return (undef); } - if ( $self-PrincipalObj http://wiki.bestpractical.com/view/PrincipalObj-Disabled ) { + if ( $self-PrincipalObjhttp://wiki.bestpractical.com/view/PrincipalObjand $self- PrincipalObj http://wiki.bestpractical.com/view/PrincipalObj-Disabled ) { $RT::Logger-info(Disabled user . $self-Name . tried to log in ); return (undef); -- *so, recently file User_Vendor.pm is like below:* no warnings qw(redefine); use strict; use RT::Authen::ExternalAuth; # {{{ sub CanonicalizeUserInfo =head2 CanonicalizeUserInfo HASHREF Get all ExternalDB attrs listed in $RT::ExternalDBAttrMap and put them into the hash referred to by HASHREF. returns true (1) if ExternalDB lookup was successful, false (undef) in all other cases. =cut sub CanonicalizeUserInfo { my $self = shift; my $args = shift; return(RT::Authen::ExternalAuth::CanonicalizeUserInfo($self,$args)); } # }}} --- local/lib/RT/User_Vendor.pm~ 2008-04-09 10:40:44.0 +0200 +++ ./local/lib/RT/User_Vendor.pm 2008-08-04 17:46:32.0 +0200 @@ -348,7 +348,7 @@ return (undef); } - if ( $self-PrincipalObj-Disabled ) { + if ( $self-PrincipalObj and $self-PrincipalObj-Disabled ) { $RT::Logger-info(Disabled user . $self-Name . tried to log in ); return (undef); -- 1; *5. Restart apache2 * *But, I still can not login by user on active directory. What should I do? Thanks, ns* ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Ticket CC's
Ruslan Zakirov wrote 1407 bytes: It's an option in the config. ParseNewMessages... On that note, I'll add a few observations: 1) RT does not add CCs of responses into ticket, ie. there is an existing ticket, and during the e-mail conversation I'll CC to someone and I expect them to be added as ticket CC. 2) If some of the CCs are already elsewhere in the ticket (eg. admincc), RT will happily send duplicate mails to the same address. Regards, Michal Svoboda ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Ticket CC's
On Wed, Apr 22, 2009 at 11:33 AM, Michal Svoboda p...@spatium.org wrote: Ruslan Zakirov wrote 1407 bytes: It's an option in the config. ParseNewMessages... On that note, I'll add a few observations: 1) RT does not add CCs of responses into ticket, ie. there is an existing ticket, and during the e-mail conversation I'll CC to someone and I expect them to be added as ticket CC. Search for ParseNewMessage on the wiki and you quickly find: http://wiki.bestpractical.com/view/ParseFollowupMessageForTicketCcs 2) If some of the CCs are already elsewhere in the ticket (eg. admincc), RT will happily send duplicate mails to the same address. Search by duplicate in archives and you quickly find http://www.gossamer-threads.com/lists/rt/users/82354?search_string=duplicate;#82354 Regards, Michal Svoboda ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- Best regards, Ruslan. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] add MySQL authentication
Tue 21 Apr 2009 18:06:44 GMT Michael Mai wrote: Hi, I am using External Authentication with LDAP. But also would like to add MYSQL as another source for login. After created a table in rt3 database, I made following changes in RT_SiteConfig.pm: and.? -- 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 __ ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Migration
I'd like to see this if it does eventually work. I gave up on converting our bugzilla database many months ago. Although we have 12,000 bugzilla tickets, it wasn't worth the time and pain for us to try to fix the script. Thanks, Keith Javier Garcia wrote: OK. I’ve found out that my initialdata file is wrong. There’s nothing on the @Groups array. I’ve downloaded a new initialdata file (the syntax is as follows): @Groups = ( { Name = '', Type = 'Everyone', # loc Domain = 'SystemInternal', Instance = '', Description = 'Pseudogroup for internal use', # loc }, But then I get a new error: Odd number of elements in hash assignment at /opt/rt3/lib/RT/Group_Overlay.pm line 405. /opt/rt3/lib/RT/Group_Overlay.pm line 405: my %args = ( Name = undef, Description = undef, Domain = undef, Type = undef, Instance = '0', InsideTransaction = undef, _RecordTransaction = 1, @_ ); I’m not an expert Perl developer, but I have tried modifying the @Groups array, adding more fields or deleting others, but nothing, same error. *From:* rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] *On Behalf Of *Javier Garcia *Sent:* 21 April 2009 10:50 *To:* Jo Rhett *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt-users] Migration Hi all, I have found the scripts here: http://www.gossamer-threads.com/lists/rt/users/53073?do=post_view_threaded#53073 But they are not working. After following the README I ran “sh migrate.sh” and got the following: Could not load Everyone group on user creation. (/opt/rt3/lib/RT/User_Overlay.pm:222) The error is on the following block: my $everyone = RT::Group-new($self-CurrentUser); $everyone-LoadSystemInternalGroup('Everyone'); unless ($everyone-id) { $RT::Logger-crit(Could not load Everyone group on user creation.); $RT::Handle-Rollback(); return ( 0, $self-loc('Could not create user') ); } And we are not able to solve it. There’s no information about it on the Internet. Any ideas? I have a hunch that it has to do with the relationship between the principals, groups and ACL table. Any help would be greatly appreciated, otherwise we can continue writing bespoke scripts to fit our needs. We are currently running RT 3.8.2 under Debian Etch. Cheers, Javier *From:* Jo Rhett [mailto:jrh...@netconsonance.com] *Sent:* 20 April 2009 17:34 *To:* Javier Garcia *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt-users] Migration Yes. Search the mailing list archives or Google. Both of which return the script you need quickly. On Apr 20, 2009, at 8:59 AM, Javier Garcia wrote: We are manually migrating all our Bugzilla databases to RT using Perl, but we are having issues with some of them and I can’t find anything on the Internet. Is there a documented way on How to migrate Bugzilla to RT? Does anybody have a script for that? PS: Both servers are running on Debian and using MySQL. Thanks, Javier Garcia Systems Engineer javier.gar...@snowvalley.com mailto:javier.gar...@snowvalley.com 10 Emerald Street, London, WC1N 3QA Website: http://www.snowvalley.com http://www.snowvalley.com/ ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com mailto:sa...@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 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] rt3 performance problem when updating a ticket
Hi Since a few weeks it takes about 10 seconds whenever I update any ticket . Looking at mysql I don't see any activity. Any idea where the problem could come from ? -- Oleg Sladkoff KELKOO - Service Architect oleg.sladk...@kelkoo.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] rt3 performance problem when updating a ticket
I am trying to evaluate RT with Oracle 10g database. Does any one have details step to do this? I am going through the url's meanwhile, if I get this would be great. thanks Thiru On Wed, Apr 22, 2009 at 11:40 AM, Oleg Sladkoff sladk...@yahoo-inc.com wrote: Hi Since a few weeks it takes about 10 seconds whenever I update any ticket . Looking at mysql I don't see any activity. Any idea where the problem could come from ? -- Oleg Sladkoff KELKOO - Service Architect oleg.sladk...@kelkoo.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] rt3 performance problem when updating a ticket
Thiruselvam V wrote: I am trying to evaluate RT with Oracle 10g database. Does any one have details step to do this? I am going through the url's meanwhile, if I get this would be great. thanks Thiru Anything in particular you're having problems with? We use Oracle extensively, not only for RT, so I might be able to help if I know with what. Regards, Joop ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT thinks that the ticket has no recipients....
Check NotifyActor in RT_SiteConfig.pm Gary Greene wrote: -Original Message- From: Jo Rhett [mailto:jrh...@netconsonance.com] Sent: Tuesday, April 21, 2009 4:30 PM To: Gary Greene Cc: RT Users; Gary Greene Subject: Re: [rt-users] RT thinks that the ticket has no recipients You sent this same message 1.5 hours earlier. You (likely) didn't get a response because you didn't include any specific information. At 10k feet it could be anything. Start at a lower level -- who should have gotten mail? Who shows up on the People tab of the ticket? If there's nobody there... On Apr 21, 2009, at 3:27 PM, Gary Greene wrote: RT version 3.8.1, ExternalAuth version 0.08 I've run into a problem with testing the instance of RT I've installed that the notification emails aren't getting sent. The mail log doesn't list anything being processed, so I checked the httpd error_log, and see the following: [Tue Apr 21 20:47:30 2009] [info]: rt-3.8.1-25329-1240346849-319.5-...@minervan etworks.com #5/96 - Scrip 5 On Correspond Notify AdminCcs (/usr/lib/ perl5/vendo r_perl/5.8.8/RT/Action/SendEmail.pm:302) [Tue Apr 21 20:47:30 2009] [info]: rt-3.8.1-25329-1240346849-319.5-...@minervan etworks.com No recipients found. Not sending. (/usr/lib/perl5/ vendor_perl/5.8.8 /RT/Interface/Email.pm:338) [Tue Apr 21 20:47:30 2009] [info]: rt-3.8.1-25329-1240346849-737.5-...@minervan etworks.com #5/96 - Scrip 7 On Correspond Notify Other Recipients (/ usr/lib/per l5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:302) [Tue Apr 21 20:47:30 2009] [info]: rt-3.8.1-25329-1240346849-737.5-...@minervan etworks.com No recipients found. Not sending. (/usr/lib/perl5/ vendor_perl/5.8.8 /RT/Interface/Email.pm:338) [Tue Apr 21 20:47:30 2009] [info]: rt-3.8.1-25329-1240346850-536.5-...@minervan etworks.com #5/96 - Scrip 6 On Correspond Notify Requestors and Ccs (/usr/lib/p erl5/vendor_perl/5.8.8/RT/Action/SendEmail.pm:302) [Tue Apr 21 20:47:30 2009] [info]: rt-3.8.1-25329-1240346850-536.5-...@minervan etworks.com No recipients found. Not sending. (/usr/lib/perl5/ vendor_perl/5.8.8 /RT/Interface/Email.pm:338) All users at Minerva Networks have a mail field in their LDAP (AD actually) record since we use Exchange for email. Can someone please shed some light on why this is failing? Thanks. -- Gary L. Greene, Jr. IT Operations Minerva Networks, Inc. Cell: (650) 704-6633 Phone: (408) 240-1239 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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 Regarding sending twice, that was because I didn't see it come through the list, since the Exchange server thought it fun to deliver only the CC'd version of the message instead of the one for the ML. Apologies about that... In the People tab: Owner:Gary Greene ggre...@minervanetworks.com (ggreene) Requestors: Gary Greene ggre...@minervanetworks.com (ggreene) Cc: AdminCc: As I said, I'm testing this for various queue interaction items to see if any gotchas will come up for my users when I roll this out in the next month. If you need any other info, please ask. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Does Anyone out there use RT for Change Management?
Steve, Yes we do. We have a process that forces a ticket to be reviewed and approved in a single Queue before it is moved to one of 30 other queues where the work will be done. We then have a QA WorkFlow process that enforces the concept of QA/Acceptance Testing Approval by someone /other/ than the ticket owner. In total, we have over 100 queues and ALL of them have some form of QA testing. We are now looking into integrating version control (into PVCS) when a ticket is resolved. That's because we are still in 3.6.4. I believe 3.8.2 has version control with subversion built-in. At any rate, that's what we have so far. I'd love to field any questions you have. Kenn LBNL On 4/21/2009 4:06 PM, Steve OBrien wrote: Hi All, I was wondering if anyone out there was using RT for IT Change Management and if so: 1.) How is it working out for you? 2.) Any helpful hints or a description of your setup. If not, is there any other tracking system that would work better for tracking, approving, and notifying changes (server configurations, etc) TIA, Steve ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Migration
Kieth, Have you thought about writing a program to copy all the Bugzilla data into flatfiles that can then be used as input to another program that uses API to create tickets, etc? We just converted an old legacy ticket system into RT doing just that, comments and email included. Converted 17,000 tickets. Of course, I had to take RT down and then turn OFF /all/ scrips, etc (didn't need 17,00 emails going out). Afterwards, I did a little bulk updating for some custom fields and viola! All done. Tirn system on, Turn on scrips. ready to go. Kenn LBNL On 4/22/2009 5:48 AM, Keith A McDermott wrote: I'd like to see this if it does eventually work. I gave up on converting our bugzilla database many months ago. Although we have 12,000 bugzilla tickets, it wasn't worth the time and pain for us to try to fix the script. Thanks, Keith Javier Garcia wrote: OK. I’ve found out that my initialdata file is wrong. There’s nothing on the @Groups array. I’ve downloaded a new initialdata file (the syntax is as follows): @Groups = ( { Name = '', Type = 'Everyone', # loc Domain = 'SystemInternal', Instance = '', Description = 'Pseudogroup for internal use', # loc }, But then I get a new error: Odd number of elements in hash assignment at /opt/rt3/lib/RT/Group_Overlay.pm line 405. /opt/rt3/lib/RT/Group_Overlay.pm line 405: my %args = ( Name = undef, Description = undef, Domain = undef, Type = undef, Instance = '0', InsideTransaction = undef, _RecordTransaction = 1, @_ ); I’m not an expert Perl developer, but I have tried modifying the @Groups array, adding more fields or deleting others, but nothing, same error. *From:* rt-users-boun...@lists.bestpractical.com [mailto:rt-users-boun...@lists.bestpractical.com] *On Behalf Of *Javier Garcia *Sent:* 21 April 2009 10:50 *To:* Jo Rhett *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt-users] Migration Hi all, I have found the scripts here: http://www.gossamer-threads.com/lists/rt/users/53073?do=post_view_threaded#53073 But they are not working. After following the README I ran “sh migrate.sh” and got the following: Could not load Everyone group on user creation. (/opt/rt3/lib/RT/User_Overlay.pm:222) The error is on the following block: my $everyone = RT::Group-new($self-CurrentUser); $everyone-LoadSystemInternalGroup('Everyone'); unless ($everyone-id) { $RT::Logger-crit(Could not load Everyone group on user creation.); $RT::Handle-Rollback(); return ( 0, $self-loc('Could not create user') ); } And we are not able to solve it. There’s no information about it on the Internet. Any ideas? I have a hunch that it has to do with the relationship between the principals, groups and ACL table. Any help would be greatly appreciated, otherwise we can continue writing bespoke scripts to fit our needs. We are currently running RT 3.8.2 under Debian Etch. Cheers, Javier *From:* Jo Rhett [mailto:jrh...@netconsonance.com] *Sent:* 20 April 2009 17:34 *To:* Javier Garcia *Cc:* rt-users@lists.bestpractical.com *Subject:* Re: [rt-users] Migration Yes. Search the mailing list archives or Google. Both of which return the script you need quickly. On Apr 20, 2009, at 8:59 AM, Javier Garcia wrote: We are manually migrating all our Bugzilla databases to RT using Perl, but we are having issues with some of them and I can’t find anything on the Internet. Is there a documented way on How to migrate Bugzilla to RT? Does anybody have a script for that? PS: Both servers are running on Debian and using MySQL. Thanks, Javier Garcia Systems Engineer javier.gar...@snowvalley.com mailto:javier.gar...@snowvalley.com 10 Emerald Street, London, WC1N 3QA Website: http://www.snowvalley.com http://www.snowvalley.com/ ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com mailto:sa...@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 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy
Re: [rt-users] Does Anyone out there use RT for Change Management?
If you install the Asset Tracker extension then not only can you track/approve changes, but you could have those changes linked to an asset representing the hardware/software being changed. This is handy for viewing all changes for a particular item. On Tue, Apr 21, 2009 at 7:06 PM, Steve OBrien steve.obr...@hdesd.org wrote: Hi All, I was wondering if anyone out there was using RT for IT Change Management and if so: 1.) How is it working out for you? 2.) Any helpful hints or a description of your setup. If not, is there any other tracking system that would work better for tracking, approving, and notifying changes (server configurations, etc) TIA, Steve ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] newly created ticket does not show in SelfService login
Have a user that was created automatically when initial ticket was created. Have since, as admin, changed auto-created users' password and added some details to the user's profile. If I login as that user, I do not see any tickets in the dashboard -- should I? As a Staff user, I can see the new ticket in the General queue without issue so it's being created ok. There is no owner assigned to the ticket; does that matter? Shouldn't the Requestor see their own tickets regardless of status/ownership? ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] newly created ticket does not show in SelfService login
On Wed, 22 Apr 2009 14:05:18 -0400, GravyFace gravyf...@gmail.com said: Have a user that was created automatically when initial ticket was created. Have since, as admin, changed auto-created users' password and added some details to the user's profile. If I login as that user, I do not see any tickets in the dashboard -- should I? As a Staff user, I can see the new ticket in the General queue without issue so it's being created ok. There is no owner assigned to the ticket; does that matter? Shouldn't the Requestor see their own tickets regardless of status/ownership? Have you granted ShowTicket rights to Requestor under global group rights? ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] newly created ticket does not show in SelfService login
On Wed, 22 Apr 2009 14:27:44 -0400, GravyFace gravyf...@gmail.com said: That now allows me to see unowned tickets created by my user, but not tickets I've created, regardless of who owns it or not. Perhaps I'm not logged into the right place: I just went to the home page and logged in as the user. Is this not the way to get into Self Service? Ah, I get it now. No, when you log in with a user who has the Let this user be granted rights box checked, it goes to the standard interface. If you append /SelfService/ to the URL, it will take you to the Self Service interface. If this is an end user and all you want them to see is the SelfService interface, uncheck the Let this user be granted rights box, and make sure you set up appropriate permissions for creating/replying/seeing tickets (such as unprivileged users can create tickets, requestor can see and reply to ticket...) ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] newly created ticket does not show in SelfService login
On Wed, Apr 22, 2009 at 2:43 PM, Nick Kartsioukas change+lists...@nightwind.net wrote: Ah, I get it now. No, when you log in with a user who has the Let this user be granted rights box checked, it goes to the standard interface. If you append /SelfService/ to the URL, it will take you to the Self Service interface. If this is an end user and all you want them to see is the SelfService interface, uncheck the Let this user be granted rights box, and make sure you set up appropriate permissions for creating/replying/seeing tickets (such as unprivileged users can create tickets, requestor can see and reply to ticket...) Thank you. I'm going to re-search the wiki and add what you just said re: /SelfService URL if necessary. I don't recall seeing any of this in there earlier, although I may have just missed it. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] newly created ticket does not show in SelfService login
On Wed, Apr 22, 2009 at 2:15 PM, Nick Kartsioukas change+lists...@nightwind.net wrote: Have you granted ShowTicket rights to Requestor under global group rights? That now allows me to see unowned tickets created by my user, but not tickets I've created, regardless of who owns it or not. Perhaps I'm not logged into the right place: I just went to the home page and logged in as the user. Is this not the way to get into Self Service? ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] autofill custom field from email
Hi, I would like to make autofill on some custom fields. The idea is when RT receive an email, can take a value from this email and set it to a custom field. Thanks. -- Atte. Andres Altamirano Subdirección Innovación Tecnológica Dirección de Informática Pontificia Universidad Católica de Chile Campus San Joaquin. Vicuña Mackena 4860 Fono: +56 2 3547183 smime.p7s Description: S/MIME Cryptographic Signature ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Formatted text in RTFM articles
Is there anyway to format text in RTFM articles? I have created a custom filed of type Fill in one text area but it messes up the text. An example; I have a couple of lines of text, separated by spaces as shown; Texttexttextmoretextmoretextmoretext When I look at the article, the text appears as; Texttexttext moretextmoretextmoretext I have tried with tabs and get the same result and I also tried changing the format of the CF to wikitext but I get the same result. Ay ideas or suggestions? If this is the way it is it makes RTFM unusable for what we had planned. Regards, Jim ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Printing tickets
We use RT extensively in our organization, and we have one department (facilities) who prints out the tickets and hands them to the workers for them to physically go out and perform the requests. The problem with this is that currently printing the tickets print the blue border and generally use much more paper and ink than is necessary. Maybe this is a feature request or maybe there is a user contribution I'm just not seeing, but it would be nice if there was a print stylesheet that just printed the contents of the ticket in a simple text view. Does that capability exist and if not, would it be something that could be considered to be added? ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Printing tickets
Jon, If the workers can be pre-assigned as owners of the ticket, you could run a query, dump it to a spreadsheet, edit the spreadsheet and hand that out. Just a thought. Kenn LBNL On 4/22/2009 2:19 PM, Jon Baker wrote: We use RT extensively in our organization, and we have one department (facilities) who prints out the tickets and hands them to the workers for them to physically go out and perform the requests. The problem with this is that currently printing the tickets print the blue border and generally use much more paper and ink than is necessary. Maybe this is a feature request or maybe there is a user contribution I'm just not seeing, but it would be nice if there was a print stylesheet that just printed the contents of the ticket in a simple text view. Does that capability exist and if not, would it be something that could be considered to be added? ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Formatted text in RTFM articles
Ken, I've tried that and the result is exactly the same :-(. Any other idea? Regards -Original Message- From: Ken Crocker [mailto:kfcroc...@lbl.gov] Sent: 22 April 2009 22:26 To: Jim Tambling Cc: rt-us...@bestpractical.com Subject: Re: [rt-users] Formatted text in RTFM articles Jim, Try defining the CF asFill in WikiText. That works better. Kenn LBNL On 4/22/2009 2:06 PM, Jim Tambling wrote: Is there anyway to format text in RTFM articles? I have created a custom filed of type Fill in one text area but it messes up the text. An example; I have a couple of lines of text, separated by spaces as shown; Texttexttextmoretextmoretextmoretext When I look at the article, the text appears as; Texttexttext moretextmoretextmoretext I have tried with tabs and get the same result and I also tried changing the format of the CF to wikitext but I get the same result. Ay ideas or suggestions? If this is the way it is it makes RTFM unusable for what we had planned. Regards, Jim ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.287 / Virus Database: 270.12.2/2074 - Release Date: 04/22/09 08:49:00 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] rt3 performance problem when updating a ticket
Check out RT logs and look at timings. It may help you spot big gaps and localize problem. It can be sendmail or whatever you use as MTA: http://wiki.bestpractical.com/view/SendmailTips What have you done to make sure it's not mysql? On Wed, Apr 22, 2009 at 7:40 PM, Oleg Sladkoff sladk...@yahoo-inc.com wrote: Hi Since a few weeks it takes about 10 seconds whenever I update any ticket . Looking at mysql I don't see any activity. Any idea where the problem could come from ? -- Oleg Sladkoff KELKOO - Service Architect oleg.sladk...@kelkoo.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- Best regards, Ruslan. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Formatted text in RTFM articles
Jim, Try defining the CF asFill in WikiText. That works better. Kenn LBNL On 4/22/2009 2:06 PM, Jim Tambling wrote: Is there anyway to format text in RTFM articles? I have created a custom filed of type Fill in one text area but it messes up the text. An example; I have a couple of lines of text, separated by spaces as shown; Texttexttextmoretextmoretextmoretext When I look at the article, the text appears as; Texttexttext moretextmoretextmoretext I have tried with tabs and get the same result and I also tried changing the format of the CF to wikitext but I get the same result. Ay ideas or suggestions? If this is the way it is it makes RTFM unusable for what we had planned. Regards, Jim ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] rt3 performance problem when updating a ticket
Don't ask your questions in others threads. It's not polite. On Wed, Apr 22, 2009 at 7:54 PM, Thiruselvam V vthirusel...@gmail.com wrote: I am trying to evaluate RT with Oracle 10g database. Does any one have details step to do this? I am going through the url's meanwhile, if I get this would be great. thanks Thiru On Wed, Apr 22, 2009 at 11:40 AM, Oleg Sladkoff sladk...@yahoo-inc.com wrote: Hi Since a few weeks it takes about 10 seconds whenever I update any ticket . Looking at mysql I don't see any activity. Any idea where the problem could come from ? -- Oleg Sladkoff KELKOO - Service Architect oleg.sladk...@kelkoo.com Yahoo messenger : Kelkoooleg tel : +33 (0)476848147 gsm : +33(0)675768532 ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com -- Best regards, Ruslan. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Printing tickets
just not seeing, but it would be nice if there was a print stylesheet that just printed the contents of the ticket in a simple text view. Does that capability exist and if not, would it be something that could be considered to be added? It probably should be there, but it's not very hard to add yourself. ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] CanonicalizeEmailAddressMatch/Replace Problems
Alle, Running RT 3.6.6, RHEL 5.3, Apache 2.2.3 and Perl v5.8.8. When we try to use the following in RT_SiteConfig.pm, nothing changes: Set($CanonicalizeEmailAddressMatch , '@domain\.example\.ac\.jp$'); Set($CanonicalizeEmailAddressReplace , '@domain.example.org'); Internally, we are domain.example.ac.jp but externally we are domain.example.org (long story). What are we missing. Below are the relevant(?) log entries: [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : called with naojt...@domain.example.ac.jp by RT::CurrentUser /opt/rt3/lib/RT/CurrentUser.pm 218 (/opt/rt3/local/lib/RT/User_Local.pm:328) [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress naojt...@domain.example.ac.jp = naojt...@domain.example.ac.jp (/opt/rt3/local/lib/RT/User_Local.pm:347) [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeUserInfo called by RT::User /opt/rt3/lib/RT/User_Overlay.pm 192 with: Comments: Autocreated on ticket submission, Disabled: 0, EmailAddress: naojt...@domain.example.ac.jp, Name: naojt...@domain.example.ac.jp, Password: , Privileged: 0, RealName: (Test User) (/opt/rt3/local/lib/RT/User_Local.pm:380) [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeUserInfo returning Comments: Autocreated on ticket submission, Disabled: 0, EmailAddress: naojt...@domain.example.ac.jp, Name: naojt...@domain.example.ac.jp, Password: , Privileged: 0, RealName: (Test User) (/opt/rt3/local/lib/RT/User_Local.pm:413) [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : called with naojt...@domain.example.ac.jp by RT::User /opt/rt3/lib/RT/User_Overlay.pm 196 (/opt/rt3/local/lib/RT/User_Local.pm:328) [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress naojt...@domain.example.ac.jp = naojt...@domain.example.ac.jp (/opt/rt3/local/lib/RT/User_Local.pm:347) [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : called with naojt...@domain.example.ac.jp by RT::User /opt/rt3/lib/RT/User_Overlay.pm 563 (/opt/rt3/local/lib/RT/User_Local.pm:328) [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress naojt...@domain.example.ac.jp = naojt...@domain.example.ac.jp (/opt/rt3/local/lib/RT/User_Local.pm:347) [Wed Apr 22 20:59:49 2009] [debug]: RT::User::CanonicalizeEmailAddress : called with naojt...@domain.example.ac.jp by RT::User /opt/rt3/lib/RT/User_Overlay.pm 563 (/opt/rt3/local/lib/RT/User_Local.pm:328) [Wed Apr 22 20:59:49 2009] [info]: RT::User::CanonicalizeEmailAddress naojt...@domain.example.ac.jp = naojt...@domain.example.ac.jp (/opt/rt3/local/lib/RT/User_Local.pm:347) [Wed Apr 22 20:59:50 2009] [debug]: RT::User::CanonicalizeEmailAddress : called with naojt...@domain.example.ac.jp by RT::CurrentUser /opt/rt3/lib/RT/CurrentUser.pm 218 (/opt/rt3/local/lib/RT/User_Local.pm:328) [Wed Apr 22 20:59:50 2009] [info]: RT::User::CanonicalizeEmailAddress naojt...@domain.example.ac.jp = naojt...@domain.example.ac.jp (/opt/rt3/local/lib/RT/User_Local.pm:347) Best Regards, Camron -- Camron W. Fox Hilo Office High Performance Computing Group Fujitsu Management Services of America, Inc. E-mail: cw...@us.fujitsu.com ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Formatted text in RTFM articles
Try defining the CF asFill in WikiText. That works better. I've tried that and the result is exactly the same :-(. Any other idea? When using the wikitext area in RTFM, any text that does not begin in the first column is rendered as preformatted text. So instead of: Texttexttextmoretextmoretextmoretext use: Texttexttextmoretextmoretextmoretext ^ Note the space in front of the line, meaning it does not begin the first column and so is treated as pre-formatted. -- -- 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: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Fwd: Failed use LDAP service
Dear All, Need your help. I see in error.log is like below: [Wed Apr 22 10:10:28 2009] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467) [Wed Apr 22 10:10:28 2009] [error]: FAILED LOGIN for user test from test-desk (/opt/rt3/share/html/autohandler:265) What is the problem and what Should I do? Thanks, ns -- Forwarded message -- From: nast linux nastli...@gmail.com Date: Wed, 22 Apr 2009 13:50:08 +0700 Subject: Failed use LDAP service To: rt-users rt-users@lists.bestpractical.com *Dear All, I failed use LDAP service, I already done steps below: * *1. Install RT-Authen-ExternalAuth* *2. Uncomment Set(@Plugins,(qw(RT::Authen::ExternAuth))); on /opt/rt3/etc/RT_SiteConfig.pm * *3. cp /opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth /opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth* *4. apply the following patch to User_Vendorhttp://wiki.bestpractical.com/view/User_Vendor.pm: * --- local/lib/RT/User_Vendorhttp://wiki.bestpractical.com/view/User_Vendor.pm~ 2008-04-09 10:40:44.0 +0200 +++ ./local/lib/RT/User_Vendorhttp://wiki.bestpractical.com/view/User_Vendor.pm 2008-08-04 17:46:32.0 +0200 @@ -348,7 +348,7 @@ return (undef); } - if ( $self-PrincipalObj http://wiki.bestpractical.com/view/PrincipalObj-Disabled ) { + if ( $self-PrincipalObjhttp://wiki.bestpractical.com/view/PrincipalObjand $self- PrincipalObj http://wiki.bestpractical.com/view/PrincipalObj-Disabled ) { $RT::Logger-info(Disabled user . $self-Name . tried to log in ); return (undef); -- *so, recently file User_Vendor.pm is like below:* no warnings qw(redefine); use strict; use RT::Authen::ExternalAuth; # {{{ sub CanonicalizeUserInfo =head2 CanonicalizeUserInfo HASHREF Get all ExternalDB attrs listed in $RT::ExternalDBAttrMap and put them into the hash referred to by HASHREF. returns true (1) if ExternalDB lookup was successful, false (undef) in all other cases. =cut sub CanonicalizeUserInfo { my $self = shift; my $args = shift; return(RT::Authen::ExternalAuth::CanonicalizeUserInfo($self,$args)); } # }}} --- local/lib/RT/User_Vendor.pm~ 2008-04-09 10:40:44.0 +0200 +++ ./local/lib/RT/User_Vendor.pm 2008-08-04 17:46:32.0 +0200 @@ -348,7 +348,7 @@ return (undef); } - if ( $self-PrincipalObj-Disabled ) { + if ( $self-PrincipalObj and $self-PrincipalObj-Disabled ) { $RT::Logger-info(Disabled user . $self-Name . tried to log in ); return (undef); -- 1; *5. Restart apache2 * *But, I still can not login by user on active directory. What should I do? Thanks, ns* ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] Fwd: Failed use LDAP service
On 23/4/09 11:57 AM, nast linux wrote: Dear All, Need your help. I see in error.log is like below: [Wed Apr 22 10:10:28 2009] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467) [Wed Apr 22 10:10:28 2009] [error]: FAILED LOGIN for user test from test-desk (/opt/rt3/share/html/autohandler:265) What is the problem and what Should I do? Thanks, ns -- Forwarded message -- From: nast linuxnastli...@gmail.com Date: Wed, 22 Apr 2009 13:50:08 +0700 Subject: Failed use LDAP service To: rt-usersrt-users@lists.bestpractical.com *Dear All, I failed use LDAP service, I already done steps below: * *1. Install RT-Authen-ExternalAuth* *2. Uncomment Set(@Plugins,(qw(RT::Authen::ExternAuth))); on /opt/rt3/etc/RT_SiteConfig.pm * *3. cp /opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth /opt/rt3/local/html/Callbacks/ExternalAuth/autohandler/Auth* *4. apply the following patch to User_Vendorhttp://wiki.bestpractical.com/view/User_Vendor.pm: * The error Can't bind: LDAP_INVALID_CREDENTIALS 49 Seems to be your problem. From memory, AD requires authenticated credentials for ldap queries. A windows guru could help here. In your RT_SiteConfig.pm, where you have specified Set( $ExternalSettings, { ... 'user' = 'User goes here', 'pass'= 'Password here', ... } You could try using ldapsearch from the command line on the server to check that the user can bind and do lookups, e.g. ldapsearch -D cn=fred, etc -w Password-h ldap.example.com -b ou=People, etc. cn=* or something similar, man ldapsearch could be your friend. Regards, Lachlan ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] Ruby - REST, part 2
Back in February, user 'toml at bitstatement' ( http://www.gossamer-threads.com/lists/engine?user=7874;list=rt) posted a question about interfacing with RT from Ruby via REST. That thread is archived here:http://www.gossamer-threads.com/lists/rt/users/82898 I am having a similar problem, but when I implemented the solution described in that thread, RT still won't accept the comment. Request from my Ruby application (hostnames have been changed to protect the innocent): -snip- POST /REST/1.0/ticket/5702/comment HTTP/1.1 Accept: application/xml Content-Type: multipart/form-data; boundary=905815 Cookie: RT_SID_RTNAME.80=132575bdeee36284a05518c9b8080edf; path=/ Cookie2: $Version=1 Host: rthost.somewhere.com Content-Length: 308 --905815 Content-Disposition: form-data; name=attachment.txt; filename=attachment.txt Content-Type: text/plain test attachment content --905815 Content-Disposition: form-data; name=content Ticket: 5702 Action: comment Text: Adding attachment(s). Attachment: attachment.txt --905815-- -snip- And the response from RT: -snip- HTTP/1.1 200 OK Date: Thu, 23 Apr 2009 02:22:53 GMT Server: Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7f PHP/5.2.6 mod_perl/2.0.4 Perl/v5.8.6 Transfer-Encoding: chunked Content-Type: text/plain; charset=utf-8 40 RT/3.8.1 400 Bad Request # No attachment for attachment.txt. -snip- I assume from the RT error message that it is parsing the content form field, or else it wouldn't know to look for the attachment.txt file, but I can't figure out what's wrong. Anyone have any ideas? ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com