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

Maybe this is a dumb idea, but… you might want to DL the 3.8.1 source,
unzip/untar it, and in the build dir do a

make testdeps

Even if you’re not building from source, this should give you a nice
report on what perl modules you’re missing or are below the required
version.

Rob Munsch
IT Administrator
http://www.PhillyCarShare.org
Our wheels. Your freedom.
215-730-0988 x138

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-
bounces@lists.bestpractical.com] On Behalf Of Brian Friday
Sent: Thursday, November 20, 2008 6:18 PM
To: Kevin Murphy
Cc: RT Users
Subject: Re: [rt-users] ExternalAuth installation problems and
canAuthenticating 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

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

Robert Munsch.vcf (141 Bytes)

Looks like you missed Net::Ldap module.
Torsten

----- Originalnachricht -----Von: rt-users-bounces@lists.bestpractical.com rt-users-bounces@lists.bestpractical.com
An: mike.peachey@jennic.com mike.peachey@jennic.com
Cc: RT-Users@lists.bestpractical.com RT-Users@lists.bestpractical.com
Gesendet: Thu Nov 20 22:38:49 2008
Betreff: Re: [rt-users] ExternalAuth installation problems and canAuthenticating RT against Active Directory be done with version 3.8?

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

From: mpeac@jennic.com [mailto:mpeac@jennic.com] On Behalf Of Mike
Peachey
Sent: 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://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com