On Wed, Jul 27, 2011 at 07:48:11PM -0400, Shawn M Plummer wrote: > On Jul 27, 2011, at 5:40 PM, Kevin Falcone wrote: > > > You've left off a number of useful debugging messages from > > CanonicalizeUserInfo which came right before this. Without those, > > it's hard to tell what's going on > > > > I set $LogToSyslog to debug in RT_Config and tried again. Is this what you > were referring to? Or do I need to turn something on to get better messages > from CanonicalizeUserInfo?
I'd expect to see the output of
$RT::Logger->debug( (caller(0))[3],
"called by",
caller,
"with:",
join(", ", map {sprintf("%s: %s", $_, $args->{$_})}
sort(keys(%$args))));
and a reference to every Info service queried
You may want to post your RT-Authen-ExternalAuth config and version
-kevin
> Here is everything I got from tailing /var/log/httpd/* and /var/log/message
> while I attempted to login with the new AD user I created today.
>
> Jul 27 19:44:28 rtdevel RT: RT::Authen::ExternalAuth::CanonicalizeUserInfo
> returning Disabled: 0, EmailAddress: , Gecos: rttestuser, Name: rttestuser,
> Privileged: 0
> (/opt/rt4devel/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536)
> Jul 27 19:44:28 rtdevel RT: Couldn't create user rttestuser: Could not set
> user info
> (/opt/rt4devel/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:129)
>
> ==> /var/log/httpd/rt4devel_error_log <==
> [Wed Jul 27 19:44:28 2011] [warn] [client 137.238.60.9] mod_fcgid: stderr:
> [Wed Jul 27 23:44:28 2011] [info]:
> RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: 0,
> EmailAddress: , Gecos: rttestuser, Name: rttestuser, Privileged: 0
> (/opt/rt4devel/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536),
> referer: https://rtdevel.geneseo.edu/NoAuth/Login.html
> [Wed Jul 27 19:44:28 2011] [warn] [client 137.238.60.9] mod_fcgid: stderr:
> [Wed Jul 27 23:44:28 2011] [error]: Couldn't create user rttestuser: Could
> not set user info
> (/opt/rt4devel/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:129),
> referer: https://rtdevel.geneseo.edu/NoAuth/Login.html
> [Wed Jul 27 19:44:28 2011] [warn] [client 137.238.60.9] mod_fcgid: stderr:
> [Wed Jul 27 23:44:28 2011] [error]: FAILED LOGIN for rttestuser f, referer:
> https://rtdevel.geneseo.edu/NoAuth/Login.html
>
> ==> /var/log/messages <==
> Jul 27 19:44:28 rtdevel RT: FAILED LOGIN for rttestuser from 137.238.60.9
> (/opt/rt4devel/sbin/../lib/RT/Interface/Web.pm:655)
>
> ==> /var/log/httpd/rt4devel_error_log <==
> [Wed Jul 27 19:44:31 2011] [warn] [client 137.238.60.9] mod_fcgid: stderr:
> rom 137.238.60.9 (/opt/rt4devel/sbin/../lib/RT/Interface/Web.pm:655),
> referer: https://rtdevel.geneseo.edu/NoAuth/Login.html
>
> ==> /var/log/httpd/rt4devel_access_log <==
> 137.238.60.9 - - [27/Jul/2011:19:44:27 -0400] "POST /NoAuth/Login.html
> HTTP/1.1" 200 4534 "https://rtdevel.geneseo.edu/NoAuth/Login.html"
> "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7) AppleWebKit/534.48.3 (KHTML,
> like Gecko) Version/5.1 Safari/534.48.3"
>
>
>
>
> ~~~~~~~~~~~~~
> Shawn Plummer
> Systems Manager
> CIT SUNY Geneseo
> "The mind can make substance, and people planets of its own with beings
> brighter than have been, and give a breath to forms which can outlive all
> flesh." -Lord Byron
>
>
> --------
> 2011 Training: http://bestpractical.com/services/training.html
pgpF3Jjr7CxwK.pgp
Description: PGP signature
-------- 2011 Training: http://bestpractical.com/services/training.html
