Re: [rt-users] a couple bugs in RT 3.8.3

2009-06-04 Thread Jo Rhett

On Jun 4, 2009, at 5:44 AM, Guadagnino Cristiano wrote:
-  the new "homepage refresh interval" option in "preferences"  
doesn't work


This works for me.

- when I'm root and I click on "configuration"->"users"- 
>"whichever_user_name"->"History", I have this error message:


Can't locate object method "Name" via package "No object mapping for  
field" (perhaps you forgot to load "No object mapping for field"?)  
at /opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT- 
Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand  
line 7.


it seems the culprit is the "ForkTicket" extension… maybe it is  
broken by the recent upgrade?


Yes, one of the callbacks is.   My hack was such: (note that this also  
disables Pre/Post-task which we don't use -- but you can easily add  
them back in)


--- ModifyCommand_orig  2009-02-19 11:42:06.0 -0800
+++ ModifyCommand   2009-06-02 15:49:50.0 -0700
@@ -4,10 +4,15 @@
 my $PosttaskURL = "[CreateType=Posttask&QuoteTransaction=" . $Transaction->Id .  
"\">PostTask]";
 my $CloneURL = "[CreateType=Clone&QuoteTransaction=" . $Transaction->Id . "\">Clonea>]";


-if ($Transaction->Type =~ /^(Create|Correspond|Comment)$/ && $Ticket- 
>QueueObj->Name !~ /^(Approval)$/ && $Transaction->TicketObj- 
>CurrentUserHasRight('ModifyTicket')) {

-   $$titlebar_cmd .= $PretaskURL;
-   $$titlebar_cmd .= $PosttaskURL;
-   $$titlebar_cmd .= $CloneURL;
+if( ref( $Ticket->QueueObj ) ) {
+   if ($Transaction->Type =~ /^(Create|Correspond|Comment)$/ &&  
$Ticket->QueueObj->Name !~ /^(Approval)$/ && $Transaction->TicketObj- 
>CurrentUserHasRight('ModifyTicket')) {

+   $$titlebar_cmd .= $CloneURL;
+   }
+}
+else {
+   if ($Transaction->Type =~ /^(Create|Correspond|Comment)$/ &&  
$Transaction->TicketObj->CurrentUserHasRight('ModifyTicket')) {

+   $$titlebar_cmd .= $CloneURL;
+   }
 }
 
 <%ARGS>




--
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

Re: [rt-users] RT ExternalAuth LDAP and Adding Local users in 3.8.2

2009-06-04 Thread Ruslan Zakirov
Ken, to cleanup the mess you can use MergeUsersHistory extesion. From
the beginning I want to note that it's been tested only on RT 3.8 and
it's recommended to check changes it makes very carefully. I suggest
you to do it as part of migration from 3.6 to 3.8 with careful testing
of everything.

If you know that later you wouldn't have duplicates because of
canonicalization (LDAP or some other way) then it's all you need. You
even can delete duplicates from DB using shredder.

Otherwise MergeUsers extension can be used to make two accounts in
RT's Users table behave like one.

On Thu, Jun 4, 2009 at 8:24 PM, Ken Crocker  wrote:
> Cass,
>
>     You mentioned in your response that when you went to 3.8 you had trouble
> with multiple users of the same email address. I have a similar problem.
>     I am on 3.6.4 and have a bunch of users out there with the email address
> as the User Name due to them being added automatically as watchers. When
> they sign on (Using LDAP) at a later date, they get a new UserID, correct
> name, SAME Email address. Now I have 2 id's for the same user. I want to
> clean that mess up before I upgrade to 3.8.
>     So, how did you go about cleaning up the mess?
>     Also, do you have any suggestions on how to config my RT so that when a
> User is added automatically as a watcher, RT will create a real User Name
> and NOT use the Email address? Thanks.
>
> Kenn
> LBNL
>
> On 6/3/2009 3:06 PM, Cassandra L. Brockett wrote:
>
> ((Apologies for top-posting, but it's just easier at the moment for me to
> use outlook to send email))
>
> I can answer a few of your questsions:-
> 1) Users with multiple email addresses on our system become one single user,
> the LDAP query finds the one user responsible for the email address, and
> just link the submitted ticket to the correct ID.
>
> 2) You cannot have multiple RT accounts with the same email address in the
> system, we had a lot of cleanup when we migrated to 3.8.2 from a badly
> botched install of 3.6, and this was our biggest hassle.
>
> 3) I have AutoCreateNonExternalUsers on, but that's mostly because of the
> nature of the business my company is in :)  However, the system seems to
> work fine with that disabled, and it doesn't autocreate any non-LDAP
> accounts unless you do so yourself.
>
> On another level, I know you'll hear this from a lot of angles, but it
> always deserves to be said... You should try this sort of thing out on a
> test system before setting it up in production...  Especially when dealing
> with things like authentication, you really want to make sure youself that
> it does what you want it to do...
>
> --
> Cass
>
>
> -Original Message-
> From: rt-users-boun...@lists.bestpractical.com
> [mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Susan McClure
> Sent: Wednesday, June 03, 2009 2:30 PM
> To: rt-users@lists.bestpractical.com
> Cc: Susan McClure
> Subject: [rt-users] RT ExternalAuth LDAP and Adding Local users in 3.8.2
>
> I have been reading the postings about RT-Authen-ExternalAuth but am
> confused on what appears to be some conflicting setup information.
>
> I am using:
>   RT 3.8.2
>   RT-Authen-ExternalAuth 0.08
>
> I would like to use LDAP for authentication and information first, and that
> part seems to work OK.
> But  I also would like to:
>   - add LOCAL users to RT internal DB (i.e; test and test-admin type
> accounts)
>   - NOT autocreate a new RT account, if we receive an email from a user that
> is unknown in local RT or LDAP.
>   - NOT make multiple accounts for a user's multiple email aliases.
> (Our ldap contains several email addresses for each user (uid) )
>
>
> When I try to add a local account through the Web(using Root,
> Configuration->Users->Create). I receive the error "Name in Use"
> The username I am trying to create is NOT in existence, but the email for
> that new account IS.
>
> My  error_log shows:
> ==
>
>
> [Tue Jun  2 17:45:21 2009] [debug]: User Check Failed :: ( My_LDAP )
> root User not found
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/
> lib/RT/Authen/ExternalAuth/LDAP.pm:318)
> [Tue Jun  2 17:45:21 2009] [debug]: Autohandler called ExternalAuth.
> Response: (0, No User)
> (/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/
> html/Callbacks/ExternalAuth/autohandler/Auth:26)
> [Tue Jun  2 17:45:21 2009] [info]: Successful login for root from
> 168.7.56.227 (/usr/site/rt-3.8/PROD/share/html/autohandler:276)
> [Tue Jun  2 17:46:40 2009] [debug]: /ServiceUpdate/Elements/Header
> calls old style callback, use $m->callback
> (/usr/site/rt-3.8/PROD/share/html/Elements/Callback:51)
> [Tue Jun  2 17:46:40 2009] [crit]: HasRight called with no valid
> object (/usr/site/rt-3.8/PROD/bin/../lib/RT/Principal_Overlay.pm:322)
> [Tue Jun  2 17:51:36 2009] [debug]:
> RT::Authen::ExternalAuth::CanonicalizeUserInfo called by RT::User
> /opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-Ext

Re: [rt-users] Making RT and Altiris play nice

