Re-occurring Task/tickets

Is there a way in RT to create Re-occurring tasks in RT? For example,
every Patch Tuesday I need to test the patches and then approve them for
release via Windows Software Update Services (WSUS). So I would like a
task created and then due on the next Patch Tuesday.

Is this possible?

Another example would be dealing w/ my vulnerability scans, I need to go
in, look at the management reports, print them up and then go about
solving any new issues. This happens at a set schedule.

Is there a way in RT to create Re-occurring tasks in RT? For example,
every Patch Tuesday I need to test the patches and then approve
them for
release via Windows Software Update Services (WSUS). So I would
like a
task created and then due on the next Patch Tuesday.

This sounds like a job for cron. At the most basic level you could
just have cron generate the ticket via email. That wouldn’t let you
set the due date though. I’m sure you could write a script that
utilizes the RT API to do it and then run that from cron.

-Tim

Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA
ph: 952.988.4103 fax: 952.988.4311 blog: http://technosavvy.org

Why not just put that into either your task scheduler or on your
exchange/mail client? That does not sound like something for RT?-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Jonathan
Jesse
Sent: Wednesday, June 15, 2005 10:12 AM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Re-occurring Task/tickets

Is there a way in RT to create Re-occurring tasks in RT? For example,
every Patch Tuesday I need to test the patches and then approve them for
release via Windows Software Update Services (WSUS). So I would like a
task created and then due on the next Patch Tuesday.

Is this possible?

Another example would be dealing w/ my vulnerability scans, I need to go
in, look at the management reports, print them up and then go about
solving any new issues. This happens at a set schedule.
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Is there a way in RT to create Re-occurring tasks in RT? For example,
every Patch Tuesday I need to test the patches and then approve
them for
release via Windows Software Update Services (WSUS). So I would
like a
task created and then due on the next Patch Tuesday.

This sounds like a job for cron. At the most basic level you could
just have cron generate the ticket via email. That wouldn’t let you
set the due date though. I’m sure you could write a script that
utilizes the RT API to do it and then run that from cron.

-Tim

You shouldn’t need to use API just to set the due date. The CLI tool
can do this. Use a script to generate the ticket content into a text
file including the due=01/01/2006 field then pipe it into the CLI with
something like cat mynewticket.txt | rt -i

You’ll need to set a couple environment variables in your script first -
from memory they are RTUSER, RTPASSWD and RTSERVER - which is the URL to
your RT instance.

I think the CLI has some built in help.

  • Ken.

This email has passed through an IE Internet MailWall gateway
and has been screened for known viruses, potential viruses and
malicious code.

