Hi Mike, thanks to help me!<div><br></div><div>I've turned on RT's debug mode ( add "   <span class="Apple-style-span" style="font-family: verdana, geneva, helvetica, arial, sans-serif; font-size: 13px; border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><span>Set($LogToFile, '<b class="highlight" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 102); background-position: initial initial; background-repeat: initial initial; ">debug</b>'); </span><span>Set($LogDir, '/var/log/rt');  " in my RT_Siteconfig.pm).</span></span></div>

<div><font class="Apple-style-span" face="verdana, geneva, helvetica, arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>

</span></font></div><div><span></span><font class="Apple-style-span" face="verdana, geneva, helvetica, arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;">Now, when I try to loggin with a LDAP account, this lines are written in my log file:</span></font></div>

<div><font class="Apple-style-span" face="verdana, geneva, helvetica, arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><br>

</span></font></div><div><font class="Apple-style-span" face="verdana, geneva, helvetica, arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"><div>

[Thu Jul 29 07:46:08 2010] [debug]: Reloading RT::User to work around a bug in RT-3.8.0 and RT-3.8.1 (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:14)</div><div>[Thu Jul 29 07:46:08 2010] [debug]: Attempting to use external auth service: LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:64)</div>

<div>[Thu Jul 29 07:46:08 2010] [debug]: Calling UserExists with $username (anthony.brodard) and $service (LDAP) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:105)</div><div>[Thu Jul 29 07:46:08 2010] [debug]: UserExists params:</div>

<div>username: anthony.brodard , service: LDAP (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:274)</div><div><b>[Thu Jul 29 07:46:30 2010] [critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj : Cannot connect to ldap.[Blanked].fr (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:437)</b></div>

<div>[Thu Jul 29 07:46:30 2010] [debug]: Autohandler called ExternalAuth. Response: (0, No User) (/opt/rt3/local/plugins/RT-Authen-ExternalAuth/html/Callbacks/ExternalAuth/autohandler/Auth:26)</div><div>[Thu Jul 29 07:46:30 2010] [error]: FAILED LOGIN for anthony.brodard from [IP] (/opt/rt3/bin/../lib/RT/Interface/Web.pm:424)</div>

<div><br></div><div><br></div><div><br></div><div>I try a telnet on server: </div><div><br></div><div><div>[rt-test]~ # telnet ldap.[Blanked].fr 636</div><div>Trying [IP]...</div><div>Connected to ldap.[Blanked].fr.</div>

<div>Escape character is '^]'.</div><div><br></div></div><div><br></div><div>Maybe RT use the LDAP's default port (389), not the LDAPS (636). How can i see it or modify in RT_Siteconfig.pm ?</div><div><br></div>

<div>Regards,</div><div>Anthony</div><div><br></div><div><br></div><div><br></div><div><br></div></span></font><br><div class="gmail_quote">2010/7/28 Mike Johnson <span dir="ltr"><<a href="mailto:mike.johnson@nosm.ca">mike.johnson@nosm.ca</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hi,</div>
<div> </div>
<div>Try turning on RT's logging in debug mode.  That helped me figure out what was going on with my ExternalAuth.  In the log, before the FAILED line you should see a few lines showing you if it's connecting to your LDAP, finding user etc.</div>



<div> </div>
<div>Work from there!</div>
<div>Mike.<br></div></blockquote></div></div>