[rt-users] rt-mailgate error wht ExternalAuth On User Creation by Email

Luciano Ernesto da Silva luciano at cpd.ufrgs.br
Mon Oct 31 07:49:51 EDT 2011




Some users send an email to email address of the queue to open tickets,
but we are getting this error on user creation, since we are using
ExternalAuth (RT4.0.2 + ExternalAuth 0.09):



Sat Oct 29 12:37:42 2011] [crit]: User creation failed in mailgateway:
Name in use (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:244)

Trace begun at /opt/rt4/sbin/../lib/RT.pm line 249

Log::Dispatch::log('Log::Dispatch=HASH(0x7f4acf1969b0)', 'level',
'crit', 'message', 'User creation failed in mailgateway: Name in use')
called at /opt/rt4/sbin/../lib/RT/Inter

face/Email.pm line 244

RT::Interface::Email::MailError('To', 'johndoe at mydomain.com', 'Subject',
'User could not be created', 'Explanation', 'User creation failed in
mailgateway: Name in use', 'MIMEObj',
'MIME::Entity=HASH(0x7f4aced00a98)', 'LogLevel', 'crit') called at
/opt/rt4/sbin/../lib/RT/Interface/Email.pm line 999



I had set RT_SiteConfig.pm with 

Set($AutoCreateNonExternalUsers, 1);

Set($AutoCreate, {Privileged => 1});


On interface is granted rights to Everyone:

Comment on tickets

Create tickets 

Reply to tickets



My attributes on LDAP are these:



'attr_match_list'           => ['Name', 'EmailAddress'],

'attr_map'                  => {'Name' => 'uid', 'EmailAddress' =>
'mail', 'RealName' => 'cn', 'ExternalAuthId' => 'uid'}



Actually I checked the list of users, I don't have any user with same
name of the requestor.



Should I use Set($AutoCreate, {UnPrivileged => 1}); or something like





Luciano Silva

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111031/5105b41c/attachment.htm>

More information about the rt-users mailing list