[rt-users] Active Directory Authentication Issue

2011-02-08 Thread Dragan
Hi everyone, I'm having problem to set the authentication to work with active directory. I'm using domain administrator user for binding the AD. This is the error from syslog[critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind: LDAP_INVALID_CREDENTIALS 49 (/usr/local/lib/rt3/lib/RT/Authen/ExternalAuth/LDAP.pm:467)and this is from ldapsearch tool:ldapsearch -h example -b "cn=some user, ou=Users, dc=example,dc=com,dc=mk" -D "admin, dc=example=com,dc=mk" -w "password"ldap_bind: Invalid credentials (49) additional info: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, veceit is obviously something to do with username and password. My question is do I need special user for binding the active directory? or it is some mismatch in the config. ThanksThis is the config from RT_SiteConfig.pmSet( @Plugins, qw(RT::Authen::ExternalAuth) );Set($ExternalAuthPriority, [ 'My_LDAP', ]);Set($ExternalInfoPriority, [ 'My_LDAP' ]);Set($ExternalServiceUsesSSLorTLS, 0);Set($AutoCreateNonExternalUsers, 0);Set($ExternalSettings, { 'My_LDAP' = { 'type' = 'ldap', 'auth' = 1, 'server' = 'example', 'user' = 'user', 'pass' = 'password', 'base' = 'ou=Users,Groups,DC=unibank,DC=com,DC=mk', 'net_ldap_args' = [ version = 3 ], 'ssl_version' = 3, 'filter' = '(objectClass=*)',# 'filter' = '(sAMAccountName=%u)', 'd_filter' = '(userAccountControl:1.2.840.113556.1.4.803:=2)',# 'd_filter' = '((objectCategory=person)(objectClass=user))', 'attr_match_list' = [ 'Name', 'EmailAddress', 'RealName',# 'WorkPhone',# 'Address2' ], 'attr_map' = { 'Name' = 'sAMAccountName', 'EmailAddress' = 'mail', 'RealName' = 'cn', 'Organization' = 'physicalDeliveryOfficeName', } }, });---http://mail.secureroot.com/ - free mailbox for hackers and geeks

Re: [rt-users] Re quest Tracker Doesn't work properly Web if Doesnt show all Elements

2011-02-08 Thread rtjoe


Thnx for help Thomas 

But i've decided to make this in an alternative way with aliases . and
it works :)



but thanks anyway 


grettings rtjoe 



-- 
View this message in context: 
http://old.nabble.com/Request-Tracker-Doesn%27t-work-properly--Web-if-Doesnt-show-all-Elements-tp30843030p30873323.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



[rt-users] RT Installation: what is more secure?

2011-02-08 Thread rtjoe


i  coped my  direktives for rt  after many many hours  


so  a new problem occurs 


which is more secure for rt  security  

should i create an rt group or should i put the installation in relation to
the group www-data


greetings rtjoe 
-- 
View this message in context: 
http://old.nabble.com/RT-Installation%3A-what-is-more-secure--tp30873384p30873384.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Re: [rt-users] LVS and RT

2011-02-08 Thread Kenneth Marshall
On Mon, Feb 07, 2011 at 10:16:22PM -0700, Thierry Thelliez wrote:
 Hello,
 
 We have been playing with different redundant architectures.
 
 The system we are trying now is comprised of:
 1- Two front end servers running an LVS based proxy system. Proxy to
 RT and also other apps.
 2- The two previous servers load balance to two RT servers.
 3- The RT servers talk to a MySQL Master/Slave setup.
 
 We are trying to understand how Mason/Perl/RT are managing end user
 sessions.  We are getting session mix-ups. User A becomes User B...
 
 Any experience with such a setup? Or any enlightenment on how user
 sessions work in RT?
 
 Thanks
 Thierry
 

Are you storing your sessions in the database with an INNODB table,
or are they stored in the filesystem?

Ken


Re: [rt-users] LVS and RT

2011-02-08 Thread Jason Ledford
I would say you need to add some persistence on your lvs side.  We do this with 
something else and keep persistence for a while (like 4 hours, more than 
normal), this way its balanced to a degree, users within a certain time frame 
are returned to the same server.  When dealing with web sessions you are 
probably going to have to do this.

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Thierry Thelliez
Sent: Tuesday, February 08, 2011 12:16 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] LVS and RT

Hello,

We have been playing with different redundant architectures.

The system we are trying now is comprised of:
1- Two front end servers running an LVS based proxy system. Proxy to RT and 
also other apps.
2- The two previous servers load balance to two RT servers.
3- The RT servers talk to a MySQL Master/Slave setup.

We are trying to understand how Mason/Perl/RT are managing end user sessions.  
We are getting session mix-ups. User A becomes User B...

Any experience with such a setup? Or any enlightenment on how user sessions 
work in RT?


Thanks
Thierry


[rt-users] using date in search conditions

2011-02-08 Thread Malek Shabou
Hi,

1/ are there a way to compare fields in a search condition, for exemple: to 
liste all
tickets that took more then a week to resolve them:

((status = 'Resolved') and (ResolvedCreated +'7 days'))


2/ not considere Weekend when comparing date: cf:

((Due  0) and (status != 'new') and (Due'-2 workings days'))


Best regards,


-- 
Shabou Malek


[rt-users] What controls Shredder rights?

2011-02-08 Thread Jeff Blaine

RT 3.8.7

I haven't found this documented anywhere yet and I don't
see any assignable rights.

Who can do it?


[rt-users] Dashboards : On the Home Page, no subscription is displayed when using Monday-Friday

2011-02-08 Thread Gerard FENELON

Hi

it is possible someone has already reported this
but I did not find by a quick check on iss...@bestpractical.com.

when I select Frequency = Monday through Friday
for a subscription to a Dashboard
then I see None on the Home page Dashboard widget
in the Subscription column

See the attached screen capture,
the 2 middle dashboards have Monday-Friday subscription

The following patch seems to correct the issue

--- share/html/Dashboards/Elements/ShowSubscription 2010-12-31 
13:53:47.0 +0100
+++ local/html/Dashboards/Elements/ShowSubscription 2011-02-08 
18:25:40.0 +0100

@@ -71,5 +71,8 @@
 elsif ($freq eq 'daily') {
 $frequency = loc(daily at [_1], $hour);
 }
+elsif ($freq eq 'm-f') {
+$frequency = loc(Mon-Fri at [_1], $hour);
+}
 }
/%INIT


Regards
Gerard

attachment: RT-Bug-Dashboard.png

Re: [rt-users] Dashboards : On the Home Page, no subscription is displayed when using Monday-Friday

2011-02-08 Thread Shawn M Moore

(11/02/08 12:38), Gerard FENELON wrote:

Hi

it is possible someone has already reported this
but I did not find by a quick check on iss...@bestpractical.com.

when I select Frequency = Monday through Friday
for a subscription to a Dashboard
then I see None on the Home page Dashboard widget
in the Subscription column

See the attached screen capture,
the 2 middle dashboards have Monday-Friday subscription

The following patch seems to correct the issue

--- share/html/Dashboards/Elements/ShowSubscription 2010-12-31
13:53:47.0 +0100
+++ local/html/Dashboards/Elements/ShowSubscription 2011-02-08
18:25:40.0 +0100
@@ -71,5 +71,8 @@
elsif ($freq eq 'daily') {
$frequency = loc(daily at [_1], $hour);
}
+ elsif ($freq eq 'm-f') {
+ $frequency = loc(Mon-Fri at [_1], $hour);
+ }
}
/%INIT


