Rt_logins_email2ldap -h

I have RT 3.8.2; I have followed the wiki for external authentication. Now,
I am at the step where I have to clean the emal addresses for ldap
usernames. the wiki for this is
http://wiki.bestpractical.com/view/rt_logins_email2ldap

I changed “use lib” in the code to use lib qw(/data/rt3/lib); All the
external authentication modules are located in
/data/rt3/local/plugins/RT-Authen-ExternalAuth
folder.

When I run ./rt_logins_email2ldap -h, I get errors as follows:
Can’t locate RT/Authen/ExternalAuth.pm in @INC (@INC contains: /data/rt3/lib
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at
/data/rt3/lib/RT.pm line 625.

Can anyone assist on this issue?

Thank you in advance … sbu

Use lib should include local lib path as well.

Regards, Ruslan. From phone.

I have RT 3.8.2; I have followed the wiki for external authentication.
Now,
I am at the step where I have to clean the emal addresses for ldap
usernames. the wiki for this is
http://wiki.bestpractical.com/view/rt_logins_email2ldap

I changed “use lib” in the code to use lib qw(/data/rt3/lib); All the
external authentication modules are located in
/data/rt3/local/plugins/RT-Authen-ExternalAuth
folder.

When I run ./rt_logins_email2ldap -h, I get errors as follows:
Can’t locate RT/Authen/ExternalAuth.pm in @INC (@INC contains:
/data/rt3/lib
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at

Thank you. That worked.

I have another question, if someone can answer. I want to check what would
be done if I give -w option.
I get a list of don’t touch emails IDs as below. What does this indicate?

[root@devwww RT-Authen-ExternalAuth]# ./rt_logins_email2ldap -v -a
[External] [2008zj@gmail.com -> Don’t touch: external email]

[External] [aannapurn@cs.suny.edu -> Don’t touch: external email]
Email:aannapurn@cs.suny.edu Email%3Aaannapurn@cs.suny.edu
[Local] [root -> don’t touch: local account / exception]
Email:root@localhostOn Tue, Nov 2, 2010 at 3:47 PM, Ruslan Zakirov ruz@bestpractical.comwrote:

Use lib should include local lib path as well.

Regards, Ruslan. From phone.
2010 11 2 21:32 пользователь “testwreq wreq” testwreq@gmail.com написал:

I have RT 3.8.2; I have followed the wiki for external authentication.
Now,
I am at the step where I have to clean the emal addresses for ldap
usernames. the wiki for this is
http://wiki.bestpractical.com/view/rt_logins_email2ldap

I changed “use lib” in the code to use lib qw(/data/rt3/lib); All the
external authentication modules are located in
/data/rt3/local/plugins/RT-Authen-ExternalAuth
folder.

When I run ./rt_logins_email2ldap -h, I get errors as follows:
Can’t locate RT/Authen/ExternalAuth.pm in @INC (@INC contains:
/data/rt3/lib
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .)
at
/data/rt3/lib/RT.pm line 625.

Can anyone assist on this issue?

Thank you in advance … sbu