Re: [rt-users] CommandByMail plugin installation

2014-10-07 Thread Olivier Lumineau


Le 06/10/2014 18:00, Kevin Falcone a écrit :

On Mon, Oct 06, 2014 at 10:03:59AM +0200, Olivier Lumineau wrote:

I'm trying to install CommandByMail Plugin and it's not working.

What version of RT?


Sorry for this missing...

It's RT 4.2.5





# make install
Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/
CommandByMail.pm
Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/
CommandByMail/Test.pm
Installing /opt/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/
Email/Filter/TakeAction.pm
Installing /opt/rt4/local/man/man3/RT::Extension::CommandByMail.3pm
Installing /opt/rt4/local/man/man3/RT::Interface::Email::Filter::TakeAction.3pm
Appending installation info to /opt/rt4/local/plugins/
RT-Extension-CommandByMail/lib/perllocal.pod
Couldn't load RT config file RT_SiteConfig.pm:

Can't locate object method InitPluginPaths via package
RT::Extension::CommandByMail (perhaps you forgot to load
RT::Extension::CommandByMail?) at /opt/rt4/lib/RT.pm line 657.
Compilation failed in require at /opt/rt4/lib/RT/Config.pm line 1078.
make: *** [install] Erreur 255

Are you running this as root, or another user who can read
RT_SiteConfig.pm ?


Yes I'm root



Also, did you already add RT::Extension::CommandByMail to Plugins in
your RT_SiteConfig.pm, before running make install?


Yes but not correctly :-[
I've added it like other plugins :
Plugin('RT::Extension::CommandByMail');

and not :
Set(@Plugins, ( @Plugins, RT::Extension::CommandByMail ));

I have now in my RT_SiteConfig.pm :
#Command by mail plugin
Set(@Plugins, ( @Plugins, RT::Extension::CommandByMail ));
Set(@MailPlugins, qw(Auth::MailFrom Filter::TakeAction));

So, it seems to be right installed now but... Commands by mail are not 
recognized.

For example i put this on the first line of a mail ticket :

Status: resolved

I sent it with only text format and nothing appended

I'm sure I'm missing something but I don't know what...



--
Olivier











--
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Problem with HTML tags appearing in correspondence

2014-10-07 Thread Ajay Kumar
Hi,
Thanks for response.

On Mon, Oct 6, 2014 at 9:22 PM, Kevin Falcone falc...@bestpractical.com
wrote:

 On Sat, Oct 04, 2014 at 11:26:27AM +0530, Ajay Kumar wrote:
  rt4.2.1 with db.Then we are observing that  HTML
  comments/correspondence are not working.

 You're going to have to explain what not working means.


It removes that HTML tags while sending mails.  Like I send mail via web
following test
You may happy to know that RT is now working.
Cheers,
Ajai

following will be sent to user
You may happy to know that RT is now working.Cheers,Ajai

It seems that it is removing html tag for line change etc.


 Additionally, why are you upgrading to 4.2.2, the current release is
 4.2.8.


Because in the release note  of  4.2.2,it was mentioned that this release
fixes a bug in 4.2.0 and 4.2.1 where failures of the HTML-to-text
conversion would silently cause mail to fail to be sent.Therefore I thought
it may resolve the issue.

I am not able to fix this issue. Looking forward for help pls.


-kevin

 --
 RT Training November 4  5 Los Angeles
 http://bestpractical.com/training


-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] How to correctly dump metadata other RT environment?

2014-10-07 Thread Markus . Wildbolz
Hi guys!

I'm trying to move all customizations I did in our productive environment 
to our test environment (on a clean, fresh installation).
I do not want to transfer the complete database because I dont need the 
tickets (and all the other stuff like transactions, etc.). So I thought 
the right way is to use the rt-dump-metadata program.
If I try to import the metadata-file through rt-setup-database into the 
test-environment I get errors and the configuration is not transferred 
successfully!



Could someone of you give me an explanation, what the definite steps for 
moving this metadata are?
My approach was the following:

Export:
rt4/sbin/rt-dump-metadata -a -s  metadata.xml

