[rt-users] problems with login after upgrade to mysql 4.x and RT 3.0.5
Russell Heilling
russell at ccie.org.uk
Wed Sep 17 17:45:44 EDT 2003
D'oh.
Turns out my problem was actually due to a local customisation
overriding the standard /Elements/Callback file... After removing the
customised file I can go back to using the standard autohandler.
Sorry all :(
Russell
On Tue, Sep 16, 2003 at 11:53:33AM +0100, Russell Heilling wrote:
> On Tue, Sep 09, 2003 at 11:06:38PM -0500, Ted Serreyn wrote:
> > Was working for 3.0.4 and mysql 3.X, but now I get a login screen, type
> > username and password, and get the login screen again. No errors in http
> > logs, no idea why rt is not logging any debugging information.
> >
> > Anyone want to give me a short primer in troubleshooting RT?
>
> I've just upgraded from rt 3.0.5pre2 to 3.0.5 and am seeing the same
> issue.
>
> I am running Apache/1.3.26 with mod_perl, Postgresql 7.2.2.
>
> test-dependencies runs clean, mail to the queues is processed fine and I
> can even use a custom RT::Search module with rt-crontool to re-open
> overdue stalled tickets...
>
> But I can't log in to the web interface...
>
> The log shows nothing regarding the login attempts... I've checked the
> users table in the database, and the password matches an MD5sum
> calculated on the command line.
>
> I'm not sure that the password checking code is even being invoked - I
> tried manually disabling the user in the principals table, and then
> logged in again. In User_Overlay.pm the system should generate an info
> level log if a disabled user attempts to log in, but I don't see this
> in my logs...
>
> I think the problem is somewhere in autohandler... I made the following
> change to autohandler, and all is working for now... This is just a
> quick fix so I can get in to process tickets though, I doubt it's
> actually the correct fix...
>
> --- /usr/local/rt-3-0-5/html/autohandler 2003-09-08 19:18:38.000000000 +0100
> +++ autohandler 2003-09-16 11:46:38.000000000 +0100@@ -151,7 +151,7 @@
> $m->comp('/Elements/Callback', %ARGS, _CallbackName => 'Auth');
>
> # If the user is logging in, let's authenticate
> -if (!$session{'CurrentUser'} && defined ($user) && defined ($pass) ){
> +if (!$session{'CurrentUser'}->Id && defined ($user) && defined ($pass) ){
> $session{'CurrentUser'} = RT::CurrentUser->new();
> $session{'CurrentUser'}->Load($user);
>
>
>
> > --
> > Ted Serreyn 262-363-9265
> > Serreyn Network Services, LLC http://www.serreyn.com/
> >
> >
> >
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> >
> > Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
> >
>
> --
> Russell Heilling
> http://www.ccie.org.uk/
> PGP: finger russellh at bela.homeunix.net
--
Russell Heilling
http://www.ccie.org.uk/
PGP: finger russellh at bela.homeunix.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20030917/b9d48934/attachment.sig>
More information about the rt-users
mailing list