[rt-users] disable User_Vendor

Mike Peachey mike.peachey at jennic.com
Tue Apr 15 16:38:12 EDT 2008

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

More information about the rt-users mailing list