[rt-users] Email address in use

Kevin Falcone falcone at bestpractical.com
Fri Nov 18 12:33:12 EST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111118/06a15c1a/attachment.sig>


More information about the rt-users mailing list