Regards
Gerard



Gerard,

Thanks for your bug report and patch. I've applied the fix to master.

Shawn


[rt-users] CF appears after update even without SeeCustomField rights

2011-02-08 Thread David Good
I've found an issue in two separate 3.8.8 installations.  Both have one
or more CustomFields that are not supposed to be visible to most users. 
The CF is managed entirely by Scrips to contain extra information not
needed by users.  In one installation, it contains the Cost Center of
the Requestor. In the other, there's a flag used to enable suppression
of notifications when a ticket is resolved and another flag used to mark
a ticket as 'urgent'.

When using the web interface (i.e. via the 'Basics' or 'Jumbo' tab), the
CF doesn't appear intially but after an update is made to any item and
saved, the CustomField appear.


[rt-users] question about Best Practical's RT site

2011-02-08 Thread Mathieu Longtin
Looking at issues.bestpractical.com, I noticed that for release tracking,
you make a release ticket, and that ticket depends on all open issues for
that release.

I tried working like that here but I find it very cumbersome to use the link
page and remember the ticket number for each release we have.

Do you have a custom UI shortcut to make a ticket part of a release?

--
Mathieu Longtin
1-514-803-8977


Re: [rt-users] question about Best Practical's RT site

2011-02-08 Thread Thomas Sibley
On 08 Feb 2011 14:55, Mathieu Longtin wrote:
 Looking at issues.bestpractical.com http://issues.bestpractical.com, I
 noticed that for release tracking, you make a release ticket, and that
 ticket depends on all open issues for that release.
 
 I tried working like that here but I find it very cumbersome to use the
 link page and remember the ticket number for each release we have.
 
 Do you have a custom UI shortcut to make a ticket part of a release?

Check out our RT dashboard:
http://issues.bestpractical.com/Dashboards/1408/RT.  The Recent bugs
not assigned to a release search has a custom format which provides a
clickable Link to 4.0.0 for each ticket found.

If you click on the title of that box (to get to the search), and then
look at the Advanced tab, you'll see how we're doing it at the bottom of
the Format textbox.

We also have a branch for autocompleting the link inputs (making it
_much_ nicer), but that's currently slated for 4.2.

Best,
Thomas


Re: [rt-users] question about Best Practical's RT site

2011-02-08 Thread Kevin Falcone
On Tue, Feb 08, 2011 at 02:55:11PM -0500, Mathieu Longtin wrote:
Looking at [1]issues.bestpractical.com, I noticed that for release 
 tracking, you make a
release ticket, and that ticket depends on all open issues for that 
 release.
 
I tried working like that here but I find it very cumbersome to use the 
 link page and remember
the ticket number for each release we have.
 
Do you have a custom UI shortcut to make a ticket part of a release?

