[rt-users] Using LookupExternalUserInfo.

Enrique Iglesias Rodriguez enrique at kaos.es
Sat Oct 18 14:40:19 EDT 2003


Hi there.

I'm trying to activate the 'SenderMustExistInExternalDatabase' feature w/o 
success.

In RT_SiteConfig.pm I have...
Set($SenderMustExistInExternalDatabase , 1);
sub LookupExternalUserInfo {
  my $self = shift;
  my $EmailAddress = shift;
  my $RealName = shift;

  my $FoundInExternalDatabase = 0;
  my %params;

  #Name is the RT username you want to use for this user.
  $params{'Name'} = $EmailAddress;
  $params{'EmailAddress'} = $EmailAddress;
  $params{'RealName'} = $RealName;
  return ($FoundInExternalDatabase, %params);
}

(note that for testing purposes I always want to deny permission to create 
users).

But RT keeps creating new users from new e-mail ticket requests.

What I am missing?

Greetings.
-- 
Enrique Iglesias Rodriguez




More information about the rt-users mailing list