2009-06-04 Thread Jason A. Smith
On Thu, 2009-06-04 at 14:17 -0700, Tom Lahti wrote:
> > Medium Incident #11495 has been reassigned by Somebody
> > 
> > So of course our RT makes it:
> > 
> > [rt.local #104] Medium Incident #11495 has been reassigned by Somebody
> > 
> > Anytime the Altiris system updates their ticket we create a new one and
> > anytime RT updates our ticket they create a new one.
> > 
> > If anyone has ideas around this issue, I would love to hear them.
> 
> You need a script at both ends to massage the outgoing subject into the one
> needed by the other end, after it comes out of the tracking system in
> question.  It would need to store ticket number associations for future
> emails, possibly in a database table.  You could attach this script to a
> special email alias just for this purpose on both ends, which then generates
> a new email with the desired subject line to the real email address for the
> tracking system.

We have a system setup here to receive emails from a few different
ticketing systems (FootPrints, Remedy & GGUS).  Our system works with a
few coordinated pieces, using custom fields in RT to store the other
ticketing system's identifier.

1.  A scrip in RT is triggered on transactions and when a message is
present it scans the message subject for an appropriate regex pattern
that identifies an external ticketing system and saves the identifier in
a custom field.

2.  A procmail filter script that processes all incoming email before it
is passed to the rt-mailgate.  This filter does the same subject search
for the external ticketing system's identifier.  When an identifier is
found, the RT API is used to perform a search on the appropriate custom
field.  When a matching ticket is found, the email subject is modified
to insert our RT ticket identifier for that matching ticket number,
which allows the rt-mailgate to route the email to the correct RT
ticket.  This filter, if necessary, will also modify the ticket subject
directly in RT to contain the identifier of all ticket systems, so email
sent by RT should be accepted by the other ticket systems and routed
properly (assuming that they tag email subjects with their identifiers
just like RT does).

To prevent mail loops, we need to have NotifyActor disabled on our RT
server.  Also, since some other ticket systems have their equivalent of
NotifyActor enabled, emails we receive for resolved RT tickets have our
RT address modified to the comment address to prevent reopening tickets.
Otherwise the resolved email RT sends would reopen the ticket when the
other ticketing system echos that email back to us.

~Jason


-- 
/--\
|  Jason A. Smith  Email:  smit...@bnl.gov |
|  Atlas Computing Facility, Bldg. 510MPhone: +1-631-344-4226  |
|  Brookhaven National Lab, P.O. Box 5000  Fax:   +1-631-344-7616  |
|  Upton, NY 11973-5000,  U.S.A.   |
\--/



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

Re: [rt-users] Only Plain Text Mails.

2009-06-04 Thread Rana Tanveer
Hi

I have added Content-Type: text/html below to RT-Attach-Message: Yes
like:

RT-Attach-Message: Yes
Content-Type: text/html

Now RT is sending mails in html but behavior of ticket creation and
replies is changed.
is there any way to use Content-Type: text/html  in templates so
default behavoviour dies not change. now i am getting mails like this.

=
...
To: undisclosed-recipients:;

This is a multi-part message in MIME format...

=_1244127537-8544-41
Content-type: multipart/alternative;
boundary="--=_1244127537-8544-40"
Content-Transfer-Encoding: 8bit

This is a multi-part message in MIME format...

=_1244127537-8544-40
RT-Attach-Message: Yes
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8



=_1244127537-8544-40
Content-Type: text/html; charset="utf-8"
X-RT-Original-Encoding: utf-8

https://ticket.mypublicdomain.com/Ticket/Display.html?id=34104

>




=_1244127537-8544-40--

=_1244127537-8544-41
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
RT-Attachment: 34104/955621/1213614

AOA Sir,

This is test message


=_1244127537-8544-41
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
RT-Attachment: 34104/955621/1213615

[Attachment stripped: Original attachment type: "application/zip", name:
"HEALTH CARDS SCAN 01.zip"]
=_1244127537-8544-41--



I have tried different methods mentioned in wiki of templates but no help.

can someone guide how to set the templates ?

or  RT 3.8.2  is buggy ? as these kind of problem never come in any
previous versions.



On Tue, Jun 2, 2009 at 6:18 AM, Rana Tanveer  wrote:
>
> Hi Kavin
>
>
> I have tried hard to implement according to your advise. but unfortunately it 
> does not work or may i did something wrong.
>
> http://code.bestpractical.com/bps-public/rt/3.8/trunk/docs/templates.pod
>
> can you please give me some exact example so that i use that with little 
> modification.
>
> I have spent 10 hours for this task to sent mails in text/html.
>
> i am thinking about to modify SendEmail.pm, as this was not the right way to 
> deal with so i did not change this file. as it is clearly mentioned here that 
> for security reason we only send textual mails.
>
> can you please help ?
>
> Part of the
>
> /usr/lib/perl5/vendor_perl/5.10.0/RT/Action/SendEmail.pm
>
> # For security reasons, we only send out textual mails.
> foreach my $part ( grep !$_->is_multipart, $MIMEObj->parts_DFS ) {
> .
> .
> .
>
> On May 31, 2009, at 12:32 AM, Rana Tanveer wrote:
>
> > I am using RT 3.8.2, but RT is sending only plain text messages.
>
> Please read docs/templates.pod in your RT tarball which
> describes the steps necessary to generate outgoing HTML
> email (the settings below only affect display of mail within
> RT)
>
> -kevin
>
>
> >
> > i used below setting but same result.
> >
> > Set($PreferRichText, 1);
> > Set($MessageBoxRichText, 1);
> > Set($MessageBoxRichTextHeight, 200);
> >
> > I even try to search mailing lists but no luck.
> >
> > could anyone guide me what is wrong, or what might should i have to
> > use ?
> >
> > --
> > -
> > Rana Tanveer
> > +923224194457
> > http://www.sysadminsline.com
> > -
>
> On Sun, May 31, 2009 at 10:32 AM, Rana Tanveer  wrote:
>>
>> Hi Every one.
>>
>> I am using RT 3.8.2, but RT is sending only plain text messages.
>>
>> i used below setting but same result.
>>
>> Set($PreferRichText, 1);
>> Set($MessageBoxRichText, 1);
>> Set($MessageBoxRichTextHeight, 200);
>>
>> I even try to search mailing lists but no luck.
>>
>> could anyone guide me what is wrong, or what might should i have to use ?
>> --
>> -
>>   Rana Tanveer
>>  +923224194457
>> http://www.sysadminsline.com
>> -
>
>
> --
> -
>          Rana Tanveer
>         +923224194457
> http://www.sysadminsline.com
> -



--
-
         Rana Tanveer
        +923224194457
http://www.sysadminsline.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] Error installing fresh RT 3.8.3

2009-06-04 Thread Jay Vlavianos
I have been working on getting all of my dependencies installed and now
when I include the VirtualHost for the RT site in apache, apache dies
with the following error:

[Thu Jun 04 03:22:48 2009] [error] Global $r object is
not available. Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at
/usr/lib/perl5/site_perl/5.8.8/Apache/DBI.pm line 144.\nCompilation
failed in require at (eval 5) line 1.\n
[Thu Jun 04 03:22:48 2009] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server newrt.corp.ecastinc.com:0, exiting...

I plugged in the supposed fix I found on gossamer forums for the
webmux.pl to add the Apache::Request to fix it, but then apache barfs
with:

[Thu Jun 04 03:21:25 2009] [error] Can't locate
Apache/RequestUtil.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 . /usr/local/apache2) at /opt/rt3/bin/webmux.pl
line 92.\nCompilation failed in require at (eval 5) line 1.\n
[Thu Jun 04 03:21:25 2009] [error] Can't load Perl file:
/opt/rt3/bin/webmux.pl for server newrt.corp.ecastinc.com:0, exiting...

Even though I have linked the RequestUtil.pm into the @INC path.

Is this an artifact from running new the RT 3.8.3?

Running on Apache 2.2.x with mod_perl2.

Thanks!
-Jay

___
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] Scrip Action clarification

2009-06-04 Thread Kenneth Marshall
Right, that is what I meant but you stated it more accurately.

Cheers,
Ken

On Fri, Jun 05, 2009 at 12:46:12AM +0400, Ruslan Zakirov wrote:
> NO. The only difference is the reply address of an email that is send
> out of RT (notification). Reply using MUA to a comment email will end
> up in RT as a comment otherwise it would be a reply.
> 
> On Thu, Jun 4, 2009 at 7:39 PM, GravyFace  wrote:
> > Thanks, Ken.
> >
> > On Thu, Jun 4, 2009 at 10:59 AM, Kenneth Marshall  wrote:
> >> Yes.
> >>
> >> Ken
> >>
> >> On Thu, Jun 04, 2009 at 10:51:58AM -0400, GravyFace wrote:
> >>> Ok, so "Notify AdminCcs" would be correspondence that the requestor would 
> >>> see?
> >>>
> >>> On Thu, Jun 4, 2009 at 10:48 AM, Kenneth Marshall  wrote:
> >>> > A reply to the second one will go in as a comment, not a reply.
> >>> >
> >>> > Cheers,
> >>> > Ken
> >>> >
> >>> > On Thu, Jun 04, 2009 at 10:46:28AM -0400, GravyFace wrote:
> >>> >> Can someone clarify what the difference is between "Notify AdminCcs"
> >>> >> and "Notify AdminCcs as Comment"?
> >>> >> ___
> >>> >> 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] Making RT and Altiris play nice

