[rt-users] RT3 Log File

2014-04-03 Thread tcamish
Hi,

I've been searching the forum for the past hour and been unable to find an
answer to the following simple question:

How do I open the rt.log file?

We have recently changed companies and have a new mail exchange server and
therefore changed the details in the config, but despite the tickets being
tagged with Outgoing email recorded, none of the emails are being
received. I'm hoping the log file will show whats happening.

Thanks.



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/RT3-Log-File-tp57097.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


[rt-users] [rt-announce] RT 3.8 reaches End-of-Life

2014-04-03 Thread Alex Vandiver
As previously announced, the 3.8 series of RT has now reached
end-of-life, and is no longer supported by Best Practical.  This also
ends support for RTFM, as well as RTIR 2.4 and 2.6, as those products
depended on RT 3.8.

Best Practical continues to support the RT 4.0 (maintenance) series, as
well as RT 4.2 (stable).  RTFM was integrated into RT 4.0 as Articles,
and is thus forward-compatible.  RTIR 3.0 is available for RT 4.0, and
we expect release candidates for RTIR 3.2 (compatible with RT 4.2) to be
available shortly.

If you are currently still running RT 3.8 (or earlier!) and would like
help with your upgrade, you can get in touch with us at
sa...@bestpractical.com for professional assistance.

 - Alex, for Best Practical

___
rt-announce mailing list
rt-annou...@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-announce
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


Re: [rt-users] Issue Trying To Get AD Integration Working

2014-04-03 Thread Chris Davies

On 02/04/14 20:44, Jason Batchelor wrote:
I have been trying for sometime to get AD auth working correctly on my 
server. I've managed to get most of the way there I think but am 
consistently getting hung up on an error.



Set($ExternalSettings, {
'My_LDAP'   =  {
'type'  =  'ldap',
'server'=  'ldaps://example.company.org 
http://example.company.org',

'base'  =  'dc=x,dc=org',
'filter'=  '(objectClass=*)',
'd_filter'  = 
'(userAccountControl:1.2.840.113556.1.4.803:=2)',

'tls'   =  0,
'ssl_version'   =  3,
'net_ldap_args' = [ version =  3 ]
},
} );



Some questions:
- Do you have SSL configured on port tcp/636 for your AD? (It's not an 
out-of-the-box option.) We've dropped back to using mandatory TLS on 
tcp/389.
- Have you tried using something like ldapsearch to confirm that your 
connection parameters are correct?
- IME, AD requires authentication to bind to anything other than the 
base scope. Have you omitted this just for the email, or in its entirety?



The following is a configuration that works for me

'type' = 'ldap',
'server' = 'dc.example.org',
'user' = 'u...@example.org',
'pass' = 'secretpassword',
'base' = 'dc=example,dc=org',
'filter' = '(ObjectClass=User)',
'd_filter' = '(userAccountControl:1.2.840.113556.1.4.803:=2)',
'attr_match_list' = [ 'Name', 'EmailAddress', 'displayName' ],
'attr_map' = {
'Name' = 'sAMAccountName',
'EmailAddress' = 'mail',
'Organization' = 'physicalDeliveryOfficeName',
'RealName' = 'cn',
'ExternalAuthId' = 'sAMAccountName',
'Gecos' = 'sAMAccountName',
'WorkPhone' = 'telephoneNumber',
'Address1' = 'streetAddress',
'City' = 'l',
'State' = 'st',
'Zip' = 'postalCode',
'Country' = 'co',
},
# Permit domain prefix on username (EXAMPLE\user)
# 'ad_domain_prefix' = 'EXAMPLE',  # case insensitive
# 'ad_domain_required' = 'no', # { 'yes' | 'no' }
# 'ad_domain_separator' = '\\',# split here


Here are some URLs of configurations that according to my notes were 
useful at the time

- http://www.gossamer-threads.com/lists/rt/users/109309
- http://requesttracker.wikia.com/wiki/ExternalAuth
- /opt/rt4/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm
- /root/.cpan/build/RT-Authen-ExternalAuth-0.12-9Em3TJ/README

Regards,
Chris


smime.p7s
Description: S/MIME Cryptographic Signature
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training

Re: [rt-users] Issue Trying To Get AD Integration Working

