Hi,

I have ExternalAuth working for people who login via the web
interface. Existing users are also able to submit tickets through the
email gateway. However, user accounts are not created via the email
gateway. The following string of errors appears for each attempt:


[Wed Oct  5 05:08:27 2011] [debug]: Converting 'us-ascii' to 'utf-8'
for text/plain - Test from User (/opt/rt4/sbin/../lib/RT/I18N.pm:240)
[Wed Oct  5 05:08:27 2011] [debug]: Going to create user with address
'[email protected]'
(/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:97)
[Wed Oct  5 05:08:27 2011] [debug]: Unprivileged users have no right
to create ticket in queue 'Help Desk'
(/opt/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:170)
[Wed Oct  5 05:08:27 2011] [error]: RT could not load a valid user,
and RT's configuration does not allow
for the creation of a new user for this email ([email protected]).

You might need to grant 'Everyone' the right 'CreateTicket' for the
queue Help Desk. (/opt/rt4/sbin/../lib/RT/Interface/Email.pm:244)
[Wed Oct  5 05:08:28 2011] [error]: RT could not load a valid user,
and RT's configuration does not allow
for the creation of a new user for your email.
(/opt/rt4/sbin/../lib/RT/Interface/Email.pm:244)
[Wed Oct  5 05:08:28 2011] [error]: Could not record email: Could not
load a valid user
(/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)

Both of the following settings are configured in RT_SiteConfig.pm:


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

However, the latter of the two wasn't needed for new users to be
created via the web interface--I added it while troubleshooting this
problem.

I see references to an ExternalAuth setting that is or may be
necessary for this feature to work, but no specific mention of
it--AutoCreateNonExternalUsers seemed the closest match, from reading
the sample config included with ExternalAuth.

The way I'm expecting it to work is that a non-existent internal (AD)
user will be auto-created as a privileged user in RT. This will give
the user the necessary permissions to submit a ticket to the Help Desk
queue.

Is there another setting that I'm missing?
--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  San Francisco, CA, USA  October 18 & 19, 2011
*  Washington DC, USA  October 31 & November 1, 2011
*  Barcelona, Spain  November 28 & 29, 2011

Reply via email to