2009-06-04 Thread Tom Lahti
> Medium Incident #11495 has been reassigned by Somebody
> 
> So of course our RT makes it:
> 
> [rt.local #104] Medium Incident #11495 has been reassigned by Somebody
> 
> Anytime the Altiris system updates their ticket we create a new one and
> anytime RT updates our ticket they create a new one.
> 
> If anyone has ideas around this issue, I would love to hear them.

You need a script at both ends to massage the outgoing subject into the one
needed by the other end, after it comes out of the tracking system in
question.  It would need to store ticket number associations for future
emails, possibly in a database table.  You could attach this script to a
special email alias just for this purpose on both ends, which then generates
a new email with the desired subject line to the real email address for the
tracking system.

-- 
-- 
   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] Making RT and Altiris play nice

2009-06-04 Thread Jeremy Winder
When we started talking about implementing RT it was to solve an issue
we have between our help desk and the help desk of our biggest customer.
The idea was to have their Altiris system send emails to our RT install
regarding issues we needed to deal with, and for RT to be able to keep
their Altiris system updated as to whether the ticket was rejected or
completed by us.

One of the unforeseen issues is the email loop caused by both systems
tracking email correspondence by ticket number in the subject. Altiris
sets the subject to something like:

Medium Incident #11495 has been reassigned by Somebody

So of course our RT makes it:

[rt.local #104] Medium Incident #11495 has been reassigned by Somebody

Anytime the Altiris system updates their ticket we create a new one and
anytime RT updates our ticket they create a new one.

If anyone has ideas around this issue, I would love to hear them.

Thanks in advance,

Jeremy

___
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] RT 3.6.5 -- can I make URLs in ticket history clickable?

2009-06-04 Thread Beachey, Kendric
I'm working on an upgrade from 2.0.11 to 3.6.5 (that's what the admins
gave me) and getting all the pieces in place.

Sometimes our users include urls in their replies, and our old 2.0.11 RT
automatically turns these into clickable hyperlinks.  The new one is not
doing this.  Is there a config setting or something that I am missing?

Thanks...
--
Kendric Beachey

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient. If you are not the intended recipient, please be 
aware that any disclosure, copying, distribution or use of this e-mail or any 
attachment is prohibited. If you have received this e-mail in error, please 
contact the sender and delete all copies.

Thank you for your cooperation.
___
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] Scrip Action clarification

2009-06-04 Thread Ruslan Zakirov
NO. The only difference is the reply address of an email that is send
out of RT (notification). Reply using MUA to a comment email will end
up in RT as a comment otherwise it would be a reply.

On Thu, Jun 4, 2009 at 7:39 PM, GravyFace  wrote:
> Thanks, Ken.
>
> On Thu, Jun 4, 2009 at 10:59 AM, Kenneth Marshall  wrote:
>> Yes.
>>
>> Ken
>>
>> On Thu, Jun 04, 2009 at 10:51:58AM -0400, GravyFace wrote:
>>> Ok, so "Notify AdminCcs" would be correspondence that the requestor would 
>>> see?
>>>
>>> On Thu, Jun 4, 2009 at 10:48 AM, Kenneth Marshall  wrote:
>>> > A reply to the second one will go in as a comment, not a reply.
>>> >
>>> > Cheers,
>>> > Ken
>>> >
>>> > On Thu, Jun 04, 2009 at 10:46:28AM -0400, GravyFace wrote:
>>> >> Can someone clarify what the difference is between "Notify AdminCcs"
>>> >> and "Notify AdminCcs as Comment"?
>>> >> ___
>>> >> 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] Anyway to autologin to RT 3.8.2 with LDAP?

2009-06-04 Thread Gary Greene


From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin Gagel
Sent: Thursday, June 04, 2009 1:32 PM
To: RT Users
Subject: Re: [rt-users] Anyway to autologin to RT 3.8.2 with LDAP?


That looks like a viable option if I can't figure it out using the 
RT_External_Auth module.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel


--- Original message --- 
Subject: Re: [rt-users] Anyway to autologin to RT 3.8.2 with LDAP? 
From: Kevin Falcone  
To: RT Users  
Date: 04/06/2009 1:28 PM

On Jun 4, 2009, at 1:10 PM, Kevin Gagel wrote:

> Can anyone tell me if there is a way to autologin to RT when we're
> using LDAP?
>
> I have other web based utilities that I've managed to configure the
> browser to auto login to that console. I'd like to extend that to
> RT. Any pointers on how or any how to on that subject?

You should be able to use mod_auth_kerb and apache to do this.

-kevin
 

LDAP alone cannot make SSO work, since you need some sort of cookie aspect to 
allow the browser to authenticate you, thus why Kevin Falcone suggested Krb5 
which more than a few browsers understand how to use against the mod_auth_kerb 
module.
 

--
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

Re: [rt-users] Anyway to autologin to RT 3.8.2 with LDAP?

2009-06-04 Thread Kevin Gagel
That looks like a viable option if I can't figure it out using the 
RT_External_Auth module.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel


--- Original message ---
Subject: Re: [rt-users] Anyway to autologin to RT 3.8.2 with LDAP?
From: Kevin Falcone 
To: RT Users 
Date: 04/06/2009 1:28 PM

On Jun 4, 2009, at 1:10 PM, Kevin Gagel wrote:

> Can anyone tell me if there is a way to autologin to RT when we're
> using LDAP?
>
> I have other web based utilities that I've managed to configure the
> browser to auto login to that console. I'd like to extend that to
> RT. Any pointers on how or any how to on that subject?

You should be able to use mod_auth_kerb and apache to do this.

-kevin
___
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 
athttp://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] Anyway to autologin to RT 3.8.2 with LDAP?

2009-06-04 Thread Kevin Falcone
On Jun 4, 2009, at 1:10 PM, Kevin Gagel wrote:

> Can anyone tell me if there is a way to autologin to RT when we're  
> using LDAP?
>
> I have other web based utilities that I've managed to configure the  
> browser to auto login to that console. I'd like to extend that to  
> RT. Any pointers on how or any how to on that subject?

You should be able to use mod_auth_kerb and apache to do this.

-kevin
___
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] Asset Tracker

2009-06-04 Thread Stephen Cochran
I was just looking at the Asset Tracker package and reading through the
threads in the archives.

Does anyone have any screenshots on what it looks like in 3.8.x?

Second question is what is the DB structure for the assets, specifically
what fields available?

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

Re: [rt-users] Anyway to autologin to RT 3.8.2 with LDAP?

2009-06-04 Thread Mike Peachey
Kevin Gagel wrote:
> Can anyone tell me if there is a way to autologin to RT when we're using
> LDAP?
> 
> I have other web based utilities that I've managed to configure the
> browser to auto login to that console. I'd like to extend that to RT.
> Any pointers on how or any how to on that subject?

Clarify what you mean. Do you mean by logging in to some other web
system you can then login to RT without further authentication, or are
you talking about certificate based login so the browser keeps a
certificate and uses it to automagically authenticate?

-- 
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] RTFM 2.4.1 can't locate ACLEquivalenceObjects

2009-06-04 Thread Kat Wenger




That did the trick.  Thank you!  :)

--Kat

Roedel, Mark wrote:

  
  
  

  
  I
fixed this after upgrading to RT 3.8.3 by pulling the
current-at-the-time SVN trunk for RTFM.  I believe the needed changes
are
also included in the RTFM 2.4.2 RC that was announced earlier this week.
   
  
  --
  Mark
Roedel
  Webmaster
  LeTourneau
University
  
   
  
  
  From:
rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kat
Wenger
  Sent: Wednesday, June 03, 2009 8:51 AM
  To: rt-users@lists.bestpractical.com
  Subject: [rt-users] RTFM 2.4.1 can't locate