Import:
rt4-devel/sbin/rt-setup-database --action drop
rt4-devel/sbin/rt-setup-database --action create,schema
rt4-devel/sbin/rt-setup-database --action insert --datafile 
../rt4/metadata.xml


Did I miss a step? I don't know if I have to do --action acl,coredata 
first or not. However, I get many different errors.

I'm using two completely separated instances of RT 4.2.7 with MySQL 5.5.38 
on Debian 7

Would be fine, if someone has some input for me! I will try the 
recommended steps and get the definite error messages for you 
afterwards...



Greetings,

Markus Wildbolz-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] Template compilation error

2014-10-07 Thread doug downham
I'm slightly stumped here.
I'm trying to setup a user response survey with a token following the
instructions at
http://requesttracker.wikia.com/wiki/RemoteControlLimeSurvey2
Now, I know the instructions are written for 3.8. I'm running 4.2.6, but
looking at the documentation for the two, it looks like the 3.8 template
should still be valid in 4.2.6.

I've had no trouble setting up LimeSurvey; I've used it many times in the
past with good result. Using the sample code provided, substituting in the
correct values for my environment, I'm getting a Couldn't compile template
codeblock error when creating the template, followed by the code I've put
in, followod by Modification of a read-only value attempted at
/usr/local/share/perl5/Log/Dispatch/Output.pm line 39. Stack:
[/usr/local/share/perl5/Log/Dispatch/Output.pm:39]
[/usr/local/share/perl5/Log/Dispatch.pm:214]
[/usr/local/share/perl5/Log/Dispatch.pm:167]
[/usr/local/share/perl5/Log/Dispatch.pm:145] [(eval 13358):17]
[/opt/rt4/share/html/Admin/Global/Template.html:101]
[/opt/rt4/share/html/Admin/autohandler:49]
[/opt/rt4/sbin/../lib/RT/Interface/Web.pm:682]
[/opt/rt4/sbin/../lib/RT/Interface/Web.pm:370]
[/opt/rt4/share/html/autohandler:53]

The debug logs for RT and Apache show nothing for this, so I'm stumped.
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Template compilation error

2014-10-07 Thread Kevin Falcone
On Tue, Oct 07, 2014 at 10:09:32AM -0400, doug downham wrote:
 looking at the documentation for the two, it looks like the 3.8 template 
 should
 still be valid in 4.2.6.

If I copy and paste that template into a new template in 4.2.8, after
resolving the missing module error (presented to me in the UI) I'm
given this error:

syntax error at template line 64

which is 

my $url = ;

Which looks like a syntax error to me.

-kevin


pgpEcnE8qHH2n.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] CommandByMail plugin installation

