<div>I can't seem to get any response at login from ExternalAuth 0.09 using RT 3.8.7 .</div><div><br></div><div>I have the following logging setup, which will only show me Login Success or Failure with Web.pm.</div><div>
<br></div><div><div>Set($LogToSyslog,'warning');</div><div>Set($LogToFile,'debug');</div><div>Set($LogToFileNamed,'rt.log');</div><div>Set($LogDir,'/var/log/request-tracker3.8');</div></div>
<div><br></div><div>Below is my ExternalAuth Config:</div><div><br></div><div><div>### LDAP Configuration ###</div><div>Set ( $ExternalAuthPriority, [ 'GFU_LDAP' ] );</div><div>Set ( $ExternalInfoPriority, [ 'GFU_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> 'GFU_LDAP' => {</div>
<div> 'type' => 'ldap',</div><div> 'server' => '<a href="http://ads-nbg.campus.georgefox.edu">ads-nbg.campus.georgefox.edu</a>',</div>
<div> 'user' => 'CN=user,OU=group,DC=base,DC=base,DC=edu',</div><div> 'pass' => 'pass',</div><div> 'base' => 'DC=base,DC=base,DC=edu',</div>
<div> 'filter' => '(objectClass=user)',</div><div> 'd_filter' => '(objectClass=Doesntexist)',</div><div> 'tls' => 0,</div>
<div> 'ssl_version' => 3,</div><div> 'net_ldap_args' => [ version => 3 ],</div><div> 'group' => 'CN=All Users,OU=group,DC=base,DC=base,DC=edu',</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><div><br></div><div><div>The only logging I see is when I create a ticket, then I get the following:</div>
<div><br></div><div>[Mon Jan 23 22:02:06 2012] [debug]: RT::Authen::ExternalAuth::CanonicalizeUserInfo called by RT::Authen::ExternalAuth /usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm 553 with: Disabled: 0, EmailAddress: , Name: jdoe, Privileged: 0 (/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:450)</div>
<div>[Mon Jan 23 22:02:06 2012] [debug]: Attempting to get user info using this external service: GFU_LDAP (/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:458)</div><div>
[Mon Jan 23 22:02:06 2012] [debug]: Attempting to use this canonicalization key: Name (/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:472)</div>
<div>[Mon Jan 23 22:02:06 2012] [debug]: LDAP Search === Base: DC=base,DC=base,DC=edu == Filter: (&(objectClass=user)(sAMAccountName=jdoe)) == Attrs: mail,sAMAccountName,sAMAccountName,sAMAccountName (/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:195)</div>
</div><div><div>[Mon Jan 23 22:02:06 2012] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: 0, EmailAddress: <a href="mailto:jdoe@georgefox.edu">jdoe@georgefox.edu</a>, ExternalAuthId: jdoe, Gecos: jdoe, Name: jdoe, Privileged: 0, RealName: (/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm:536</div>
</div><div><br></div><div>It seems ExternalAuth isn't even being polled at login. Any ideas?</div><br clear="all">=+=+=+=+=+=+=+=+=+<br>Ryan Backman<br>Programmer / Analyst<br>George Fox University<br>503.554.2576<br>
=+=+=+=+=+=+=+=+=+<br>