[rt-users] Problem with the rt perl module and authentication
Rappaport, Evan
evan at mtvn.com
Wed Dec 21 17:03:40 EST 2005
That was the problem, all fixed now. Thanks.
-----Original Message-----
From: Stephen Turner [mailto:sturner at MIT.EDU]
Sent: Wednesday, December 21, 2005 10:11 AM
To: Rappaport, Evan; rt-users at lists.bestpractical.com
Subject: Re: [rt-users] Problem with the rt perl module and
authentication
At Tuesday 12/20/2005 04:20 PM, Rappaport, Evan wrote:
>Content-class: urn:content-classes:message
>Content-Type: multipart/alternative;
> boundary="----_=_NextPart_001_01C605AB.38B09B66"
>
>
>I'm trying to run a script which uses the RT::Interface::CLI and I get
the
>following error from the command line. Anyone get this error? Below
is
>the code using the perl interface and below that is and example call
>from the command line. I believe that the problem is probably with
>GetCurrentUser() but I am not sure.
>
>Thanks
>
>The error is ....
>
>Couldn't load from the users database.
> (/opt/rt3/lib/RT/CurrentUser.pm:145)
Check the RT User info for the user you want to be the current user.
That user must have 'gecos' set to the O/S username you use when running
the Perl script.
By the way, do you use the Perl debugger? That would allow you to step
throug hthe program and determine exactly where the error is occurring.
Good luck,
Steve
More information about the rt-users
mailing list