2014-10-07 Thread Kevin Falcone
On Tue, Oct 07, 2014 at 11:45:38AM +0200, Olivier Lumineau wrote:
 Also, did you already add RT::Extension::CommandByMail to Plugins in
 your RT_SiteConfig.pm, before running make install?
 
 Yes but not correctly :-[
 I've added it like other plugins :
 Plugin('RT::Extension::CommandByMail');
 
 and not :
 Set(@Plugins, ( @Plugins, RT::Extension::CommandByMail ));

Plugin('RT::Extension::CommandByMail')
is significantly more correct than your Set(@Plugins) version.

What I asked was if you had added RT::Extension::CommandByMail to your
RT_SiteConfig.pm *before* running make install and getting your error.

I was interested in that installation error and how you got to that state.

 For example i put this on the first line of a mail ticket :
 
 Status: resolved
 
 I sent it with only text format and nothing appended

Confirm your Plugin settings in the Sytem Configuration page, turn your
logging to debug and read the logs.

-kevin


pgpcHsQCjgahR.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Problem with HTML tags appearing in correspondence

2014-10-07 Thread Kevin Falcone
On Tue, Oct 07, 2014 at 03:49:31PM +0530, Ajay Kumar wrote:
 It removes that HTML tags while sending mails.  Like I send mail via web
 following test
 You may happy to know that RT is now working.
 Cheers,
 Ajai
 
 following will be sent to user
 You may happy to know that RT is now working.Cheers,Ajai
 
 It seems that it is removing html tag for line change etc.

So, it rewraps things?

Without you providing actual emails generated by RT that demonstrate
the problem, I'm not sure how to proceed, since your examples don't
look like html mail failing to send to me.

 Because in the release note  of  4.2.2,it was mentioned that this release 
 fixes
 a bug in 4.2.0 and 4.2.1 where failures of the HTML-to-text conversion would
 silently cause mail to fail to be sent.Therefore I thought it may resolve the
 issue.

Were you seeing mail failing to send or mail wrapped poorly.
Your report is unclear.

Please try again on the current release of RT.

-kevin


pgpAX9QSGZQit.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Help - RT4.2.7 Authen::ExternalAuth via, OpenLDAP

2014-10-07 Thread Kevin Falcone
On Mon, Oct 06, 2014 at 02:34:40PM -0400, William Clarke wrote:
 RT 4.2.7 and RT-Authen-ExternalAuth-0.23

0.23 or 0.23_01 the dev release?

Your log points to line 491

 [29370] [Mon Oct  6 18:20:02 2014] [error]: Couldn't create user wclarke: 
 Could
 not set user info 
 (/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/
 ExternalAuth.pm:491)

But line 491 of 0.23 is blank

https://github.com/bestpractical/rt-authen-externalauth/blob/5a3a85c36f2e0abc43a0b0483b6e01e4d390ec54/lib/RT/Authen/ExternalAuth.pm#L491

Line 491 of 0.23_01 has an error message there

https://github.com/bestpractical/rt-authen-externalauth/blob/master/lib/RT/Authen/ExternalAuth.pm#L491

So, let's nail down what you're actually running, since you may just
have tripped a bug in 0.23_01 if that's what you have installed.


BTW - is there a reason you've only configured Auth and not Info?
That's probably making it very hard for RT to create the user, since
it can't go fetch any info.

-kevin


pgpbmkhIaOMkT.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Error connect LDAP on Zimbra 7.2

2014-10-07 Thread Kevin Falcone
On Mon, Oct 06, 2014 at 01:44:07PM -0500, Julio Cesar Arevalo Blanco wrote:
   Plugin('RT::Authen::ExternalAuth');
   Set( @Plugins, qw(RT::Authen::ExternalAuth));

This is wrong.  All it does is overwrite the first line with the
second line.  Delete the second line.

 'attr_match_list'  = [
 'Name',
 'EmailAddress',
 'ExternalContactInfoId',
 'RealName',
 #   'Password',
 #'displayName',
 #'mail',
],

This is going to cause problems.  What happens when you have two users
named John Doe?  Please review the documentation

https://metacpan.org/pod/RT::Authen::ExternalAuth#attr_match_list

 
 I authenticate correctly with helpd...@version3.co mail account via Web 
 interface zimbra. so the password is correct email.

Instead of a wireshark dump, please provide the debug logs from RT.

-kevin


pgpD8pnV5FbfD.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Template compilation error

2014-10-07 Thread doug downham
I swear I thought I had fixed the two nulls that were eaten by the wiki
formatting.
Thanks for the help, I often just need another set of eyes to look at
things.

On Tue, Oct 7, 2014 at 10:32 AM, Kevin Falcone falc...@bestpractical.com
wrote:

 On Tue, Oct 07, 2014 at 10:09:32AM -0400, doug downham wrote:
  looking at the documentation for the two, it looks like the 3.8 template
 should
  still be valid in 4.2.6.

 If I copy and paste that template into a new template in 4.2.8, after
 resolving the missing module error (presented to me in the UI) I'm
 given this error:

 syntax error at template line 64

 which is

 my $url = ;

 Which looks like a syntax error to me.

 -kevin

 --
 RT Training November 4  5 Los Angeles
 http://bestpractical.com/training




-- 
Forget Turing, USENET wouldn't pass a roadside DWI test
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Help - RT4.2.7 Authen::ExternalAuth via, OpenLDAP

2014-10-07 Thread William Clarke
Ouch, I apologize I missed that. I was initially using .23 release but 
then later installed the latest dev .23_01 in hopes all my problems 
would vanish. Well just reinstalled .23 just now and the logs I'm seeing 
might be a little more interesting to us all. Oh and it really helps 
when I add the following as you suggested, I didn't leave that out 
intentionally


Set( $ExternalInfoPriority, [My_LDAP] );

External Auth is working like a charm now so THANK YOU KEVIN!

[3298] [Tue Oct  7 15:40:07 2014] [debug]: Attempting to use external 
auth service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:371)
[3298] [Tue Oct  7 15:40:07 2014] [debug]: Calling UserExists with 
$username (wclarke) and $service (My_LDAP) 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:412)

