[rt-users] Problem with the rt perl module and authentication

Stephen Turner sturner at MIT.EDU
Wed Dec 21 10:10:33 EST 2005


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