[rt-users] RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email
Kimberly McKinnis
kmckinnis at tivo.com
Wed Jun 10 19:23:58 EDT 2009
I turned on the permission for everyone to create tickets, so I'm getting an autoresponse and account creation now. However... the auto response template is ignoring the code that is supposed to send them a password.
{
*RT::User::GenerateRandomNextChar = \&RT::User::_GenerateRandomNextChar;
if (($Transaction->CreatorObj->id != $RT::Nobody->id) &&
(!$Transaction->CreatorObj->Privileged) &&
($Transaction->CreatorObj->__Value('Password') eq '*NO-PASSWORD*')
) {
my $user = RT::User->new($RT::SystemUser);
$user->Load($Transaction->CreatorObj->Id);
my ($stat, $pass) = $user->SetRandomPassword();
if (!$stat) {
$OUT .=
"An internal error has occurred. RT was not able to set a password for you.
Please contact kmckinnis at tivo.com for assistance.";
}
$OUT .= "
You can check the current status and history of your requests at:
".$RT::WebURL."
When prompted, enter the following username and password:
Username: ".$user->Name."
Password: ".$pass."
";
}
}
________________________________
From: rt-users-bounces at lists.bestpractical.com [mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kimberly McKinnis
Sent: Wednesday, June 10, 2009 4:01 PM
To: rt-users at lists.bestpractical.com
Subject: [rt-users] RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email
I had RT 3.4.5 running smoothly until the machine died a horrible disk death. I recovered most everything, but I think I lost a scrip or config somewhere. I have a scrip that auto adds new users to their appropriate group based on the domain in their email. However, RT is no longer auto creating users on incoming emails, and instead replies with the following: "RT could not load a valid user, and RT's configuration does not allow for the creation of a new user for your email."
Does anyone know where this might be configured? I touch RT so infrequently these days. Thanks!
~~
Kimberly McKinnis
System Operations Engineer
Service Provider Division, TiVo Inc
408-519-9607
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090610/a470b552/attachment.htm>
More information about the rt-users
mailing list