Using command line tool

Hi.

I’m trying to use the command line tool on a box running rt3.4.4.
I’ve created a .rtrc file in the directory I’m running the rt command
line tool from.
It looks like this:

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server http://192.83.231.97
user foo
passwd foopass
____________________________

then I try to run ./rt show ticket/
but get the following error:
rt: Server error: Authorization Required (401)

it’s obviously asking for authentication through the web server but I
can’t figure out why it’s doing this.

Authentication for the box is through radius.
I’ve entered both a user:password combination from both radius and the
rt database (root) that we’re using, no luck.

Any hints appreciated.
Kind regards.
Luke.

Luke

This is how mine is working.

In the rt script I changed the server value like this for the %config
hash.

server => ‘https://rt.masking.my.domain/’,

And cat .rtrc shows this

user iqbala

It asked for the password for first time and then automatically created
a .rt_sessions
file and then never asked my password again.

cat .rt_sessions

https://rt.masking.my.domain/ iqbala RT%20Systems.443=6b65a34fd1aa299f97de8545e04c

Hope this helpsOn Tue, Dec 20, 2005 at 01:57:00PM, Luke Vanderfluit wrote:

Hi.

I’m trying to use the command line tool on a box running rt3.4.4.
I’ve created a .rtrc file in the directory I’m running the rt command
line tool from.
It looks like this:

/~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server http://192.83.231.97
user foo
passwd foopass
____________________________

then I try to run ./rt show ticket/
but get the following error:
rt: Server error: Authorization Required (401)

it’s obviously asking for authentication through the web server but I
can’t figure out why it’s doing this.

Authentication for the box is through radius.
I’ve entered both a user:password combination from both radius and the
rt database (root) that we’re using, no luck.

Any hints appreciated.
Kind regards.
Luke.


Luke


The rt-users Archives

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

Download a free sample chapter of RT Essentials from O’Reilly Media at
http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at
http://bestpractical.com/services/training.html

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
“…there are two kinds of people: those who work and those who take the credit…try
to be in the first group;…less competition there.” - Indira Gandhi

Hi there,

Does the newest RT-3.5.6 support getting/setting custom field values by CLI?

Thanks.

  • Wang

Hi there,

Does the newest RT-3.5.6 support getting/setting custom field values by CLI?

Thanks.

  • Wang