[3298] [Tue Oct  7 15:40:07 2014] [debug]: UserExists params:
username: wclarke , service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)
[3298] [Tue Oct  7 15:40:07 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((objectClass=*)(uid=wclarke)) == 
Attrs: mail,uid 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: 
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by 
RT::Authen::ExternalAuth 
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm 
860 with: Disabled: , EmailAddress: , Gecos: wclarke, Name: wclarke, 
Privileged: 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:757)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Attempting to get user info 
using this external service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:765)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Attempting to use this 
canonicalization key: Name 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:779)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((objectClass=*)(uid=wclarke)) == 
Attrs: mail,uid 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:355)
[3298] [Tue Oct  7 15:40:08 2014] [info]: 
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: , 
EmailAddress: wcla...@simons-rock.edu, Gecos: wclarke, Name: wclarke, 
Privileged: , RealName: 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:843)
[3298] [Tue Oct  7 15:40:08 2014] [info]: Autocreated external user 
wclarke ( 22 ) 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:439)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Loading new user ( wclarke ) 
into current session 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:445)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Password validation required 
for service - Executing... 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:462)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Trying external auth service: 
My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:151)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((uid=wclarke)(objectClass=*)) == 
Attrs: dn 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:184)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Found LDAP DN: 
uid=wclarke,ou=People,dc=simons-rock,dc=edu 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:218)
[3298] [Tue Oct  7 15:40:08 2014] [info]: 
RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): 
wclarke 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:299)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP password validation 
result: 1 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:641)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Password Validation Check 
Result:  1 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:466)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: Authentication successful. 
Now updating user information and attempting login. 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:486)

[3298] [Tue Oct  7 15:40:08 2014] [debug]: UserExists params:
username: wclarke , service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)
[3298] [Tue Oct  7 15:40:08 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((objectClass=*)(uid=wclarke)) == 
Attrs: mail,uid 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)

[3298] [Tue Oct  7 15:40:08 2014] [debug]: UserExists params:
username: wclarke , service: My_LDAP 

[rt-users] newbie queue managemnet question: bulk actions

2014-10-07 Thread Karres, Dean
Hi,

I am still demo-ing RT as a replacement for our aging home-built ticketing 
system.  I currently have RT setup in parallel with our current system.  All 
in-bound messages are copied.  One goes to the active system and the copy goes 
to our RT test.  In order to not confuse our user base I have disabled the 
notification scripts that would auto-send messages back to the requestors.

In the last several days we have had a crush of items on a particular subject.  
So many new tickets have been created that 1) I have created a new RT Queue for 
that topic; but, 2) the rush to move and address the tickets has not been able 
to keep up with the load.

I'm not sure what the best practice is here.  What I want to do is a bulk move 
of all new tickets in our general queue who's subject matches a pattern to 
another queue.  Is that something best handled as a special perl script?

Is that ability inside the TicketSQL language... but I'm not seeing it?  
Something like an UPDATE operator that lets me change the queue name of tickets 
that match some other search criteria?

Dean karres
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Help - RT4.2.7 Authen::ExternalAuth via, OpenLDAP

2014-10-07 Thread Kevin Falcone
On Tue, Oct 07, 2014 at 11:46:57AM -0400, William Clarke wrote:
 Ouch, I apologize I missed that. I was initially using .23 release but then
 later installed the latest dev .23_01 in hopes all my problems would vanish.
 Well just reinstalled .23 just now and the logs I'm seeing might be a little
 more interesting to us all. Oh and it really helps when I add the following as
 you suggested, I didn't leave that out intentionally
 
 Set( $ExternalInfoPriority, [My_LDAP] );
 
 External Auth is working like a charm now so THANK YOU KEVIN!