I use a saved search on a dashboard to review open and unlinked
tickets that has a link to 4.0.0 link that was added using a custom
Format based on the Take links you see in '10 newest unowned tickets'

I believe the guest user can see the RT dashboard.

-kevin


pgp7ksaMCFslP.pgp
Description: PGP signature


Re: [rt-users] Fresh Install of RT-4.0.0rc4

2011-02-08 Thread Kevin Falcone
 If I change my httpd.conf to something referenced in web_deployment.pod such
 as:
 
 IfModule !mpm_netware_module
 IfModule !mpm_winnt_module
 #User rt
 #Group www
 /IfModule
 /IfModule
 
 VirtualHost rt.example.com
 ServerRoot /usr
 ServerAdmin root@localhost
 
 LoadModule authz_host_module modules/mod_authz_host.so
 LoadModule env_module modules/mod_env.so
 LoadModule alias_module modules/mod_alias.so
 LoadModule perl_module modules/mod_perl.so
 
 # optional apache logs for RT
 # ErrorLog /opt/rt4/var/log/apache2.error
 # TransferLog /opt/rt4/var/log/apache2.access
 # LogLevel debug
 
 AddDefaultCharset UTF-8
 PerlSetEnv RT_SITE_CONFIG /opt/rt4/etc/RT_SiteConfig.pm
 
 RedirectMatch permanent (.*)/$ $1/index.html
 
 DocumentRoot /opt/rt4/share/html
 Directory /opt/rt4/share/html
 Order allow,deny
 Allow from all
 
 SetHandler perl-script
 PerlResponseHandler Plack::Handler::Apache2
 PerlSetVar psgi_app /opt/rt4/sbin/rt-server
 /Directory
 Perl
 use Plack::Handler::Apache2;
 Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
 /Perl
 /VirtualHost
 
 My RT site doesn't run at all!  I have libapache2-mod-perl2 installed.

What errors do you get?

The mod_perl doc may want some of the cleanups I added to the fastcgi
section

-kevin


pgp8gBA7kvFko.pgp
Description: PGP signature


Re: [rt-users] Fresh Install of RT-4.0.0rc4

2011-02-08 Thread Max McGrath
Thanks for the reply Kevin.

I get Not Found.  The requested URL/rt/ was not found on this web server.
in Firefox.

And Oops!  This Link appears to be broken!  in Chrome.

It's not even an RT error at that point, so something gets seriously broken
with whatever I am doing!
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu


On Tue, Feb 8, 2011 at 2:51 PM, Kevin Falcone falc...@bestpractical.comwrote:

  If I change my httpd.conf to something referenced in web_deployment.pod
 such
  as:
 
  IfModule !mpm_netware_module
  IfModule !mpm_winnt_module
  #User rt
  #Group www
  /IfModule
  /IfModule
 
  VirtualHost rt.example.com
  ServerRoot /usr
  ServerAdmin root@localhost
 
  LoadModule authz_host_module modules/mod_authz_host.so
  LoadModule env_module modules/mod_env.so
  LoadModule alias_module modules/mod_alias.so
  LoadModule perl_module modules/mod_perl.so
 
  # optional apache logs for RT
  # ErrorLog /opt/rt4/var/log/apache2.error
  # TransferLog /opt/rt4/var/log/apache2.access
  # LogLevel debug
 
  AddDefaultCharset UTF-8
  PerlSetEnv RT_SITE_CONFIG /opt/rt4/etc/RT_SiteConfig.pm
 
  RedirectMatch permanent (.*)/$ $1/index.html
 
  DocumentRoot /opt/rt4/share/html
  Directory /opt/rt4/share/html
  Order allow,deny
  Allow from all
 
  SetHandler perl-script
  PerlResponseHandler Plack::Handler::Apache2
  PerlSetVar psgi_app /opt/rt4/sbin/rt-server
  /Directory
  Perl
  use Plack::Handler::Apache2;
  Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
  /Perl
  /VirtualHost
 
  My RT site doesn't run at all!  I have libapache2-mod-perl2 installed.

 What errors do you get?

 The mod_perl doc may want some of the cleanups I added to the fastcgi
 section

 -kevin



Re: [rt-users] No Content from Replies for Requestors!

2011-02-08 Thread Kevin Falcone
On Thu, Feb 03, 2011 at 09:34:00AM -0500, Steve McStravick wrote:
 I have a strange situation.
 We are rolling out RT 3.8.8 and have hit the following issues a couple of
 times now, but not always!
 Replies Sent out to our Requestors and Cc  sometime show Transaction
 contains no content when there IS content,
 and in fact the AdminCcs get the message on the same transaction!
  
 Here is the suspect template that is used for Requestors and Cc (slightly
 change from the default Correspondence template):

The really important thing is what Condition and Action are triggered
and for what transaction they trigger.  Unfortunately, that
information is in the Message-Id which you trimmed.

