Rt 4.4.rc3

Hello -

I just upgraded from RT 4.4 RC2 to 4.4 RC3 in my test environment. I had
an issue in RC2 that I still have in RC3.

I go to the login page and enter my credentials – I immediately get sent
to https://10.2.1.45/rt/NoAuth/Login.html – and the page says “An
internal RT error has occurred. Your administrator can find more details in
RT’s log files.
” However, I can refresh the page and I will be logged
into RT just fine.

The rt.log file shows quite a bit of stuff (mostly debug and info stuff).
But near the bottom it shows:

[24618] [Mon Jan 11 20:31:59 2016] [error]: RT::User::ExternalAuthId
Unimplemented in RT::Record. (/opt/rt4/sbin/…/lib/RT/Record.pm line 958)

Stack:
[/usr/local/share/perl/5.14.2/DBIx/SearchBuilder/Record.pm:494]
[/opt/rt4/sbin/…/lib/RT/Record.pm:958]
[/opt/rt4/sbin/…/lib/RT/Authen/ExternalAuth.pm:522]
[/opt/rt4/sbin/…/lib/RT/Authen/ExternalAuth.pm:424]
[/opt/rt4/share/html/Elements/DoAuth:57]
[/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:308]
[/opt/rt4/share/html/autohandler:53]
(/opt/rt4/sbin/…/lib/RT/Interface/Web/Handler.pm:208)

Any help?
Max McGrath https://www.linkedin.com/pub/max-mcgrath/1b/3a6/a21
Network Administrator
Carthage College
262-552-5512
mmcgrath@carthage.edu

Hello -

Hi Max,

I just upgraded from RT 4.4 RC2 to 4.4 RC3 in my test environment. I had
an issue in RC2 that I still have in RC3.

Thank you for testing the RCs!

[24618] [Mon Jan 11 20:31:59 2016] [error]: RT::User::ExternalAuthId
Unimplemented in RT::Record. (/opt/rt4/sbin/…/lib/RT/Record.pm line 958)

The ExternalAuthId column was removed from the users table in RT 4.4. I suspect you’re still using it in ExternalSettings in RT_SiteConfig. If it’s not clear, send that over and we’ll have a look. Just be sure to censor any sensitive information in there.

Thanks,
Shawn

Thanks Shawn.

I have these in my RT_SiteConfig.pm:

Set($ExternalAuthPriority, [ ‘My_LDAP’,
]
);

Set($ExternalAuth, 1);

Set($ExternalInfoPriority, [ #‘My_MySQL’,
‘My_LDAP’
]
);

Set($ExternalServiceUsesSSLorTLS, 0);

Set($AutoCreateNonExternalUsers, 1);

Oh…and I just found this at the bottom in the attribute mappings:

 # The mapping of RT attributes on to LDAP attributes
                                                    'attr_map'
     =>  {   'Name' => 'cn',

            'RealName' => 'cn',

            'ExternalAuthId' => 'cn',

            'Gecos' => 'cn',

Is that what’s causing the issue? If so, should I get rid of it or change
it to something else?

Max

Max McGrath https://www.linkedin.com/pub/max-mcgrath/1b/3a6/a21
Network Administrator
Carthage College
262-552-5512
mmcgrath@carthage.eduOn Mon, Jan 11, 2016 at 7:12 PM, Shawn Moore shawn@bestpractical.com wrote:

On 2016年1月11日 at 15:29:03, Max McGrath (mmcgrath@carthage.edu) wrote:

Hello -

Hi Max,

I just upgraded from RT 4.4 RC2 to 4.4 RC3 in my test environment. I had
an issue in RC2 that I still have in RC3.

Thank you for testing the RCs!

[24618] [Mon Jan 11 20:31:59 2016] [error]: RT::User::ExternalAuthId
Unimplemented in RT::Record. (/opt/rt4/sbin/…/lib/RT/Record.pm line 958)

The ExternalAuthId column was removed from the users table in RT 4.4. I
suspect you’re still using it in ExternalSettings in RT_SiteConfig. If it’s
not clear, send that over and we’ll have a look. Just be sure to censor any
sensitive information in there.

Thanks,
Shawn

As an FYI, I commented out the ‘ExternalAuthId’ config and I no longer get
the error message upon login.

Max

Max McGrath https://www.linkedin.com/pub/max-mcgrath/1b/3a6/a21
Network Administrator
Carthage College
262-552-5512
mmcgrath@carthage.eduOn Mon, Jan 11, 2016 at 7:19 PM, Max McGrath mmcgrath@carthage.edu wrote:

Thanks Shawn.

I have these in my RT_SiteConfig.pm:

Set($ExternalAuthPriority, [ ‘My_LDAP’,
]
);

Set($ExternalAuth, 1);

Set($ExternalInfoPriority, [ #‘My_MySQL’,
‘My_LDAP’
]
);

Set($ExternalServiceUsesSSLorTLS, 0);

Set($AutoCreateNonExternalUsers, 1);

Oh…and I just found this at the bottom in the attribute mappings:

 # The mapping of RT attributes on to LDAP attributes
                                                    'attr_map'
     =>  {   'Name' => 'cn',

              'RealName' => 'cn',

              'ExternalAuthId' => 'cn',

              'Gecos' => 'cn',

Is that what’s causing the issue? If so, should I get rid of it or change
it to something else?

Max


Max McGrath https://www.linkedin.com/pub/max-mcgrath/1b/3a6/a21
Network Administrator
Carthage College
262-552-5512
mmcgrath@carthage.edu

On Mon, Jan 11, 2016 at 7:12 PM, Shawn Moore shawn@bestpractical.com wrote:

On 2016年1月11日 at 15:29:03, Max McGrath (mmcgrath@carthage.edu) wrote:

Hello -

Hi Max,

I just upgraded from RT 4.4 RC2 to 4.4 RC3 in my test environment. I had
an issue in RC2 that I still have in RC3.

Thank you for testing the RCs!

[24618] [Mon Jan 11 20:31:59 2016] [error]: RT::User::ExternalAuthId
Unimplemented in RT::Record. (/opt/rt4/sbin/…/lib/RT/Record.pm line

The ExternalAuthId column was removed from the users table in RT 4.4. I
suspect you’re still using it in ExternalSettings in RT_SiteConfig. If it’s
not clear, send that over and we’ll have a look. Just be sure to censor any
sensitive information in there.

Thanks,
Shawn