[rt-users] [rt-users]keyword search by body

Chris Beaumont Chris_Beaumont at zdnet.com
Mon Feb 19 10:47:54 EST 2001








 Hi,

The bug in this script is that you have to be logged into RT in order to go
and view the results in RT.  Is there a way I can use the code in auth.pm
to send a cookie to trick RT into thinking that the request for an RT
ticket (using webrt.cgi?serial_num=xx ) is coming from a logged in user?  I
was thinking that I could setup a guest user and instead of letting the
code expect an RT_PASSWORD and RT_USERNAME i could hard code them in as
un:guest pw:guest.  Im not asking for a coded answer to the problem, merely
quizing as to whether this is feasable before I get into pulling auth.pm
apart.

Regards,

Chris Beaumont,

Developer, AdOps, ZDNet UK.

"Chris Beaumont" <Chris_Beaumont at zdnet.com>
19/02/2001 10:22

To: Steve Sobol <sjsobol at NorthShoreTechnologies.net>
cc: bill at daze.net, rt-users at lists.fsck.com
bcc: Chris Beaumont/CTG/LON/ZDNEUR
Subject: Re: [rt-users] [rt-users]keyword search by body


[IMAGE]







 i thought i posted this on friday but it looks like it never got out there
for some reason!?!

anyway :

>Right the LAN's back up now so i cant go home =o( but on the plus side i
got the script....

>I may have misled people a bit in that this isnt a search script which
integrates into RT, rather grabs the listings stored in >the
/install-path/rt/transactions/ dirs and performs a rudimentary keyword
search. It then provides a link to the RT Ticket >viewer *BUT* you must be
logged in to see it, otherwise you will be taken to the RT login screen. I
wrote it in an afternoon >and its one of my first efforts at Perl so
forgive me if its a little simplistic. If anyone comes up with
improvements, please >mail them back onto the list so i can integrate them.
Enjoy =o)

>btw - my rt install sits in /usr/local/rt/ and therefore i installed this
script in /usr/local/rt/bin/cgi/

>Comments welcome.

>Chris Beaumont,
>Developer, AdOps, ZDNet UK.



Steve Sobol <sjsobol at NorthShoreTechnologies.net>
16/02/2001 17:40

To: bill at daze.net, rt-users at lists.fsck.com
cc:
bcc: Chris Beaumont/CTG/LON/ZDNEUR
Subject: Re: [rt-users] [rt-users]keyword search by body


[IMAGE]
bill at daze.net wrote:

> > The reason i asked is because I have written some code that will
acomplish
> > this. If anyone would like it (keyword search by body), drop me a line
and
> > I will publish it on the list.
>
> I think it would be a step in the right direction to continue that very
> discussion... so go ahead, post away!

<AOL>
What he said
</AOL>



--
Steve Sobol, BOFH, President 888.480.4NET 866.DSL.EXPRESS 216.619.2NET
North Shore Technologies Corporation http://NorthShoreTechnologies.net
JustTheNet/JustTheNet EXPRESS DSL (ISP Services) http://JustThe.net
mailto:sjsobol at NorthShoreTechnologies.net Proud resident of Cleveland, Ohio

_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

(See attached file: search.cgi)

[IMAGE]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: att1.cgi
Type: application/octet-stream
Size: 9358 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20010219/98a14841/attachment.obj>


More information about the rt-users mailing list