[rt-users] ExternalAuth installation problems and can Authenticating RT against Active Directory be done with version 3.8?

Kevin Murphy kevinm at f9e.com
Thu Nov 20 16:38:49 EST 2008


Thanks Mike,

I did follow as per instructions with 'perl Makefile.PL', 'make', and
'make install'. I just reported here up until my first error as I
assumed the next error was related to the first reported.  Anyway, I
continued on to edit the /opt/rt3/etc/RT_SiteConfig.pm by adding 'Set(
@Plugins, qw(RT::Authen::ExternalAuth) );' as per the readme file.
After that, if I attempt to restart Apache, the server fails and the
error logs report the following:
Can't locate Net/LDAP.pm in @INC (@INC contains:
/opt/rt3/bin/../local/lib
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt3/bin/../lib
/etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
/usr/local/lib/site_perl . /etc/apache2) at
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
/LDAP.pm line 2.\nBEGIN failed--compilation aborted at
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
/LDAP.pm line 2.\nCompilation failed in require at
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
.pm line 28.\nBEGIN failed--compilation aborted at
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth
.pm line 28.\nCompilation failed in require at /opt/rt3/bin/../lib/RT.pm
line 624.\nCompilation failed in require at (eval 2) line 1.\n

Thanks again


-----Original Message-----
From: mpeac at jennic.com [mailto:mpeac at jennic.com] On Behalf Of Mike
Peachey
Sent: Thursday, November 20, 2008 12:38 AM
To: Kevin Murphy
Cc: RT-Users at lists.bestpractical.com
Subject: Re: [rt-users] ExternalAuth installation problems and can
Authenticating RT against Active Directory be done with version 3.8?

Kevin Murphy wrote:
> Hi RT List,
> 
>  I attempted installing with CPAN, but that resulted in:
> 
>  
> 
> Warning: Cannot install RT::Authen::ExternalAuth, don't know what it
is.
> 
> Try the command
> 
> i /RT::Authen::ExternalAuth/
> 
> to find objects with matching identifiers.
>

I don't know why this would be. But manual installation is just as good 
so it doesn't matter much.


>  
> 
> So, I followed the manual install instructions, but when I run
> 
>                 Perl Makefile.PL
> 
> The response is
> 
>                 Cannot determine perl version info from 
> lib/RT/Authen/ExternalAuth.pm
> Cannot determine author info from lib/RT/Authen/ExternalAuth.pm
> Cannot determine license info from lib/RT/Authen/ExternalAuth.pm
> Using RT configuration from /opt/rt3/lib/RT.pm:
> ./etc   => /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc
> ./html  => /opt/rt3/local/plugins/RT-Authen-ExternalAuth/html
> ./lib   => /opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib
> Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm
> Writing Makefile for RT::Authen::ExternalAuth

I don't know what's causing the "cannot determine" warnings, I guess I 
just haven't yet accounted for a newer version.

> 
> Can anyone inform me of what I am doing wrong here?

Nothing, you just stopped too early. Once you've done `perl Makefile.PL`

you need to do `make` and `make install`.
--
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
__________________________________________________



More information about the rt-users mailing list