Connect RT to Active Directory

Hi,
I’m trying to connect RT to my ActiveDirectory. I have browse some forum
but I haven’t see the solution to my problem (heaven if some people seems
have the same problem). Can you help me to solve the problem ? Or tell me
where a beginner can find a very good tutorial ?

Here is a copy of the error that I have in my browser. I attach a copy of
my RT_SiteConfig to this mail.

install_driver(DBI_DRIVER) failed: Can’t locate DBD/DBI_DRIVER.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.10.0 /usr/local/share/perl/5.10.0
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /etc/apache2) at (eval 1282) line 3, line 323.
Stack: [(eval 1282):3] [/usr/lib/perl5/DBI.pm:634]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:440]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:218]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:356]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:106]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:25]
[/opt/rt3/share/html/autohandler:256] Perhaps the DBD::DBI_DRIVER perl
module hasn’t been fully installed, or perhaps the capitalisation of
‘DBI_DRIVER’ isn’t right. Available drivers: DBM, ExampleP, File, Gofer,
Proxy, SQLite, Sponge, mysql. at
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
line 440

Olivier VILLEGENTE
Administrateur système & réseau
Société Immobilière de Nouvelle-Calédonie
Tél : (687) 28.03.78
Fax : (687) 28.43.56
e-Mail : olivier.villegente@sic.nc

RT_SiteConfig.pm (9.37 KB)

    Hi,

I’m trying to connect RT to my ActiveDirectory. I have browse some
forum but I haven’t see the solution to my problem (heaven if some
people seems have the same problem). Can you help me to solve the
problem ? Or tell me where a beginner can find a very good tutorial ?

Here is a copy of the error that I have in my browser. I attach a
copy of my RT_SiteConfig to this mail.

install_driver(DBI_DRIVER) failed: Can’t locate DBD/DBI_DRIVER.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.10.0 /usr/local/share/perl/5.10.0
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10
/usr/local/lib/site_perl . /etc/apache2) at (eval 1282) line 3, line
323. Stack: [(eval 1282):3] [/usr/lib/perl5/DBI.pm:634]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:440]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm:218]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:356]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:106]
[/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:25]
[/opt/rt3/share/html/autohandler:256] Perhaps the DBD::DBI_DRIVER
perl module hasn’t been fully installed, or perhaps the
capitalisation of ‘DBI_DRIVER’ isn’t right. Available drivers: DBM,
ExampleP, File, Gofer, Proxy, SQLite, Sponge, mysql. at
/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
line 440


Olivier VILLEGENTE
Administrateur système & réseau
Société Immobilière de Nouvelle-Calédonie
Tél : (687) 28.03.78
Fax : (687) 28.43.56
e-Mail : olivier.villegente@sic.nc

Looks like you are missing DBD::mysql

Tobias Lott

       Hi,

I’m trying to connect RT to my ActiveDirectory. I have browse some forum but I haven’t see the
solution to my problem (heaven if some people seems have the same problem). Can you help me to
solve the problem ? Or tell me where a beginner can find a very good tutorial ?

Why are you doing this:

require
“/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm”;

And then setting things manually?
Just copy what you need and set it in your RT_SiteConfig.pm
You appear to be loading the dummy example sql ExternalAuth option
which defines:

‘dbi_driver’ => ‘DBI_DRIVER’

-kevin