ACLEquivalenceObjects
  
  
   
  Hi all, 
  
I have a fresh installation of RT 3.8.3 and RTFM 2.4.1 on Red Hat 5
with Apache
2.2.3 .  Followed the install instructions in the README for RTFM,
cleared
the mason cache and restarted apache, but when I go to add a class or a
Topic,
or modify an ACL, I get the following:  
  
  Can't locate object method
"ACLEquivalenceObjects" via package "RT::FM::System" at
/opt/rt3/bin/../lib/RT/Principal_Overlay.pm line 327. 
  
Tried a make dropdb/make initdb both as rt_user and as the DBA, but no
such
luck.  lib/rt/Ticket_Overlay.pm does have the appropriate sub in it. 
  
  
I'm lost as to what else to try at this point...could someone point me
in the
right direction?  Thanks!
  

  
  
  Spam
  Not
spam
  Forget
previous vote
  



-- 
Kat
Wenger
CSE Operations Specialist
The Ohio State University

"If the English language made any sense, a catastrophe would be an
apostrophe with fur."
— Doug Larson






begin:vcard
fn:Kat Wenger
n:Wenger;Kat
org:The Ohio State University;Computer Science & Engineering
adr:2015 Neil Avenue;;897 Dreese Labs;Columbus;OH;43210;USA
email;internet:wenger...@osu.edu
title:Operations Specialist
tel;work:(614) 247-2480
tel;fax:(614) 292-2911
tel;cell:(614) 570-4685
x-mozilla-html:TRUE
url:http://www.cse.ohio-state.edu/~wengerk
version:2.1
end:vcard

___
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 3.8.2 and could not load a valid user problem.

2009-06-04 Thread Rana Tanveer
Hi,

This is what i am getting in logs:

un  4 16:52:18  RT: No permission to create tickets in the queue 'foo'
(/usr/lib/perl5/vendor_perl/5.10.0/RT/Interface/Email.pm:244)
Jun  4 16:52:18  RT: Could not record email: Ticket creation failed:
No permission to create tickets in the queue 'foo'
(/usr/share/rt3/html/REST/1.0/NoAuth/mail-gateway:75)

Is it possible to send copy of this error msg to RT owner/admin
Rana Tanveer


2009/6/4 Rana Tanveer 

>
>
> 2009/6/4 Odhiambo ワシントン 
>
> On Thu, Jun 4, 2009 at 4:08 PM, Rana Tanveer wrote:
>>
>>> Hi Community and RT Admins
>>>
>>> I have upgrade from RT 3.8.1 to 3.8.2, but i am facing some problem
>>> regarding RT bounce mails.
>>>
>>> is there any change in RT 3.8.2 ? as from some unprivileged users it
>>> bounce mails and for some it does not. ?
>>>
>>> In Earlier version RT was bouncing every single mail sending by
>>> unprivileged users.
>>>
>>> I have configured my RT in such a way that unprivileged users can't
>>> create tickets, so mails should be bounce in the form "Could not load a
>>> valid user" ? if unprivileged user try to send mail to any Q.
>>>
>>> As I am loosing my important mails, could any one guide me what changes
>>> are made in RT 3.8.2 ?
>>
>>
>> This one, you really have to behave like the sysadmin that you are.
>> Everytime I made up my mind to upgrade RT because there was need for me
>> to, I'd do:
>>
>> cp -Rp /opt/rt /opt/rt-RT_VERSION-backup-$DATE
>> mysqldump rt > rt-RT_VERSION-dbbackup-$DATE (Well, I always use MySQL)
>>
>> After these I would upgrade and test, test, test (when everyone is
>> supposedly asleep!)
>>
>> If the upgrade is causing you pain, you can back off to the previous
>> version.
>>
>> Otherwise you need to provide some logging information about what is
>> happening.
>>
>> Do you see anything in the ChangeLog that might be related to your
>> problems?
>>
>>
>> --
>> Best regards,
>> Odhiambo WASHINGTON,
>> Nairobi,KE
>> +254733744121/+254722743223
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>> "Clothes make the man.  Naked people have little or no influence on
>> society."
>>   -- Mark Twain
>>
>
>
> Thanks Odhiambo  for your quick response:
>
> i have backup, but there are many transactions during, if i opt to  RT
> fallback, than how to downgrade RT DB ? that is also an issue.
>
> i am checking logging information, and will update.
>
> --
> -
>  Rana Tanveer
> +923224194457
> http://www.sysadminsline.com
> -
>



-- 
-
 Rana Tanveer
+923224194457
http://www.sysadminsline.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] Anyway to autologin to RT 3.8.2 with LDAP?

2009-06-04 Thread Kevin Gagel
Can anyone tell me if there is a way to autologin to RT when we're using LDAP?

I have other web based utilities that I've managed to configure the browser to 
auto login to that console. I'd like to extend that to RT. Any pointers on how 
or any how to on that subject?

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel



___
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] RTFM 2.4.1 can't locate ACLEquivalenceObjects

2009-06-04 Thread Roedel, Mark
I fixed this after upgrading to RT 3.8.3 by pulling the
current-at-the-time SVN trunk for RTFM.  I believe the needed changes
are also included in the RTFM 2.4.2 RC that was announced earlier this
week.

 

--

Mark Roedel

Webmaster

LeTourneau University

 

From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kat
Wenger
Sent: Wednesday, June 03, 2009 8:51 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] RTFM 2.4.1 can't locate ACLEquivalenceObjects

 

Hi all, 

I have a fresh installation of RT 3.8.3 and RTFM 2.4.1 on Red Hat 5 with
Apache 2.2.3 .  Followed the install instructions in the README for
RTFM, cleared the mason cache and restarted apache, but when I go to add
a class or a Topic, or modify an ACL, I get the following:  

Can't locate object method "ACLEquivalenceObjects" via package
"RT::FM::System" at /opt/rt3/bin/../lib/RT/Principal_Overlay.pm line
327. 

Tried a make dropdb/make initdb both as rt_user and as the DBA, but no
such luck.  lib/rt/Ticket_Overlay.pm does have the appropriate sub in
it.  

I'm lost as to what else to try at this point...could someone point me
in the right direction?  Thanks!

___
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-3.8.3, RT-Authen-ExternalAuth-0.08 login issue

2009-06-04 Thread Matt Millard


On Thu, Jun 4, 2009 at 3:27 AM, Mike Peachey 
wrote:

Wed 03 Jun 2009 19:24:45 GMT
Matt Millard wrote:

I'm gonna keep this brief:

1. Remove ldap:// from the server URI, I don't know off the top of
my
head if it would work or not, but it certainly works without it.


Removed and made no difference.



2. As per the README, the ExternalAuth settings need to be pasted
into
your normal RT_SiteConfig.pm. If you leave them in the example file
in
the plugins directory, they will not be read.


The should be included if I add the "require" line in my
RT_SiteConfig.pm though.  I moved them over to the RT_SiteConfig.pm
anyway and removed the require.  No difference.


3. You have a dead line in your config:

Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDAP','Other-DB']);
Set($ExternalAuthPriority,['My_LDAP']);


This first line was actually already commented out.  So no difference.



Kill the first one.

4. The stack trace for the Failed Login message is of no use. You
need
to enable debug logging, and log to file. This will give you very
verbose output as to precisely what is happening with the LDAP side
of
things.


Logging turned on now and I still was just seeing invalid user/password
errors.  So I started going line by line through my config and triple
checking everything.  It turns out I had a typo in the ldap server name.
 Very frustrating as that was cleansed when I sent to the list.  At
least it is working now.  Very frustrated that it was a typo on my part
though.


Have fun.

--
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
__





--- 
  Matt Millard
  gocyclo...@eml.cc
  http://photos.millardfam.com
  http://snipurl.com/mattsshareditems

___
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 ExternalAuth LDAP and Adding Local users in 3.8.2

2009-06-04 Thread Ken Crocker

Cass,

   You mentioned in your response that when you went to 3.8 you had 
trouble with multiple users of the same email address. I have a similar 
problem.
   I am on 3.6.4 and have a bunch of users out there with the email 
