Re: [rt-users] Redhat Enterprise 5.5 install errors

2010-07-09 Thread Kevin Gagel

Enter into Perl:
perl -MCPAN -e shell

Have perl recomend updateds:
r

Update the XML::RSS and XML::Parser modules and any others that RT is 
using.


Kevin W. Gagel

Network Administrator
College of New Caledonia
My Blog:
http://mail.cnc.bc.ca/blogs/gagel
My Shared Files:
http://mail.cnc.bc.ca/users/gagel


On Friday 09/07/2010 at 12:37 pm, Lee, Jeffrey  wrote:



Hi all,

I am trying to install RT 3.8.8 on a RedHat Enterprise 5.5 server. 
I’ve been able to get most of the dependencies installed except I am 
running into an XML::RSS dependencies error and an XML::Parser error. 
Has anyone else run into this issue installing RT on RHEL5 servers? 
Does anyone have any suggestions?


Thanks,

Jeff




---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Redhat Enterprise 5.5 install errors

2010-07-09 Thread Kevin Gagel

cd into:
/root/.cpan/build/XML-Parser-2.36-ak0ybX

I've found that I can trace problem's a little better by trying to do 
it  manually.
Try running make from there and see if you get anything more meaning 
full in terms of error messages.
If make works then try make test. That may or may not work. If does 
and says something to the effect that is was successful then run make 
install.


Beyond that I don't think I help you much more. At least not unless 
there are more meaning full error messages at that level.




Kevin W. Gagel
Network Administrator
College of New Caledonia
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] Redhat Enterprise 5.5 install errors
From: Lee, Jeffrey jeffrey_...@harvard.edu
To: Kevin Gagel ga...@cnc.bc.ca
Cc: RT Users RT-Users@lists.bestpractical.com
Date: Friday, 09/07/2010 1:14 PM



This is the error I’m getting from testdependencies:

XML::RSS ...MISSING
   Can't locate XML/Parser.pm in @INC (@INC contains: 
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl 
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 
/usr/local/rt3.8.8) at /usr/lib/perl5/site_perl/5.8.8/XML/RSS.pm line 
7.


And here is s snippet of the error I get from CPAN when I try to 
install XML::Parser


Expat.c:2917: warning: ISO C90 forbids mixed declarations and code
Expat.xs:2194: error: ‘parser’ undeclared (first use in this 
function)

