[rt-users] ExternalAuth error messages in 4.0.4

Joosep joosepm at gmail.com
Tue Nov 15 02:47:24 EST 2011


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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111115/50fa66c2/attachment.htm>


More information about the rt-users mailing list