address as the User Name due to them being added automatically as 
watchers. When they sign on (Using LDAP) at a later date, they get a new 
UserID, correct name, SAME Email address. Now I have 2 id's for the same 
user. I want to clean that mess up before I upgrade to 3.8.

   So, how did you go about cleaning up the mess?
   Also, do you have any suggestions on how to config my RT so that 
when a User is added automatically as a watcher, RT will create a /real/ 
User Name and NOT use the Email address? Thanks.


Kenn
LBNL

On 6/3/2009 3:06 PM, Cassandra L. Brockett wrote:

((Apologies for top-posting, but it's just easier at the moment for me to use 
outlook to send email))

I can answer a few of your questsions:-
1) Users with multiple email addresses on our system become one single user, 
the LDAP query finds the one user responsible for the email address, and just 
link the submitted ticket to the correct ID.

2) You cannot have multiple RT accounts with the same email address in the 
system, we had a lot of cleanup when we migrated to 3.8.2 from a badly botched 
install of 3.6, and this was our biggest hassle.

3) I have AutoCreateNonExternalUsers on, but that's mostly because of the 
nature of the business my company is in :)  However, the system seems to work 
fine with that disabled, and it doesn't autocreate any non-LDAP accounts unless 
you do so yourself.

On another level, I know you'll hear this from a lot of angles, but it always 
deserves to be said... You should try this sort of thing out on a test system 
before setting it up in production...  Especially when dealing with things like 
authentication, you really want to make sure youself that it does what you want 
it to do...

--
Cass


-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Susan McClure
Sent: Wednesday, June 03, 2009 2:30 PM
To: rt-users@lists.bestpractical.com
Cc: Susan McClure
Subject: [rt-users] RT ExternalAuth LDAP and Adding Local users in 3.8.2

I have been reading the postings about RT-Authen-ExternalAuth but am confused 
on what appears to be some conflicting setup information.

I am using:
  RT 3.8.2
  RT-Authen-ExternalAuth 0.08

I would like to use LDAP for authentication and information first, and that 
part seems to work OK.
But  I also would like to:
  - add LOCAL users to RT internal DB (i.e; test and test-admin type
accounts)
  - NOT autocreate a new RT account, if we receive an email from a user that is 
unknown in local RT or LDAP.
  - NOT make multiple accounts for a user's multiple email aliases.
(Our ldap contains several email addresses for each user (uid) )


When I try to add a local account through the Web(using Root,
Configuration->Users->Create). I receive the error "Name in Use"
The username I am trying to create is NOT in existence, but the email for that 
new account IS.

My  error_log shows:
==
  
[Tue Jun  2 17:45:21 2009] [debug]: User Check Failed :: ( My_LDAP ) 
root User not found 
(/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/

lib/RT/Authen/ExternalAuth/LDAP.pm:318)
[Tue Jun  2 17:45:21 2009] [debug]: Autohandler called ExternalAuth. 
Response: (0, No User)

(/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/
html/Callbacks/ExternalAuth/autohandler/Auth:26)
[Tue Jun  2 17:45:21 2009] [info]: Successful login for root from 
168.7.56.227 (/usr/site/rt-3.8/PROD/share/html/autohandler:276)
[Tue Jun  2 17:46:40 2009] [debug]: /ServiceUpdate/Elements/Header 
calls old style callback, use $m->callback 
(/usr/site/rt-3.8/PROD/share/html/Elements/Callback:51)
[Tue Jun  2 17:46:40 2009] [crit]: HasRight called with no valid 
object (/usr/site/rt-3.8/PROD/bin/../lib/RT/Principal_Overlay.pm:322)
[Tue Jun  2 17:51:36 2009] [debug]: 
RT::Authen::ExternalAuth::CanonicalizeUserInfo called by RT::User 
/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/l
ib/RT/User_Vendor.pm 20 with: Address1: , Address2: , AuthSystem: , 
City: , Comments: Admin Authority Level Account for RT, 
ContactInfoSystem: , Country: , Disabled: 0, EmailAddress: 
smccl...@rice.edu, EmailEncoding: , ExternalAuthId: , 
ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , 
Lang: en, MobilePhone: , Name: smcclure-admin, NickName: 
Smcclure-Admin,
Organization: , PagerPhone: , Privileged: 1, RealName: Susan McClure, 
Signature: , State: ,
WebEncoding: , WorkPhone: , Zip:  
(/opt/opt.CORE/rt-3.8/rhel4/PROD/local/plugins/RT-Authen-ExternalAuth/

lib/RT/Authen/ExternalAuth.pm:450)
[Tue Jun  2 17:51:36 2009] [debug]: Attempting to get user info using 
this external service: My_LDAP 
(/opt/opt.CORE/rt-3.8/rhel4/PROD/local/p

Re: [rt-users] Rights issue on Configuration -> Global -> RT at a glance on RT 3.8.2

2009-06-04 Thread Ken Crocker

Carlos,

   I may be mistaken, butI think the "ShowConfigTab" merely allows the 
user to see that tab and the functions under it. The user still needs to 
have other rights (like "ShowTemplate" and "ModifyTemplate") in order to 
see/modify templates and I'm sure the same situation exists for other 
objects to be modified.


Kenn
LBNL

On 6/4/2009 2:54 AM, Carlos Garcia Montoro wrote:

Sorry for posting this twice, but I'm trying to make it shorter.

Please, can anyone confirm me that a user who only has the global 
right "ShowConfigTab" is able to modify the global RT at a glance?


I'm using RT 3.8.2 and I would like to know if either I'm doing 
something wrong or this is the expected behaviour. If this were the 
second case, should this be considered a bug?


For a longer explanation, attached you can find my previous message.

Thanking you in advance,
Carlos



Subject:
[rt-users] Rights issue on Configuration -> Global -> RT at a glance 
on RT 3.8.2

From:
Carlos Garcia Montoro 
Date:
Fri, 29 May 2009 12:18:06 +0200
To:
rt-users@lists.bestpractical.com

To:
rt-users@lists.bestpractical.com


Hello,

I've a question/request about RT that I have been neither able to 
resolve from myself, nor have I found it at the RT wiki or googling 
this mailing list.


I'm newbie using RT. I'm installing an organizational RT (ver. 3.8.2). 
We have some departments that are autonomous of each other. Thus, I 
want to grant some privileges for every admin group of each 
department. I want to allow them to handle their own queues, groups, 
etc. But I also want not to allow them to modify others space. I have 
achieved this configuration, i.e. admins are only able to see their 
groups, admins can see all queues but they are only allowed to modify 
some properties (Cc, AdminCc,...)  of their own queues but not other 
queues. In order to do that I have granted them the global right 
"ShowConfigTab". Otherwise they had rights but they couldn't use them 
(they couldn't modify group membership of their groups,...).


The problem I'm suffering is this: When I grant the "ShowConfigTab" 
right to a user or group, I'm also granting privileges to modify the 
global RT at a glance. Let me show an example: Let me create a user 
foo who can be granted rights ("Let this user be granted rights" is 
checked). This new user isn't a member of any group, so he has no 
right rather than "Everyone" and "Privileged". At this moment, global 
rights for these groups are the default (no global right for 
"Everyone", and only "ShowApprovalsTab" for "Privileged"). In some 
queues "Everyone" has two rights "CreateTicket" and "SeeQueue", but as 
far as I know they only grant privileges for creating a new ticket in 
these queues. Let this user be granted the global "ShowConfigTab" 
right ( "Configuration" -> "Global" -> "User Rights", and there foo is 
granted to "ShowConfigTab"). Now let foo log in. This user can see the 
configuration tab, but he can't modify anything since he is not 
allowed to. If he tries to modify anything RT won't allow it and foo 
will read a permission denied message. But if foo goes to 
"Configuration" -> "Global" -> "RT at a glance" and there he deletes 
"QuickCreate", RT allows it saying "Global portlet body saved.". Now 
let the privileged user bar log in. The RT at a glance of bar has no 
longer the "QuickCreate" frame when it previously had it. Hence, I 
don't want to grant foo the right of modifying the global RT at a glance!


Is it the expected behaviour? Am I missing anything or doing something 
wrong?


Thank you,
Carlos

___
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
  
___
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] RTFM 2.4.1 can't locate ACLEquivalenceObjects

2009-06-04 Thread Kat Wenger




Hi all, 

I have a fresh installation of RT 3.8.3 and RTFM 2.4.1 on Red Hat 5
with Apache 2.2.3 .  Followed
the install instructions in the README for RTFM, cleared the mason
cache and restarted apache,
but when I go to add a class or a Topic, or modify an ACL, I get the
following:  

Can't locate object method
"ACLEquivalenceObjects" via package "RT::FM::System"
at /opt/rt3/bin/../lib/RT/Principal_Overlay.pm line 327. 

Tried a make dropdb/make initdb both as rt_user and as the DBA, but no
such luck.  lib/rt/Ticket_Overlay.pm does have the appropriate sub in
it.  

I'm lost as to what else to try at this point...could someone point me
in the right direction?  Thanks!


-- 
Kat
Wenger
CSE Operations Specialist
The Ohio State University

"If the English language made any sense, a catastrophe would be an
apostrophe with fur."
— Doug Larson





begin:vcard
fn:Kat Wenger
n:Wenger;Kat
org:The Ohio State University;Computer Science & Engineering
adr:2015 Neil Avenue;;897 Dreese Labs;Columbus;OH;43210;USA
email;internet:wenger...@osu.edu
title:Operations Specialist
tel;work:(614) 247-2480
tel;fax:(614) 292-2911
tel;cell:(614) 570-4685
x-mozilla-html:TRUE
url:http://www.cse.ohio-state.edu/~wengerk
version:2.1
end:vcard

___
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] Scrip Action clarification

