[rt-users] Connect RT to Active Directory

Kevin Falcone falcone at bestpractical.com
Tue Aug 25 10:11:06 EDT 2009


On Tue, Aug 25, 2009 at 03:08:25PM +1100, olivier.villegente at sic.nc wrote:
>            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

> 
>    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



More information about the rt-users mailing list