If you have cycles, would you confirm that 0.23_01 works too now that you've
added in the InfoPriority line?

It'll help us be more confident eventually releasing that as 0.24.

Thanks

-kevin


pgphTzmraRHSr.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] newbie queue managemnet question: bulk actions

2014-10-07 Thread Kevin Falcone
On Tue, Oct 07, 2014 at 04:20:26PM +, Karres, Dean wrote:
 I’m not sure what the best practice is here.  What I want to do is a bulk move
 of all “new” tickets in our general queue who’s subject matches a pattern to
 another queue.  Is that something best handled as a special perl script?

Build a search for Status = 'new' and Subject = 'something' and then
click on the Bulk Update link on the search results page.

There's an option to change queues there.

If you need to do this in an automated fashion, there are other
options.

-kevin


pgpL_V5CJcZWc.pgp
Description: PGP signature
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] newbie queue managemnet question: bulk actions

2014-10-07 Thread k...@rice.edu
On Tue, Oct 07, 2014 at 04:20:26PM +, Karres, Dean wrote:
 Hi,
 
 I am still demo-ing RT as a replacement for our aging home-built ticketing 
 system.  I currently have RT setup in parallel with our current system.  All 
 in-bound messages are copied.  One goes to the active system and the copy 
 goes to our RT test.  In order to not confuse our user base I have disabled 
 the notification scripts that would auto-send messages back to the requestors.
 
 In the last several days we have had a crush of items on a particular 
 subject.  So many new tickets have been created that 1) I have created a new 
 RT Queue for that topic; but, 2) the rush to move and address the tickets has 
 not been able to keep up with the load.
 
 I'm not sure what the best practice is here.  What I want to do is a bulk 
 move of all new tickets in our general queue who's subject matches a 
 pattern to another queue.  Is that something best handled as a special perl 
 script?
 
 Is that ability inside the TicketSQL language... but I'm not seeing it?  
 Something like an UPDATE operator that lets me change the queue name of 
 tickets that match some other search criteria?
 
 Dean karres


Hi Dean,

Do the search to pull up the correct ticket list and then use the Bulk Update
to change their queue.

Regards,
Ken
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] newbie queue managemnet question: bulk actions

2014-10-07 Thread Karres, Dean
Doh!  Bad me.  I actually did this search and even clicked the Bulk Update link 
but didn't realize that the bulk options then appeared below the search 
results.  I thought the bulk ops were a no-op for me :)

Thanks, this worked like a charm



-Original Message-
From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of 
Kevin Falcone
Sent: Tuesday, October 07, 2014 11:26 AM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] newbie queue managemnet question: bulk actions

On Tue, Oct 07, 2014 at 04:20:26PM +, Karres, Dean wrote:
 I’m not sure what the best practice is here.  What I want to do is a 
 bulk move of all “new” tickets in our general queue who’s subject 
 matches a pattern to another queue.  Is that something best handled as a 
 special perl script?

Build a search for Status = 'new' and Subject = 'something' and then click on 
the Bulk Update link on the search results page.

There's an option to change queues there.

If you need to do this in an automated fashion, there are other options.

-kevin
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] newbie queue managemnet question: bulk actions

2014-10-07 Thread Bryon Baker
You can also use the RT-crontool
/opt/rt4/bin/rt-crontool  --search RT::Search::FromSQL --search-arg Put your 
search Query here --action RT::Action::ChangeQueue --action-arg Queue to 
change to  --transaction last  --Verbos

Runs very fast and can handle all the tickets versus paging through however 
many tickets you have.

The search query can be built in the web interface when you are the the search 
tool select advance and then you can copy the query to be used for the 
RT-Crontool.

I use this method to move thousands of tickets when needed.

Good luck
Bryon Baker
Network Operations Manager
Copesan - Specialists in Pest Solutions
800-267-3726  .  262-783-6261 ext. 2296
bba...@copesan.com
www.copesan.com
Servicing North America with Local Care