2009-06-04 Thread GravyFace
Thanks, Ken.

On Thu, Jun 4, 2009 at 10:59 AM, Kenneth Marshall  wrote:
> Yes.
>
> Ken
>
> On Thu, Jun 04, 2009 at 10:51:58AM -0400, GravyFace wrote:
>> Ok, so "Notify AdminCcs" would be correspondence that the requestor would 
>> see?
>>
>> On Thu, Jun 4, 2009 at 10:48 AM, Kenneth Marshall  wrote:
>> > A reply to the second one will go in as a comment, not a reply.
>> >
>> > Cheers,
>> > Ken
>> >
>> > On Thu, Jun 04, 2009 at 10:46:28AM -0400, GravyFace wrote:
>> >> Can someone clarify what the difference is between "Notify AdminCcs"
>> >> and "Notify AdminCcs as Comment"?
>> >> ___
>> >> 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] Problem with CustomCondition

2009-06-04 Thread Ruslan Zakirov
OldValue and NewValue are not strings, but numbers - queues' IDs. Most
probably this is issue you're facing. It's not cleat from your
message.

On Thu, Jun 4, 2009 at 10:22 AM, Martin B.  wrote:
>
> Hey,
>
> i want to write a CustomCondition who activate a action if the queue is
> changed from x to y
>
> this is my code:
>
> return 0 unless $self->TransactionObj->Type eq "Set";
> return 0 unless $self->TransactionObj->Field eq "Queue";
> return 0 unless $self->TransactionObj->NewValue == "y";
> return 0 unless $self->TransactionObj->OldValue == "x";
> return 1;
>
> It does not work :-(
>
> But when i delete the line
> return 0 unless $self->TransactionObj->OldValue == "x";
> it is all OK - but now start the action, even if the old value is not "x"
>
> Martin
>
> --
> View this message in context: 
> http://www.nabble.com/Problem-with-CustomCondition-tp23827737p23827737.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: 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] Oracle CLOB error

2009-06-04 Thread Ruslan Zakirov
I think it's been fixed in 3.8.3

On Thu, Jun 4, 2009 at 7:05 PM, Maria Quinn  wrote:
> I've installed RT 3.8.2 on Redhat 4.1.2 with Oracle and DBD::Oracle 1.2.2.
>
> I'm getting the following errors in /var/log/messages as a result of
> forwarding a ticket:
>
> Jun  4 12:48:35 vbchwebt RT: DBD::Oracle::db prepare failed:
> ORA-00932: inconsistent datatypes: expected - got CLOB (DBD ERROR:
> error possibly near <*          > indicator at char 44 in 'SELECT
> main.* FROM Attachments main  WHERE (<*>main.Content != '') AND
> (main.TransactionId = '26') AND (main.id != '1')
> AND           (main.ContentType NOT LIKE 'multipart/%')  ORDER BY
> main.id ASC ') [for Statement "SELECT main.* FROM Attachments
> main  WHERE (main.Content != '') AN          D (main.TransactionId =
> '26') AND (main.id != '1') AND (main.ContentType NOT LIKE
> 'multipart/%')  ORDER BY main.id ASC "] at
> /usr/lib/perl5/site_perl/          5.8.8/DBIx/SearchBuilder/Handle.pm
> line 469,  line 42.
> (/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:469)
> Jun  4 12:48:35 vbchwebt RT: RT::Handle=HASH(0x83c95f0) couldn't
> prepare the query 'SELECT main.* FROM Attachments main  WHERE
> (main.Content != '') AN          D (main.TransactionId = '26') AND
> (main.id != '1') AND (main.ContentType NOT LIKE 'multipart/%')  ORDER
> BY main.id ASC 'ORA-00932: inconsistent dataty          pes: expected
> - got CLOB (DBD ERROR: error possibly near <*> indicator at char 44
> in 'SELECT main.* FROM Attachments main  WHERE (<*>main.Content !=
> '          ') AND (main.TransactionId = '26') AND (main.id != '1')
> AND (main.ContentType NOT LIKE 'multipart/%')  ORDER BY main.id ASC
> ') (/usr/lib/perl5/site_pe          rl/5.8.8/DBIx/SearchBuilder/Handle.pm:476)
>
> As far as I understand, it's not possible to select from a CLOB
> column in Oracle, so I'm wondering if I've got a misconfiguration somewhere.
>
> I haven't seen any errors in the front end relating to this, but I
> still have some unresolved issues configuring mail, which I'm also
> working on, so I'm still not clear what the extent of this problem is.
>
> Thanks in advance for any advice.
>
>
> ___
> 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] DashBoaard

2009-06-04 Thread Paul C.
see
http://bestpractical.typepad.com/files/dashboard-notifications-a-quick-introduction-3.pdf

___
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] Oracle CLOB error

2009-06-04 Thread Maria Quinn
I've installed RT 3.8.2 on Redhat 4.1.2 with Oracle and DBD::Oracle 1.2.2.

I'm getting the following errors in /var/log/messages as a result of 
forwarding a ticket:

Jun  4 12:48:35 vbchwebt RT: DBD::Oracle::db prepare failed: 
ORA-00932: inconsistent datatypes: expected - got CLOB (DBD ERROR: 
error possibly near <*  > indicator at char 44 in 'SELECT 
main.* FROM Attachments main  WHERE (<*>main.Content != '') AND 
(main.TransactionId = '26') AND (main.id != '1') 
AND   (main.ContentType NOT LIKE 'multipart/%')  ORDER BY 
main.id ASC ') [for Statement "SELECT main.* FROM Attachments 
main  WHERE (main.Content != '') AN  D (main.TransactionId = 
'26') AND (main.id != '1') AND (main.ContentType NOT LIKE 
'multipart/%')  ORDER BY main.id ASC "] at 
/usr/lib/perl5/site_perl/  5.8.8/DBIx/SearchBuilder/Handle.pm 
line 469,  line 42. 
(/usr/lib/perl5/site_perl/5.8.8/DBIx/SearchBuilder/Handle.pm:469)
Jun  4 12:48:35 vbchwebt RT: RT::Handle=HASH(0x83c95f0) couldn't 
prepare the query 'SELECT main.* FROM Attachments main  WHERE 
(main.Content != '') AN  D (main.TransactionId = '26') AND 
(main.id != '1') AND (main.ContentType NOT LIKE 'multipart/%')  ORDER 
BY main.id ASC 'ORA-00932: inconsistent dataty  pes: expected 
- got CLOB (DBD ERROR: error possibly near <*> indicator at char 44 
in 'SELECT main.* FROM Attachments main  WHERE (<*>main.Content != 
'  ') AND (main.TransactionId = '26') AND (main.id != '1') 
AND (main.ContentType NOT LIKE 'multipart/%')  ORDER BY main.id ASC 
') (/usr/lib/perl5/site_pe  rl/5.8.8/DBIx/SearchBuilder/Handle.pm:476)

As far as I understand, it's not possible to select from a CLOB 
column in Oracle, so I'm wondering if I've got a misconfiguration somewhere.

I haven't seen any errors in the front end relating to this, but I 
still have some unresolved issues configuring mail, which I'm also 
working on, so I'm still not clear what the extent of this problem is.

Thanks in advance for any advice.


___
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] Scrip Action clarification

