Re: [rt-users] RT-3.8.3, RT-Authen-ExternalAuth-0.08 login issue
Wed 03 Jun 2009 19:24:45 GMT Matt Millard wrote: I'm gonna keep this brief: 1. Remove ldap:// from the server URI, I don't know off the top of my head if it would work or not, but it certainly works without it. 2. As per the README, the ExternalAuth settings need to be pasted into your normal RT_SiteConfig.pm. If you leave them in the example file in the plugins directory, they will not be read. 3. You have a dead line in your config: Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDAP','Other-DB']); Set($ExternalAuthPriority,['My_LDAP']); Kill the first one. 4. The stack trace for the Failed Login message is of no use. You need to enable debug logging, and log to file. This will give you very verbose output as to precisely what is happening with the LDAP side of things. Have fun. -- 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 http://www.jennic.com __ ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
Re: [rt-users] RT-3.8.3, RT-Authen-ExternalAuth-0.08 login issue
On Thu, Jun 4, 2009 at 3:27 AM, Mike Peachey mike.peac...@jennic.com wrote: Wed 03 Jun 2009 19:24:45 GMT Matt Millard wrote: I'm gonna keep this brief: 1. Remove ldap:// from the server URI, I don't know off the top of my head if it would work or not, but it certainly works without it. Removed and made no difference. 2. As per the README, the ExternalAuth settings need to be pasted into your normal RT_SiteConfig.pm. If you leave them in the example file in the plugins directory, they will not be read. The should be included if I add the require line in my RT_SiteConfig.pm though. I moved them over to the RT_SiteConfig.pm anyway and removed the require. No difference. 3. You have a dead line in your config: Set(ExternalAuthPriority,['My_LDAP','My_MySQL','My_Oracle','SecondaryLDAP','Other-DB']); Set($ExternalAuthPriority,['My_LDAP']); This first line was actually already commented out. So no difference. Kill the first one. 4. The stack trace for the Failed Login message is of no use. You need to enable debug logging, and log to file. This will give you very verbose output as to precisely what is happening with the LDAP side of things. Logging turned on now and I still was just seeing invalid user/password errors. So I started going line by line through my config and triple checking everything. It turns out I had a typo in the ldap server name. Very frustrating as that was cleansed when I sent to the list. At least it is working now. Very frustrated that it was a typo on my part though. Have fun. -- 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 http://www.jennic.com __ --- Matt Millard gocyclo...@eml.cc http://photos.millardfam.com http://snipurl.com/mattsshareditems ___ http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users Community help: http://wiki.bestpractical.com Commercial support: sa...@bestpractical.com Discover RT's hidden secrets with RT Essentials from O'Reilly Media. Buy a copy at http://rtbook.bestpractical.com
[rt-users] RT-3.8.3, RT-Authen-ExternalAuth-0.08 login issue
I'm doing a fresh install of RT-3.8.3, RT-Authen-ExternalAuth-0.08, and AD for authentication. All running on RHEL5 x86_64 for the OS. I had this all working with RT-3.6.7 and RT-Authen-ExternalAuth-0.05, but had the brilliant idea that I needed to be current since 3.8.3 was released on the same day I got the old version working. Oh well... Any thoughts on where to go with this? Here is what I get in my error_log when I login with a verified username/password. [Wed Jun 3 17:46:08 2009] [error]: FAILED LOGIN for myuser from 192.168.1.100 (/opt/rt3/share/html/autohandler:268) Trace begun at /opt/rt3/bin/../lib/RT.pm line 289 Log::Dispatch::__ANON__('Log::Dispatch=HASH(0x2aeca7462620)', 'FAILED LOGIN for myuser from 192.168.1.100') called at /opt/rt3/share/html/autohandler line 268 HTML::Mason::Commands::__ANON__('pass', 'mypass', 'user', 'myuser') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x2aeca75a3180)', 'pass', 'mypass', 'user', 'myuser') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1273 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 1268 HTML::Mason::Request::comp(undef, undef, undef, 'pass', 'mypass', 'user', 'myuser') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 467 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 467 eval {...} at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/Request.pm line 419 HTML::Mason::Request::exec('RT::Interface::Web::Request=HASH(0x2aeca74a6ff0)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168 HTML::Mason::Request::ApacheHandler::exec('RT::Interface::Web::Request=HASH(0x2aeca74a6ff0)') called at /usr/lib/perl5/vendor_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825 HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x2aeca42ab740)', 'Apache2::RequestRec=SCALAR(0x2aeca3f49f70)') called at /opt/rt3/bin/webmux.pl line 163 eval {...} at /opt/rt3/bin/webmux.pl line 163 RT::Mason::handler('Apache2::RequestRec=SCALAR(0x2aeca3f49f70)') called at -e line 0 Site Config from web interface: Loaded perl modules Perl v5.8.8 under linux Apache2::Const v2.04; Apache2::Log v2.04; Apache2::RequestIO v2.04; Apache2::RequestRec v2.04; Apache2::RequestUtil v2.04; Apache2::Response v2.04; Apache2::ServerUtil v2.04; Apache2::Status v4.00; Apache::Session v1.86; Apache::Session::Generate::MD5 v2.1; Apache::Session::Lock::MySQL v1.01; Apache::Session::MySQL v1.01; Apache::Session::Serialize::Storable v1.01; Apache::Session::Store::DBI v1.02; Apache::Session::Store::MySQL v1.04; APR v0.009000; APR::Pool v0.009000; APR::Table v0.009000; AutoLoader v5.60; base v2.07; bytes v1.02; Cache::Simple::TimedExpiry v0.27; Carp v1.04; CGI v3.43; CGI::Cookie v1.29; CGI::Util v1.5_01; Class::Accessor v0.33; Class::Accessor::Fast v0.33; Class::Container v0.12; Class::Data::Inheritable v0.06; Class::Inspector v1.24; Class::ISA v0.33; Class::ReturnValue v0.55; Clone v0.27; constant v1.05; Convert::ASN1 v0.22; CSS::Squish v0.07; Cwd v3.12; Data::Dumper v2.121_08; Date::Format v2.22; Date::Parse v2.27; DateTime v0.50; DateTime::Locale v0.42; DateTime::TimeZone v0.91; DateTime::TimeZone::Floating v0.01; DateTime::TimeZone::Local v0.01; DateTime::TimeZone::OffsetOnly v0.02; DateTime::TimeZone::UTC v0.01; DBD::mysql v3.0007; DBI v1.52; DBIx::SearchBuilder v1.54; DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01; Devel::StackTrace v1.20; Devel::StackTraceFrame v1.20; Digest::base v1.00; Digest::MD5 v2.36; DynaLoader v1.05; Email::Address v1.889; Encode v2.33; Encode::Alias v2.12; Encode::Config v2.05; Encode::Encoding v2.05; Errno v1.0901; Exception::Class v1.23; Exception::Class::Base v1.2; Exporter v5.58; Exporter::Heavy v5.58; Fcntl v1.05; File::Basename v2.74; File::Glob v1.05; File::Path v1.08; File::ShareDir v1.00; File::Spec v3.12; File::Spec::Unix v1.5; File::Temp v0.21; FileHandle v2.01; GD v2.35; GD::Image v2.27; HTML::Element v3.23; HTML::Entities v1.35; HTML::Formatter v2.04; HTML::FormatText v2.04; HTML::Mason v1.39; HTML::Mason::ApacheHandler v1.69; HTML::Mason::Exception v1.1; HTML::Mason::Exception::Abort v1.1; HTML::Mason::Exception::Compilation v1.1; HTML::Mason::Exception::Compilation::IncompatibleCompiler v1.1; HTML::Mason::Exception::Compiler v1.1; HTML::Mason::Exception::Decline v1.1; HTML::Mason::Exception::Params v1.1; HTML::Mason::Exception::Syntax v1.1; HTML::Mason::Exception::System v1.1; HTML::Mason::Exception::TopLevelNotFound v1.1; HTML::Mason::Exception::VirtualMethod v1.1; HTML::Mason::Exceptions v1.43; HTML::Parser v3.55; HTML::Scrubber v0.08; HTML::Tagset v3.10; HTML::TreeBuilder v3.23; I18N::LangTags v0.35; I18N::LangTags::Detect v1.03; integer v1.00; IO v1.22; IO::File v1.13;