-Original Message-
From: rt-users [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of 
k...@rice.edu
Sent: Tuesday, October 07, 2014 11:27 AM
To: Karres, Dean
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] newbie queue managemnet question: bulk actions

On Tue, Oct 07, 2014 at 04:20:26PM +, Karres, Dean wrote:
 Hi,
 
 I am still demo-ing RT as a replacement for our aging home-built ticketing 
 system.  I currently have RT setup in parallel with our current system.  All 
 in-bound messages are copied.  One goes to the active system and the copy 
 goes to our RT test.  In order to not confuse our user base I have disabled 
 the notification scripts that would auto-send messages back to the requestors.
 
 In the last several days we have had a crush of items on a particular 
 subject.  So many new tickets have been created that 1) I have created a new 
 RT Queue for that topic; but, 2) the rush to move and address the tickets has 
 not been able to keep up with the load.
 
 I'm not sure what the best practice is here.  What I want to do is a bulk 
 move of all new tickets in our general queue who's subject matches a 
 pattern to another queue.  Is that something best handled as a special perl 
 script?
 
 Is that ability inside the TicketSQL language... but I'm not seeing it?  
 Something like an UPDATE operator that lets me change the queue name of 
 tickets that match some other search criteria?
 
 Dean karres


Hi Dean,

Do the search to pull up the correct ticket list and then use the Bulk Update 
to change their queue.

Regards,
Ken
--
RT Training November 4  5 Los Angeles
http://bestpractical.com/training
-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] Help - RT4.2.7 Authen::ExternalAuth via, OpenLDAP

2014-10-07 Thread William Clarke

Kevin,

I just reinstalled .23_01 - Double-checked that it was infact 
ExternalAuth.pm .23_01 and yes, it is still working. Here are logs from 
a successful login and thanks again:


[3696] [Tue Oct  7 16:33:47 2014] [debug]: Attempting to use external 
auth service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:424)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Calling UserExists with 
$username (wclarke) and $service (My_LDAP) 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:465)

[3696] [Tue Oct  7 16:33:47 2014] [debug]: UserExists params:
username: wclarke , service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:439)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((objectClass=*)(uid=wclarke)) == 
Attrs: uid,mail 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:469)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Password validation required 
for service - Executing... 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:517)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Trying external auth service: 
My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:153)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((uid=wclarke)(objectClass=*)) == 
Attrs: dn 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:186)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Found LDAP DN: 
uid=wclarke,ou=People,dc=simons-rock,dc=edu 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:220)
[3696] [Tue Oct  7 16:33:47 2014] [info]: 
RT::Authen::ExternalAuth::LDAP::GetAuth External Auth OK ( My_LDAP ): 
wclarke 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:301)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: LDAP password validation 
result: 1 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:696)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Password Validation Check 
Result:  1 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:521)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Authentication successful. 
Now updating user information and attempting login. 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:541)

[3696] [Tue Oct  7 16:33:47 2014] [debug]: UserExists params:
username: wclarke , service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:439)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((objectClass=*)(uid=wclarke)) == 
Attrs: uid,mail 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:469)

[3696] [Tue Oct  7 16:33:47 2014] [debug]: UserExists params:
username: wclarke , service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:439)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((objectClass=*)(uid=wclarke)) == 
Attrs: uid,mail 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:469)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: No d_filter specified for 
this LDAP service ( My_LDAP ), so considering all users enabled 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:529)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: 
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by 
RT::Authen::ExternalAuth 
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm 
885 with: Name: wclarke 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:792)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Attempting to get user info 
using this external service: My_LDAP 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:800)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: Attempting to use this 
canonicalization key: Name 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:809)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: LDAP Search === Base: 
dc=simons-rock,dc=edu == Filter: ((objectClass=*)(uid=wclarke)) == 
Attrs: uid,mail 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:357)
[3696] [Tue Oct  7 16:33:47 2014] [info]: 
RT::Authen::ExternalAuth::CanonicalizeUserInfo returning EmailAddress: 
wcla...@simons-rock.edu, Name: wclarke, RealName: 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:868)
[3696] [Tue Oct  7 16:33:47 2014] [debug]: UPDATED user ( wclarke ) from 
External Service 
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:669)
[3696] [Tue Oct  7 16:33:47 2014] [info]: Successful login for wclarke 
from 