-kevin

 RT-Attach-Message: yes
 Sender: Company Support h...@email.com 
 From: Company Support h...@email.com
  
 {$Transaction-Content()}
  
 URL: {RT-Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id} 
  
  
 Whereas the AdminCc is almost the same, except I don't make the SenderFrom
 Anonymous and I add the Owner to the subject:
 RT-Attach-Message: yes
 Subject: Owner: ({$Ticket-OwnerObj-Name}) {$Ticket-Subject}
  
 URL: {RT-Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id} 
  
 {$Transaction-Content()}
  
  
 Here is a example of the emails generated (note: it had an XML attachment
 for this one..another time it has SQL attached)
 To Requestors  Ccs:
 Sender: Company Support h...@email.com 
 From: Company Support h...@email.com
 Subject: [RT#3144] FW: Multi Sample DC 
 Reply-To: h...@email.com
 ...
 MIME-Version: 1.0
 X-RT-Original-Encoding: utf-8
 Date: Wed, 2 Feb 2011 15:22:45 -0500
 RT-Attachment: 3144/37795/12542
 RT-Attachment: 3144/37795/12543
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 8bit
  
 This transaction appears to have no content
  
 Ticket URL: https://www.mycompany.com/rt3/Ticket/Display.html?id=3144 
  
 To AdminCc:
 Subject: [RT #3144] Owner: (me) FW: Multi Sample DC 
 From: My Myself via RT h...@mail.com
 Reply-To: h...@mail.com
 ...
 MIME-Version: 1.0
 X-RT-Original-Encoding: utf-8
 Date: Wed, 2 Feb 2011 15:22:45 -0500
 RT-Attachment: 3144/37795/12543
 Content-Type: text/plain; charset=utf-8
 Content-Transfer-Encoding: 8bit
  
 URL: https://www.mycompany.com/rt3/Ticket/Display.html?id=3144 
  
 Hello Scott,
  
 Can you please import the following attachment. I just added a _1 to the end
 of
 the operation Id. Please let me know if that resolves your problem.
  
  
 Thanks
 Steve



pgpY7ZfaTmbvW.pgp
Description: PGP signature


Re: [rt-users] Created date for transaction

2011-02-08 Thread Kevin Falcone
On Thu, Feb 03, 2011 at 02:02:08PM +0100, Björn Schulz wrote:
 Hi,
 
 We like to print the creation date of a transaction to a cf..
 
 $TempDate = $TA-Created()
 
 The result is, however, in GMT.
 How can I convert it to my local timezone?

$TA-CreatedObj is probably closer to what you want, and then you can
use RT::Date methods on it

-kevin


pgph1DHJeToAl.pgp
Description: PGP signature


Re: [rt-users] Fwd: Re: RT::Authen::ExternalAuth [SOLVED]

2011-02-08 Thread Kevin Falcone
On Fri, Feb 04, 2011 at 09:01:02AM +, Giuseppe Sollazzo wrote:
 FYI
 
 
 Coping /usr/local/lib/rt3/plugins/RT-Authen-ExternalAuth/lib/* to
 /usr/local/lib/rt3/lib solved the problem.

This implies you never set your @Plugins up correctly.

-kevin


pgp4SaFU0nzkr.pgp
Description: PGP signature


Re: [rt-users] Possible to stop rt-crontool from logging to ticket?

2011-02-08 Thread Kevin Falcone
On Fri, Feb 04, 2011 at 11:24:20AM -0600, John Alberts wrote:
 I haven't looked at dashboard much, but at first glance, it looks
 like the dashboard is tied to a specific user.  I wanted to setup
 something that wasn't dependent on a specific user account as the
 email I am sending the reminders out to is an email group.

You could subscribe the dashboard to your email group, you can type in
email addresses other than your own on the subscription page

You could also use RT::Action::Notify instead of
RT::Action::RecordComment, which would still record the outgoing email
but skip leaving a Comment. 

-kevin

 I like your idea of using the RT CLI.  I didn't even think of using that.  
 Thank you.
 
 
 --
 John Alberts
 Hosted Services Systems Administrator
 Ex Libris (USA) Inc.
 1350 E. Touhy Ave.  Suite 200 East
 Des Plaines, IL 60018
 
 Follow Ex Libris on Twitter: @exlibrisgroup
 
 
 -Original Message-
 From: Kenneth Marshall [mailto:k...@rice.edu] 
 Sent: Friday, February 04, 2011 11:08 AM
 To: John Alberts
 Cc: rt-users@lists.bestpractical.com
 Subject: Re: [rt-users] Possible to stop rt-crontool from logging to ticket?
 
 On Fri, Feb 04, 2011 at 10:31:05AM -0600, John Alberts wrote:
  I have setup some cronjobs to use rt-crontool to email reminders to a
  group email address about open tickets.  This works great, but every
  time it sends an email, it logs it in the ticket history.  This makes
  the ticket history quite messy.  Is there any way to tell rt-crontool
  not to log to the ticket history, or possibly specify something in the
  template I'm using?
  
   
  
  Here's an example of one of the cronjobs I'm using:
  
  0 3 * * * /opt/rt3/bin/rt-crontool --search RT::Search::FromSQL
  --search-arg Owner = 'nobody' AND Created  '2 days ago' AND Created 
  '3 days ago' AND Status != 'resolved' AND Status != 'rejected' AND
  Status != 'deleted'  --action RT::Action::RecordComment --template
  'Unowned tickets2'
  
   
  
  Also, where can I get a list of supported actions for rt-crontool?  I
  couldn't find any documentation for that.
  
   
  
  Thanks
  
  --
  
  John Alberts
  
  Hosted Services Systems Administrator
  
  Ex Libris (USA) Inc.
  1350 E. Touhy Ave.  Suite 200 East
  Des Plaines, IL 60018
 
 Hi John,
 
 The --action you are using stores the information in the History.
 Have you considered making the appropriate dashboard and then using
 the Email Dashboards function to send the appropriate reminders.
 This should avoid having to add to the History. Alternatively, you
 could send the mail from outside of RT and just use the  RT CLI to
 gather the information for your mail message.
 
 Cheers,
 Ken


pgp38VkHG6nM3.pgp
Description: PGP signature


Re: [rt-users] No Content from Replies for Requestors!

2011-02-08 Thread Kevin Falcone
On Fri, Feb 04, 2011 at 02:36:36PM -0500, Steve McStravick wrote:
 Here are the transactions from the DB.
 
 
 37795 RT::Ticket  31440   Correspond  No Subject  1215
 2011-02-02 20:22:44.0
 37796 RT::Ticket  31440   EmailRecord
 rt-3.8.8-13428-1296678164-1466.3144-5-0@eyelitrt1   2011-02-02
 20:22:45.0
 37797 RT::Ticket  31440   EmailRecord
 rt-3.8.8-13428-1296678165-1871.3144-23-0@eyelitrt   1   2011-02-02
 20:22:46.0

So, what are the Conditions, Actions and Templates for Scrips 5 and 23

-kevin


pgpHSD9UrGvbw.pgp
Description: PGP signature


Re: [rt-users] Problem with creating tickets through email

2011-02-08 Thread Kevin Falcone
On Mon, Feb 07, 2011 at 03:33:13PM +0530, Rohit Babu wrote:
Hello,
 
I have configured rt-3.6.10 on my centos-5.5 machine. I am facing problem 
 with creating ticket
through mail. i have followed the blow link:

 [1]http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg26966.html
 
But i cant create a ticket through mail. Please help.
 
Please find below my fetchmailrc file.
 
set syslog;
set daemon 20;
 
poll [2]pop.gmail.com proto pop3 port 995:
username [3]r...@mydomain.in password  ssl mda /usr/bin/perl 
 /usr/sbin/rt-mailgate
--url [4]http://192.168.1.138/rt3/ --queue General --action correspond
 
Its fetching mails from my mail account. There is no ticket created in my 
 RT.

And what do your RT logs say?


pgpVtqQUJzMJg.pgp
Description: PGP signature


Re: [rt-users] Active Directory Authentication Issue

2011-02-08 Thread Kevin Falcone
On Tue, Feb 08, 2011 at 01:20:43AM -0800, Dragan wrote:
Hi everyone, I'm having problem to set the authentication to work with 
 active directory. I'm
using domain administrator user for binding the AD. This is the error from 
 syslog
 
[critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't bind:
LDAP_INVALID_CREDENTIALS 49 
 (/usr/local/lib/rt3/lib/RT/Authen/ExternalAuth/LDAP.pm:467)
 
and this is from ldapsearch tool:
 
ldapsearch -h example -b cn=some user, ou=Users, dc=example,dc=com,dc=mk 
 -D admin,
dc=example=com,dc=mk -w password
 
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C090334, comment: 
 AcceptSecurityContext error,
data 525, vece
 
it is obviously something to do with username and password. My question is 
 do I need special
user for binding the active directory? or it is some mismatch in the 
 config. Thanks

I'd be looking at your ldap server error logs to figure out the format
it wants

-kevin

This is the config from RT_SiteConfig.pm
 
Set( @Plugins, qw(RT::Authen::ExternalAuth) );
 
Set($ExternalAuthPriority,  [   'My_LDAP',  ]
);
Set($ExternalInfoPriority,  [  'My_LDAP' ]
);
 
Set($ExternalServiceUsesSSLorTLS,0);
Set($AutoCreateNonExternalUsers,0);
Set($ExternalSettings,  {
 
'My_LDAP'   =  {
'type'  =  'ldap',
'auth'  =  1,
'server'=  'example',
'user'  =  'user',
'pass'=  'password',
'base'  =
'ou=Users,Groups,DC=unibank,DC=com,DC=mk',
'net_ldap_args' = [
 version =  3   ],
'ssl_version'   =  3,
'filter' = '(objectClass=*)',
#   'filter' = '(sAMAccountName=%u)',
'd_filter'  =
'(userAccountControl:1.2.840.113556.1.4.803:=2)',
#   'd_filter' = 
 '((objectCategory=person)(objectClass=user))',
'attr_match_list'   = [

 'Name',

 'EmailAddress',

 'RealName',
#
 'WorkPhone',
#
 'Address2'
   
  ],
'attr_map'  =  {   'Name' 
 =
'sAMAccountName',
'EmailAddress' = 'mail',
'RealName' = 'cn',
'Organization' = 
 'physicalDeliveryOfficeName',
}
},
}
);
 
 
 

 --
 
---
http://mail.secureroot.com/ - free mailbox for hackers and geeks


pgp5hwlK69GAd.pgp
Description: PGP signature


Re: [rt-users] What controls Shredder rights?

2011-02-08 Thread Kevin Falcone
On Tue, Feb 08, 2011 at 11:55:54AM -0500, Jeff Blaine wrote:
 RT 3.8.7
 
 I haven't found this documented anywhere yet and I don't
 see any assignable rights.
 
 Who can do it?

SuperUsers 


pgpz3LX8gEgWo.pgp
Description: PGP signature


Re: [rt-users] Fresh Install of RT-4.0.0rc4

2011-02-08 Thread Kevin Falcone
On Tue, Feb 08, 2011 at 02:55:01PM -0600, Max McGrath wrote:
Thanks for the reply Kevin.
I get Not Found. The requested URL/rt/ was not found on this web server. 
 in Firefox.
And Oops! This Link appears to be broken! in Chrome.
It's not even an RT error at that point, so something gets seriously 
 broken with whatever I am

I don't see anything in your config which would make /rt work

On Tue, Feb 8, 2011 at 2:51 PM, Kevin Falcone 
 [2]falc...@bestpractical.com wrote:
 
   If I change my httpd.conf to something referenced in 
 web_deployment.pod such
   as:
  
   IfModule !mpm_netware_module
   IfModule !mpm_winnt_module
   #User rt
   #Group www
   /IfModule
   /IfModule
  
   VirtualHost [3]rt.example.com
   ServerRoot /usr
   ServerAdmin root@localhost
  
   LoadModule authz_host_module modules/mod_authz_host.so
   LoadModule env_module modules/mod_env.so
   LoadModule alias_module modules/mod_alias.so
   LoadModule perl_module modules/mod_perl.so
  
   # optional apache logs for RT
   # ErrorLog /opt/rt4/var/log/apache2.error
   # TransferLog /opt/rt4/var/log/apache2.access
   # LogLevel debug
  
   AddDefaultCharset UTF-8
   PerlSetEnv RT_SITE_CONFIG /opt/rt4/etc/RT_SiteConfig.pm
  
   RedirectMatch permanent (.*)/$ $1/index.html
  
   DocumentRoot /opt/rt4/share/html
   Directory /opt/rt4/share/html
   Order allow,deny
   Allow from all
  
   SetHandler perl-script
   PerlResponseHandler Plack::Handler::Apache2
   PerlSetVar psgi_app /opt/rt4/sbin/rt-server
   /Directory
   Perl
   use Plack::Handler::Apache2;
   Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
   /Perl
   /VirtualHost
  
   My RT site doesn't run at all! I have libapache2-mod-perl2 installed.
 
  What errors do you get?
 
  The mod_perl doc may want some of the cleanups I added to the fastcgi
  section
  -kevin
 
 References
 
Visible links
1. mailto:mmcgr...@carthage.edu
2. mailto:falc...@bestpractical.com
3. http://rt.example.com/


pgpAgC8IgT7fx.pgp
Description: PGP signature


Re: [rt-users] What controls Shredder rights?

2011-02-08 Thread Jeff Blaine

I've added this info to the Shredder wiki page

On 2/8/2011 4:33 PM, Kevin Falcone wrote:

On Tue, Feb 08, 2011 at 11:55:54AM -0500, Jeff Blaine wrote:

RT 3.8.7

I haven't found this documented anywhere yet and I don't
see any assignable rights.

Who can do it?


SuperUsers


Re: [rt-users] Set ticket due date with email

2011-02-08 Thread Kenneth Marshall
On Tue, Feb 08, 2011 at 05:25:26PM -0430, Hernan Garcia wrote:
 Good evening guys,
 
 I am wondering if there's a way to set a ticket due date with the same email 
 sent to create it in the first place (like any special string format in the 
 subject or body of the email).
 
 Thanks in advance.
 

Try:

RT-Extension-CommandByMail

Cheers,
Ken


[rt-users] No Content from Replies for Requestors!

2011-02-08 Thread Steve McStravick
Scrip 5 - On Correspond Notify AdminCcs
Condition-On Correspond
Action: Notify AdminCcs
Template: Global template: Admin Correspondence
Stage: Transaction Create

Scrip 23 - On Correspond Notify-Anonymous Requestors and Ccs
Condition-On Correspond
Action: Notify Requestors and Ccs
Template: Global template: Anon-Correspondence
Stage: Transaction Create


Template - Admin Correspondence
RT-Attach-Message: yes
Subject: Owner: ({$Ticket-OwnerObj-Name}) {$Ticket-Subject}

URL: {RT-Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id} 

{$Transaction-Content()}


Template: Anon-Correspondence
Content-Type: text/html 
RT-Attach-Message: yes
Sender: Eyelit Support h...@eyelit.com 
From: Eyelit Support h...@eyelit.com

URL: {RT-Config-Get('WebURL')}Ticket/Display.html?id={$Ticket-id} 

{$Transaction-Content()}



note I've since added Content-Type: text/html since I first posted this
problem, now it does give the correspondence (in HTML) followed by the
plain-text version with all of the html tags around it.

Thank you for your response.

Steve


From: Kevin Falcone falc...@bestpractical.com
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] No Content from Replies for Requestors!
Message-ID: 20110208212900.ga70...@jibsheet.com
Content-Type: text/plain; charset=us-ascii

On Fri, Feb 04, 2011 at 02:36:36PM -0500, Steve McStravick wrote:
 Here are the transactions from the DB.
 
 
 37795 RT::Ticket  31440   Correspond  No Subject  1215
 2011-02-02 20:22:44.0
 37796 RT::Ticket  31440   EmailRecord
 rt-3.8.8-13428-1296678164-1466.3144-5-0@eyelitrt1   2011-02-02
 20:22:45.0
 37797 RT::Ticket  31440   EmailRecord
 rt-3.8.8-13428-1296678165-1871.3144-23-0@eyelitrt   1   2011-02-02
 20:22:46.0

So, what are the Conditions, Actions and Templates for Scrips 5 and 23

-kevin



Re: [rt-users] Fresh Install of RT-4.0.0rc4

2011-02-08 Thread Max McGrath
You are correct!

See...I told you I'm not good with Apache!

Anyways...when I go straight to my web server I get:

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

So, what do I need to do in my apache config to point it to wherever RT
should be running?
--
Max McGrath
Asst. Network Admin/Systems Specialist
Carthage College
262-552-5512
mmcgr...@carthage.edu


On Tue, Feb 8, 2011 at 3:34 PM, Kevin Falcone falc...@bestpractical.comwrote:

 On Tue, Feb 08, 2011 at 02:55:01PM -0600, Max McGrath wrote:
 Thanks for the reply Kevin.
 I get Not Found. The requested URL/rt/ was not found on this web
 server. in Firefox.
 And Oops! This Link appears to be broken! in Chrome.
 It's not even an RT error at that point, so something gets seriously
 broken with whatever I am

 I don't see anything in your config which would make /rt work

 On Tue, Feb 8, 2011 at 2:51 PM, Kevin Falcone [2]
 falc...@bestpractical.com wrote:
 
If I change my httpd.conf to something referenced in
 web_deployment.pod such
as:
   
IfModule !mpm_netware_module
IfModule !mpm_winnt_module
#User rt
#Group www
/IfModule
/IfModule
   
VirtualHost [3]rt.example.com
ServerRoot /usr
ServerAdmin root@localhost
   
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule env_module modules/mod_env.so
LoadModule alias_module modules/mod_alias.so
LoadModule perl_module modules/mod_perl.so
   
# optional apache logs for RT
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debug
   
AddDefaultCharset UTF-8
PerlSetEnv RT_SITE_CONFIG /opt/rt4/etc/RT_SiteConfig.pm
   
RedirectMatch permanent (.*)/$ $1/index.html
   
DocumentRoot /opt/rt4/share/html
Directory /opt/rt4/share/html
Order allow,deny
Allow from all
   
SetHandler perl-script
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
/Directory
Perl
use Plack::Handler::Apache2;
Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
/Perl
/VirtualHost
   
My RT site doesn't run at all! I have libapache2-mod-perl2
 installed.
 
   What errors do you get?
 
   The mod_perl doc may want some of the cleanups I added to the
 fastcgi
   section
   -kevin
 
  References
 
 Visible links
 1. mailto:mmcgr...@carthage.edu
 2. mailto:falc...@bestpractical.com
 3. http://rt.example.com/



[rt-users] Question about Scripts

2011-02-08 Thread Tim Gustafson
Hi,

I have an RT installation that is quite old now, and has been handed down to me 
by a person who is no longer with us.  The configuration has been modified and 
modified over the years and I'm not sure how closely it resembles the out of 
the box configuration anymore.

I've been getting some complaints from users about not getting notified in 
certain circumstances, so I was trying to make sure that I have all the right 
scrips set up, and I was wondering if the list would care to comment on what 
I've got set up right now.  I'm attaching a little text file that has the list 
of all the scrips I'm using right now.

Is the list I've attached reasonable?  Am I missing anything obvious?  Should 
any of these go away?

Thanks!

Tim Gustafson
Baskin School of Engineering
UC Santa Cruz
t...@soe.ucsc.edu
831-459-535401 - Notify Requestors of New TicketTransactionCreate   On 
Create   Autoreply To Requestors Autoreply
02 - Notify Admins of New TicketTransactionCreate   On 
Create   Notify AdminCcs Transaction
03 - Notify Requestors of CorrespondenceTransactionCreate   On 
Correspond   Notify Requestors and Ccs   Correspondence
04 - Notify Admins of CorrespondenceTransactionCreate   On 
Correspond   Notify AdminCcs Transaction
05 - Notify Others of CorrespondenceTransactionCreate   On 
Correspond   Notify Other Recipients Correspondence
06 - Notify Admins of Comment   TransactionCreate   On 
Comment  Notify AdminCcs Transaction
07 - Notify Others of Comment   TransactionCreate   On 
Comment  Notify Other Recipients Correspondence
08 - Notify Requestors of ResolutionTransactionCreate   On 
Resolve  Notify Requestors and Ccs   Resolved
09 - Notify Admins of ResolutionTransactionCreate   On 
Resolve  Notify AdminCcs Transaction
10 - Re-Open Ticket on Correspondence   TransactionCreate   On 
Correspond   Open Tickets


Re: [rt-users] Problem with creating tickets through email

2011-02-08 Thread Rohit Babu
I have resolved the problem.

It was the problem with user privileges I have created a queue in which all
everybody have permission to create ticket and now i can generate ticket
through mail

On Wed, Feb 9, 2011 at 3:00 AM, Kevin Falcone falc...@bestpractical.comwrote:

 On Mon, Feb 07, 2011 at 03:33:13PM +0530, Rohit Babu wrote:
 Hello,
 
 I have configured rt-3.6.10 on my centos-5.5 machine. I am facing
 problem with creating ticket
 through mail. i have followed the blow link:
 [1]
 http://www.mail-archive.com/rt-users@lists.bestpractical.com/msg26966.html
 
 But i cant create a ticket through mail. Please help.
 
 Please find below my fetchmailrc file.
 
 set syslog;
 set daemon 20;
 
 poll [2]pop.gmail.com proto pop3 port 995:
 username [3]r...@mydomain.in password  ssl mda /usr/bin/perl
 /usr/sbin/rt-mailgate
 --url [4]http://192.168.1.138/rt3/ --queue General --action
 correspond
 
 Its fetching mails from my mail account. There is no ticket created in
 my RT.

 And what do your RT logs say?




-- 
Regards,
Rohith Babu PS
System Administrator
Valyoo Technologies.
+919990334811


Re: [rt-users] Fresh Install of RT-4.0.0rc4

2011-02-08 Thread Xavier Montagutelli
On Tuesday 08 February 2011 23:10:06 Max McGrath wrote:
 You are correct!
 
 See...I told you I'm not good with Apache!
 
 Anyways...when I go straight to my web server I get:
 
 It works!
 
 This is the default web page for this server.
 
 The web server software is running but no content has been added, yet.
 
 So, what do I need to do in my apache config to point it to wherever RT
 should be running?
 --
 Max McGrath
 Asst. Network Admin/Systems Specialist
 Carthage College
 262-552-5512
 mmcgr...@carthage.edu
 
 On Tue, Feb 8, 2011 at 3:34 PM, Kevin Falcone 
falc...@bestpractical.comwrote:
  On Tue, Feb 08, 2011 at 02:55:01PM -0600, Max McGrath wrote:
  Thanks for the reply Kevin.
  I get Not Found. The requested URL/rt/ was not found on this web
  
  server. in Firefox.
  
  And Oops! This Link appears to be broken! in Chrome.
  It's not even an RT error at that point, so something gets seriously
  
  broken with whatever I am
  
  I don't see anything in your config which would make /rt work
  
  On Tue, Feb 8, 2011 at 2:51 PM, Kevin Falcone [2]
  
  falc...@bestpractical.com wrote:
 If I change my httpd.conf to something referenced in
  
  web_deployment.pod such
  
 as:
 
 IfModule !mpm_netware_module
 IfModule !mpm_winnt_module
 #User rt
 #Group www
 /IfModule
 /IfModule
 
 VirtualHost [3]rt.example.com

Your VirtualHost must match your previously defined NameVirtualHost 
directive.

On a Debian system, you have a /etc/apache2/ports.conf file, giving the default 
listinening port and the default NameVirtualHost. Very often *:80.

So, you should check what name to use for your VirtualHost directive. 
rt.example.com seems odd.

Ref : http://httpd.apache.org/docs/2.0/vhosts/examples.html


 ServerRoot /usr
 ServerAdmin root@localhost
 
 LoadModule authz_host_module modules/mod_authz_host.so
 LoadModule env_module modules/mod_env.so
 LoadModule alias_module modules/mod_alias.so
 LoadModule perl_module modules/mod_perl.so
 
 # optional apache logs for RT
 # ErrorLog /opt/rt4/var/log/apache2.error
 # TransferLog /opt/rt4/var/log/apache2.access
 # LogLevel debug
 
 AddDefaultCharset UTF-8
 PerlSetEnv RT_SITE_CONFIG /opt/rt4/etc/RT_SiteConfig.pm
 
 RedirectMatch permanent (.*)/$ $1/index.html
 
 DocumentRoot /opt/rt4/share/html
 Directory /opt/rt4/share/html
 Order allow,deny
 Allow from all
 
 SetHandler perl-script
 PerlResponseHandler Plack::Handler::Apache2
 PerlSetVar psgi_app /opt/rt4/sbin/rt-server
 /Directory
 Perl
 use Plack::Handler::Apache2;
 Plack::Handler::Apache2-preload(/opt/rt4/sbin/rt-server);
 /Perl
 /VirtualHost
 
 My RT site doesn't run at all! I have libapache2-mod-perl2
  
  installed.
  
What errors do you get?

The mod_perl doc may want some of the cleanups I added to the
  
  fastcgi
  
section
-kevin
   
   References
   
  Visible links
  1. mailto:mmcgr...@carthage.edu
  2. mailto:falc...@bestpractical.com
  3. http://rt.example.com/

-- 
Xavier Montagutelli  Tel : +33 (0)5 55 45 77 20
Service Commun Informatique  Fax : +33 (0)5 55 45 75 95
Universite de Limoges
123, avenue Albert Thomas
87060 Limoges cedex