RT 3.8.0 and LDAP hacks

I’ve hacked our RT to do LDAP authentication/authorization. One bit of
what I did was based on Phillip Cole’s hacks from
Login which
includes a hack to the LoadByEmail subroutine found in CurrentUser.pm.
I see that in 3.8.0, there no longer is a LoadByEmail subroutine in
CurrentUser.pm. So, I’m wondering whether I’ll need to continue to use
my hacked CurrentUser_Local::LoadByEmail. I also have a hacked
LoadByEmail in User_Local.pm. Any thoughts? Thanks.

Karl Boyken

Karl Boyken, system administrator
karl-boyken@uiowa.edu
303A MLH, Dept. of Comp. Sci.
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA 52242 319-335-2730 (voice)
319-335-3668 (fax)

smime.p7s (3.19 KB)

In 3.8 RT::CurrentUser is read-only sub class of RT::User class, so
there is no need to duplicate the same LoadByEmail method.

Please, update the wiki.On Tue, Jul 15, 2008 at 11:00 PM, Karl Boyken boyken@divms.uiowa.edu wrote:

I’ve hacked our RT to do LDAP authentication/authorization. One bit of what
I did was based on Phillip Cole’s hacks from
Login which
includes a hack to the LoadByEmail subroutine found in CurrentUser.pm. I see
that in 3.8.0, there no longer is a LoadByEmail subroutine in
CurrentUser.pm. So, I’m wondering whether I’ll need to continue to use my
hacked CurrentUser_Local::LoadByEmail. I also have a hacked LoadByEmail in
User_Local.pm. Any thoughts? Thanks.

Karl Boyken


Karl Boyken, system administrator karl-boyken@uiowa.edu
303A MLH, Dept. of Comp. Sci. http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA 52242 319-335-2730 (voice) 319-335-3668
(fax)

Best regards, Ruslan.