RT 4.0.0. and RT::Authen::ExternalAuth

Hi there,

I’ve managed to do a test upgrade from 3.8.9 to 4.0.0 and now I’m
working on installing plugins. I’m starting with the most important one

  • allowing us to authenticate to LDAP.
    After I successfully install RT::Authen::ExternalAuth 0.08_02 I get lots
    of warnings in rt.log:

[Thu May 5 13:41:25 2011] [warning]: Subroutine SetPreferences
redefined at /opt/rt4/sbin/…/lib/RT/User.pm line 1305.
(/opt/rt4/sbin/…/lib/RT/User.pm:1305)
[Thu May 5 13:41:25 2011] [warning]: Subroutine WatchedQueues redefined
at /opt/rt4/sbin/…/lib/RT/User.pm line 1332.
(/opt/rt4/sbin/…/lib/RT/User.pm:1332)

and many more like this.
Am I doing something wrong?

The authentication to LDAP works fine, but those warnings are confusing
and just look ugly…

Regards,
Robert Wysocki
CONTIUM S.A., http://www.contium.pl

Dnia 2011-05-05, czw o godzinie 15:46 +0200, Robert Wysocki pisze:

Hi there,

I’ve managed to do a test upgrade from 3.8.9 to 4.0.0 and now I’m
working on installing plugins. I’m starting with the most important one

  • allowing us to authenticate to LDAP.
    After I successfully install RT::Authen::ExternalAuth 0.08_02 I get lots
    of warnings in rt.log:

[Thu May 5 13:41:25 2011] [warning]: Subroutine SetPreferences
redefined at /opt/rt4/sbin/…/lib/RT/User.pm line 1305.
(/opt/rt4/sbin/…/lib/RT/User.pm:1305)
[Thu May 5 13:41:25 2011] [warning]: Subroutine WatchedQueues redefined
at /opt/rt4/sbin/…/lib/RT/User.pm line 1332.
(/opt/rt4/sbin/…/lib/RT/User.pm:1332)

and many more like this.
Am I doing something wrong?

The authentication to LDAP works fine, but those warnings are confusing
and just look ugly…

OK, my fault.
The problem was in not-cleaning mason cache.

Robert Wysocki
CONTIUM S.A., http://www.contium.pl

Hi there,

I’ve managed to do a test upgrade from 3.8.9 to 4.0.0 and now I’m
working on installing plugins. I’m starting with the most important one

  • allowing us to authenticate to LDAP.
    After I successfully install RT::Authen::ExternalAuth 0.08_02 I get lots
    of warnings in rt.log:

Is this a clean ExternalAuth install or an upgrade of an earlier
version of that module?

The warnings appear harmless, but not following ExternalAuth’s upgrade
instructions in the README could cause excessive warnings or failures.