IE Internet.com MailWall (http://ieinternet.com/mailwall/)

Just use the RT CLI from cron.

Example Crontab Line to open a ticket to change backup tapes every
Friday at 9:00AM.

0 9 * * 5 /opt/rt3/bin/rt create -t ticket set status=new
subject=‘Change Backup Tape’ owner=‘bob’ queue='Backups’
requestors=‘bob@mycompany.com’ admincc='boss@mycompany.com’
priority=‘99’

Or if you have special fields, you can use the api to open tickets.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Tim
Wilson
Sent: Wednesday, June 15, 2005 10:48 AM
To: Jonathan Jesse
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Re-occurring Task/tickets

Is there a way in RT to create Re-occurring tasks in RT? For example,

every Patch Tuesday I need to test the patches and then approve them
for release via Windows Software Update Services (WSUS). So I would
like a task created and then due on the next Patch Tuesday.

This sounds like a job for cron. At the most basic level you could just
have cron generate the ticket via email. That wouldn’t let you set the
due date though. I’m sure you could write a script that utilizes the RT
API to do it and then run that from cron.

-Tim

Timothy Wilson
Technology Integration Specialist
Hopkins ISD #270, Hopkins, MN, USA
ph: 952.988.4103 fax: 952.988.4311 blog: http://technosavvy.org

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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Hi all,

Presently, we have Active Directory(AD) installed in our machines and the
logging into these machines is after authentication from the Active
Directory databases. Also our RT system is running on linux platform. Our
machines are on Windows platform.

The login to RT system is authenticated through the “Users” table.
Instead of doing this , we would like to carry the authentication from the
AD and got to know about the LDAP overlay code.
The problem right now is since AD is window based, could the contributed
code still be used to authenticate users because when i did some research
i found out that OpenLDAP server is the preferred system for Linux
platforms.

It will be of great help if anyone could suggest any other solution to go
past this problem

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

Hello,
as far as I know, given some thought, LDAP authentication against AD
can be done. This has been discussed on the list before, please
consult the list archives and the rt wiki.

Regards,
Harald

Is there any changes to be made to the httpd.conf file in apache to use
the LDAP overlay?

Thanks
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

David Wheeler david@kineticode.com
07/29/2005 12:18 PM

To
Ahalya_Nathan@mudnebr.com
cc
rt-users@lists.bestpractical.com,
rt-users-bounces@lists.bestpractical.com, bartschm_cl@hotmail.com,
stewart.james@vu.edu.au
Subject
Re: Doubt in LDAP Overlay contributed code in RTOn Jul 29, 2005, at 9:35 AM, Ahalya_Nathan@mudnebr.com wrote:

The problem right now is since AD is window based, could the
contributed
code still be used to authenticate users because when i did some
research
i found out that OpenLDAP server is the preferred system for Linux
platforms.

I don’t see why not. LDAP is LDAP. Try it and see.

Best,

David

It works perfectly fine with AD and was very easy to add. List archives
was what I used to figure it out, I’d suggest that.From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Ahalya_Nathan@mudnebr.com
Sent: Friday, July 29, 2005 9:36 AM
To: rt-users@lists.bestpractical.com;
rt-users-bounces@lists.bestpractical.com
Cc: bartschm_cl@hotmail.com; david@kineticode.com;
stewart.james@vu.edu.au
Subject: [rt-users] Doubt in LDAP Overlay contributed code in RT

Hi all,

Presently, we have Active Directory(AD) installed in our machines and
the logging into these machines is after authentication from the Active
Directory databases. Also our RT system is running on linux platform.
Our machines are on Windows platform.

The login to RT system is authenticated through the “Users” table.
Instead of doing this , we would like to carry the authentication from
the AD and got to know about the LDAP overlay code.
The problem right now is since AD is window based, could the contributed
code still be used to authenticate users because when i did some
research i found out that OpenLDAP server is the preferred system for
Linux platforms.

It will be of great help if anyone could suggest any other solution to
go past this problem

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

We just implemented this, not the overlay, but apache ldap auth. Here
is my changes to the config file.

Options Indexes FollowSymLinks

AllowOverride None

order allow,deny

allow from all

AuthName “Please enter your Windows password.”

AuthType Basic

LDAP_Server your_server.com

LDAP_Port 3268

Base_DN “dc=your_network,dc=com”

Bind_DN “CN=Administrator,CN=Users,DC=your_network,DC=com”

Bind_Pass “password”

Bind_Tries 5

LDAP_Protocol_Version 3

UID_Attr sAMAccountName

require valid-user

Best,
->Anthony

Anthony Meo
Partner Integration Engineer
BT Conferencing, Inc.
25 Braintree Hill Park, Suite 200
Braintree, MA 02184
§ 617.801.6636
© 617.429.9356
(f ) 617.801.6604
anthony.meo@btci.com mailto:anthony.meo@btci.com
www.btconferencing.com http://www.btconferencing.com/From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of
Ahalya_Nathan@mudnebr.com
Sent: Friday, July 29, 2005 3:02 PM
To: David Wheeler
Cc: rt-users-bounces@lists.bestpractical.com; bartschm_cl@hotmail.com;
rt-users@lists.bestpractical.com; stewart.james@vu.edu.au
Subject: [rt-users] Re: Doubt in LDAP Overlay contributed code in RT

Is there any changes to be made to the httpd.conf file in apache to use
the LDAP overlay?

Thanks
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

David Wheeler david@kineticode.com

07/29/2005 12:18 PM

To

Ahalya_Nathan@mudnebr.com

cc

rt-users@lists.bestpractical.com,
rt-users-bounces@lists.bestpractical.com, bartschm_cl@hotmail.com,
stewart.james@vu.edu.au

Subject

Re: Doubt in LDAP Overlay contributed code in RT

Hi all,
I got 2 overlay codes http://www.mosemann.com/ and another one from
http://www.justatheory.com/computers/programming/perl/rt/User_Local.pm.ldap.
Can someone tell me which is the one that i should be using? Also i found
the reference to the followign packages, but my perl doesn’t contain any
packages for LDAP. The current version of perl that i use is 5.8.6.

use Net::LDAP qw(LDAP_SUCCESS LDAP_PARTIAL_RESULTS);
use Net::LDAP::Util qw (ldap_error_name);
use Net::LDAP::Filter;

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

Hi all,
I got 2 overlay codes http://www.mosemann.com/ and another one from
http://www.justatheory.com/computers/programming/perl/rt/User_Local.pm.
ldap
Can someone tell me which is the one that i should be using?

I can’t tell you which one you should be using. I used the information
at justatheory.

Ahalya,

I use Mosemann’s code, but there are apparently various ways to tackle
LDAP auth on RT. You will need to install the correct Perl modules.
Your distro might provide RPMs, or you can always use CPAN:

bash$ perl -MCPAN -e shell
cpan> install Net::LDAP

Make sure you have all the necessary LDAP packages installed before
compiling your own Perl Net::LDAP module (openldap-devel, openldap,
openldap-clients). Hope this helps.On 7/29/05, Ahalya_Nathan@mudnebr.com Ahalya_Nathan@mudnebr.com wrote:

Hi all,
I got 2 overlay codes http://www.mosemann.com/ and another one from
http://www.justatheory.com/computers/programming/perl/rt/User_Local.pm.ldap.
Can someone tell me which is the one that i should be using? Also i found
the reference to the followign packages, but my perl doesn’t contain any
packages for LDAP. The current version of perl that i use is 5.8.6.

use Net::LDAP qw(LDAP_SUCCESS LDAP_PARTIAL_RESULTS);
use Net::LDAP::Util qw (ldap_error_name);
use Net::LDAP::Filter;

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com


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

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Hi all,
I have the recent LDAP Overlay code for RT and i am trying to integrate
the following specification into it:

“At login, the user credentials will be authenticated against AD. If the
AD user is valid, then RT will check if the corresponding local user
exists. If it does not exist, it will be created using the information
obtained through AD, and the user will be given access rights (note that
this differs from the email user creation whereby the user does not have
rights). In order to preserve the ability to login with an explicit user
name, the existing login page would need to be retained and accessed via a
new URL and any login through it would not use AD, but only the local DB.
Maintaining the local DB is critical since ticket history is tied to it.
Thus, users are created and may become inactive, but they are never
deleted. Similarly, changes would be required for the logout function and
to prevent local password changes if the DB entry was derived from AD.”

I am trying to understand the Overlay code so that i can make
modifications according to the specifications. I couldn’t understand the
part where the Email is sent to the user. Is a email with a password sent
to the new RT user ? When is the RT Users table updated with the new users
information?. I am actually not able to understand the flow of the overlay
code and if someone could give me some documentation or pointers to
understand the overlay code then it will be helpful.

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com

Hi all,
I have the recent LDAP Overlay code for RT and i am trying to integrate
the following specification into it:

“At login, the user credentials will be authenticated against AD. If the
AD user is valid, then RT will check if the corresponding local user
exists. If it does not exist, it will be created using the information
obtained through AD, and the user will be given access rights (note that
this differs from the email user creation whereby the user does not have
rights). In order to preserve the ability to login with an explicit user
name, the existing login page would need to be retained and accessed via a
new URL and any login through it would not use AD, but only the local DB.
Maintaining the local DB is critical since ticket history is tied to it.
Thus, users are created and may become inactive, but they are never
deleted. Similarly, changes would be required for the logout function and
to prevent local password changes if the DB entry was derived from AD.”

I am trying to understand the Overlay code so that i can make
modifications according to the specifications. I couldn’t understand the
part where the Email is sent to the user. Is a email with a password sent
to the new RT user ? When is the RT Users table updated with the new users
information?. I am actually not able to understand the flow of the overlay
code and if someone could give me some documentation or pointers to
understand the overlay code then it will be helpful.

Regards,
Ahalya Nathan
Senior Programmer / Analyst
Information Technology, Metropolitan Utilities District
(402) 449-8218 phone
(402) 449-8131 fax
ahalya_nathan@mudnebr.com