[rt-users] ExternalAuth logging

Kevin Falcone falcone at bestpractical.com
Tue Jan 24 12:14:14 EST 2012


On Mon, Jan 23, 2012 at 04:16:44PM -0800, Ryan Backman wrote:
>    The only logging I see is when I create a ticket, then I get the following:
>    [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)
>    [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)
>    [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)
>    [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)
>    [Mon Jan 23 22:02:06 2012] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning
>    Disabled: 0, EmailAddress: [2]jdoe at georgefox.edu, 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
>    It seems ExternalAuth isn't even being polled at login. Any ideas?

Ensure that the proper callbacks are installed in
/usr/local/share/request-tracker3.8/plugins/RT-Authen-ExternalAuth/html
and readable by the RT server and that you've cleaned the mason cache.

Also ensure that you haven't enabled any of RT's internal ExternalAuth
support that might be logging you in before RT-Authen-ExternalAuth has
a chance to work.

-kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120124/db36981d/attachment.sig>


More information about the rt-users mailing list