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?
[r...@devwww RT-Authen-ExternalAuth]# ./rt_logins_email2ldap -v -a [External] [200...@gmail.com -> Don't touch: external email] Email:200...@gmail.com <email%3a200...@gmail.com> [External] [aannap...@cs.suny.edu -> Don't touch: external email] Email:aannap...@cs.suny.edu <email%3aaannap...@cs.suny.edu> [Local] [root -> don't touch: local account / exception] Email:r...@localhost On Tue, Nov 2, 2010 at 3:47 PM, Ruslan Zakirov <r...@bestpractical.com>wrote: > Use lib should include local lib path as well. > > Regards, Ruslan. From phone. > 2010 11 2 21:32 пользователь "testwreq wreq" <testw...@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 >