<HTML>
<P>Hi All,</P>
<P>just fixed the problem. Apparently there is a bug on the ExternalAuth version I was using for RT 3.8.9.</P>
<P>You need to download <A href="http://search.cpan.org/CPAN/authors/id/F/FA/FALCONE/RT-Authen-ExternalAuth-0.08_01.tar.gz">http://search.cpan.org/CPAN/authors/id/F/FA/FALCONE/RT-Authen-ExternalAuth-0.08_01.tar.gz</A><br>

<br>

Got it from this post: <A href="http://lists.bestpractical.com/pipermail/rt-users/2011-April/069912.html">http://lists.bestpractical.com/pipermail/rt-users/2011-April/069912.html</A> </P>
<P>Thanks anyway!<br>

<br>

____________________________________________________________________________________ <br>

<br>

Luis Avendaño <br>

<br>

<br>

<br>

<B>On Tue 12/04/11 5:00 PM , "Luis Avendaño" lavendano@acmgrp.com sent:<br>

</P></B>
<BLOCKQUOTE style="BORDER-LEFT: #5167c6 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<P>Hi,</P>
<P>I have installed and configured the RT::Authen::ExternalAuth. </P>
<P>My environment is: Solaris (sun4v sparc SUNW,Sun-Fire-T200), RT=3.8.9, BD= PostgreSQL=10.2, LDAP = Active Directory</P>
<P>I realized that when I load the RT main page, I always get the following log, NOTHING ELSE RELATED TO ExternalAuth:</P>
<P>*******************</P>
<P>[Tue Apr 12 21:05:15 2011] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/rt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>

[Tue Apr 12 21:05:28 2011] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/rt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)<br>

[Tue Apr 12 21:05:52 2011] [debug]: Attempting to use external auth service: My_LDAP (/rt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)<br>

[Tue Apr 12 21:05:52 2011] [debug]: SSO Failed and no user to test with. Nexting (/rt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:92)<br>

[Tue Apr 12 21:05:52 2011] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/rt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)</P>
<P>*******************</P>
<P>However, when a LDAP user tries to login, the following error is logged:</P>
<P>*******************</P>
<P>[Tue Apr 12 21:05:06 2011] [error]: FAILED LOGIN for cdomi3 from 172.16.136.54 (/rt/rt3/bin/../lib/RT/Interface/Web.pm:555)</P>
<P>*******************</P>
<P>Any user which was locally created in RT, is able to log in.</P>
<P>The ExternalAuth related configuration is as follows:</P>
<P>---------------</P>
<P>#Set($WebExternalAuth, 1);</P>
<P>#Set($WebExternalAuthContinuous, 1);</P>
<P>#Set($WebExternalAuto , true);<br>

</P>
<P>Set($ExternalAuthPriority,  [   'My_LDAP'<br>

                            ]<br>

);</P>
<P>Set($ExternalInfoPriority,  [<br>

                                'My_LDAP'<br>

                            ]<br>

);</P>
<P>Set($ExternalServiceUsesSSLorTLS,    0);</P>
<P>Set($AutoCreateNonExternalUsers,    0);</P>
<P>#### SOME LDAPP INFORMATION HAS BEEN MODIFIED (IP ADDRESS OF THE SERVER, DOMAIN\USER', USERPASSWORD and  DC=COMPANY).</P>
<P>Set($ExternalSettings,      {<br>

                                'My_LDAP'       =>  {   ## GENERIC SECTION<br>

                                                        'type'                      =>  'ldap',<br>

                                                        'server'                    =>  '<STRONG>IP ADDRESS OF THE SERVER</STRONG> ',<br>

                                                        'user'                      =>  '<STRONG>DOMAIN\USER</STRONG> ',<br>

                                                        'pass'                    =>  '<STRONG>USERPASSWORD</STRONG>',<br>

                                                        'base'                      =>  '<STRONG>DC=COMPANY</STRONG> ,DC=com,DC=ve',<br>

                                                        'filter'                    =>  '(objectClass=*)',<br>

                                                        'd_filter'                  =>  '(userAccountControl=514)',<br>

                                                        'tls'                       =>  0,<br>

                                                        #'ssl_version'               =>  3,<br>

                                                        'net_ldap_args'             => [    version =>  3   ],<br>

                                                        #'group'                     =>  'GROUP_NAME',<br>

                                                        #'group_attr'                =>  'GROUP_ATTR',<br>

                                                        'attr_match_list'           => [    'Name',<br>

                                                                                            'EmailAddress'<br>

                                                                                          #  'RealName',<br>

                                                                                          #  'WorkPhone'<br>

                                                                                        ],<br>

                                                        'attr_map'                  =>  {   'Name' => 'sAMAccountName',<br>

                                                                                            'EmailAddress' => 'mail',<br>

                                                                                            'RealName' => 'cn',<br>

                                                                                            'WorkPhone' => 'telephoneNumber'<br>

                                                                                        }<br>

                                                    }<br>

                                }<br>

);</P>
<P>Set( @Plugins, qw( RT::Authen::ExternalAuth ) );</P>
<P>Set( %GnuPG, Enable => 0);<br>

</P>
<P>----------------</P>
<P> I have done a lot of research, but no luck so far....</P>
<P>I really appreciate any help that you can provide me guys,</P>
<P>Best Regards,</P>
<P>____________________________________________________________________________________ <br>

<br>

Luis Avendaño <br>

</P></BLOCKQUOTE></HTML>