ExternalAuth installation problems and can Authenticating RT against Active Directory be done with version 3.8?

Hi RT List,

I am in the process of setting up RT3.8 for an evaluation as we seek a
replacement for our current horrendous support ticketing system.

Apologies if the issues are simple configuration ones, but I am not
familiar with Perl or CPAN (aside from following instructions to get a
Bugzilla installation up running with Apache mod-perl).

I set up an Ubuntu 8.10 LAMP server and installed RT 3.8. That went
smoothly and RT is running.

I run into problems with ExternalAuth…

I have read the ExternalAuth wiki page
(http://wiki.bestpractical.com/view/ExternalAuth) and a thread
describing how this was accomplished
(http://www.gossamer-threads.com/lists/rt/users/77286) but my major
problem at this point is that I can’t seem to get ExternalAuth
installed. 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.

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

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

Thanks

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

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

PeacheySent: Thursday, November 20, 2008 12:38 AM
To: Kevin Murphy
Cc: RT-Users@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

It appears Kevin that you do not have Net::LDAP installed based on
your error messages below.

Make sure you have installed the Net::LDAP modules and any others that
it needs and you should
get further.

  • BrianOn Nov 20, 2008, at 1:38 PM, Kevin Murphy wrote:

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

Thanks Brian,

I did run ‘cpan > install Net::LDAP’ after seeing that error and I
thought it installed… but I just learned how to use ‘instmodsh’ to
list all the perl modules, saw it wasn’t there, and ran the install
again… where I saw it failed on ‘make’ do to an additional module I
chose ‘yes’ to when I should have chosen ‘no’. I closed the cpan
session, reopened it and ran the install Net::LDAP again, chose ‘no’ and
it installed this time. And, now the server is running again with
’Set(@Plugins, (qw(RT::Authen::ExternalAuth)));’ added on
RT_SiteConfig.PL file.

Thanks!

KevinFrom: Brian Friday [mailto:brian.friday@gmail.com]
Sent: Thursday, November 20, 2008 3:18 PM
To: Kevin Murphy
Cc: RT Users
Subject: Re: [rt-users] ExternalAuth installation problems and can
Authenticating RT against Active Directory be done with version 3.8?

It appears Kevin that you do not have Net::LDAP installed based on
your error messages below.

Make sure you have installed the Net::LDAP modules and any others that
it needs and you should
get further.

  • Brian