Expat.xs:2205: warning: unused variable ‘pret’
Expat.xs:2194: warning: unused variable ‘cbv’
Expat.xs:2192: warning: unused variable ‘type’
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory 
`/root/.cpan/build/XML-Parser-2.36-ak0ybX/Expat'

make: *** [subdirs] Error 2
 MSERGEANT/XML-Parser-2.36.tar.gz
 /usr/bin/make -- NOT OK
Running make test
 Can't test without successful make
Running make install
 Make had returned bad status, install seems impossible
Failed during this command:
MSERGEANT/XML-Parser-2.36.tar.gz : make NO

I’m not sure what more I can do.

-Jeff


From:rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin 
Gagel

Sent: Friday, July 09, 2010 4:02 PM
Cc: RT Users
Subject: Re: [rt-users] Redhat Enterprise 5.5 install errors

You'll have to tackle them one at a time then...



Kevin W. Gagel
Network Administrator
College of New Caledonia
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] Redhat Enterprise 5.5 install errors
From: Lee, Jeffrey jeffrey_...@harvard.edu
To: Kevin Gagel ga...@cnc.bc.ca, RT Users 
RT-Users@lists.bestpractical.com

Date: Friday, 09/07/2010 12:53 PM





It states that all modules are up to date for XML::RSS and 
XML::Parser. But I am still running into a dependencies fail when I 
run make fixdeps.


-Jeff




From:rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin 
Gagel

Sent: Friday, July 09, 2010 3:46 PM
To: RT Users
Subject: Re: [rt-users] Redhat Enterprise 5.5 install errors

Enter into Perl:
perl -MCPAN -e shell

Have perl recomend updateds:
r

Update the XML::RSS and XML::Parser modules and any others that RT is 
using.


Kevin W. Gagel

Network Administrator
College of New Caledonia
My Blog:
http://mail.cnc.bc.ca/blogs/gagel
My Shared Files:
http://mail.cnc.bc.ca/users/gagel


On Friday 09/07/2010 at 12:37 pm, Lee, Jeffrey wrote:


Hi all,

I am trying to install RT 3.8.8 on a RedHat Enterprise 5.5 server. 
I’ve been able to get most of the dependencies installed except I am 
running into an XML::RSS dependencies error and an XML::Parser error. 
Has anyone else run into this issue installing RT on RHEL5 servers? 
Does anyone have any suggestions?


Thanks,

Jeff


The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca



The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca





---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] RT::Authen::ExternalAuth and privileged users

2010-06-28 Thread Kevin Gagel

Peter,

Look into:
Set($WebExternalAuto,1);
Set($AutoCreate,{Privileged=0});

It's one or both that you need. These are my settings and my users are 
auto created for me.




Kevin W. Gagel
Network Administrator
College of New Caledonia
My Blog:
http://mail.cnc.bc.ca/blogs/gagel
My Shared Files:
http://mail.cnc.bc.ca/users/gagel


On Monday 28/06/2010 at 2:24 pm, Peter Andersen  wrote:
 I currently have RT 3.8.6 working with RT::Authen::ExternalAuth to 
the point where it allows me to authenticate and access the Self 
Service page but I am stuck getting with all users being unprivileged. 
 Users I create inside RT can be privileged but none of the external 
users are privileged nor can I add them to groups.


 I see references to autocreate users but am unable to get any 
creation to happen with ExternalAuth.  Do I need to use 
RT::Extension::LDAPImport to create user accounts before I can move 
forward?  What options do I need to look into for auto creating users? 
 Can I set all my external users to privileged (not the best idea)?


 RT is running on Gentoo Linux with Apache2/fast_cgi, perl 5.10.1 
threaded, RT::Authen::ExternalAuth 0.08 and connects to a Win2003 AD.  
I am not attached to 3.8.6 so replacing with 3.8.8 is an option.






---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] LDAP authentication

2010-06-24 Thread Kevin Gagel

On Thursday 24/06/2010 at 7:09 am, Guy Baxter  wrote:

Hi,

Is it possible to authenticate via LDAP to RT ?

In particular, Mac OS X's implementation of LDAP (Open DIrectory)

Thanks.



Yes.

See http://wiki.bestpractical.com/view/ExternalAuthentication for 
details.




Kevin W. Gagel
Network Administrator
College of New Caledonia
My Blog:
http://mail.cnc.bc.ca/blogs/gagel
My  Shared Files:
http://mail.cnc.bc.ca/users/gagel



---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Re: [rt-users] Upgraded and now having to login on every link in RT

2010-02-18 Thread Kevin Gagel
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Upgraded and now having to login on every link in RT

2010-02-17 Thread Kevin Gagel
I upgraded from RT 3.8.4 to 3.8.7.
I compiled as per the readme doc and then ran make upgrade.
I ran the db scripts.
I cleaned out the sessions table.

Everyone is now stuck in a cycle of continuous login pages on every 
click within RT.



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





---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


Re: [rt-users] Upgraded and now having to login on every link in RT

2010-02-17 Thread Kevin Gagel
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com

2010 RT Training Sessions!
San Francisco, CA, USA - Feb 22  23
Dublin, Ireland - Mar 15  16
Boston, MA, USA - April 5  6
Washington DC, USA - Oct 25  26

Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

[rt-users] Slight rights issue.

2009-09-22 Thread Kevin Gagel
My manager created a queue he wants to be the only one that has access 
to. I've verified that the queue rights are set for him with the only 
one that has access. The seequeue right has been removed from other 
groups and users yet some of us still see the queue.

What are all the rights that affect seeing a queue? I can't stop some 
users from seeing this particular queue, what should I be looking for?



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






---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---
___
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] Slight rights issue.

2009-09-22 Thread Kevin Gagel
I think it was the superuser right assigned to the networkadmin group 
I created. Thanks, its gone now.




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] Slight rights issue.
 From: Ken Crocker kfcroc...@lbl.gov
 To: Kevin Gagel ga...@cnc.bc.ca
 Cc: RT Users RT-Users@lists.bestpractical.com
 Date: Tuesday, 09/22/2009 12:39 PM

 Kevin,

 Check what rights you have granted GLOBALLY.

 Kenn
 LBNL

 On 9/22/2009 12:25 PM, Kevin Gagel wrote:

 My manager created a queue he wants to be the only one that has access 
  to. I've verified that the queue rights are set for him with the only 
  one that has access. The seequeue right has been removed from other  
 groups and users yet some of us still see the queue.

 What are all the rights that affect seeing a queue? I can't stop some  
 users from seeing this particular queue, what should I be looking for?



 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






 ---
 The College of New Caledonia
 Visit us at http://www.cnc.bc.ca
 Virus scanning is done on all incoming and outgoing email.
 Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
 ---
 ___
 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





---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---
___
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] How to enable robots.txt publicly

2009-07-31 Thread Kevin Gagel
--- Original message ---

I try to use a custom robots.txt file on RT apache instance but it seems this 
file is not publicly accessible online so web robots can’t read the file.
Can someone explain how to make this file public and makes this works ?

Thanks.


Sébastien,


The robots.txt file needs to be in the root directory of the server. If you're 
using something like ipplan.domain.tld then drop the robots.txt file into the 
same directory where the server grabs the default page from.


If you're using your.domain.tld/ipplan then you must do the above.




---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---___
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] Undefined subroutineRT::EmailParser::ParseAddressFromHeader...

2009-07-14 Thread Kevin Gagel
Thanks, that is what I ended up doing anyway.


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] Undefined 
subroutine.RT::EmailParser::ParseAddressFromHeader...
From: Kevin Falcone falc...@bestpractical.com
To:  rt-users@lists.bestpractical.com
Date: 07/14/2009 6:54 AM

On Fri, Jul 10, 2009 at 02:46:15PM -0700, Kevin Gagel wrote:
I am using LDAPSMB1.2_RT3.

When I add email address for the AdminCC of someone that has not logged 
 into RT yet I get the
following error:

Undefined subroutine eRT::EmailParser::ParseAddressFromHeader called at
/opt/rt3/bin/../local/lib/RT/User_Local.pm line 272.

What do I have to do to correct this?

You appear to be using an extension designed for use with RT 3.4 or
3.6 while running 3.8 (the ParseAddressFromHeader method is defined
in RT::Interface::Email in 3.8)

I suggest disabling the extension causing the problem.

If you want to use AD auth with 3.8, the only method I know of that
works is RT-Authen-ExternalAuth

-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

[rt-users] Custom Field check on ticket creation error in custom condition - help please

2009-07-14 Thread Kevin Gagel
I'm trying to run the following code in my custom condition
#Don't bother running unless the transaction is a create.
return 0 unless $self-TransactionObj-Type eq Create;

#Don't bother running unless the custom field Urgency is URGENT.
my $CustomFields = $ticket-QueueObj-TicketCustomFields();
while (my $CustomField = $CustomFields-Next()) {
   my $nam = $CustomField-Name;
   if $ticket-FirstCustomFieldValue($nam) eq URGENT {
return 1
   }
   else
   {
return 0
   }

But I get this error logged:
Scrip 12 IsApplicable failed: Global symbol $ticket requires explicit package 
name at (eval 1692) line 5.

I'm obviously not getting the difference between writing a scrip and writing 
perl code. I'm terribly weak on both. Can someone show me what I'm doing wrong 
please...


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] I am unable to use LDAP

2009-07-14 Thread Kevin Gagel
Eric,

I'll work off line with you. I have just finished setting mine up and we are 
using the same version of RT (3.8.2).


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: [rt-users] I am unable to use LDAP
From: Eric Chatham echat...@broadvox.com
To: rt-users@lists.bestpractical.com rt-users@lists.bestpractical.com
Date: 07/14/2009 2:47 PM



Hello,

I have had some problem getting LDAP to work on my version of RT.  I am running 
RT version 3.8.2 and the version of RT::Authen::ExternalAuth I installed via 
CPAN is  0.08.  RT is installed on a CentOS 5.1 OS.  I tried using some 
examples from a Google search to try and modify RT_SiteConfig.pm, but when I 
try to log into the RT Webpage (with an LDAP user), it fails.  Beforehand, I 
did create the user as a “user” in RT,  but left the password blank.  Should I 
set a user up in RT first before trying to log the user into RT?  Here is an 
example of my RT_SiteConfig.pm settings.  Everytime I try to log in with an 
LDAP user, I get “Your username or password is incorrect.”  Can  I setup a log 
file to track this as well?  Please help and thank you for any assistance.


# Any configuration directives you include  here will override
# RT's default configuration file, RT_Config.pm
#
# To include a directive here, just copy the equivalent statement
# from RT_Config.pm and change the value. We've included a single
# sample value below.
#
# This file is actually a perl module, so you can include valid
# perl code, as well.
#
# The converse is also true, if this file isn't valid perl, you're
# going to run into trouble. To check your SiteConfig file, use
# this comamnd:
#
#   perl -c /path/to/your/etc/RT_SiteConfig.pm

# Set( $rtname, 'example.com');
# Set(@Plugins,(qw(Extension::QuickDelete)));
# Set($WebPath, /rt3);
Set($rtname, broadvox.local);
Set($Organization, 'broadvox.local');
# Set($CorrespondAddress, 'echat...@broadvox.net');
# Set($CommentAddress, 'echat...@infotelecom.us');
Set($Timezone, 'US/Eastern');
# Set($WebBaseURL, 'http://rt.broadvox.local/');
Set(@Plugins,(qw(RT::Authen::ExternalAuth)));

# Debugging
Set($LogToSyslog, 'info');
Set($LogStackTraces, 'debug');

# Database
# Set($DatabaseType, 'mysql');
# Set($DatabaseUser, 'rt_user');
# Set($DatabasePassword, 'rt_pass');
# Set($DatabaseRTHost, 'localhost');

# External Authentication
Set($ExternalAuthPriority, ['My_LDAP']);

# LDAP
Set($ExternalSettings,  {'My_LDAP' = {'type' = 'ldap',
  'auth' = 1,
  'info' = 1,
  'server' = 
'clehbdc01.broadvox.local',
  'user' = 'secmanager',
  'pass' = 'password',
  'port' = '389',
  'base' = 
'ou=USA,dc=broadvox,dc=local',
  'filter' = '(objectclass=user)',
  'attr_match_list' = [ 'Name',
 'EmailAddress',
 'RealName',
 'WorkPhone',
 'Address2'
],
  'attr_map' = {'Name' = 
'sAMAccountName',
 'EmailAddress' = 
'mail',
 'Orginazation' = 
'physicalDeliveryOfficeName',
 'RealName' = 'cn',
 'ExternalAuthID' = 
'sAMAccountName',
 'WorkPhone' = 
'telephoneNumber',
 'Address1' = 
'streetAddress',
 'City' = 'l',
 'State' = 'st',
 'Zip' = 'postalCode',
 'Country' = 'co'}
}
});
1;



Eric Chatham
MIS Department
Phone: (216) 373-4683
Fax: (216) 373-4669
echat...@broadvox.com



CONFIDENTIAL. This e-mail and any attached files are confidential and should be 
destroyed and/or returned if you are not the intended and proper recipient.

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: 

[rt-users] Correct syntax for AutoCreate

2009-07-13 Thread Kevin Gagel
What is the correct syntax for the AutoCreate variable in RT_SiteConfig.pm?

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

[rt-users] Duplicate messages from RT-Users@lists.bestpractical.com

2009-07-13 Thread Kevin Gagel
Am I the only one getting duplicates (in which case my server has a problem) or 
are others getting duplicates as well.

If one or two of you could reply that would be great thanks...


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] Duplicate messages fromrt-us...@lists.bestpractical.com

2009-07-13 Thread Kevin Gagel
Wierd. Some people are getting duplicates some are not.

I got 4 of a message I posted. Followed by 4 from someone else then 2 of 
another poster. Seems to me the list is doing something odd.

Thanks everyone that responded.


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] Duplicate messages fromrt-us...@lists.bestpractical.com

To:  ga...@cnc.bc.ca
Date: 07/13/2009 3:14 PM


I got 4 copies of the message you posted earlier.  I've seen duplicates on the 
list before, but never 4 copies.  Seems likely in your case it's 2 sets of 
duplication.  Probably something the list owner needs to address though.


~Chris



From: ga...@cnc.bc.ca
To: RT-Users@lists.bestpractical.com
Date: Mon, 13 Jul 2009 15:02:42 -0700
Subject: [rt-users] Duplicate messages from RT-Users@lists.bestpractical.com

   Am I the only one getting duplicates (in which case my server has a 
problem) or are others getting duplicates as well.

If one or two of you could reply that would be great thanks...


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] Duplicate messages from RT-Users@lists.bestpractical.com

2009-07-13 Thread Kevin Gagel
Thanks Paul.

For the list owner...

Here are the headers from a single message I sent. From the headers it is clear 
that your MTA had submitted this message twice to your mailman installation. 
You may need to check on your queues and trouble shoot why the MTA thought it 
needed to resubmit the message.
---Paste---
Sample 1:
Received: from diesel.bestpractical.com (diesel.bestpractical.com [4.79.3.63])
by gateway.cnc.bc.ca (Postfix) with ESMTP id 3A42C2C2802C
for ga...@cnc.bc.ca; Mon, 13 Jul 2009 15:18:08 -0700 (PDT)
Received: from diesel.bestpractical.com (diesel.bestpractical.com [127.0.0.1])
by diesel.bestpractical.com (Postfix) with ESMTP id02DE119B82CF;
Mon, 13 Jul 2009 18:18:07 -0400 (EDT)
X-Original-To: RT-Users@lists.bestpractical.com
Delivered-To: rt-us...@diesel.bestpractical.com
Received: from gateway.cnc.bc.ca (gateway.cnc.bc.ca [142.27.70.211])
by diesel.bestpractical.com (Postfix) with ESMTP id A7F3319B8281
for RT-Users@lists.bestpractical.com;
Mon, 13 Jul 2009 18:17:56 -0400 (EDT)

Sample 2:
Received: from diesel.bestpractical.com (diesel.bestpractical.com [4.79.3.63])
by gateway.cnc.bc.ca (Postfix) with ESMTP id 73C3C2C28029
for ga...@cnc.bc.ca; Mon, 13 Jul 2009 15:18:56 -0700 (PDT)
Received: from diesel.bestpractical.com (diesel.bestpractical.com [127.0.0.1])
by diesel.bestpractical.com (Postfix) with ESMTP idC7C8519B82E1;
Mon, 13 Jul 2009 18:18:19 -0400 (EDT)
X-Original-To: RT-Users@lists.bestpractical.com
Delivered-To: rt-us...@diesel.bestpractical.com
Received: from gateway.cnc.bc.ca (gateway.cnc.bc.ca [142.27.70.211])
by diesel.bestpractical.com (Postfix) with ESMTP id A7F3319B8281
for RT-Users@lists.bestpractical.com;
Mon, 13 Jul 2009 18:17:56 -0400 (EDT)
---End Paste---
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] Duplicate messagesfromrt-us...@lists.bestpractical.com

To: Kevin Gagel ga...@cnc.bc.ca
Date: 07/13/2009 3:27 PM

I'm getting duplicates of some messages, but not of other messages.

Oddly for example, your original message asking about duplicates, I only 
received once.  But your reply to yourself about some folks getting duplicates 
and others not getting duplicates, I got two.  So I don't think it's 
sender-specific, nor recipient-specific.

All in all, I'd agree the list is indeed doing something odd.

PH

--
Paul Hirose  : pthir...@ucdavis.edu : Sysadm Motto: rm -fr /MyLife
1034 Academic Surge  : Programmer/Analyst   : Backup Motto : rm -fr /
One Shields Avenue   : Voice (530) 752-7181 : Robot, n.: Univ. Admin
Davis, CA 95616-8770 : Fax   (530) 752-4465 : rec.pets.cat.anecdotes

___
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] No recipients found for deferred delivery on transaction

2009-07-10 Thread Kevin Gagel
I'm having trouble tracking down why I keep getting this message in my debug 
log:
No recipients found for deferred delivery on transaction

This happens (I think) on every transaction that is recorded. I'm more 
concerned with the ticket created transaction. When I create a ticket I do get 
a message - so why is this line recorded in the log file?

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

[rt-users] (no subject)

2009-07-10 Thread Kevin Gagel
How do I resolve this:
[debug]: /autohandler calls old style callback, use $m-callback 
(/opt/rt3/share/html/Elements/Callback:51)

I recently switched from RT::Authen-ExternalAuth to using LDAPSMB1.2_RT3 and 
now my log file is registering that line frequently.


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] Autohandler error

2009-07-10 Thread Kevin Gagel
--- Original message ---
On Fri, Jul 10, 2009 at 02:31:45PM -0700, Kevin Gagel wrote:
 How do I resolve this:
 [debug]: /autohandler calls old style callback, use $m-callback 
 (/opt/rt3/share/html/Elements/Callback:51)

 I recently switched from RT::Authen-ExternalAuth to using LDAPSMB1.2_RT3 and 
 now my log file is registering that line frequently.



Perhaps you should consider turning your log level from debug to
warning, error or info?

Once I'm finished debugging I will. Isn't this an error that I should be 
concerned about?

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] Autohandler error

2009-07-10 Thread Kevin Gagel
Jesse,

OK thanks I'll ignore it.


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] Autohandler error
From: Jesse Vincent je...@bestpractical.com
To: Kevin Gagel ga...@cnc.bc.ca
Cc: RT Users RT-Users@lists.bestpractical.com
Date: 10/07/2009 2:41 PM




On Fri, Jul 10, 2009 at 02:34:54PM -0700, Kevin Gagel wrote:
  [debug]: /autohandler calls old style callback, use $m-callback 
  (/opt/rt3/share/html/Elements/Callback:51)
 

 Perhaps you should consider turning your log level from debug to
 warning, error or info?

 Once I'm finished debugging I will. Isn't this an error that I should be 
 concerned about?


Nope. That's why it's a debug level message rather than an error-level
one ;)

Best,
Jesse

___
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] Undefined subroutine RT::EmailParser::ParseAddressFromHeader...

2009-07-10 Thread Kevin Gagel
I am using LDAPSMB1.2_RT3.

When I add email address for the AdminCC of someone that has not logged into RT 
yet I get the following error:

Undefined subroutine eRT::EmailParser::ParseAddressFromHeader called at 
/opt/rt3/bin/../local/lib/RT/User_Local.pm line 272.

What do I have to do to correct this?

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] Undefined subroutineRT::EmailParser::ParseAddressFromHeader...

2009-07-10 Thread Kevin Gagel
It seems this is happening when a new ticket is created and the owner is set to 
an existing user as well.


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: [rt-users] Undefined 
subroutinecRT::EmailParser::ParseAddressFromHeader...
From: Kevin Gagel ga...@cnc.bc.ca
To: RT Users RT-Users@lists.bestpractical.com
Date: 10/07/2009 2:47 PM


I am using LDAPSMB1.2_RT3.

When I add email address for the AdminCC of someone that has not logged into RT 
yet I get the following error:

Undefined subroutine eRT::EmailParser::ParseAddressFromHeader called at 
/opt/rt3/bin/../local/lib/RT/User_Local.pm line 272.

What do I have to do to correct this?

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

[rt-users] AdminCC Question/How to/Problem...

2009-07-09 Thread Kevin Gagel
I'm having a little bit of trouble with the AdminCC failing to get created. I 
am using RT:Authen::ExternalAuth. Everything is well there I've verified that 
is working correctly.

When I add/create and admincc for a user that has not logged into RT the user 
does not get created automatically. The web interface returns this error:
Could not find or create that user

I have confirmed (by adding debug lines to the LDAP.pm) that the user is found 
and returned.

But in the User_Overlay.pm it fails to create the user because it cannot create 
the principleID. The error it prints to debug is:
[crit]: Failed to create user x...@cnc.bc.ca: Could not set user info 
(/opt/rt3/bin/../lib/RT/User_Overlay.pm:511)

Keep in mind this happens when I create or modify a ticket and add an email 
address to the AdminCC/CC field(s). In the case of creating a ticket the ticket 
is created, but just modifing the ticket fails to update the field. However if 
I add an address to the CC field - even though it still fails, when I comment 
on the ticket the cc'd address appears on the ticket. The AdminCC does not ever 
show up.

So, it seems to me that I've missed a privilege somewhere that grants an 
outgoing email for CC/AdminCC to be created if they're not in the DB. How do I 
correct my config to allow the creation of an account for these two fields?


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] Custom Fields per queue

2009-07-08 Thread Kevin Gagel
I'm not sure what you mean by correct result. But I recently figured out a 
problem I was having with queues and custom fields. Mine related more to a 
dashboard's ability to see the custom field. It seems that if the custom field 
is a queue only field then the dashboard cannot be setup to show a column using 
that custom field. On the other hand if the custom field is setup as a global 
field it shows up readily as choice for a column to be picked as displayable in 
the dashboard.

I've setup my install so that custom fields intended for a queue are only there 
and ones that should be in all queues are globally setup. Perhaps that is what 
you need to do...


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: [rt-users] Custom Fields per queue
From: Rich West rich.w...@wesmo.com
To:  RT-Users@lists.bestpractical.com
Date: 08/07/2009 1:52 PM

We are ramping up our RT install here to provide more expanded services. I
did the original install (I seem to install this at every job I go to), but
it is now getting handed off to another manager, and, with my help, we are
adjusting it to fit a working model that he has built. I've been using RT
for years (and years.. and years.. and years..), and even encouraged the
guys here to buy the book (two copies) so as to train them on the inner
workings of the interface.
We are now at the point where we want certain custom fields for the
different queues. We have about 8 different queues that we support and we
are trying to apply custom fields to different queues. For example, we have
defined one custom field pull-down called Priority with several options
that we want applied to all of the queues, one custom field called IT
Category with a pull down of several options that we want applied to our
Desktop Support queue, and one custom field called IDX Category with a
pull down of several options that we want applied to our Applications
queue.
The web interface seems rather straight forward once you work through it a
couple of times, but I cannot seem to have the correct end result. Am I
missing something here?
Thanks!
-Rich
RT 3.8.4
___
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

[rt-users] Correct way of specifing multiple groups to authenticate in RT::Authen::ExternalAuth

2009-07-07 Thread Kevin Gagel
I have multiple groups I wish to specify in myRT::Authen::ExternalAuth 
configuration. How do I specify more than a single group?

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] Error: Loaded object has different id at/opt/rt3/bin/../lib/RT/Shredder.pm line 362, line 323.

2009-07-06 Thread Kevin Gagel
Somebody... Anybody...


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: [rt-users] Error: Loaded object has different id 
at/opt/rt3/bin/../lib/RT/Shredder.pm line 362, line 323.
From: Kevin Gagel ga...@cnc.bc.ca
To: RT Users RT-Users@lists.bestpractical.com
Date: 03/07/2009 1:43 PM


My custom fields are not showing up in my dashboard. I suspect that changing 
the organization name has something to do with it. I just tried to see if 
shredder could locate one of my missing custom fields and got this error:
Loaded object has different id at /opt/rt3/bin/../lib/RT/Shredder.pm line 362,  
line 323.

I've been at this for days now and haven't gotten any further ahead. Help 
Please...


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

[rt-users] (no subject)

2009-07-06 Thread Kevin Gagel
I'm getting the following error.
---Paste---
Command output: RT server error.
The RT server which handled your email did not behave as expected. It said:
temporary failure - RT couldn't find the queue: general
---End Paste---

I have renamed the General queue to 01-General so that it always appears first 
and as the default queue. This error would have been generated by a reply to an 
update, so it appears that the queue is hardcoded somewhere. Where/how do I 
correct this so that RT uses the correct queue name?


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] rt-mailgate error

2009-07-06 Thread Kevin Gagel
Thanks all. Got it.


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] rt-mailgate error
From: Kevin Falcone falc...@bestpractical.com
To: RT Users RT-Users@lists.bestpractical.com
Date: 06/07/2009 10:02 AM


On Jul 6, 2009, at 12:53 PM, Kevin Gagel wrote:

 I'm getting the following error.
 ---Paste---
 Command output: RT server error.
 The RT server which handled your email did not behave as expected.
 It said:
 temporary failure - RT couldn't find the queue: general
 ---End Paste---

 I have renamed the General queue to 01-General so that it always
 appears first and as the default queue. This error would have been
 generated by a reply to an update, so it appears that the queue is
 hardcoded somewhere. Where/how do I correct this so that RT uses the
 correct queue name?

You can use the DefaultQueue option in 3.8 to do that without renaming anything.

You hardcode the name of the queue wherever it is that you invoke rt- mailgate,
typically this would be /etc/aliases or a procmail script, possible a fetchmail 
invocation

-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] RT can't create user from a reply email - We're using LDAP...

2009-07-03 Thread Kevin Gagel
Resending as no response yet...

--- Original message ---
Subject: RT can't create user from a reply email - We're using LDAP...
From: Kevin Gagel ga...@cnc.bc.ca
To:  rt-users@lists.bestpractical.com
Date: 25/06/2009 2:45 PM


How do I get RT configured to allow a reply message to auto create the user?

Currently I have the ldap configuration only allowing my department to login. 
But I'd like to have RT accept the reply from a user and have it append it to 
the appropriate record. As long as a reply is from one of us it does that but 
when we cc one of our users not in our department RT complains that it couldn't 
create the user and when a user replies to a RT email RT rejects the message 
and forwards it to the owner instead of adding it to the ticket.

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] import ldap users in RT with RT::Authen::ExternalAuth

2009-07-03 Thread Kevin Gagel
--- Original message ---
I've successfully used RT::Extension::LDAPImport to bring users in, and then
use RT::Authen::ExternalAuth for passwords.

 Is that the only way?

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

[rt-users] Error: Loaded object has different id at /opt/rt3/bin/../lib/RT/Shredder.pm line 362, line 323.

2009-07-03 Thread Kevin Gagel
My custom fields are not showing up in my dashboard. I suspect that changing 
the organization name has something to do with it. I just tried to see if 
shredder could locate one of my missing custom fields and got this error:
Loaded object has different id at /opt/rt3/bin/../lib/RT/Shredder.pm line 362,  
line 323.

I've been at this for days now and haven't gotten any further ahead. Help 
Please...


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] How to make the subject field mandatory?

2009-07-02 Thread Kevin Gagel
It works like a charm, thanks.


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] How to make the subject field mandatory?
From: Elton S. Fenner elton.fen...@al.rs.gov.br
To: Kevin Gagel ga...@cnc.bc.ca
Cc: RT Users RT-Users@lists.bestpractical.com
Date: 01/07/2009 10:08 AM


Kevin!
I implemented Mandatory Subject in my RT 3.8.2 following the instructions on:
http://wiki.bestpractical.com/view/Extensionsand
http://search.cpan.org/dist/RT-Extension-MandatorySubject/

Its working fine.

Elton




On 06/30/2009 05:41 PM, Kevin Gagel wrote:   How can I make the subject field a 
mandatory field?


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


!DSPAM:8,4a4a78a053771833920503!

Caro usuário:
* Se este e-mail não foi corretamente classificado como spam, encaminhe 
paras...@dspam.al.rs.gov.br, ou apenas Spam.
* Se este e-mail foi erroneamente classificado como spam, encaminhe 
paranots...@dspam.al.rs.gov.br, ou apenas Inocente.



___
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
!DSPAM:8,4a4a78a053771833920503!




Caro usuÃrio:
* Se este e-mail nÃo foi corretamente classificado como spam, ecaminhe 
paras...@dspam.al.rs.gov.brou apenas Spam.
* Se este e-mail foi erroneamente classificado como spam, encaminhe 
paranots...@dspam.al.rs.gov.brou apenas Inocente.


___
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] Custom Fields not available for dashboard edit's

2009-07-02 Thread Kevin Gagel
I'm having a problem with customfields not showing up when a user (me included) 
tries to change the column's available in a dashboard. The custom fields just 
don't show up. This started happening after I made a number of changes which 
included renaming the organization. I don't recall exactly what the old name 
was and tried a few variations but I can't seem to get those custom fields back.

I've looked at user and group rights to ensure the showcustomfield and 
modifycustomfields are selected. That doesn't seem to be the problem. I fear 
the org name change did it and I can't set it back because I don't recall the 
exact string I used before changing it.

So my question's are these:
1.) Would a change to the $Organization variable cause this problem?
2.) What would the query be to determine what names have been used so I can 
correct it?


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] RT Cookie Issue

2009-06-25 Thread Kevin Gagel
Try this and let us know how your doing then.
http://wiki.bestpractical.com/view/CleanupSessions

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: [rt-users] RT Cookie Issue
From: Varun Vyas varun.v...@elitecore.com
To: RT User List rt-users@lists.bestpractical.com
Date: 24/06/2009 10:46 PM

Hello All

From past two days i m facing one weird problem. I have RT 3.6.3. And whenever 
i logs in it allows me to log in but whenever i tried to move to other page 
then it redirects me to login page. Then i again have to type username 
password and then it takes me to page. And same thing continues whenver i try 
to transit to another page. We dnt have done any upgrade but we have deleted 
all files in *rt3/var/obj*. As we have problem that html changes which we made 
was not reflected on site. So we try to clear session and cache and objects so 
that we can have  an updated session and objects file which gives us our html 
changes

Any help is highly appreciated.

-- Thanks s Regards
Varun Vyas
Software Engineer - Automation


___
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




---
The College of New Caledonia
Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
Anti-spam information for CNC can be found at http://gateway.cnc.bc.ca
---___
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] Getting Can't locate object method host viapackage URI::_generic at/opt/rt3/bin/../lib/RT/Interface/Web.pm line 190

2009-06-25 Thread Kevin Gagel
Kevin,
You're correct but I couldn't figure out what the problem was so I had to 
remove the setting (after I figured out what was wrong) to fix it.
I was trying to correct a template setting that was emailing a link using 
localhost instead of the base url of the site so I added the following to 
correct it:
Set($WebBaseURL,'ittickets.cnc.bc.ca');
This setting is what caused the error in the subject of this message. Not 
withstanding the link in the emailed messages were actually correct with that 
setting. Yes everything worked, the email was sent the database was updated 
etc, only the redirection is what failed with the above error being returned to 
the browser.
Removing the WebBaseURL restored the redirection and the incorrect link in the 
email.
I have overcome that by manually entering the correct link in the template as 
opposed to using a variable in the template.


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] Getting Can't locate object method host viapackage 
URI::_generic at/opt/rt3/bin/../lib/RT/Interface/Web.pm line 190
From: Kevin Falcone falc...@bestpractical.com
To: RT Users RT-Users@lists.bestpractical.com
Date: 25/06/2009 10:35 AM


On Jun 24, 2009, at 5:58 PM, Kevin Gagel wrote:

 Please help! I've broken something and I'm not sure what.

 I'm pretty sure it has something to do with my RT_SiteConfig.pm
 file, I had made some changes so that links in the tickets were
 showing up correctly. They were only showing up ashttp://localhost:80/
  etc. Now they are showing up correctly.

 Anyway's the error only shows up when creating a new ticket. The
 ticket is created and everything seems to work correctly but the
 only thing updated in the browser is:
 Can't locate object method host via package URI::_generic at /
 opt/rt3/bin/../lib/RT/Interface/Web.pm line 190

 I have to go back to a previous change and then click home to
 continue.

Most likely, you have an invalid WebURL

You might want to examine all of the Web* variables you've set in your 
SiteConfig

The error comes from RT trying to redirect to your WebURL but being unable to 
parse it

-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

[rt-users] RT can't create user from a reply email - We're using LDAP...

2009-06-25 Thread Kevin Gagel
How do I get RT configured to allow a reply message to auto create the user?

Currently I have the ldap configuration only allowing my department to login. 
But I'd like to have RT accept the reply from a user and have it append it to 
the appropriate record. As long as a reply is from one of us it does that but 
when we cc one of our users not in our department RT complains that it couldn't 
create the user and when a user replies to a RT email RT rejects the message 
and forwards it to the owner instead of adding it to the ticket.

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

[rt-users] Getting Can't locate object method host via package URI::_generic at /opt/rt3/bin/../lib/RT/Interface/Web.pm line 190

2009-06-24 Thread Kevin Gagel
Please help! I've broken something and I'm not sure what.

I'm pretty sure it has something to do with my RT_SiteConfig.pm file, I had 
made some changes so that links in the tickets were showing up correctly. They 
were only showing up as http://localhost:80/ etc. Now they are showing up 
correctly.

Anyway's the error only shows up when creating a new ticket. The ticket is 
created and everything seems to work correctly but the only thing updated in 
the browser is:
Can't locate object method host via package URI::_generic at 
/opt/rt3/bin/../lib/RT/Interface/Web.pm line 190

I have to go back to a previous change and then click home to continue.


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] Question on custom scrip condition

2009-06-22 Thread Kevin Gagel
Thanks Ken for the script. I've altered Ken's script to this:
my $trans = $self-TransactionObj;
my $ticket = $self-TicketObj;
if  ($trans-Type eq 'CustomField')
{my $cf = new RT::CustomField($RT::SystemUser);
$cf-LoadByName(Queue = $ticket-QueueObj-id,
 Name = 'Urgency');
 return 0 unless $cf-id;
 if  ($trans-Field == $cf-id ic $trans-NewValue eq 'URGENT')
  {
  $RT::Logger-debug('.');
  $RT::Logger-debug('It is an URGENT ticket so send the owner a 
message.');
  $RT::Logger-debug('.');
  return 1;
  }
 else
{
$RT::Logger-debug('.');
$RT::Logger-debug('Fell through the check and into the else.');
$RT::Logger-debug('.');
}
}

return 0;
===
The debug output shows it is doing what's expected but I am not receiving an 
email. The debug output indicates that no recipients were found. So... How do I 
correct that?
I want the owner of the ticket to be notified by email if a ticket is created 
with an URGENT status or if the status changes to URGENT.

Actual debug output:
[Mon Jun 22 21:51:02 2009] [debug]: Setting deferred recipients for attribute 
creation (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:689)
[Mon Jun 22 21:51:02 2009] [debug]: Working on mailfield Bcc; recipients are  
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:650)
[Mon Jun 22 21:51:02 2009] [debug]: Subject: [Email Issue: #165] URGENT: URGENT
From: Kevin W. Gagel via RT r...@xx.bc.ca
Reply-To: r...@xx.bc.ca
Message-ID: rt-3.8.2-19683-1245707462-1931.165-1...@cnc IT Services
Precedence: bulk
X-RT-Loop-Prevention: CNC's Ticket System
RT-Ticket: CNC's Ticket System #165
Managed-by: RT 3.8.2 (http://www.bestpractical.com/rt/)
RT-Originator: ga...@xx.bc.ca
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8
X-RT-Original-Encoding: utf-8 (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:657)
[Mon Jun 22 21:51:02 2009] [debug]: Removing deferred recipients from Bcc: line 
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:680)
[Mon Jun 22 21:51:02 2009] [debug]: Setting deferred recipients for attribute 
creation (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:689)
[Mon Jun 22 21:51:02 2009] [debug]: No recipients found for deferred delivery 
on transaction #2236 (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:702)


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] Question on custom scrip condition
From: Ken Crocker kfcroc...@lbl.gov
To: Kevin Gagel ga...@cnc.bc.ca
Cc: RT Users RT-Users@lists.bestpractical.com
Date: 16/06/2009 3:56 PM


Kevin,


Here's one we use for when the development step of a ticket (CF Work-State) 
is changed to Review Approved:

# condition execution on CF Review Process

my $trans = $self-TransactionObj;
my $ticket = $self-TicketObj;

if  ($trans-Type eq 'CustomField')
{my $cf = new RT::CustomField($RT::SystemUser);
$cf-LoadByName(Queue = $ticket-QueueObj-id,
 Name = Work-State);
 return 0 unless $cf-id;
 if  ($trans-Field == $cf-id ic
  $trans-NewValue eq Review Complete-Approved)
  {
   return 1;
  }
}

return 0;

Just plug in your CF name and value you want and you're set. Hope this helps.

Kenn
LBNL

On 6/16/2009 2:53 PM, Kevin Gagel wrote:My users don't want to use 
priorities so they've had me create 4 levelsfor urgency. They only want to be 
notified by email on an item that hasthe highest urgency level set. So I want 
to setup a custom conditionthat tests for that level and then sends an email to 
the user if thatspecific level is set.

So, I have a custom field of Urgency which can have a value of URGENT, High, 
Medium, Low, or Project.
I have the template made already for the email to be sent out and thescrip 
configured for it. I just don't know how to write the customcondition to put 
into the scrip. How do I write the condition to test for URGENT and indicate 
the action to send the email?

All the references I'm finding in the RT Essentials have me a bit confused, am 
I supposed to right a new module to make this scrip or can I just add the perl 
code to the condition (not that I know what code I have to enter just yet).

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 athttp://rtbook.bestpractical.com
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help

Re: [rt-users] Question on custom scrip condition

2009-06-22 Thread Kevin Gagel
Yeah, I hadn't considered that. But in that case then it shouldn't try to send 
the email. So it'll need a check for the owner and if the owner is not nobody 
then send the message. Still, I don't know how to do either of those checks, 
for the owner and then to ensure it sends an email.

Any pointers?


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] Question on custom scrip condition
From: Ken Crocker kfcroc...@lbl.gov
To: Kevin Gagel ga...@cnc.bc.ca
Cc:  RT-Users@lists.bestpractical.com
Date: 22/06/2009 3:24 PM


Kevin,

What if the ticket is created WITHOUT an owner?

Kenn
LBNL

On 6/22/2009 2:57 PM, Kevin Gagel wrote:   Thanks Ken for the script. I've 
altered Ken's script to this:
my $trans = $self-TransactionObj;
my $ticket = $self-TicketObj;
if  ($trans-Type eq 'CustomField')
{my $cf = new RT::CustomField($RT::SystemUser);
$cf-LoadByName(Queue = $ticket-QueueObj-id,
 Name = 'Urgency');
 return 0 unless $cf-id;
 if  ($trans-Field == $cf-id ic $trans-NewValue eq 'URGENT')
  {
  $RT::Logger-debug('.');
  $RT::Logger-debug('It is an URGENT ticket so send the owner a 
message.');
  $RT::Logger-debug('.');
  return 1;
  }
 else
{
$RT::Logger-debug('.');
$RT::Logger-debug('Fell through the check and into the else.');
$RT::Logger-debug('.');
}
}

return 0;
===
The debug output shows it is doing what's expected but I am not receiving an 
email. The debug output indicates that no recipients were found. So... How do I 
correct that?
I want the owner of the ticket to be notified by email if a ticket is created 
with an URGENT status or if the status changes to URGENT.

Actual debug output:
[Mon Jun 22 21:51:02 2009] [debug]: Setting deferred recipients for attribute 
creation (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:689)
[Mon Jun 22 21:51:02 2009] [debug]: Working on mailfield Bcc; recipients are  
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:650)
[Mon Jun 22 21:51:02 2009] [debug]: Subject: [Email Issue: #165] URGENT: URGENT
From: Kevin W. Gagel via RT r...@xx.bc.ca
Reply-To: r...@xx.bc.ca
Message-ID: rt-3.8.2-19683-1245707462-1931.165-1...@cnc IT Services
Precedence: bulk
X-RT-Loop-Prevention: CNC's Ticket System
RT-Ticket: CNC's Ticket System #165
Managed-by: RT 3.8.2 (http://www.bestpractical.com/rt/)
RT-Originator:ga...@xx.bc.ca
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=utf-8
X-RT-Original-Encoding: utf-8 (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:657)
[Mon Jun 22 21:51:02 2009] [debug]: Removing deferred recipients from Bcc: line 
(/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:680)
[Mon Jun 22 21:51:02 2009] [debug]: Setting deferred recipients for attribute 
creation (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:689)
[Mon Jun 22 21:51:02 2009] [debug]: No recipients found for deferred delivery 
on transaction #2236 (/opt/rt3/bin/../lib/RT/Action/SendEmail.pm:702)


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] Question on custom scrip condition
From: Ken Crockerkfcroc...@lbl.gov
To: Kevin Gagelga...@cnc.bc.ca
Cc: RT UsersRT-Users@lists.bestpractical.com
Date: 16/06/2009 3:56 PM


Kevin,


Here's one we use for when the development step of a ticket (CF Work-State) 
is changed to Review Approved:

# condition execution on CF Review Process

my $trans = $self-TransactionObj;
my $ticket = $self-TicketObj;

if  ($trans-Type eq 'CustomField')
{my $cf = new RT::CustomField($RT::SystemUser);
$cf-LoadByName(Queue = $ticket-QueueObj-id,
 Name = Work-State);
 return 0 unless $cf-id;
 if  ($trans-Field == $cf-id ic
  $trans-NewValue eq Review Complete-Approved)
  {
   return 1;
  }
}

return 0;

Just plug in your CF name and value you want and you're set. Hope this helps.

Kenn
LBNL

On 6/16/2009 2:53 PM, Kevin Gagel wrote:My users don't want to use priorities 
so they've had me create 4 levelsfor urgency. They only want to be notified by 
email on an item that hasthe highest urgency level set. So I want to setup a 
custom conditionthat tests for that level and then sends an email to the user 
if thatspecific level is set.

So, I have a custom field of Urgency which can have a value of URGENT, High, 
Medium, Low, or Project.
I have the template made already for the email to be sent out and thescrip 
configured for it. I just don't know how to write the customcondition to put 
into the scrip. How do I write the condition to test for URGENT and indicate 
the action to send the email?

All the references I'm finding in the RT Essentials have me

[rt-users] Question on custom scrip condition

2009-06-16 Thread Kevin Gagel
My users don't want to use priorities so they've had me create 4 levels for 
urgency. They only want to be notified by email on an item that has the highest 
urgency level set. So I want to setup a custom condition that tests for that 
level and then sends an email to the user if that specific level is set.

 So, I have a custom field of Urgency which can have a value of URGENT, High, 
Medium, Low, or Project.
 I have the template made already for the email to be sent out and the scrip 
configured for it. I just don't know how to write the custom condition to put 
into the scrip. How do I write the condition to test for URGENT and indicate 
the action to send the email?

All the references I'm finding in the RT Essentials have me a bit confused, am 
I supposed to right a new module to make this scrip or can I just add the perl 
code to the condition (not that I know what code I have to enter just yet).

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] RT 3.8.3

2009-06-09 Thread Kevin Gagel
--- Original message ---
I just upgraded to rt 3.8.3 and the first thing I get after logging in is:


Undefined subroutine  HTML::Mason::Commands::GetColumnMapEntry called at 
/opt/rt3/share/html/Elements/RT__Ticket/ColumnMap line 354,line 137

Everything else seems to actually work up to the time to actually display a 
ticket.
FYI. Running on Oracle and have upgraded the DB as part of the RT upgrade.
Anyone have any ideas ?
Thanks.


Not without seeing your RT_SiteConfig.pm...


___
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] 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 falc...@bestpractical.com
To: RT Users RT-Users@lists.bestpractical.com
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

[rt-users] Resend: Problems getting LDAP authentication working...

2009-06-02 Thread Kevin Gagel
No bites on this so here is additional/updated information.
Using RT 3.8.2
Using Plugin RT-Authen-ExternalAuth to connect to Windows Active Directory for 
authentication

I cannot get the group E group_attr figured out to allow login by group only. 
What changes to my configuration do I need to make?

My RT_SiteConfig.pm:
Set( $rtname, 'XX');
Set($LogToFileNamed, /var/tmp/rt3.error);
Set($LogToFile, 'debug');
Set($ExternalAuthPriority,['My_LDAP']);
Set($ExternalInfoPriority,['My_LDAP']);
Set(@Plugins,qw(RT::Authen::ExternalAuth));
Set($ExternalSettings, {
'My_LDAP'   =  {   ## GENERIC SECTION
# The type of service 
(db/ldap/cookie)
'type' = 'ldap',
'auth' = 1,
'info' = 1,
# The server hosting 
the service
'server'
=  'XXX.XXX.XXX.XXX',
## SERVICE-SPECIFIC 
SECTION
# If you can bind to 
your LDAP server anonymously you should
# remove the user and 
pass config lines, otherwise specify them here:
#
# The username RT 
should use to connect to the LDAP server
'user'  
=  'X',
# The password RT 
should use to connect to the LDAP server
'pass'  
  =  'X',
#
# The LDAP search base
'base' =  
'ou=Campus,dc=ad,dc=cnc,dc=bc,dc=ca',
#
# ALL FILTERS MUST BE 
VALID LDAP FILTERS ENCASED IN PARENTHESES!
# YOU **MUST** SPECIFY 
A filter AND A d_filter!!
#
# The filter to use to 
match RT-Users
'filter'
=  '(objectClass=User)',
# A catch-all example 
filter: '(objectClass=*)'
#
# The filter that will 
only match disabled users
'd_filter'  
=  '(userAccountConrol:1.2.840.113556.1.4.803:=2)',
# A catch-none example 
d_filter: '(objectClass=FooBarBaz)'
#
# Should we try to use 
TLS to encrypt connections?
'tls'   
=  0,
# SSL Version to 
provide to Net::SSLeay *if* using SSL
'ssl_version'   
=  3,
# What other args 
should I pass to Net::LDAP-new($host,@args)?
'net_ldap_args' 
= [version =  3   ],
# Does authentication 
depend on group membership? What group name?
'group' 
=  'CSER',
# What is the attribute 
for the group object that determines membership?
'group_attr'
=  'member',
## RT ATTRIBUTE 
MATCHING SECTION
# The list of RT 
attributes that uniquely identify a user
# This example shows 
what you *can* specify.. I recommend reducing this
# to just the Name and 
EmailAddress to save encountering problems later.
'attr_match_list'   
= ['Name',
  

[rt-users] Help with RT Groups and LDAP group.

2009-06-02 Thread Kevin Gagel
I've got the ldap plug in working but I seem to have a disconnect between root 
and ldap users. What I mean is that I can login to RT using my ldap credentials 
but I have nothing available except tickets to open, close and new tickets. The 
root account is still available and when I login with that I can configure 
rights but my ldap users don't appear unless I do a search for them 
specifically. Some rights cannot be assigned because the ldap account does not 
appear in the list of choices to add a right to.

Can someone point me in the right direction here please?


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

[rt-users] Problems getting LDAP authentication working...

2009-06-01 Thread Kevin Gagel
I'm trying to setup LDAP through the RT-Authen-ExternalAuth plugin.

I have gotten far enough to login as a user via LDAP but I want to restrict 
login's to a specific group within my Windows AD. I can't seem to get that part 
working. I know its something I'm doing wrong but I'm not seeing what it is.

So, what I want is to allow users within a group CSER to be able to login and 
create tickets. I want another group ITAdmin to be equivalent to the RTAdmin. 
How do I set this up?

Here is my current configuration:

Set( $rtname, 'XX.ca');
Set($LogToFileNamed, /var/tmp/rt3.error);
Set($LogToFile, 'debug');
Set($ExternalAuthPriority,['My_LDAP']);
Set($ExternalInfoPriority,['My_LDAP']);
Set(@Plugins,qw(RT::Authen::ExternalAuth));
Set($ExternalSettings, {
'My_LDAP'   =  {   ## GENERIC SECTION
# The type of service 
(db/ldap/cookie)
'type' = 'ldap',
'auth' = 1,
'info' = 1,
# The server hosting 
the service
'server'
=  'XXX.XXX.XXX.XXX',
# The username RT 
should use to connect to the LDAP server
'user'  
=  'XX',
# The password RT 
should use to connect to the LDAP server
'pass'  
  =  'XX',
'base' =  
'XX',
'filter'
=  '(objectClass=Person)',
# A catch-all example 
filter: '(objectClass=*)'
#
# The filter that will 
only match disabled users
'd_filter'  
=  '(userAccountConrol:1.2.840.113556.1.4.803:=2)',
# Should we try to use 
TLS to encrypt connections?
'tls'   
=  0,
# SSL Version to 
provide to Net::SSLeay *if* using SSL
'ssl_version'   
=  3,
# What other args 
should I pass to Net::LDAP-new($host,@args)?
'net_ldap_args' 
= [version =  3   ],
# Does authentication 
depend on group membership? What group name?
'group' 
=  'CSER',
# What is the attribute 
for the group object that determines membership?
'group_attr'
=  '',
'attr_match_list'   
= ['Name',

'EmailAddress',

],
'attr_map'  
=  {   'Name' = 'sAMAccountName',

'EmailAddress' = 'mail',

}
}
}
);
1;

With the above configuration I am able to login after I get an error because of 
the blank group_attr. What exactly is supposed to be there? Every attempt to 
put something there causes the login to fail. Sample debug follows:

[Mon Jun  1 19:20:27 2009] [debug]: RT's GnuPG libraries couldn't successfully 
read your configured GnuPG home directory (/opt/rt3/var/data/gpg). PGP support 
has been disabled (/opt/rt3/bin/../lib/RT/Config.pm:339)
[Mon Jun  1 19:20:32 2009] [debug]: Reloading RT::User to work around a bug in 
RT-3.8.0 and RT-3.8.1 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)
[Mon Jun  1 19:20:32 2009] [debug]: Attempting to use external auth service: 
My_LDAP 
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)
[Mon Jun  1