[rt-users] import ldap users in RT with RT::Authen::ExternalAuth
Kevin Falcone
falcone at bestpractical.com
Wed Jul 8 12:15:26 EDT 2009
On Fri, Jul 03, 2009 at 08:30:38PM +0200, Natxo Asenjo wrote:
>
> Can't locate RT/Extension/LDAPImport.pm in @INC (@INC contains:
> /opt/rt3/local/lib /opt/rt3/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 .) at
> ./rtldapimport line 13.
>
> I had to add this path to rtldapimport because it would not find a module:
>
> ### after: use lib qw(@RT_LIB_PATH@);
> use lib qw(/opt/rt3/local/lib /opt/rt3/lib
> /opt/rt3/local/plugins/RT-Extension-LDAPImport/lib);
>
I suspect this is because you didn't enable the plugin (otherwise the
plugin lib dir would already be included in @INC)
I've released an updated version of the module with improved docs:
4. Edit your /opt/rt3/etc/RT_SiteConfig.pm
Set(@Plugins, qw(RT::Extension::LDAPImport));
or add RT::Extension::LDAPImport to your existing @Plugins line
-kevin
More information about the rt-users
mailing list