ExternalAuth error messages in 4.0.4

Hi list!

Environment is following:
debian 6.0 x86_64
RT 4.0.4
Postgres 8.4
OpenLDAP 2.4.11.1
ExternalAuth 0.09

I’m trying to install a ExternalAuth module in the test environment to
prepare for the live system upgrade. Test environment is a snapshot of the
live system that i have upgraded from 3.8.10 to 4.0.4(no problems there).
Module installs and authentication works. Users are able to login, but
there are following errors in the log:

Nov 15 09:05:04 rttest RT: RT::Authen::ExternalAuth::LDAP::GetAuth External
Auth OK ( My_LDAP ):
user.name(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:139)
Nov 15 09:05:04 rttest RT: Couldn’t enable user 37
(/opt/rt4/sbin/…/lib/RT/User.pm:1066)
Nov 15 09:05:04 rttest RT: Use of uninitialized value $val in concatenation
(.) or string at
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
line 274.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:274)
Nov 15 09:05:04 rttest RT: Use of uninitialized value $message in
concatenation (.) or string at
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
line 274.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:274)
Nov 15 09:05:04 rttest RT: User marked as ENABLED ( user.name ) per
External Service (, )
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:274)
Nov 15 09:05:04 rttest RT: Use of uninitialized value in string eq at
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
line 236.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:236)
Nov 15 09:05:04 rttest RT: Use of uninitialized value in string eq at
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
line 236.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:236)
Nov 15 09:05:04 rttest RT: Use of uninitialized value in string eq at
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
line 236.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:236)
Nov 15 09:05:04 rttest RT: Use of uninitialized value in string eq at
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
line 236.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:236)
Nov 15 09:05:04 rttest RT: Use of uninitialized value in string eq at
/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm
line 236.
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:236)
Nov 15 09:05:04 rttest RT: RT::Authen::ExternalAuth::CanonicalizeUserInfo
returning EmailAddress: user.name@domain.com, ExternalAuthId: user.name,
Gecos: User Name, Name: user.name, RealName: User
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536)
Nov 15 09:05:04 rttest RT: Successful login for user.name from
192.168.178.13
(/opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:219)

We have same ExternalAuth version running in live environment with RT
3.8.10 and there we see only this:
Nov 15 09:27:16 rt RT: RT::Authen::ExternalAuth::LDAP::GetAuth External
Auth OK ( My_LDAP ):
user.name(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:139)
Nov 15 09:27:17 rt RT: Couldn’t enable user 37
(/opt/rt3/bin/…/lib/RT/User_Overlay.pm:1226)
Nov 15 09:27:17 rt RT: User marked as ENABLED ( user.name ) per External
Service (, )
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:274)
Nov 15 09:27:17 rt RT: Successful login for user.name from 192.168.178.13
(/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:219)

The messages seem harmless, but i would rather have no error messages in
the log.
I have two theorys why i see these messages:

  • there are some perl modules missing in the 4.0.4(which?)
  • Our username form (firstname.lastname) is causing these errors

I would be grateful if anyone could shed some light on this matter.

Thanks,
Joosep M

I’m trying to install a ExternalAuth module in the test environment to prepare for the live
system upgrade. Test environment is a snapshot of the live system that i have upgraded from
3.8.10 to 4.0.4(no problems there).
Module installs and authentication works. Users are able to login, but there are following
errors in the log:

Those look like warnings, not errors. There are some warnings
cleanups in the git repository that haven’t been released yet.

-kevin

Hi Kevin!

Thanks for the info.

JoosepOn Wed, Nov 16, 2011 at 6:53 PM, Kevin Falcone falcone@bestpractical.comwrote:

On Tue, Nov 15, 2011 at 09:47:24AM +0200, Joosep wrote:

I’m trying to install a ExternalAuth module in the test environment
to prepare for the live
system upgrade. Test environment is a snapshot of the live system
that i have upgraded from
3.8.10 to 4.0.4(no problems there).
Module installs and authentication works. Users are able to login,
but there are following
errors in the log:

Those look like warnings, not errors. There are some warnings
cleanups in the git repository that haven’t been released yet.

-kevin


RT Training Sessions (http://bestpractical.com/services/training.html)

  • Barcelona, Spain — November 28 & 29, 2011