Ryan,<br><br>Looks like you're missing a right ) at the end of your filter line.<br><br>Kenn<br><br><div class="gmail_quote">On Thu, Dec 8, 2011 at 4:41 PM, Ryan Backman <span dir="ltr"><<a href="mailto:rbackman@georgefox.edu">rbackman@georgefox.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>I'm having a bit of trouble getting ExternalAuth  to work.  I've scoured the archives and the net and found many suggestions, but none have made any changes.</div>
<div><br></div><div>- I've setup logging to go to a seperate file, but all I get is a Login Failure message in this file when I try to login:</div>

<div><br></div><div>[Thu Dec  8 23:38:32 2011] [error]: FAILED LOGIN for rbackman from xx.xx.xx.xx (/usr/share/request-tracker3.8/lib/RT/Interface/Web.pm:424)</div><div><br></div><div>- I'm seeing correct values in the online configuration view inside RT indicating that ExternalAuth is loaded as a Plugin and that ExternalAuthPriority is My_LDAP.</div>


<div><br></div><div>- I can use the ldapsearch tool with the same variables on the same box successfully</div><div><br></div><div>Any help is much appreciated.</div><div><br></div><div>Below is my configuration:</div>
<div><br></div><div>Set( @Plugins, qw(RT::Authen::ExternalAuth) );</div><div><br></div><div><div>Set ( $ExternalAuthPriority,  [ 'My_LDAP' ] );</div><div>Set ( $ExternalInfoPriority,  [ 'My_LDAP' ] );</div>


<div><br></div><div>Set($ExternalServiceUsesSSLorTLS,    0);</div><div>
<br></div><div>Set($AutoCreateNonExternalUsers,    0);</div><div><br></div><div>Set($ExternalSettings, {</div><div>        'My_LDAP' => {</div><div>                'type'                      =>  'ldap',</div>



<div>                'server'                    =>  '<a href="http://server.domain.edu" target="_blank">server.domain.edu</a>',</div><div>                'user'                      =>  'CN=user,OU=admin...',</div>



<div>                'pass'                      =>  'pass',</div><div>                'base'                      =>  'dc=domain,...',</div><div>                'filter'                    =>  '(&(objectClass=user)(memberOf=CN=Staff...)',</div>



<div>                'd_filter'                  =>  '(userAccountControl=514)',</div><div>                'tls'                       =>  0,</div><div>                'ssl_version'               =>  3,</div>



<div>                'net_ldap_args'             => [    version =>  3   ],</div><div>                'group'                     =>  'CN=All Users,...',</div><div>                'group_attr'                =>  'member',</div>



<div>                'attr_match_list'           => [        'Name',</div><div>                                                        'EmailAddress'</div><div>                                                ],</div>



<div>                'attr_map'                  =>  {       'Name' => 'sAMAccountName',</div><div>                                                        'EmailAddress' => 'mail',</div>



<div>                                                        'ExternalAuthId' => 'sAMAccountName',</div><div>                                                        'Gecos' => 'sAMAccountName'</div>



<div>                                                }</div><div>                }</div><div>    }</div><div>);</div><div><br></div><div>1;</div></div><div><br></div><br clear="all">=+=+=+=+=+=+=+=+=+<span class="HOEnZb"><font color="#888888"><br>
Ryan Backman<br>

Programmer / Analyst<br>
George Fox University<br><a href="tel:503.554.2576" value="+15035542576" target="_blank">503.554.2576</a><br>=+=+=+=+=+=+=+=+=+<br>
</font></span><br>--------<br>
RT Training Sessions (<a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a>)<br>
* Boston — March 5 & 6, 2012<br></blockquote></div><br>