Disable User_Vendor

Greetings,

I have installed RT::Authen::ExternalAuth from CPAN; the module and
corresponding RT “hook” have been installed as follows:

% tree /usr/local/share/request-tracker3.6/lib
/usr/local/share/request-tracker3.6/lib
-- RT |-- Authen | – ExternalAuth.pm
`-- User_Vendor.pm

I am finding that I am doing quite a bit of testing and configuring at
this point and would like to disable the module. I have done some
googling and searched the wiki and have not found anything that looks
promising.

So, what are the ways of disabling User_Vendor and which are preferred
(or best) ?

TIA,

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 have installed RT::Authen::ExternalAuth from CPAN; the module and
corresponding RT “hook” have been installed as follows:

% tree /usr/local/share/request-tracker3.6/lib
/usr/local/share/request-tracker3.6/lib
-- RT |-- Authen | – ExternalAuth.pm
`-- User_Vendor.pm

I am finding that I am doing quite a bit of testing and configuring at
this point and would like to disable the module. I have done some
googling and searched the wiki and have not found anything that looks
promising.

So, what are the ways of disabling User_Vendor and which are preferred
(or best) ?

I suppose I ought to put in a global variable to enable/disable all
ExternalAuth settings, you’re not the first to enquire, but for the
moment, there isn’t one.

To stop it from being used for the moment you must rename or remove
/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm (you can just
move it to User_Vendor.bak instead of deleting it). And you must also
remove the autohandler Auth callback. I’m not sure where this will be in
your distribution, but in a manual single-directory install it would be
$RTHOME/share/html/Callbacks/ExternalAuth/autohandler/Auth. Callbacks
don’t quite work the same as overlays so you are better off just
deleting this one for now and replacing it later.

In fact, you can just delete both files and then re-install
RT::Authen::ExternalAuth over the top when you want them back and they
will get overwritten just how they were.

I will try to remember to build a global enable/disable variable into
v0.06, but feel free to raise a ticket in rt.cpan.org to remind me.
Kind Regards,

Mike Peachey, IT
Tel: +44 (0) 114 281 2655
Fax: +44 (0) 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK

Confidential

Matt Zagrabelny wrote:

[…]

So, what are the ways of disabling User_Vendor and which are preferred
(or best) ?

I suppose I ought to put in a global variable to enable/disable all
ExternalAuth settings, you’re not the first to enquire, but for the
moment, there isn’t one.

To stop it from being used for the moment you must rename or remove
/usr/local/share/request-tracker3.6/lib/RT/User_Vendor.pm (you can just
move it to User_Vendor.bak instead of deleting it). And you must also
remove the autohandler Auth callback. I’m not sure where this will be in
your distribution, but in a manual single-directory install it would be
$RTHOME/share/html/Callbacks/ExternalAuth/autohandler/Auth. Callbacks
don’t quite work the same as overlays so you are better off just
deleting this one for now and replacing it later.

That explains the error I get when I log in. :slight_smile:

RT::User::UpdateFromExternal Unimplemented in HTML::Mason::Commands.
(/usr/share/request-tracker3.6/html/Callbacks/ExternalAuth/autohandler/Auth line 73)

[…]

I will try to remember to build a global enable/disable variable into
v0.06, but feel free to raise a ticket in rt.cpan.org to remind me.

Done.

Thanks Mike!

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)