[rt-users] REMOTE_USER, external auth, and email mismatching

Thomas Sibley trs at bestpractical.com
Wed May 15 18:54:44 EDT 2013


On 05/14/2013 01:41 PM, Philip Brown wrote:
> I then attempted to do the fallback suggested via
> 
> CanonicalizeEmailAddressMatch
> 
> after removing the KrbLocalUser from my apache configs.
> however, the replace did not seem to have any effect. I'm still getting
> logged in as
> user at KERB.my.com
> rather than user at my.com
> 
> for the record, I'm using a match string of
> '\@.*\.my.com$'
> 
> and replace of
> '\@my.com'

You may be mistaking the user *name* for the email address.  Without a
separate Name, RT often assigns the email address as the name.  This may
happen before canonicalization in some cases.  Can you verify the email
addresses aren't being canonicalized?  If not, there may be an
interaction with existing users, but I wouldn't expect that necessarily.

If the email address is canonicalized, but the name is still the
uncanonicalized form, I'd suggest looking at this piece from my original
mail:

    You can also do more sophisticated munging by writing your own
    RT::User::CanonicalizeUserInfo:

http://bestpractical.com/rt/docs/latest/RT/User.html#CanonicalizeUserInfo-HASH-of-ARGS





More information about the rt-users mailing list