2014-04-03 Thread Kevin Falcone
On Wed, Apr 02, 2014 at 02:44:31PM -0500, Jason Batchelor wrote:
Set($ExternalSettings, {
'My_LDAP' = {
'type' = 'ldap',
'server' = 'ldaps://[1]example.company.org',
'base' = 'dc=x,dc=org',
'filter' = '(objectClass=*)',
'd_filter' = '(userAccountControl:1.2.840.113556.1.4.803:=2)',
'tls' = 0,
'ssl_version' = 3,
'net_ldap_args' = [ version = 3 ]
},
} );
--
I am trying to do this via LDAPS using our root CAs (which I have already 
 configured via
openLDAP). Each time I attempt to authenticate I get the following error 
 in the logs...

The debugging line blows up because the filter constructed is invalid
because you've not provided attr_map, which means RT has no idea how
to map things in LDAP to things in RT.

You'll need a complete config to use RT::Authen::ExternalAuth

Also, since you're just setting up, upgrade to the current release of
the module.

The docs cover the needed config settings
https://metacpan.org/source/FALCONE/RT-Authen-ExternalAuth-0.18/etc/RT_SiteConfig.pm#L212

-kevin


pgpuV9nLWOpeV.pgp
Description: PGP signature
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training

[rt-users] Tickets in one file must see by other.

2014-04-03 Thread Albert Shih
Hi everyone.


In our RT we got many queues. Let's say I've two queues 

Queue 1
Queue 2

For each queue we got a group of adminCc

queue 1 : admincc-group-1
queue 2 : admincc-group-2

Those two queues have nothing in common so in 99% time every thing 
commin in the queue 1 stay in the queue 1 and is see by the admincc-group-1
(same for queue 2)

But in the 1% of the ticket we want the other admincc-group received a
message. For example 

If someone create a ticket inside queue 1 then the admincc-group-2
received the message with the content of the ticket. 

Basically what I want is the ability to add a RT-group not a email adresse 
in the web interface (selfservice) as CC or AddCc.

Is that possible ? 

Regards.



-- 
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: j...@obspm.fr
Heure local/Local time:
jeu 3 avr 2014 23:54:55 CEST
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


[rt-users] Still Can't Figured Out DateTimeFormat

2014-04-03 Thread Tim Gustafson
Hi,

I'm still struggling with setting a custom date/time format in RT 4.2.

I've tried man different variants of the following to no avail:

Set(
  $DateTimeFormat,
  {
Format = LocalizedDateTime,
DateFormat = MM/dd/,
TimeFormat = hh:mm a
  }
);

I read the documentation on this option at:

http://www.bestpractical.com/docs/rt/4.2/RT/Date.html#LocalizedDateTime

And based on that documentation, I feel like this ought to work, but
it does not.  Specifically, the documentation reads:

--
LocalizedDateTime

Returns date and time as string, with user localization.

Supports arguments: DateFormat and TimeFormat which may contains date
and time format as specified in DateTime::Locale (default to
date_format_full and time_format_medium), AbbrDayand AbbrMonth which
may be set to 0 if you want full Day/Month names instead of
abbreviated ones.
--

However, when I set this option in my RT_SiteConfig.pm, the system
defaults back to the default date/time format.

I feel as though this ought to be an easy thing to change, and yet
none of the documentation describes how to do it.  I have asked this
question before and never received a satisfactory answer.  I recall
that at one point someone was suggesting I create a custom Perl module
and install it into RT for this purpose, but I'm having trouble
accepting that a simple change such as this requires custom coding
(however simple) rather than modifying a configuration option.  You
don't need a custom module to set the time zone, so why should you
need one to set the date/time format?

Is there really no simple configuration option that I can set to
format the date and time in an arbitrary way?

-- 

Tim Gustafson
t...@ucsc.edu
831-459-5354
Baskin Engineering, Room 313A
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training


[rt-users] Mime types of ticket attachments

2014-04-03 Thread Arkady Glazov
Hi,

Is it possible change the mime type of ticket attachment files
to appropriate type?

Our clients send in ticket MS Words file in attachment, but RT set mime
type to application/octet-stream and browser can only save file to the
disk and cn't open now.

May i change mime type or may be i can study RT can set correct type?


--
Best regards,
Arkady Glazov
http://globster.ru
-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training