2009-06-04 Thread Kenneth Marshall
Yes.

Ken

On Thu, Jun 04, 2009 at 10:51:58AM -0400, GravyFace wrote:
> Ok, so "Notify AdminCcs" would be correspondence that the requestor would see?
> 
> On Thu, Jun 4, 2009 at 10:48 AM, Kenneth Marshall  wrote:
> > A reply to the second one will go in as a comment, not a reply.
> >
> > Cheers,
> > Ken
> >
> > On Thu, Jun 04, 2009 at 10:46:28AM -0400, GravyFace wrote:
> >> Can someone clarify what the difference is between "Notify AdminCcs"
> >> and "Notify AdminCcs as Comment"?
> >> ___
> >> 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] Scrip Action clarification

2009-06-04 Thread GravyFace
Ok, so "Notify AdminCcs" would be correspondence that the requestor would see?

On Thu, Jun 4, 2009 at 10:48 AM, Kenneth Marshall  wrote:
> A reply to the second one will go in as a comment, not a reply.
>
> Cheers,
> Ken
>
> On Thu, Jun 04, 2009 at 10:46:28AM -0400, GravyFace wrote:
>> Can someone clarify what the difference is between "Notify AdminCcs"
>> and "Notify AdminCcs as Comment"?
>> ___
>> 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] Scrip Action clarification

2009-06-04 Thread Kenneth Marshall
A reply to the second one will go in as a comment, not a reply.

Cheers,
Ken

On Thu, Jun 04, 2009 at 10:46:28AM -0400, GravyFace wrote:
> Can someone clarify what the difference is between "Notify AdminCcs"
> and "Notify AdminCcs as Comment"?
> ___
> 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] Scrip Action clarification

2009-06-04 Thread GravyFace
Can someone clarify what the difference is between "Notify AdminCcs"
and "Notify AdminCcs as Comment"?
___
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] a couple bugs in RT 3.8.3

2009-06-04 Thread Kevin Falcone

On Jun 4, 2009, at 8:44 AM, Guadagnino Cristiano wrote:

> Just a few things I've found out so far:
>
> -  the new "homepage refresh interval" option in "preferences"  
> doesn't work

You'll need to tell us more, it works for me.
Please note that the page-level widget overrides the preference for  
the session
so that you can change the behavior without changing your preference.

> - when I'm root and I click on "configuration"->"users"- 
> >"whichever_user_name"->"History", I have this error message:
>
> Can't locate object method "Name" via package "No object mapping for  
> field" (perhaps you forgot to load "No object mapping for field"?)  
> at /opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT- 
> Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand  
> line 7.
>
> it seems the culprit is the "ForkTicket" extension… maybe it is  
> broken by the recent upgrade?
>

It certainly seems like ForkTicket is breaking, but that isn't  
maintained by us and doesn't
seem to be on CPAN so I'm not sure where you should report the bug.   
Hopefully the author
reads the list.

-kevin
___
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 3.8.2 and could not load a valid user problem.

2009-06-04 Thread Rana Tanveer
2009/6/4 Odhiambo ワシントン 

> On Thu, Jun 4, 2009 at 4:08 PM, Rana Tanveer wrote:
>
>> Hi Community and RT Admins
>>
>> I have upgrade from RT 3.8.1 to 3.8.2, but i am facing some problem
>> regarding RT bounce mails.
>>
>> is there any change in RT 3.8.2 ? as from some unprivileged users it
>> bounce mails and for some it does not. ?
>>
>> In Earlier version RT was bouncing every single mail sending by
>> unprivileged users.
>>
>> I have configured my RT in such a way that unprivileged users can't create
>> tickets, so mails should be bounce in the form "Could not load a valid user"
>> ? if unprivileged user try to send mail to any Q.
>>
>> As I am loosing my important mails, could any one guide me what changes
>> are made in RT 3.8.2 ?
>
>
> This one, you really have to behave like the sysadmin that you are.
> Everytime I made up my mind to upgrade RT because there was need for me to,
> I'd do:
>
> cp -Rp /opt/rt /opt/rt-RT_VERSION-backup-$DATE
> mysqldump rt > rt-RT_VERSION-dbbackup-$DATE (Well, I always use MySQL)
>
> After these I would upgrade and test, test, test (when everyone is
> supposedly asleep!)
>
> If the upgrade is causing you pain, you can back off to the previous
> version.
>
> Otherwise you need to provide some logging information about what is
> happening.
>
> Do you see anything in the ChangeLog that might be related to your
> problems?
>
>
> --
> Best regards,
> Odhiambo WASHINGTON,
> Nairobi,KE
> +254733744121/+254722743223
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> "Clothes make the man.  Naked people have little or no influence on
> society."
>   -- Mark Twain
>


Thanks Odhiambo  for your quick response:

i have backup, but there are many transactions during, if i opt to  RT
fallback, than how to downgrade RT DB ? that is also an issue.

i am checking logging information, and will update.

-- 
-
 Rana Tanveer
+923224194457
http://www.sysadminsline.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] a couple bugs in RT 3.8.3

2009-06-04 Thread Sven Sternberger
Just my 2c

RT 3.8.3 Linux (Centos5) /64 Bit

On Do, 2009-06-04 at 14:44 +0200, Guadagnino Cristiano wrote:
> -  the new "homepage refresh interval" option in "preferences" doesn't
> work

works for me
> 
> - when I'm root and I click on
> "configuration"->"users"->"whichever_user_name"->"History", I have
> this error message:

works for me

Seems more individual problems of your setup.

regards!

sven


___
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 3.8.2 and could not load a valid user problem.

2009-06-04 Thread Odhiambo ワシントン
On Thu, Jun 4, 2009 at 4:08 PM, Rana Tanveer  wrote:

> Hi Community and RT Admins
>
> I have upgrade from RT 3.8.1 to 3.8.2, but i am facing some problem
> regarding RT bounce mails.
>
> is there any change in RT 3.8.2 ? as from some unprivileged users it bounce
> mails and for some it does not. ?
>
> In Earlier version RT was bouncing every single mail sending by
> unprivileged users.
>
> I have configured my RT in such a way that unprivileged users can't create
> tickets, so mails should be bounce in the form "Could not load a valid user"
> ? if unprivileged user try to send mail to any Q.
>
> As I am loosing my important mails, could any one guide me what changes are
> made in RT 3.8.2 ?


This one, you really have to behave like the sysadmin that you are.
Everytime I made up my mind to upgrade RT because there was need for me to,
I'd do:

cp -Rp /opt/rt /opt/rt-RT_VERSION-backup-$DATE
mysqldump rt > rt-RT_VERSION-dbbackup-$DATE (Well, I always use MySQL)

After these I would upgrade and test, test, test (when everyone is
supposedly asleep!)

If the upgrade is causing you pain, you can back off to the previous
version.

Otherwise you need to provide some logging information about what is
happening.

Do you see anything in the ChangeLog that might be related to your problems?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"Clothes make the man.  Naked people have little or no influence on
society."
  -- Mark Twain
___
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] RT 3.8.2 and could not load a valid user problem.

2009-06-04 Thread Rana Tanveer
Hi Community and RT Admins

I have upgrade from RT 3.8.1 to 3.8.2, but i am facing some problem
regarding RT bounce mails.

is there any change in RT 3.8.2 ? as from some unprivileged users it bounce
mails and for some it does not. ?

In Earlier version RT was bouncing every single mail sending by unprivileged
users.

I have configured my RT in such a way that unprivileged users can't create
tickets, so mails should be bounce in the form "Could not load a valid user"
? if unprivileged user try to send mail to any Q.

As I am loosing my important mails, could any one guide me what changes are
made in RT 3.8.2 ?


-- 
-
 Rana Tanveer
+923224194457
http://www.sysadminsline.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] a couple bugs in RT 3.8.3

