[rt-users] Re: LookupSenderInExternalDatabase ?

seph seph at directionless.org
Wed Oct 29 09:20:47 EST 2003


"Bob Goldstein" <bobg at uic.edu> writes:

>   Alternatively (but not quite as cool) would be
>   to create users on the fly.  Yes, I know RT does this,
>   but it always sets the Name = Email when doing so.
>   For me, the login name (we use an external auth method)
>   is related to, but not identical, to the email address
>   for most of my users.  So I'd need to modify
>   either User_Overlay.pm::LoadOrCreateByEmail()
>   or User_Overlay.pm::Create() in order to cannonicallize
>   the Name.  Which I would do, presumably in User_Local.pm,
>   except that I only want to make a tiny change, and not
>   have to override a large subroutine.

If I went this route, I'd patch Create() to include a canonicalize
function similar to the WebAuth ones. Though you could just have
people's account names be their email addresses, and canonicalize the
external auth to match. 

seph



More information about the rt-users mailing list