On Fri, Nov 18, 2011 at 10:23:01AM +0000, Eduardo Suarez-Santana wrote:
> I am autocreating users from apache client certificate
> authentication. Everyone in my organization can access the site.
> 
> However, there is a problem. Let's say John has never logged into
> RT. Then, he sends a mail to the system. An unprivileged account is
> created for him. Afterwards, he logs into the system and a
> privileged account is created.
> 
> But his email was already in the system, so his email is not
> associated with his account. If I try to change by hand, I get
> 'email address already in use'.
> 
> Is it possible to avoid this behaviour? Running RT-3.8.

You can fix it by searching for the Unprivileged user and changing the
username to John.

You can change it longer-term by writing a local/lib/RT/User_Local.pm
which overrides CanonicalizeUserInfo and causes the username to be
correct from the start.

-kevin

Attachment: pgpfDdB6xgn25.pgp
Description: PGP signature

--------
RT Training Sessions (http://bestpractical.com/services/training.html)
*  Barcelona, Spain — November 28 & 29, 2011

Reply via email to