2009-06-04 Thread Guadagnino Cristiano
Just a few things I've found out so far:

-  the new "homepage refresh interval" option in "preferences" doesn't work
- when I'm root and I click on 
"configuration"->"users"->"whichever_user_name"->"History", I have this error 
message:

Can't locate object method "Name" via package "No object mapping for field" 
(perhaps you forgot to load "No object mapping for field"?) at 
/opt/rt3/local/plugins/RT-Extension-ForkTicket/html/Callbacks/RT-Extension-ForkTicket/Ticket/Elements/ShowTransaction/ModifyCommand
 line 7.

it seems the culprit is the "ForkTicket" extension... maybe it is broken by the 
recent upgrade?

Thank you
Bye
Cris
___
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] Enable sending html emails

2009-06-04 Thread Bashir Jahed
Hi Guys,

 

How do i enable sending html documents from RT as correspondence?

 

Currently RT tells me the following if i do so:

 

"message body not shown because it is too large or is not plain text"

 

Thanks

Bashir

___
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] Rights issue on Configuration -> Global -> RT at a glance on RT 3.8.2

2009-06-04 Thread Carlos Garcia Montoro

Sorry for posting this twice, but I'm trying to make it shorter.

Please, can anyone confirm me that a user who only has the global right 
"ShowConfigTab" is able to modify the global RT at a glance?


I'm using RT 3.8.2 and I would like to know if either I'm doing 
something wrong or this is the expected behaviour. If this were the 
second case, should this be considered a bug?


For a longer explanation, attached you can find my previous message.

Thanking you in advance,
Carlos
--
 ___ ___
| __ __ | Carlos García MontoroIngeniero Informático
|_\_Y_/_| Instituto de Física Corpuscular Centro Mixto CSIC - UV
|\_] [_/| Servicios Informáticos
|  [_]  | Edificio Institutos de Investigacióncgar...@ific.uv.es
|C S I C| Apartado de Correos 22085 E-46071 Valencia  Tel: +34 963543706
|___| España / Spain  Fax: +34 963543488
--- Begin Message ---

Hello,

I've a question/request about RT that I have been neither able to 
resolve from myself, nor have I found it at the RT wiki or googling this 
mailing list.


I'm newbie using RT. I'm installing an organizational RT (ver. 3.8.2). 
We have some departments that are autonomous of each other. Thus, I want 
to grant some privileges for every admin group of each department. I 
want to allow them to handle their own queues, groups, etc. But I also 
want not to allow them to modify others space. I have achieved this 
configuration, i.e. admins are only able to see their groups, admins can 
see all queues but they are only allowed to modify some properties (Cc, 
AdminCc,...)  of their own queues but not other queues. In order to do 
that I have granted them the global right "ShowConfigTab". Otherwise 
they had rights but they couldn't use them (they couldn't modify group 
membership of their groups,...).


The problem I'm suffering is this: When I grant the "ShowConfigTab" 
right to a user or group, I'm also granting privileges to modify the 
global RT at a glance. Let me show an example: Let me create a user foo 
who can be granted rights ("Let this user be granted rights" is 
checked). This new user isn't a member of any group, so he has no right 
rather than "Everyone" and "Privileged". At this moment, global rights 
for these groups are the default (no global right for "Everyone", and 
only "ShowApprovalsTab" for "Privileged"). In some queues "Everyone" has 
two rights "CreateTicket" and "SeeQueue", but as far as I know they only 
grant privileges for creating a new ticket in these queues. Let this 
user be granted the global "ShowConfigTab" right ( "Configuration" -> 
"Global" -> "User Rights", and there foo is granted to "ShowConfigTab"). 
Now let foo log in. This user can see the configuration tab, but he 
can't modify anything since he is not allowed to. If he tries to modify 
anything RT won't allow it and foo will read a permission denied 
message. But if foo goes to "Configuration" -> "Global" -> "RT at a 
glance" and there he deletes "QuickCreate", RT allows it saying "Global 
portlet body saved.". Now let the privileged user bar log in. The RT at 
a glance of bar has no longer the "QuickCreate" frame when it previously 
had it. Hence, I don't want to grant foo the right of modifying the 
global RT at a glance!


Is it the expected behaviour? Am I missing anything or doing something 
wrong?


Thank you,
Carlos

--
 ___ ___
| __ __ | Carlos García MontoroIngeniero Informático
|_\_Y_/_| Instituto de Física Corpuscular Centro Mixto CSIC - UV
|\_] [_/| Servicios Informáticos
|  [_]  | Edificio Institutos de Investigacióncgar...@ific.uv.es
|C S I C| Apartado de Correos 22085 E-46071 Valencia  Tel: +34 963543706
|___| España / Spain  Fax: +34 963543488
begin:vcard
fn;quoted-printable:Carlos Garc=C3=ADa Montoro
n;quoted-printable:Garc=C3=ADa Montoro;Carlos
org;quoted-printable;quoted-printable:Instituto de F=C3=ADsica Corpuscular;Servicios Inform=C3=A1ticos
adr;quoted-printable:Apartado de Correos 22085;;Edificio Institutos de Investigaci=C3=B3n;Valencia;Valencia;E-46071;Spain
email;internet:carlos.gar...@ific.uv.es
tel;work:(+34) 96 354 37 06
x-mozilla-html:TRUE
version:2.1
end:vcard

___
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--- End Message ---
begin:vcard
fn;quoted-printable:Carlos Garc=C3=ADa Montoro
n;quoted-printable:Garc=C3=ADa Montoro;Carlos
org;quoted-printable;quoted-printable:Instituto de F=C3=ADsica Corpuscular;Servicios Inform=C3=A1ticos
adr;quoted-printable:Apartado de Correos 22085;;Edificio Institutos de Investigaci=C3=

Re: [rt-users] comments i self service

2009-06-04 Thread Emmanuel Lacour
On Thu, Jun 04, 2009 at 09:29:13AM +0100, G.Booth wrote:
> Hi
> Does anybody know if its possible to hide ticket comments in the self 
> service interface?
> 

standard usage, is to not set ShowTicketComments right to people using
self service (unprivileged).

___
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] comments i self service

2009-06-04 Thread G.Booth
Hi
Does anybody know if its possible to hide ticket comments in the self 
service interface?

regards
garry

--

Dr Garry Booth
IT Services
Loughborough University
___
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-3.8.3, RT-Authen-ExternalAuth-0.08 login issue

2009-06-04 Thread Mike Peachey
Wed 03 Jun 2009 19:24:45 GMT
Matt Millard wrote:

I'm gonna keep this brief:

1. Remove ldap:// from the server URI, I don't know off the top of my
head if it would work or not, but it certainly works without it.

2. As per the README, the ExternalAuth settings need to be pasted into
your normal RT_SiteConfig.pm. If you leave them in the example file in
the plugins directory, they will not be read.

3. You have a dead line in your config:
Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDAP','Other-DB']);
Set($ExternalAuthPriority,['My_LDAP']);

Kill the first one.

4. The stack trace for the Failed Login message is of no use. You need
to enable debug logging, and log to file. This will give you very
verbose output as to precisely what is happening with the LDAP side of
things.

Have fun.

-- 
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] admin cc not receiving mail

2009-06-04 Thread Bashir Jahed
Thanks Ruslan,

Put it in place now, will monitor today to see if it is working.

Help is appreciated.

Go Well

-Original Message-
From: Ruslan Zakirov [mailto:ruslan.zaki...@gmail.com] 
Sent: 03 June 2009 04:12 PM
To: Bashir Jahed
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] admin cc not receiving mail

you need scrip for that:

On any transaction notify admin ccs with template transaction.

On Wed, Jun 3, 2009 at 2:48 PM, Bashir Jahed  wrote:
> Hi,
>
>
>
> Been googling for 2 weeks with no success.
>
>
>
> I have an issue with admin cc. I am listed as admin cc of a queue. If
> someone adds a comment to a ticket i receive the correspondence, however if
> someone emails a comment the correspondence is not sent out to admin cc’s
>
>
>
> Is this the standard way it should work? I would like all transacations on a
> particular queue to be sent to the admin cc’s. Is this possible?
>
>
>
> Bashir
>
> ___
> 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