Re: [rt-users] Error connect LDAP on Zimbra 7.2

2014-10-07 Thread Julio Cesar Arevalo Blanco
Thanks Kevin , check the items you suggested and now it works perfect. 
I would like to know how I can configure 2 LDAP servers for authentication ? or 
you may chain 'base' configuration file RT_SiteConfig . Include two databases 
ldap 

example 

ou = people , dc = example, dc = com 
ou = people , dc = example, dc = co 







Saludos... 

Cordialmente. 




LogoJulio Cesar Arèvalo Blanco 
Ingeniero de Infraestructura / Ingenieria 
6221190 / 3124654611 · jarev...@version3.co 

Versión3.0 S.A.S 
Direccion: Carrera 12 Nº 93-31 
Telefono: 6221190 
ecoNo me imprimas si no es necesario. Protejamos el medio ambiente 

-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] RV: Trouble with External Authenticathion

2014-10-07 Thread Jonathan Vindas
Good morning, 

I write this email because I installed Request Tracker 4.2.1 succesfully but I 
have a trouble with external authentication. 
I investigate about RT::Authen::ExternalAuth plugin homewever when I try to 
compile RT_SiteConfig.pm throws some errors. 
I think the reasons about my issues are my RT_SiteConfig. pm params not be 
correct. 

We are confused with parameters of RT::Authen::ExternalAuth.

If you can explain each param relationated with ExternalAuth or provide an 
example RT_SiteConfig.pm. 

Thanks

 

 

 

Jonathan Vindas Abarca

Grupo Agroindustrial Numar

Programador AX

Tel: 2284 - 1489 

 

 

-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


Re: [rt-users] RV: Trouble with External Authenticathion

2014-10-07 Thread William Clarke

Jonathan,

Have you reviewed the README file? It provides some examples for 
configuring RT_SiteConfig.pm. I just recently got my External Auth up 
and running this morning with some assistance from this group so I'm 
trying to pay it forward: ). Maybe this will help: 
http://search.cpan.org/dist/RT-Authen-ExternalAuth/ but if not I imagine 
sending  rt-users@lists.bestpractical.com your External Auth settings 
from RT_SiteConfig.pm along with error logs set to DEBUG would be quite 
useful.


Thanks,

William Clarke
ITS System Administrator
Bard College at Simon's Rock

On 10/7/2014 1:39 PM, Jonathan Vindas wrote:


Good morning,

I write this email because I installed Request Tracker 4.2.1 
succesfully but I have a trouble with external authentication.
I investigate about RT::Authen::ExternalAuth plugin homewever when I 
try to compile RT_SiteConfig.pm throws some errors.
I think the reasons about my issues are my RT_SiteConfig. pm params 
not be correct.


We are confused with parameters of RT::Authen::ExternalAuth.

If you can explain each param relationated with ExternalAuth or 
provide an example RT_SiteConfig.pm.


Thanks

Descripción: firmaCorreoGANSA

Jonathan Vindas Abarca

Grupo Agroindustrial Numar

Programador AX

Tel: 2284 - 1489





-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training


[rt-users] connect Multiple Servers LDAP

2014-10-07 Thread Julio Cesar Arevalo Blanco



Thanks Kevin , check the items you suggested and now it works perfect. 
I would like to know how I can configure 2 LDAP servers for authentication ? or 
you may chain 'base' configuration file RT_SiteConfig . Include two databases 
ldap 

example 

'base' == 'ou = people , dc = example, dc = com , ou = people , dc = example, 
dc = co ' 



Saludos... 

Cordialmente. 




LogoJulio Cesar Arèvalo Blanco 
Ingeniero de Infraestructura / Ingenieria 
6221190 / 3124654611 · jarev...@version3.co 

Versión3.0 S.A.S 
Direccion: Carrera 12 Nº 93-31 
Telefono: 6221190 
ecoNo me imprimas si no es necesario. Protejamos el medio ambiente 


-- 
RT Training November 4  5 Los Angeles
http://bestpractical.com/training