Skip Menu |

This queue is for tickets about the RT-Authen-ExternalAuth CPAN distribution.

Report information
The Basics
Id: 35533
Status: rejected
Priority: 0/
Queue: RT-Authen-ExternalAuth

People
Owner: zordrak [...] cpan.org
Requestors: joshua [...] mso.anu.edu.au
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: RT::User::UpdateFromLdap unimplemented error on Solaris 10 (Sun LDAP Server)
Date: Wed, 30 Apr 2008 09:54:55 +1000
To: bug-RT-Authen-ExternalAuth [...] rt.cpan.org
From: Joshua Rich <joshua [...] mso.anu.edu.au>
Hi There, I'm running RT 3.6.6 on Solaris 10, and the Sun LDAP implementation. I've installed the RT-Authen-ExternalAuth module 'sucessfully' and have run across an error with it. It seems to work, but only after printing out an error the first time a user logs in. Steps to reproduce for me: 1. Load the RT web interface. 2. Enter a valid (i.e. existing in both LDAP and RT) user. 3. After entering a valid user and pass of an existing RT user, the following error message is displayed: System error error: RT::User::UpdateFromLdap Unimplemented in HTML::Mason::Commands. (/export/www/request-tracker/local/html/Callbacks/LDAP/autohandler/Auth line 32) context: ... 491: else { 492: my ( $package, $filename, $line ); 493: ( $package, $filename, $line ) = caller; 494: 495: die "$AUTOLOAD Unimplemented in $package. ($filename line $line) \n"; 496: } 497: 498: } 499: ... code stack: /opt/csw/share/perl/site_perl/DBIx/SearchBuilder/Record.pm:495 /export/www/request-tracker/local/html/Callbacks/LDAP/autohandler/Auth:32 /export/www/request-tracker/share/html/Elements/Callback:85 /export/www/request-tracker/share/html/autohandler:240 4. Hitting refresh in the browser brings the user to the RT home page as if the log-in had worked flawlessly. I have attached some relevant information reported in RT's system configuration page as the attachment rt-info.txt (a note, the Perl information reports being compiled on a Solaris 8 machine, as I'm using the Perl provided in the Blastwave Solaris binary package repository, www.blastwave.org. The actual machine running RT is Solaris 10). Apologies if this bug report is a bit slim on details, let me know if I can provide any further information or anything else I can try that will help debug this issue. Thanks and regards, Joshua Rich
Perl v5.8.8 under solaris Apache2::Const v2.000003; Apache2::Log v2.000003; Apache2::Module v2.000003; Apache2::RequestIO v2.000003; Apache2::RequestRec v2.000003; Apache2::RequestUtil v2.000003; Apache2::Response v2.000003; Apache2::ServerUtil v2.000003; Apache2::Status v4.00; Apache::DBI v1.06; 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.64; base v2.12; bytes v1.02; Cache::Simple::TimedExpiry v0.27; capitalization v0.03; Carp v1.04; CGI v3.29; CGI::Cookie v1.28; CGI::Util v1.5; Class::Container v0.12; Class::Data::Inheritable v0.06; Class::ReturnValue v0.55; Clone v0.28; constant v1.12; Convert::ASN1 v0.21; Cwd v3.25; Data::Dumper v2.121_08; Date::Format v2.22; Date::Parse v2.27; DBD::mysql v4.006; DBI v1.601; DBIx::SearchBuilder v1.51; DBIx::SearchBuilder::Union v0; DBIx::SearchBuilder::Unique v0.01; Devel::StackTrace v1.15; Devel::StackTraceFrame v0.6; Devel::Symdump v2.08; Digest::base v1.00; Digest::MD5 v2.36; DynaLoader v1.05; Encode v2.23; Encode::Alias v2.07; Encode::Config v2.04; Encode::Encoding v2.05; Errno v1.1; 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 v2.04; File::Spec v3.25; File::Spec::Unix v1.5; File::Temp v0.20; FileHandle v2.01; HTML::Element v3.23; HTML::Entities v1.35; HTML::Formatter v2.04; HTML::FormatText v2.04; HTML::Mason v1.38; 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.56; HTML::Scrubber v0.08; HTML::Tagset v3.10; HTML::TreeBuilder v3.23; HTTP::Date v1.47; I18N::LangTags v0.35; integer v1.00; IO v1.23; IO::File v1.14; IO::Handle v1.27; IO::InnerFile v2.110; IO::Lines v2.110; IO::ScalarArray v2.110; IO::Seekable v1.1; IO::Select v1.17; IO::Socket v1.30; IO::Socket::INET v1.31; IO::Socket::UNIX v1.23; IO::WrapTie v2.110; IPC::Open2 v1.02; IPC::Open3 v1.02; lib v0.5565; List::Util v1.19; Locale::Maketext v1.12; Locale::Maketext::Fuzzy v0.10; Locale::Maketext::Lexicon v0.64; Locale::Maketext::Lexicon::Gettext v0.15; Log::Dispatch v2.20; Log::Dispatch::Base v1.09; Log::Dispatch::File v1.22; Log::Dispatch::Output v1.26; Log::Dispatch::Screen v1.17; Log::Dispatch::Syslog v1.18; Mail::Address v1.77; Mail::Field v1.77; Mail::Field::AddrList v1.77; Mail::Field::Date v1.77; Mail::Header v1.77; Mail::Internet v1.77; MIME::Base64 v3.07; MIME::Body v5.425; MIME::Decoder v5.425; MIME::Entity v5.425; MIME::Field::ContDisp v5.425; MIME::Field::ConTraEnc v5.425; MIME::Field::ContType v5.425; MIME::Field::ParamVal v5.425; MIME::Head v5.425; MIME::Parser v5.425; MIME::QuotedPrint v3.07; MIME::Tools v5.425; MIME::Words v5.425; mod_perl v2.000003; mod_perl2 v2.000003; ModPerl::Const v2.000003; Module::Versions::Report v1.03; Net::LDAP v0.34; Net::LDAP::ASN v0.04; Net::LDAP::Constant v0.04; Net::LDAP::Filter v0.15; Net::LDAP::Message v1.09; Net::LDAP::Util v0.11; overload v1.04; Params::Validate v0.89; POSIX v1.09; re v0.05; Regexp::Common v2.120; Regexp::Common::delimited v2.104; RT v3.6.6; RT::Interface::Email v2; Scalar::Util v1.19; SelectSaver v1.01; Socket v1.78; Storable v2.17; strict v1.03; Symbol v1.06; Sys::Syslog v0.24; Text::Template v1.44; Text::Wrapper v1.01; Tie::Hash v1.02; Time::HiRes v1.9711; Time::JulianDay v2003.1125; Time::Local v1.18; Time::ParseDate v2006.0814; Time::Timezone v2006.0814; Time::Zone v2.22; UNIVERSAL v1.01; UNIVERSAL::require v0.11; URI v1.35; URI::Escape v3.28; utf8 v1.06; vars v1.01; warnings v1.05; warnings::register v1.01; XSLoader v0.08; RT Variables RT::AmbiguousDayInPast 1 RT::BasePath /export/www/request-tracker RT::BinPath /export/www/request-tracker/bin RT::CORE_CONFIG_FILE /export/www/request-tracker/etc/RT_Config.pm RT::CommentAddress RT_CommentAddressNotSet RT::CorrespondAddress RT_CorrespondAddressNotSet RT::DatabaseHost localhost RT::DatabaseName rt3 RT::DatabasePassword Password not printed RT::DatabaseRTHost localhost RT::DatabaseType mysql RT::DatabaseUser rt_user RT::DateDayBeforeMonth 1 RT::DefaultSearchResultFormat '<B><A HREF="/Ticket/Display.html?id=__id__">__id__</a></B>/TITLE:#', '<B><A HREF="/Ticket/Display.html?id=__id__">__Subject__</a></B>/TITLE:Subject', Status, QueueName, OwnerName, Priority, '__NEWLINE__', '', '<small>__Requestors__</small>', '<small>__CreatedRelative__</small>', '<small>__ToldRelative__</small>', '<small>__LastUpdatedRelative__</small>', '<small>__TimeLeft__</small>' RT::DefaultSummaryRows 10 RT::EmailOutputEncoding utf-8 RT::EtcPath /export/www/request-tracker/etc RT::ExternalServiceUsesSSLorTLS 1 RT::FriendlyFromLineFormat "%s via RT" <%s> RT::FriendlyToLineFormat "%s of RSAA-REQ Ticket #%s":; RT::LocalEtcPath /export/www/request-tracker/local/etc RT::LocalLexiconPath /export/www/request-tracker/local/po RT::LocalPath /export/www/request-tracker/local RT::LogDir /export/www/request-tracker/var/log RT::LogToFile debug RT::LogToFileNamed rt.log RT::LogToScreen error RT::LogToSyslog debug RT::LogoURL /NoAuth/images/bplogo.gif RT::LoopsToRTOwner 1 RT::MailCommand sendmailpipe RT::MasonComponentRoot /export/www/request-tracker/share/html RT::MasonDataDir /export/www/request-tracker/var/mason_data RT::MasonLocalComponentRoot /export/www/request-tracker/local/html RT::MasonSessionDir /export/www/request-tracker/var/session_data RT::MaxAttachmentSize 10000000 RT::MaxInlineBody 13456 RT::MessageBoxWidth 72 RT::MessageBoxWrap HARD RT::MinimumPasswordLength 5 RT::OldestTransactionsFirst 1 RT::Organization mso.anu.edu.au RT::OwnerEmail root RT::RTAddressRegexp ^rt\@mso.anu.edu.au$ RT::RecordOutgoingEmail 1 RT::RedistributeAutoGeneratedMessages privileged RT::SITE_CONFIG_FILE /export/www/request-tracker/etc/RT_SiteConfig.pm RT::SendmailArguments -oi -t RT::SendmailBounceArguments -f "<>" RT::SendmailPath /usr/sbin/sendmail RT::ShowTransactionImages 1 RT::StrictLinkACL 1 RT::Timezone Australia/Sydney RT::UseFriendlyFromLine 1 RT::VERSION 3.6.6 RT::VarPath /export/www/request-tracker/var RT::WebBaseURL http://rsaart.anu.edu.au RT::WebDefaultStylesheet 3.5-default RT::WebFlushDbCacheEveryRequest 1 RT::WebImagesURL /NoAuth/images/ RT::WebPort 80 RT::WebURL http://rsaart.anu.edu.au/ RT::rtname RSAA-REQ Perl configuration Summary of my perl5 (revision 5 version 8 subversion 8) configuration: Platform: osname=solaris, osvers=2.8, archname=i86pc-solaris-thread-multi uname='sunos thor 5.8 generic_117351-46 i86pc i386 i86pc' config_args='' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-D_REENTRANT -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/bdb44/include -I/opt/csw/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-xO3 -xarch=386 -xspace -xildoff', cppflags='-D_REENTRANT -xO3 -xarch=386 -xspace -xildoff -I/opt/csw/bdb44/include -I/opt/csw/include' ccversion='Sun C 5.8 Patch 121016-05 2007/01/10', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags ='-L/opt/csw/bdb44/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib -L/lib' libpth=/usr/lib /usr/ccs/lib /opt/SUNWspro/prod/lib /lib /opt/csw/lib libs=-lsocket -lnsl -lgdbm -ldb-4.4 -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldb-4.4 -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.5.8.8 gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-R /opt/csw/lib' cccdlflags='-KPIC', lddlflags='-G -L/opt/csw/bdb44/lib -L/opt/csw/lib -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib -L/lib'
Subject: Re: [rt.cpan.org #35533] AutoReply: RT::User::UpdateFromLdap unimplemented error on Solaris 10 (Sun LDAP Server)
Date: Wed, 30 Apr 2008 10:04:56 +1000
To: bug-RT-Authen-ExternalAuth [...] rt.cpan.org
From: Joshua Rich <joshua [...] mso.anu.edu.au>
The version of RT-Authen-ExternalAuth I'm using is 0.05. Regards, Joshua Bugs in RT-Authen-ExternalAuth via RT wrote: Show quoted text
> Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "RT::User::UpdateFromLdap unimplemented error on Solaris 10 (Sun LDAP Server)", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #35533]. Your ticket is accessible > on the web at: > > http://rt.cpan.org/Ticket/Display.html?id=35533 > > Please include the string: > > [rt.cpan.org #35533] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-RT-Authen-ExternalAuth@rt.cpan.org > > ------------------------------------------------------------------------- > Hi There, > > I'm running RT 3.6.6 on Solaris 10, and the Sun LDAP implementation. > > I've installed the RT-Authen-ExternalAuth module 'sucessfully' and have > run across an error with it. It seems to work, but only after printing > out an error the first time a user logs in. > > Steps to reproduce for me: > > 1. Load the RT web interface. > 2. Enter a valid (i.e. existing in both LDAP and RT) user. > 3. After entering a valid user and pass of an existing RT user, the > following error message is displayed: > > System error > error: RT::User::UpdateFromLdap Unimplemented in > HTML::Mason::Commands. > (/export/www/request-tracker/local/html/Callbacks/LDAP/autohandler/Auth > line 32) > context: > ... > 491: else { > 492: my ( $package, $filename, $line ); > 493: ( $package, $filename, $line ) = caller; > 494: > 495: die "$AUTOLOAD Unimplemented in $package. ($filename line $line) \n"; > 496: } > 497: > 498: } > 499: > ... > code stack: /opt/csw/share/perl/site_perl/DBIx/SearchBuilder/Record.pm:495 > /export/www/request-tracker/local/html/Callbacks/LDAP/autohandler/Auth:32 > /export/www/request-tracker/share/html/Elements/Callback:85 > /export/www/request-tracker/share/html/autohandler:240 > > 4. Hitting refresh in the browser brings the user to the RT home page as > if the log-in had worked flawlessly. > > I have attached some relevant information reported in RT's system > configuration page as the attachment rt-info.txt (a note, the Perl > information reports being compiled on a Solaris 8 machine, as I'm using > the Perl provided in the Blastwave Solaris binary package repository, > www.blastwave.org. The actual machine running RT is Solaris 10). > Apologies if this bug report is a bit slim on details, let me know if I > can provide any further information or anything else I can try that will > help debug this issue. > > Thanks and regards, > > Joshua Rich >
From: zordrak [...] cpan.org
On Tue Apr 29 19:55:45 2008, joshua@mso.anu.edu.au wrote: Show quoted text
> Hi There, > > I'm running RT 3.6.6 on Solaris 10, and the Sun LDAP implementation. > > I've installed the RT-Authen-ExternalAuth module 'sucessfully' and have > run across an error with it. It seems to work, but only after printing > out an error the first time a user logs in. > > Steps to reproduce for me: > > 1. Load the RT web interface. > 2. Enter a valid (i.e. existing in both LDAP and RT) user. > 3. After entering a valid user and pass of an existing RT user, the > following error message is displayed: > > System error > error: RT::User::UpdateFromLdap Unimplemented in > HTML::Mason::Commands.
It would seem that you are mixing and matching the ExternalAuth extension and Jim Meyer's deprecated overlay code. UpdateFromLdap was renamed to UpdateFromExternal some time ago. The probable cause of this error is that you have an Auth overlay (local/html/Callbacks/autohandler/Auth) present that shouldn't be there. The only callback for LDAP you should have would be /share/html/Callbacks/ExternalAuth/autohandler/Auth. However, I'm concerned that if you have that there, you may also have other Jim Meyer code too, for example there should be no User_Local.pm in your RT dir, only a User_Vendor.pm.
Subject: Re: [rt.cpan.org #35533] RT::User::UpdateFromLdap unimplemented error on Solaris 10 (Sun LDAP Server)
Date: Thu, 1 May 2008 11:06:23 +1000
To: bug-RT-Authen-ExternalAuth [...] rt.cpan.org
From: Joshua Rich <joshua [...] mso.anu.edu.au>
Hi Mike, Ah you are right! Apologies, I was using the old Jim Meyer code, and thought I had removed it all before installing your new implementation. Obviously I hadn't. I've now removed all the old LDAP code and the login works perfect! Thank you firstly for writing the LDAP authentication implementation, for helping out with this problem and sorry for spamming your bug system! Regards, Joshua On Wed, 30 Apr 2008 04:42:20 -0400 "Mike Peachey via RT" <bug-RT-Authen-ExternalAuth@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=35533 > > > On Tue Apr 29 19:55:45 2008, joshua@mso.anu.edu.au wrote:
> > Hi There, > > > > I'm running RT 3.6.6 on Solaris 10, and the Sun LDAP implementation. > > > > I've installed the RT-Authen-ExternalAuth module 'sucessfully' and have > > run across an error with it. It seems to work, but only after printing > > out an error the first time a user logs in. > > > > Steps to reproduce for me: > > > > 1. Load the RT web interface. > > 2. Enter a valid (i.e. existing in both LDAP and RT) user. > > 3. After entering a valid user and pass of an existing RT user, the > > following error message is displayed: > > > > System error > > error: RT::User::UpdateFromLdap Unimplemented in > > HTML::Mason::Commands.
> > It would seem that you are mixing and matching the ExternalAuth > extension and Jim Meyer's deprecated overlay code. UpdateFromLdap was > renamed to UpdateFromExternal some time ago. > > The probable cause of this error is that you have an Auth overlay > (local/html/Callbacks/autohandler/Auth) present that shouldn't be there. > The only callback for LDAP you should have would be > /share/html/Callbacks/ExternalAuth/autohandler/Auth. > > However, I'm concerned that if you have that there, you may also have > other Jim Meyer code too, for example there should be no User_Local.pm > in your RT dir, only a User_Vendor.pm.