Trying to use RT-Authen-ExternalAuth-0.05 - problems finding config options

Greetings,

I am getting the following error when I try to update a password for an
account in my RT instance.

I am running RT in a Debian Sid environment.

% dpkg -l request-tracker3.6
3.6.6-2

Using PostgreSQL (8.2) as a backend and Apache 2.2 as the webserver.

error: Can’t use an undefined value as an ARRAY reference
at /usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm line 56.
context:

52:
$RT::Logger->debug( (caller(0))[3],
53:
“Trying External authentication”);
54:

55:

Get the prioritised list of

external authentication services
56:
my @auth_services = @
$RT::ExternalAuthPriority;
57:

58:

For each of those services…

59:
foreach my $service (@auth_services)
{
60:

Which I believe I have included in the following config option:

% grep ExternalAuthPriority /etc/request-tracker3.6/RT_SiteConfig.pm
Set($ExternalAuthPriority, [‘UMD_LDAP’]);

Does anyone have any hints or have I missed something obvious?

Thanks,

Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

signature.asc (189 Bytes)

Matt Zagrabelny wrote:

Greetings,

I am getting the following error when I try to update a password for an
account in my RT instance.

Is it JUST when you try to update a password? Or when attempting login too?

It certainly seems like you’ve got everything set up right, unless
there’s something small somewhere that’s gone wrong… I would suggest
doing a:

use Data::Dumper;
$RT::Logger->debug(Dumper(@$RT::ExternalAuthPriority));

Just to see if you can confirm that User_Vendor.pm is able to pick up
the config option… but it certainly seems like it can’t, hence the
“undefined value”.

This is a LOOOONG shot, but the e-mail you sent is wrapped at so few
characters, most things are dropping to new lines and I noticed that the
wrapping didn’t wrap @$RT::ExternalAuthPriority as one word, but wrapped
it like this:

@
$RT::ExternalAuthPriority

You haven’t been trawling the file and accidentally added a space in
there have you?
Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

Update - problem solved, though I don’t know why.

Matt Zagrabelny wrote:

Greetings,

I am getting the following error when I try to update a password for an
account in my RT instance.

Is it JUST when you try to update a password? Or when attempting login too?

Login authentication is handled by a “Single Sign-on” Apache module. So,
to my knowledge it was just happening when trying to update user data.

It certainly seems like you’ve got everything set up right, unless
there’s something small somewhere that’s gone wrong… I would suggest
doing a:

use Data::Dumper;
$RT::Logger->debug(Dumper(@$RT::ExternalAuthPriority));

Just to see if you can confirm that User_Vendor.pm is able to pick up
the config option… but it certainly seems like it can’t, hence the
“undefined value”.

This is a LOOOONG shot, but the e-mail you sent is wrapped at so few
characters, most things are dropping to new lines and I noticed that the
wrapping didn’t wrap @$RT::ExternalAuthPriority as one word, but wrapped
it like this:

@
$RT::ExternalAuthPriority

You haven’t been trawling the file and accidentally added a space in
there have you?

No, thanks for checking though.

What had happened:

We had a power outage on Friday and the computer that RT was housed on
rebooted. Upon reboot things worked as expected.

???

Matt Zagrabelny - mzagrabe@d.umn.edu - (218) 726 8844
University of Minnesota Duluth
Information Technology Systems & Services
PGP key 1024D/84E22DA2 2005-11-07
Fingerprint: 78F9 18B3 EF58 56F5 FC85 C5CA 53E7 887F 84E2 2DA2

He is not a fool who gives up what he cannot keep to gain what he cannot
lose.
-Jim Elliot

signature.asc (189 Bytes)